Sigma rule: Uncommon File Created In Office Startup Folder

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

Rule

Title
Uncommon File Created In Office Startup Folder
Status
test
Level
high
Author
frack113, Nasreddine Bencherchali (Nextron Systems)
Date
2022-06-05
Modified
2023-12-13
File
rules/windows/file/file_event/file_event_win_office_uncommon_file_startup.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of a file with an uncommon extension in an Office application startup folder

Log source

product
windows
category
file_event

Detection

selection_word_paths:
    - TargetFilename|contains: '\Microsoft\Word\STARTUP'
    - TargetFilename|contains|all:
          - '\Office'
          - '\Program Files'
          - '\STARTUP'
filter_exclude_word_ext:
    TargetFilename|endswith:
        - '.docb' # Word binary document introduced in Microsoft Office 2007
        - '.docm' # Word macro-enabled document; same as docx, but may contain macros and scripts
        - '.docx' # Word document
        - '.dotm' # Word macro-enabled template; same as dotx, but may contain macros and scripts
        - '.mdb' # MS Access DB
        - '.mdw' # MS Access DB
        - '.pdf' # PDF documents
        - '.wll' # Word add-in
        - '.wwl' # Word add-in
selection_excel_paths:
    - TargetFilename|contains: '\Microsoft\Excel\XLSTART'
    - TargetFilename|contains|all:
          - '\Office'
          - '\Program Files'
          - '\XLSTART'
filter_exclude_excel_ext:
    TargetFilename|endswith:
        - '.xll'
        - '.xls'
        - '.xlsm'
        - '.xlsx'
        - '.xlt'
        - '.xltm'
        - '.xlw'
filter_main_office_click_to_run:
    Image|contains: ':\Program Files\Common Files\Microsoft Shared\ClickToRun\'
    Image|endswith: '\OfficeClickToRun.exe'
filter_main_office_apps:
    Image|contains:
        - ':\Program Files\Microsoft Office\'
        - ':\Program Files (x86)\Microsoft Office\'
    Image|endswith:
        - '\winword.exe'
        - '\excel.exe'
condition: ((selection_word_paths and not filter_exclude_word_ext) or (selection_excel_paths and not filter_exclude_excel_ext)) and not 1 of filter_main_*

False positives (as the rule lists them)

  • False positive might stem from rare extensions used by other Office utilities.

Tags

  • attack.resource-development
  • attack.t1587.001

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/file/file_event/file_event_win_office_uncommon_file_startup.yml

Sources and licences

  • SigmaHQ

    "Uncommon File Created In Office Startup Folder" by frack113, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_office_uncommon_file_startup.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: Uncommon File Created In Office Startup Folder",
entity page, dataset version ref-c1cc2919aec2, updated 2023-12-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a10a2c40-2c4d-49f8-b557-1a946bc55d9d (accessed 2026-11-03).
Underlying source: SigmaHQ rule a10a2c40-2c4d-49f8-b557-1a946bc55d9d, 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.