Skip to content

Instantly share code, notes, and snippets.

# rfc 1918 ip address ranges
# rfc 1112 ip address ranges–
# rfc 1918 ip address ranges
# rfc 1112 ip address ranges–
mackwage / windows_hardening.cmd
Last active April 28, 2024 20:54
Script to perform some hardening of Windows OS
:: Windows 10 Hardening Script
:: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering.
:: Obligatory 'views are my own'. :)
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings!
:: Best script I've found for Debloating Windows 10:
mackwage / disable_ddeauto.reg
Created October 20, 2017 15:35 — forked from wdormann/disable_ddeauto.reg
Disable DDEAUTO for Outlook, Word, and Excel versions 2010, 2013, 2016
Windows Registry Editor Version 5.00
mackwage / AbilityFTPxp-4
Created August 17, 2017 02:05
AbilityFTP overflow skeleton phase 4 for xp
from socket import *
import sys, struct, os, time
host = ""
port = 21
s = socket(AF_INET, SOCK_STREAM)
s.connect((host, port))

Keybase proof

I hereby claim:

  • I am mackwage on github.
  • I am mackwage ( on keybase.
  • I have a public key ASAHRE-crBF7ZKKti8oPhmt8KRAbrIygKCtGeNlCw9qCSQo

To claim this, I am signing this object: