T1562 CrowdStrike LogScale · LogScale

Detect Impair Defenses in CrowdStrike LogScale

Adversaries may maliciously modify components of a victim environment in order to hinder or disable defensive mechanisms. This not only involves impairing preventative defenses, such as firewalls and anti-virus, but also detection capabilities that defenders can use to audit activity and identify malicious behavior. This may span both native defenses as well as supplemental capabilities installed by users and administrators. Adversaries may also impair routine operations that contribute to defensive hygiene, such as blocking users from logging out, preventing a system from shutting down, or disabling or modifying the update process.

MITRE ATT&CK

Tactic
Defense Evasion
Technique
T1562 Impair Defenses
Canonical reference
https://attack.mitre.org/techniques/T1562/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName in ("ProcessRollup2", "SyntheticProcessRollup2")
| CommandLine = /(?i)(sc\s+(stop|config)|net\s+stop|taskkill).{0,100}(WinDefend|Sense|MsMpSvc|SecurityHealth|SecurityHealthService|EventLog|MpsSvc|WdNisSvc)/
  OR CommandLine = /(?i)(auditpol\s+\/(clear|set)|wevtutil\s+cl\s)/
  OR CommandLine = /(?i)(Set-MpPreference|DisableRealtimeMonitoring|DisableBehaviorMonitoring|Remove-MpPreference)/
  OR CommandLine = /(?i)(bcdedit\s+\/set.{0,40}safeboot|netsh\s+advfirewall\s+set)/
  OR CommandLine = /(?i)taskkill.{0,60}(MsMpEng|NisSrv|SecurityHealth|MpCmdRun)/
| eval action = case(
    CommandLine = /(?i)(sc\s+(stop|config)|net\s+stop|taskkill).{0,100}(WinDefend|Sense|MsMpSvc|SecurityHealth|EventLog|MpsSvc)/,
    "security_service_tampering",
    CommandLine = /(?i)(auditpol\s+\/(clear|set)|wevtutil\s+cl\s)/,
    "log_tampering",
    CommandLine = /(?i)(Set-MpPreference|DisableRealtimeMonitoring|DisableBehaviorMonitoring|Remove-MpPreference)/,
    "defender_modification",
    CommandLine = /(?i)(bcdedit\s+\/set.{0,40}safeboot|netsh\s+advfirewall\s+set)/,
    "boot_or_firewall_tampering",
    CommandLine = /(?i)taskkill.{0,60}(MsMpEng|NisSrv|SecurityHealth|MpCmdRun)/,
    "defender_process_kill",
    true(), "unknown_impair_defenses"
  )
| table(["@timestamp", "ComputerName", "UserName", "FileName", "CommandLine", "ParentBaseFileName", "action", "TargetProcessId", "ContextProcessId"])
| sort(field="@timestamp", order=desc)
high severity high confidence

Detects T1562 Impair Defenses using CrowdStrike Falcon ProcessRollup2 events. Matches command lines targeting Windows security service stop/config operations, Defender real-time monitoring disablement, audit log clearing via auditpol and wevtutil, boot configuration safeboot changes via bcdedit, firewall manipulation via netsh advfirewall, and direct process termination of Defender components. Classifies each match into specific impairment sub-categories.

Data Sources

CrowdStrike Falcon Endpoint ProtectionCrowdStrike Falcon Data Replicator

Required Tables

ProcessRollup2SyntheticProcessRollup2

False Positives & Tuning

  • IT administrators or endpoint management platforms (SCCM, Intune) running scripted maintenance tasks that stop and restart Windows security services during patch cycles
  • CrowdStrike Falcon sensor updates or configuration changes that transiently alter Defender coexistence settings or service states
  • Automated security baseline tools (CIS-CAT, SCAP scanners) that audit or modify audit policies and Windows Firewall settings as part of compliance assessments
Download portable Sigma rule (.yml)

Other platforms for T1562


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.

  1. Test 1Stop Windows Defender Service

    Expected signal: Sysmon Event ID 1: Process Create with CommandLine 'sc stop WinDefend'. System Event ID 7036: Windows Defender Antivirus Service entered the stopped state. Security Event ID 4688 if command line auditing enabled.

  2. Test 2Clear Security Event Log

    Expected signal: Security Event ID 1102: The audit log was cleared. Sysmon Event ID 1: Process Create with CommandLine 'wevtutil cl Security'.

  3. Test 3Disable Audit Policy

    Expected signal: Security Event ID 4719: System audit policy was changed. Sysmon Event ID 1: Process Create with CommandLine 'auditpol /clear /y'.

Unlock Pro Content

Get the full detection package for T1562 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections