Detectionhightest

VBA DLL Loaded Via Office Application

Detects VB DLL's loaded by an office application. Which could indicate the presence of VBA Macros.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
AntonlovesdnbCreated Wed Feb 19Updated Fri Feb 10e6ce8457-68b1-485b-9bdd-3c2b5d679aa9windows
Log Source
WindowsImage Load (DLL)
ProductWindows← raw: windows
CategoryImage Load (DLL)← raw: image_load
Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith:
            - '\excel.exe'
            - '\mspub.exe'
            - '\onenote.exe'
            - '\onenoteim.exe' # Just in case
            - '\outlook.exe'
            - '\powerpnt.exe'
            - '\winword.exe'
        ImageLoaded|endswith:
            - '\VBE7.DLL'
            - '\VBEUI.DLL'
            - '\VBE7INTL.DLL'
    condition: selection
False Positives

Legitimate macro usage. Add the appropriate filter according to your environment

MITRE ATT&CK
Rule Metadata
Rule ID
e6ce8457-68b1-485b-9bdd-3c2b5d679aa9
Status
test
Level
high
Type
Detection
Created
Wed Feb 19
Modified
Fri Feb 10
Path
rules/windows/image_load/image_load_office_vbadll_load.yml
Raw Tags
attack.executionattack.t1204.002
View on GitHub