Detectionhightest

Suspicious File Created Via OneNote Application

Detects suspicious files created via the OneNote application. This could indicate a potential malicious ".one"/".onepkg" file was executed as seen being used in malware activity in the wild

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-02-09Updated 2023-02-27fcc6d700-68d9-4241-9a1a-06874d621b06windows
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 Logic1 selector
detection:
    selection:
        Image|endswith:
            - '\onenote.exe'
            - '\onenotem.exe'
            - '\onenoteim.exe'
        TargetFilename|contains: '\AppData\Local\Temp\OneNote\'
        TargetFilename|endswith:
            # TODO: Add more suspicious extensions
            - '.bat'
            - '.chm'
            - '.cmd'
            - '.dll'
            - '.exe'
            - '.hta'
            - '.htm'
            - '.html'
            - '.js'
            - '.lnk'
            - '.ps1'
            - '.vbe'
            - '.vbs'
            - '.wsf'
    condition: selection
False Positives

False positives should be very low with the extensions list cited. Especially if you don't heavily utilize OneNote.

Occasional FPs might occur if OneNote is used internally to share different embedded documents

MITRE ATT&CK
Rule Metadata
Rule ID
fcc6d700-68d9-4241-9a1a-06874d621b06
Status
test
Level
high
Type
Detection
Created
2023-02-09
Modified
2023-02-27
Path
rules/windows/file/file_event/file_event_win_office_onenote_susp_dropped_files.yml
Raw Tags
attack.stealth
View on GitHub