Sigma rule: Office Macros Warning Disabled

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5660f52820c6, updated 2024-03-19T00:00:00.000Z.

Rule

Title
Office Macros Warning Disabled
Status
test
Level
high
Author
Trent Liffick (@tliffick), Nasreddine Bencherchali (Nextron Systems)
Date
2020-05-22
Modified
2024-03-19
File
rules/windows/registry/registry_set/registry_set_office_vba_warnings_tamper.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects registry changes to Microsoft Office "VBAWarning" to a value of "1" which enables the execution of all macros, whether signed or unsigned.

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|endswith: '\Security\VBAWarnings'
    Details: 'DWORD (0x00000001)'
condition: selection

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.persistence
  • attack.defense-impairment
  • attack.t1112

MITRE ATT&CK ids this rule names

Related rules

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/registry/registry_set/registry_set_office_vba_warnings_tamper.yml

Sources and licences

  • SigmaHQ

    "Office Macros Warning Disabled" by Trent Liffick (@tliffick), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_office_vba_warnings_tamper.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: Office Macros Warning Disabled",
entity page, dataset version ref-5660f52820c6, updated 2024-03-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/91239011-fe3c-4b54-9f24-15c86bb65913 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 91239011-fe3c-4b54-9f24-15c86bb65913, 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.