Suspicious BugSleep Marker File in Public Directory

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

ATT&CK techniques

Priv Esc → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects creation of a file named a.txt in the C-Users-Public directory, an existence marker used by the BugSleep backdoor during its injection routine. The malware writes and checks this public path artifact to coordinate its shellcode injection into browser and remote access processes. Detecting the marker can surface the backdoor on the host.

Related detections9 linkedT1055 — drag to rearrange
Suspicious PowerShell Shellcode Loader via Function Pointer Delegate
Suspicious Named Pipe Created by Kazuar Backdoor for Interprocess Command Channel
Suspicious SmallTiger Backdoor DLL Load via Image Load
Suspicious svchost Execution With Anomalous Arguments via DeedRAT (via process_creation)
Suspicious Sang Loader Execution with Install or PassUAC Arguments
Suspicious GodRAT Shellcode Injection via Puppet Argument (via process_creation)
Suspicious Executable Execution From AppData Roaming msgui via Process Creation
Suspicious RuntimeBroker Network Connection via Loki Mythic Agent
Suspicious Network Connection from mspaint or msiexec (via network_connection)
Suspicious BugSleep Marker File in Public Directory
Pivot detection · T1055 · 9 related

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