Windows Defender

In the latest Windows Defender updates, when downloading or installing, you may see the following message: Ransomware found. To install, add the agent installation file to the exceptions.

Note

At the moment, the problem is observed on agents versions 2539, 2537 and lower.

Additionally, make exceptions for the agent core files specified by in Antivirus exceptions.

Defender can detect another threat - PUA:Win32/WinExecSvc threat description - Microsoft Security Intelligence.

Add it to the exceptions with the command:

powershell -inputformat none -outputformat none -NonInteractive -Command WMIC /NAMESPACE:\\root\Microsoft\Windows\Defender PATH MSFT_MpPreference call Add ThreatIDDefaultAction_Ids=268775 ThreatIDDefaultAction_Actions=6

File operations are not tracked

Windows Defender in update 1.293.1336.0 began to block the operation of the iBatyr Monitor module to control file operations. To find out if Windows Defender has blocked a file driver, check the following files:

C:\Windows\System32\drivers\CaptureFileMonitor.sys

If the file is not there, follow the steps indicated in this article.

Making exceptions

Via CMD:

WMIC /NAMESPACE:\\root\Microsoft\Windows\Defender PATH MSFT_MpPreference call Add ThreatIDDefaultAction_Ids=252013 ThreatIDDefaultAction_Actions=6

Exceptions through policies

  1. Press the Win+R keys on your keyboard and type gpedit.msc.

  2. In the Local Group Policy Editor that opens, go to Computer Configuration → Administrative Templates → Windows Components → Windows Defender Antivirus.

Illustration 1 — Windows Defender

Disable Windows Defender

If the agent version is higher than 5.8.2495, exceptions are added automatically when the agent is installed. However, agent loading may not be available, so disable Defender or make exceptions as previously recommended.

  1. Press Win+R keys on your keyboard and type gpedit.msc

  2. In the Local Group Policy Editor that opens, go to Computer Configuration → Administrative Templates → Windows Components → Windows Defender Antivirus.

Illustration 2 — Windows Defender
  1. Double-click the Turn off Windows Defender Antivirus option and select Enabled:

Illustration 3 — Windows Defender
  1. Disable the Allow anti-malware service to run and Allow anti-malware service to run continuously settings.

  2. Go to the Real-time protection subsection, set the Disable real-time protection parameter to Enabled.

  3. Disable the Scan all downloaded files and attachments option.

  4. In the MAPS subsection, disable all options except Send sample files.

  5. Enable Send sample files if further analysis is required, and at the bottom left (in the same policy settings window) set Never send.

Illustration 4 — Windows Defender

Note

If Windows Defender has already updated and removed the agent files, you should first add exceptions and then reinstall the agent.