TerraLogger Keystroke Log File Creation in ProgramData Root (via file_event)

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

ATT&CK techniques

Cred Access → Collection
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects TerraLogger writing captured keystrokes to fixed log filenames placed directly in the ProgramData root. Adversaries leverage this low-level keyboard-hook logger to record credentials and window titles, making creation of these specific log files in ProgramData a useful keylogging indicator.

Related detections9 linkedT1056.001 — drag to rearrange
Suspicious CLR Load Into Mstsc RDP Client
Suspicious Keylogger Output File in Windows Themes Folder (via file_event)
Suspicious Keylogger Capture Database Written to macOS Temp Directory
Malicious Kong RAT Keylogger Capture File Creation
Malicious BRUSHLOGGER Rundll32 Execution from ProgramData (via process_creation)
Suspicious Keylog and Screenshot Files in windows-cache Directory (OtterCookie)
Suspicious WezRat Keylog File in Temp Directory
Suspicious Larva-24009 Keylogger Log Staging in OneDrive Path (via file_event)
Suspicious Kimsuky AlphaSeed Artifacts in edge Hidden Directory (via file_event)
TerraLogger Keystroke Log File Creation in ProgramData Root (via file_event)
Pivot detection · T1056.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.