Sigma rule: File Encoded To Base64 Via Certutil.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6bbdbcc20b26, updated 2024-03-05T00:00:00.000Z.

Rule

Title
File Encoded To Base64 Via Certutil.EXE
Status
test
Level
medium
Author
Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Date
2019-02-24
Modified
2024-03-05
File
rules/windows/process_creation/proc_creation_win_certutil_encode.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of certutil with the "encode" flag to encode a file to base64. This can be abused by threat actors and attackers for data exfiltration

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\certutil.exe'
    - OriginalFileName: 'CertUtil.exe'
selection_cli:
    CommandLine|contains|windash: '-encode'
condition: all of selection_*

False positives (as the rule lists them)

  • As this is a general purpose rule, legitimate usage of the encode functionality will trigger some false positives. Apply additional filters accordingly

Tags

  • attack.stealth
  • attack.t1027

MITRE ATT&CK ids this rule names

References

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.yml

Sources and licences

  • SigmaHQ

    "File Encoded To Base64 Via Certutil.EXE" by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_certutil_encode.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: File Encoded To Base64 Via Certutil.EXE",
entity page, dataset version ref-6bbdbcc20b26, updated 2024-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e62a9f0c-ca1e-46b2-85d5-a6da77f86d1a (accessed 2026-11-03).
Underlying source: SigmaHQ rule e62a9f0c-ca1e-46b2-85d5-a6da77f86d1a, 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.