Windows: Detect rar.exe Archive Creation Using Password or Compression Options

Alerts on rar.exe command lines that include both password protection (-hp) and additional compression/archive flags.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
@ROxPinTeddy (SigmaHQ), DRL 1.1
Published
2020-05-12
Updated
2026-07-30

ATT&CK techniques

Collection
  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. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags process creation where rar.exe is invoked with command-line arguments that include a password flag and other archive configuration flags. Attackers commonly compress and protect files to package sensitive data or evade inspection, making rar command-line usage with these specific options noteworthy. It relies on Windows process creation telemetry and matches on substrings present in the process command line.

Related detections9 linkedT1560.001 — drag to rearrange
Data Collection via Rar Archiving With Recursion and Compression Flags
Suspicious Archiving of Registry Hives via WinRAR (UAT-8099)
Suspicious Data Staging via Password-Protected Archive Utility (via process_creation)
Suspicious Archive Staged in Web Accessible Directory via tar
Suspicious Archive Staged in Web Root via tar on Ivanti EPMM
Suspicious Payload Staging in Public Libraries Directory via file_event
Suspicious macOS Data Staging via ditto to Temp Archive in Attacker Directory (via process_creation)
Suspicious WinRAR Silent Archive Staging
Suspicious VOLTZITE Single-Character Named ZIP Exfil Staging (via file_event)
Windows: Detect rar.exe Archive Creation Using Password or Compression Options
Pivot detection · T1560.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.