{"id":"0e29e3a7-1ad8-40aa-b691-9f82ecd33d66","title":"Office Macro File Download","description":"Detects the creation of a new office macro files on the system via an application (browser, mail client).\nThis can help identify potential malicious activity, such as the download of macro-enabled documents that could be used for exploitation.\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"low","date":"2022-01-23","modified":"2025-10-29","tags":["attack.initial-access","attack.t1566.001"],"technique_ids":["T1566.001"],"logsource":{"category":"file_event","product":"windows"},"falsepositives":["Legitimate macro files downloaded from the internet","Legitimate macro files sent as attachments via emails"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1566.001/T1566.001.md","https://learn.microsoft.com/en-us/deployoffice/compat/office-file-format-reference"],"source_path":"rules/windows/file/file_event/file_event_win_office_macro_files_downloaded.yml","source_sha256":"51e427a9c78b91506f789b74f7978f8c5862395f1f691907b27e940d4cb819a8","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_win_office_macro_files_downloaded.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Office Macro File Download\nid: 0e29e3a7-1ad8-40aa-b691-9f82ecd33d66\nrelated:\n    - id: 91174a41-dc8f-401b-be89-7bfc140612a0\n      type: similar\nstatus: test\ndescription: |\n    Detects the creation of a new office macro files on the system via an application (browser, mail client).\n    This can help identify potential malicious activity, such as the download of macro-enabled documents that could be used for exploitation.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1566.001/T1566.001.md\n    - https://learn.microsoft.com/en-us/deployoffice/compat/office-file-format-reference\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-01-23\nmodified: 2025-10-29\ntags:\n    - attack.initial-access\n    - attack.t1566.001\nlogsource:\n    category: file_event\n    product: windows\ndetection:\n    selection_processes:\n        Image|endswith:\n            # Email clients\n            - '\\RuntimeBroker.exe' # Windows Email clients uses RuntimeBroker to create the files\n            - '\\outlook.exe'\n            - '\\thunderbird.exe'\n            # Browsers\n            - '\\brave.exe'\n            - '\\chrome.exe'\n            - '\\firefox.exe'\n            - '\\iexplore.exe'\n            - '\\maxthon.exe'\n            - '\\MicrosoftEdge.exe'\n            - '\\msedge.exe'\n            - '\\msedgewebview2.exe'\n            - '\\opera.exe'\n            - '\\safari.exe'\n            - '\\seamonkey.exe'\n            - '\\vivaldi.exe'\n            - '\\whale.exe'\n    selection_ext:\n        - TargetFilename|endswith:\n              - '.docm'\n              - '.dotm'\n              - '.xlsm'\n              - '.xltm'\n              - '.potm'\n              - '.pptm'\n        - TargetFilename|contains:\n              - '.docm:Zone'\n              - '.dotm:Zone'\n              - '.xlsm:Zone'\n              - '.xltm:Zone'\n              - '.potm:Zone'\n              - '.pptm:Zone'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate macro files downloaded from the internet\n    - Legitimate macro files sent as attachments via emails\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1566.001","id":"T1566.001","name":"Spearphishing Attachment","page":"techniques/enterprise/T1566.001/"}],"data_path":"data/detection-rules/0e29e3a7-1ad8-40aa-b691-9f82ecd33d66.json","kind":"sigma"}
