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
Suspicious Data Staging via WinRAR Recursive Archive with Silent Update Flags (via process_creation)
Malicious PXA Stealer Archive Extraction via Renamed WinRAR images.png (via process_creation)
Suspicious Data Staging via Rar Archive With Delete Flag (via process_creation)
Suspicious 7za Archiver Executed from Windows Temp
Suspicious PowerShell Compress-Archive of Signal Configuration by Turla (via ps_script)
Suspicious Oracle Data Export via sqluldr Utility by APT41 (via process_creation)
Suspicious Password Protected Archiving with Hardcoded GoSerpent Key via process_creation
Suspicious Multi-Volume RAR Archiving for Collection by EAGERBEE
Suspicious Archive Staging to ProgramData NetWorks Path via RAR (via process_creation)
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.