Detect Spoof Security Alerting in Elastic Security
Adversaries may spoof security alerting from tools, presenting false evidence to impair defenders' awareness of malicious activity. Messages produced by defensive tools contain information about potential security events as well as the functioning status of security software and the system. Rather than or in addition to Indicator Blocking, an adversary can spoof positive affirmations that security tools are continuing to function even after legitimate security tools have been disabled. An adversary can also present a 'healthy' system status even after infection. For example, adversaries may show a fake Windows Security GUI and tray icon with a 'healthy' system status after Windows Defender and other system tools have been disabled. This technique was observed in Black Basta ransomware campaigns using custom EDR evasion tools tied to FIN7.
MITRE ATT&CK
- Tactic
- Defense Evasion
- Technique
- T1562 Impair Defenses
- Sub-technique
- T1562.011 Spoof Security Alerting
- Canonical reference
- https://attack.mitre.org/techniques/T1562/011/
Elastic Detection Query
sequence by host.name with maxspan=5m
[
any where event.category == "process" and event.type == "start" and
(
(
process.name in~ ("SecurityHealthSystray.exe", "SecurityHealthHost.exe", "MSASCuiL.exe", "NisSrv.exe") and
not (
process.executable : "C:\\Windows\\System32\\*" or
process.executable : "C:\\Program Files\\Windows Defender\\*" or
process.executable : "C:\\ProgramData\\Microsoft\\Windows Defender\\*"
)
) or
(
process.args : ("*SecurityHealth*", "*Windows Defender*", "*WindowsSecurity*") and
not process.name in~ ("SecurityHealthSystray.exe", "SecurityHealthHost.exe", "MSASCuiL.exe", "NisSrv.exe", "MsMpEng.exe", "svchost.exe", "services.exe")
) or
(
process.args : ("*sc stop WinDefend*", "*sc stop SecurityHealthService*", "*sc stop wscsvc*", "*DisableRealtimeMonitoring*", "*sc config WinDefend start= disabled*")
)
)
] Detects T1562.011 Spoof Security Alerting by identifying: (1) known Windows Security tray/host processes running from non-standard paths indicating spoofed security GUIs, (2) unexpected processes masquerading as security tools using defender-related keywords in command-line arguments, and (3) explicit commands to disable Windows Defender services. Observed in Black Basta ransomware campaigns using FIN7-linked EDR evasion tooling.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate third-party security software that references Windows Defender in its process arguments for integration or compatibility checks
- System administrators running sc.exe commands to reconfigure Defender services during sanctioned maintenance windows
- Security testing tools and vulnerability scanners that reference Defender processes as part of host enumeration
Other platforms for T1562.011
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Fake SecurityHealthSystray from TEMP Directory
Expected signal: Sysmon Event ID 1: Process Create with Image pointing to %TEMP%\SecurityHealthSystray.exe instead of C:\Windows\System32\. Sysmon Event ID 11: File Create for the copied binary. DeviceProcessEvents in MDE shows FolderPath as the TEMP directory.
- Test 2Disable Windows Defender Real-Time Monitoring
Expected signal: Sysmon Event ID 1: Process Create with CommandLine containing 'Set-MpPreference -DisableRealtimeMonitoring'. PowerShell ScriptBlock Log Event ID 4104. Microsoft-Windows-Windows Defender/Operational Event ID 5001 (Real-Time Protection disabled). If Tamper Protection is on, Event ID 1125 (tamper attempt blocked).
- Test 3Stop Windows Defender Service via sc.exe
Expected signal: Sysmon Event ID 1: Process Create with CommandLine 'sc stop WinDefend'. System Event ID 7036: WinDefend service entered stopped state. If Tamper Protection is on, the command will fail with Access Denied.
References (5)
- https://attack.mitre.org/techniques/T1562/011/
- https://www.sentinelone.com/labs/black-basta-ransomware-attacks-deploy-custom-edr-evasion-tools-tied-to-fin7-threat-actor/
- https://www.microsoft.com/en-us/security/blog/2022/05/09/ransomware-as-a-service-understanding-the-cybercrime-gig-economy-and-how-to-protect-yourself/
- https://learn.microsoft.com/en-us/defender-endpoint/prevent-changes-to-security-settings-with-tamper-protection
- https://www.crowdstrike.com/blog/carbon-spider-embraces-big-game-hunting/
Unlock Pro Content
Get the full detection package for T1562.011 including response playbook, investigation guide, and atomic red team tests.