Detectionmediumtest
OneNote Attachment File Dropped In Suspicious Location
Detects creation of files with the ".one"/".onepkg" extension in suspicious or uncommon locations. This could be a sign of attackers abusing OneNote attachments
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Sun Jan 22Updated Tue Sep 197fd164ba-126a-4d9c-9392-0d4f7c243df0windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event
Events for file system activity including creation, modification, and deletion.
Detection Logic
Detection Logic2 selectors
detection:
selection:
TargetFilename|contains:
# Note: add more common locations for drops such as download folders and the like. Or baseline legitimate locations and alert on everything else
- '\AppData\Local\Temp\'
- '\Users\Public\'
- '\Windows\Temp\'
- ':\Temp\'
TargetFilename|endswith:
- '.one'
- '.onepkg'
filter_main_onenote:
Image|contains: ':\Program Files\Microsoft Office\'
Image|endswith: '\ONENOTE.EXE'
condition: selection and not 1 of filter_main_*False Positives
Legitimate usage of ".one" or ".onepkg" files from those locations
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
7fd164ba-126a-4d9c-9392-0d4f7c243df0
Status
test
Level
medium
Type
Detection
Created
Sun Jan 22
Modified
Tue Sep 19
Path
rules/windows/file/file_event/file_event_win_office_onenote_files_in_susp_locations.yml
Raw Tags
attack.defense-evasion