Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for THREAT-Impact-SecurityToolMassServiceStop.

Unlock with Pro - from £29/user/mo
THREAT-Impact-SecurityToolMassServiceStop Google Chronicle · YARA-L

Detect Mass Stop/Disable of AV, EDR, and Backup Agent Services Preceding Destructive Activity in Google Chronicle

Before deploying an encryptor or wiper, ransomware operators and their affiliates routinely disable or kill every security and backup agent on a host in a tight burst, so that neither the endpoint protection stack nor the backup client can interfere with or later help recover from the destructive payload. This is executed with built-in, signed Windows tooling rather than custom malware: `sc.exe stop <svc>` / `sc.exe config <svc> start= disabled` (stop and permanently disable a service), `net stop <svc>` (the legacy equivalent, still widely scripted), PowerShell `Stop-Service`/`Set-Service -StartupType Disabled` (used when execution is via a PowerShell-based loader or C2 implant), and `taskkill /F /IM <process>.exe` (used to kill the service host process directly when the service control manager itself is protected or tamper-resistant). The distinguishing signal is not any single command — administrators routinely stop one service for maintenance — but the pattern of several distinct AV/EDR and backup-agent service names being targeted by one host/account within a short window, which has essentially no legitimate single-actor explanation outside of a coordinated uninstall or migration. Named targets recur across incident reports: Windows Defender (WinDefend, MsMpSvc, Sense/MDE, SecurityHealthService, WdNisSvc), CrowdStrike Falcon (CSFalconService, CSAgent), SentinelOne (SentinelAgent, SentinelServiceHost), VMware/Carbon Black (CbDefense, CbEvtMgr), Sophos (SAVService, SAVAdminService), Symantec/Broadcom (SepMasterService, ccSvcHst), McAfee/Trellix (McShield, mfemms, mfevtp), Trend Micro (TmCCSF, ntrtscan), BlackBerry Cylance (CylanceSvc), Malwarebytes (MBAMService), and backup agents including Veeam (VeeamBackupSvc, VeeamTransportSvc), Acronis (AcronisAgent), Veritas Backup Exec (BackupExecJobEngine, BackupExecAgentAccelerator), and the native Windows VSS/backup engine (wbengine, SDRSVC). Detection keys on the combination of a stop/disable/kill command syntax against this named-target list, clustered per host within a short window, rather than on any individual binary or service name in isolation.

MITRE ATT&CK

Tactic
Impact

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
rule security_tool_mass_service_stop {
  meta:
    author = "df00tech Detection Engineering"
    description = "Detects sc.exe/net.exe/taskkill.exe/PowerShell commands stopping, disabling, or killing named AV/EDR and backup-agent services, consistent with pre-ransomware disablement"
    reference = "https://attack.mitre.org/techniques/T1489/"
    severity = "CRITICAL"
    priority = "HIGH"
    mitre_attack_tactic = "Impact"
    mitre_attack_technique = "T1489"
    false_positives = "Bulk patch/maintenance automation, planned AV/EDR migration, backup agent upgrade windows, golden-image agent stripping"
    version = "1.0"

  events:
    $e.metadata.event_type = "PROCESS_LAUNCH"
    (
      (re.regex($e.target.process.file.full_path, `(?i)sc\.exe`) and re.regex($e.target.process.command_line, `(?i)(stop|config)`)) or
      (re.regex($e.target.process.file.full_path, `(?i)net1?\.exe`) and re.regex($e.target.process.command_line, `(?i)stop`)) or
      (re.regex($e.target.process.file.full_path, `(?i)taskkill\.exe`) and re.regex($e.target.process.command_line, `(?i)(/f|/im)`)) or
      (re.regex($e.target.process.file.full_path, `(?i)powershell\.exe`) and re.regex($e.target.process.command_line, `(?i)(Stop-Service|Set-Service)`))
    )
    re.regex($e.target.process.command_line, `(?i)(WinDefend|MsMpSvc|Sense|CSFalconService|SentinelAgent|CbDefense|SAVService|SepMasterService|McShield|TmCCSF|CylanceSvc|VeeamBackupSvc|AcronisAgent|BackupExec|wbengine|SDRSVC)`)
    $host = $e.principal.hostname

  match:
    $host over 15m

  condition:
    $e
}
critical severity medium confidence

Chronicle YARA-L 2.0 rule matching PROCESS_LAUNCH UDM events for sc.exe/net.exe/taskkill.exe/PowerShell commands targeting named AV/EDR and backup-agent services, grouped by hostname over a 15-minute window to surface the multi-service disablement burst typical of a ransomware precursor.

Data Sources

Google Chronicle SIEMChronicle UDM (Unified Data Model)Sysmon / Windows Event Log (via Chronicle feeds)

Required Tables

UDM Events (PROCESS_LAUNCH)

False Positives & Tuning

  • Bulk patch/maintenance automation stopping several agents before an update
  • Planned migration or uninstall of one security product in favor of another
  • Backup software upgrade windows stopping the vendor's own agent services
  • Golden-image pipelines stripping pre-installed AV/EDR agents from a template

Other platforms for THREAT-Impact-SecurityToolMassServiceStop


Testing Methodology

Validate this detection against 4 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 and Disable Windows Defender via sc.exe

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=sc.exe, two events with CommandLine containing 'stop WinDefend' and 'config WinDefend start= disabled' respectively.

  2. Test 2Mass Stop of AV/EDR and Backup Services via net stop

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=net.exe, three events with CommandLine containing 'stop SAVService', 'stop SepMasterService', and 'stop VeeamTransportSvc' respectively, within the same 15-minute window on one host.

  3. Test 3Kill CrowdStrike Falcon Service Host via taskkill

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=taskkill.exe, CommandLine contains '/F /IM CSFalconService.exe'.

  4. Test 4Disable Security Services via PowerShell Stop-Service/Set-Service

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=powershell.exe, two events with CommandLine containing 'Stop-Service' and 'Set-Service' respectively, ParentImage referencing powershell.exe/pwsh.exe.

Unlock playbooks & atomic tests with Pro

Get the full detection package for THREAT-Impact-SecurityToolMassServiceStop — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections

Tactic Hub