Detection rules › Sigma

OneNote.EXE Execution of Malicious Embedded Scripts

Severity
high
Author
@kostastsale
Source
upstream

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.

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1218.001 System Binary Proxy Execution: Compiled HTML File

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

or:
CommandLine|contains: '\exported\'
CommandLine|contains: '\onenoteofflinecache_files\'
or:
Image|endswith: '\cmd.exe'
Image|endswith: '\cscript.exe'
Image|endswith: '\mshta.exe'
Image|endswith: '\powershell.exe'
Image|endswith: '\pwsh.exe'
Image|endswith: '\wscript.exe'
ParentImage|endswith: '\onenote.exe'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • \exported\
  • \onenoteofflinecache_files\
Imageends_with
  • \cmd.exe corpus 92 (sigma 92)
  • \cscript.exe corpus 64 (sigma 64)
  • \mshta.exe corpus 57 (sigma 57)
  • \powershell.exe corpus 143 (sigma 143)
  • \pwsh.exe corpus 140 (sigma 140)
  • \wscript.exe corpus 64 (sigma 64)
ParentImageends_with
  • \onenote.exe corpus 3 (sigma 3)