Sigma rule: VBA DLL Loaded Via Office Application

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-de3ba20140da, updated 2023-02-10T00:00:00.000Z.

Rule

Title
VBA DLL Loaded Via Office Application
Status
test
Level
high
Author
Antonlovesdnb
Date
2020-02-19
Modified
2023-02-10
File
rules/windows/image_load/image_load_office_vbadll_load.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
image_load

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 (as the rule lists them)

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

Tags

  • attack.execution
  • attack.t1204.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/image_load/image_load_office_vbadll_load.yml

Sources and licences

  • SigmaHQ

    "VBA DLL Loaded Via Office Application" by Antonlovesdnb (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/image_load/image_load_office_vbadll_load.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: VBA DLL Loaded Via Office Application",
entity page, dataset version ref-de3ba20140da, updated 2023-02-10T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e6ce8457-68b1-485b-9bdd-3c2b5d679aa9 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e6ce8457-68b1-485b-9bdd-3c2b5d679aa9, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.