# Disable Tamper Protection if opusnt.target["type"] != "online": opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows Defender\\Features","/v","TamperProtection","/t","REG_DWORD","/d","0x00000004","/f"]) # Disable real time protection opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection","/v","DisableRealtimeMonitoring","/t","REG_DWORD","/d","0x00000001","/f"]) # Disable sample submission opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows Defender","/v","SubmitSamplesConsent","/t","REG_DWORD","/d","0x00000002","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows Defender","/v","SpynetReporting","/t","REG_DWORD","/d","0x00000000","/f"]) # I'm tired of this... opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection","/v","DisableBehaviorMonitoring","/t","REG_DWORD","/d","0x00000001","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection","/v","DisableOnAccessProtection","/t","REG_DWORD","/d","0x00000001","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection","/v","DisableScanOnRealtimeEnable","/t","REG_DWORD","/d","0x00000001","/f"])