Sigma rule: Rar Usage with Password and Compression Level
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-1c2c0ce162f6, updated 2022-03-16T00:00:00.000Z.
Rule
- Title
- Rar Usage with Password and Compression Level
- Status
- test
- Level
- high
- Author
- @ROxPinTeddy
- Date
- 2020-05-12
- Modified
- 2022-03-16
- File
- rules/windows/process_creation/proc_creation_win_rar_compression_with_password.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of rar.exe, on the command line, to create an archive with password protection or with a specific compression level. This is pretty indicative of malicious actions.
Log source
- product
- windows
- category
- process_creation
Detection
selection_password:
CommandLine|contains: ' -hp'
selection_other:
CommandLine|contains:
- ' -m'
- ' a '
condition: selection_password and selection_otherFalse positives (as the rule lists them)
- Legitimate use of Winrar command line version
- Other command line tools, that use these flags
Tags
- attack.collection
- attack.t1560.001
MITRE ATT&CK ids this rule names
References
- https://labs.sentinelone.com/the-anatomy-of-an-apt-attack-and-cobaltstrike-beacons-encoded-configuration/
- https://ss64.com/bash/rar.html
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rar_compression_with_password.yml
Sources and licences
SigmaHQ
"Rar Usage with Password and Compression Level" by @ROxPinTeddy (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rar_compression_with_password.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Rar Usage with Password and Compression Level",
entity page, dataset version ref-1c2c0ce162f6, updated 2022-03-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/faa48cae-6b25-4f00-a094-08947fef582f (accessed 2026-11-03).
Underlying source: SigmaHQ rule faa48cae-6b25-4f00-a094-08947fef582f, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.