Sigma rule: OneNote.EXE Execution of Malicious Embedded Scripts
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ceeaaf7dd7d1, updated 2023-02-02T00:00:00.000Z.
Rule
- Title
- OneNote.EXE Execution of Malicious Embedded Scripts
- Status
- test
- Level
- high
- Author
- @kostastsale
- Date
- 2023-02-02
- File
- rules/windows/process_creation/proc_creation_win_office_onenote_embedded_script_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of malicious OneNote documents that contain embedded scripts.
When a user clicks on a OneNote attachment and then on the malicious link inside the ".one" file, it exports and executes the malicious embedded script from specific directories.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
ParentImage|endswith: '\onenote.exe'
Image|endswith:
- '\cmd.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\wscript.exe'
CommandLine|contains:
- '\exported\'
- '\onenoteofflinecache_files\'
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.stealth
- attack.t1218.001
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_office_onenote_embedded_script_execution.yml
Sources and licences
SigmaHQ
"OneNote.EXE Execution of Malicious Embedded Scripts" by @kostastsale (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_office_onenote_embedded_script_execution.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: OneNote.EXE Execution of Malicious Embedded Scripts",
entity page, dataset version ref-ceeaaf7dd7d1, updated 2023-02-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/84b1706c-932a-44c4-ae28-892b28a25b94 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 84b1706c-932a-44c4-ae28-892b28a25b94, 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.