Suspicious Modification of Windows Hosts File

PremiumReviewedSigma · Medium · v1
Product
windows
Category
file_event
Author
HuntRule
Published
2026-09-20
Updated
2026-09-20

ATT&CK techniques

C2 → Impact
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. Exfiltration

What it detects

This rule detects writes to the Windows hosts file, which Cyber Stealer manipulates to poison DNS resolution and redirect or block traffic such as security-vendor domains. Because the hosts file is rarely changed on managed endpoints, modifications outside of controlled administration are a meaningful sign of network defense tampering.

Related detections9 linkedT1071.001 — drag to rearrange
Malicious TeamPCP antv Backup C2 Domain m-kosche (via dns_query)
Malicious Axios npm Compromise C2 Beacon to sfrclak and callnrwise (via dns_query)
Malicious TeamPCP durabletask C2 git-service and m-kosche (via dns_query)
Possible PowerShell Empire Default C2 URI Beaconing
Malicious ETW Disabling via COMPlus_ETWEnabled Environment Variable
Suspicious CrazyHunter BYOVD Driver Drop in Public Directory
Suspicious Execution of cfmon.exe Masquerading as ctfmon via CharmingCypress
Malicious GhostLocker Ransomware C2 Communication via HTTP (via proxy)
Suspicious SELinux Enforcement Disabled via Setenforce Command Line (via process_creation)
Suspicious Modification of Windows Hosts File
Pivot detection · T1071.001 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.