Sigma rule: File In Suspicious Location Encoded To Base64 Via Certutil.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-49ec75e05dbc, updated 2024-03-05T00:00:00.000Z.
Rule
- Title
- File In Suspicious Location Encoded To Base64 Via Certutil.EXE
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-05-15
- Modified
- 2024-03-05
- File
- rules/windows/process_creation/proc_creation_win_certutil_encode_susp_location.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of certutil with the "encode" flag to encode a file to base64 where the files are located in potentially suspicious locations
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\certutil.exe'
- OriginalFileName: 'CertUtil.exe'
selection_cli:
CommandLine|contains|windash: '-encode'
selection_extension:
CommandLine|contains:
# Note: Add more suspicious locations to increase coverage
- '\AppData\Roaming\'
- '\Desktop\'
- '\Local\Temp\'
- '\PerfLogs\'
- '\Users\Public\'
- '\Windows\Temp\'
- '$Recycle.Bin'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.stealth
- attack.t1027
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.virustotal.com/gui/file/35c22725a92d5cb1016b09421c0a6cdbfd860fd4778b3313669b057d4a131cb7/behavior
- https://www.virustotal.com/gui/file/427616528b7dbc4a6057ac89eb174a3a90f7abcf3f34e5a359b7a910d82f7a72/behavior
- https://www.virustotal.com/gui/file/34de4c8beded481a4084a1fd77855c3e977e8ac643e5c5842d0f15f7f9b9086f/behavior
- https://www.virustotal.com/gui/file/4abe1395a09fda06d897a9c4eb247278c1b6cddda5d126ce5b3f4f499e3b8fa2/behavior
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_certutil_encode_susp_location.yml
Sources and licences
SigmaHQ
"File In Suspicious Location Encoded To Base64 Via Certutil.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_certutil_encode_susp_location.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: File In Suspicious Location Encoded To Base64 Via Certutil.EXE",
entity page, dataset version ref-49ec75e05dbc, updated 2024-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/82a6714f-4899-4f16-9c1e-9a333544d4c3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 82a6714f-4899-4f16-9c1e-9a333544d4c3, 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.