[ Hacker Night School ] :: Got a shell on a Windows target? Now turn off the firewall.

Part of the hacking process is getting a first foothold into a system. Then once you’re in, escalating privileges and peeling back protections is the next priority. More than once in pen-testing situations or capture-the-flag games I’ve gotten into a Windows box and then needed to get further access. Here’s a nice discussion of exactly how to shut down the Windows 10 firewall:

https://www.tenforums.com/antivirus-firewalls-system-security/29285-completely-turn-off-windows-firewall-windows-10-a.html

TL;DR:

 netsh advfirewall set allprofiles state off