Skip to content
Threat Feed
high advisory

Suspicious Windows Service Tampering

Adversaries, including ransomware operators, frequently target and disable critical Windows services such as antivirus and backup agents to facilitate lateral movement and payload execution.

Adversaries targeting Windows environments regularly employ service tampering techniques to impair security posture before deploying ransomware or other destructive payloads. By stopping, disabling, or deleting critical system services - specifically those related to endpoint detection and response (EDR), antivirus engines (e.g., Windows Defender, McAfee, Kaspersky), and backup solutions (e.g., Acronis, Veeam) - attackers minimize the risk of detection and prevent data recovery. This behavior is typically observed during the defense impairment phase of an attack, where legitimate administrative tools like 'net', 'sc', 'wmic', or PowerShell are repurposed to manipulate the state of system services. Understanding this activity is crucial for detection engineers to identify unauthorized changes to service configurations that deviate from established baselines.

Attack Chain

  1. Initial access is established through spearphishing or exploitation of internet-facing services.
  2. The attacker executes a discovery command to identify installed security software or backup agents.
  3. The attacker gains elevated privileges (e.g., via exploit or credential theft) necessary to modify system service configurations.
  4. The attacker launches a system binary like 'sc.exe', 'net.exe', or 'powershell.exe' to target specific service names.
  5. The attacker executes commands to 'stop' or 'delete' the targeted security service process.
  6. The attacker may disable the service's startup configuration using 'sc config ... start=disabled' to prevent automatic restart.
  7. The attacker verifies that the security agent is no longer operational, effectively blinding security teams.
  8. Final objective activity, such as ransomware encryption or exfiltration, is initiated without interference from the neutralized security software.

Impact

Successful service tampering leads to complete defense impairment, allowing ransomware operators to execute payloads without security intervention. This results in wide-scale data encryption, system downtime, and potential data loss, as victims are unable to rely on local backups that have been similarly disabled. Observed incidents involve global ransomware actors who have successfully compromised numerous enterprise sectors by silencing endpoint security suites.

Recommendation

Prioritize monitoring of service management utilities and automate alerts on unauthorized modifications to security-critical services.

  • Deploy the Sigma rule provided in this brief to detect suspicious calls to 'sc', 'net', and 'powershell' aimed at security-related service names.
  • Establish a baseline for legitimate administrative service management in your environment to tune out false positives originating from authorized IT maintenance scripts.
  • Audit and restrict access to the Service Control Manager (SCM) to prevent non-administrative users or compromised processes from modifying security service states.

Immediate actions

Deploy the service tampering detection rule

Detection Engineering 48h

Threat Hunt

Search for instances of 'sc stop' or 'net stop' followed by security product service names

T1489 high high confidence hunt now

Data: Process creation logs

Mitigations

Restrict SCM modification permissions to designated administrative accounts

medium_term IT Operations

Service tampering capability

Detection coverage 1

Detect Suspicious Windows Service Tampering

high

Detects the use of utilities like net, sc, or PowerShell to stop, pause, disable, or delete critical Windows services

sigma tactics: defense-impairment, impact techniques: T1489 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →