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 Elastic Security · Elastic

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

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

Elastic Detection Query

Elastic Security (Elastic)
eql
process where event.type == "start" and (
  (process.name : "sc.exe" and (process.command_line : "*stop*" or process.command_line : "*config*")) or
  (process.name : ("net.exe", "net1.exe") and process.command_line : "*stop*") or
  (process.name : "taskkill.exe" and (process.command_line : "*/f*" or process.command_line : "*/im*")) or
  (process.name : "powershell.exe" and (process.command_line : "*Stop-Service*" or process.command_line : "*Set-Service*"))
) and (
  process.command_line : ("*WinDefend*", "*MsMpSvc*", "*Sense*", "*SecurityHealthService*", "*WdNisSvc*", "*CSFalconService*", "*CSAgent*", "*SentinelAgent*", "*SentinelServiceHost*", "*CbDefense*", "*CbEvtMgr*", "*SAVService*", "*Sophos*", "*SepMasterService*", "*Symantec*", "*McShield*", "*mfemms*", "*mfevtp*", "*TmCCSF*", "*CylanceSvc*", "*MBAMService*", "*VeeamBackupSvc*", "*VeeamTransportSvc*", "*AcronisAgent*", "*BackupExec*", "*wbengine*", "*SDRSVC*")
)
critical severity high confidence

Elastic EQL process-start query matching sc.exe/net.exe/taskkill.exe/PowerShell commands stopping, disabling, or killing named AV/EDR and backup-agent services. Pair with an Elastic detection rule threshold (3+ distinct command_line values from the same host.name within 15 minutes) to reproduce the MassStop burst scoring used in the KQL/SPL rules.

Data Sources

Elastic Agent / Elastic Defend process eventsSysmon via Elastic Agent Windows integration

Required Tables

logs-endpoint.events.process-*winlogbeat-* (Sysmon Event ID 1)

False Positives & Tuning

  • IT administrators or automation platforms performing legitimate bulk patch/maintenance cycles that stop several agents before an update
  • Planned migration or uninstall of one security product in favor of another across many endpoints
  • Backup software upgrade windows where the vendor installer stops its own agent services
  • Golden-image or VDI refresh 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