• Sublime Core Feed
High Severity

Attachment: Malicious OneNote Commands

Labels

Malware/Ransomware
OneNote
Scripting
Archive analysis
Content analysis
File analysis
YARA

Description

Scans for OneNote attachments that contain suspicious commands that may indicate malicious activity.

References

@Kyle_Parrish_
Created Aug 17th, 2023 • Last updated Aug 21st, 2023
Feed Source
Sublime Core Feed
Source
GitHub
type.inbound
and any(attachments,
        (.file_extension in~ ("one") or .file_extension in~ $file_extensions_common_archives)
        and any(file.explode(.),
                "onenote_file" in .flavors.yara
                and any(.scan.strings.strings,
                        strings.ilike(.,
                                      "*WshShell*",
                                      "*ExecuteCmdAsync*",
                                      "*CreateObject*",
                                      "*Wscript.Shell*",
                                      "*schtasks*",
                                      "*CreateProcess*",
                                      "*winmgmts*",
                                      "*SetEnvironmentVariable*",
                                      "*powershell*",
                                      "*echo off*"
                        )
                )
        )
)

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Get Started