Sigma rule: MSI Installation From Suspicious Locations

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

Rule

Title
MSI Installation From Suspicious Locations
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-08-31
Modified
2023-10-23
File
rules/windows/builtin/application/msiinstaller/win_msi_install_from_susp_locations.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects MSI package installation from suspicious locations

Log source

product
windows
service
application

Detection

selection:
    Provider_Name: 'MsiInstaller'
    EventID:
        - 1040
        - 1042
    Data|contains:
        # Add more suspicious paths
        - ':\Windows\TEMP\'
        - '\\\\'
        - '\Desktop\'
        - '\PerfLogs\'
        - '\Users\Public\'
        # - '\AppData\Local\Temp\'  # too many FPs
        # - '\Downloads\'  # too many FPs, typical legitimate staging directory
filter_winget:
    Data|contains: '\AppData\Local\Temp\WinGet\'
filter_updhealthtools:
    Data|contains: 'C:\Windows\TEMP\UpdHealthTools.msi'
condition: selection and not 1 of filter_*

False positives (as the rule lists them)

  • False positives may occur if you allow installation from folders such as the desktop, the public folder or remote shares. A baseline is required before production use.

Tags

  • attack.execution

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/builtin/application/msiinstaller/win_msi_install_from_susp_locations.yml

Sources and licences

  • SigmaHQ

    "MSI Installation From Suspicious Locations" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/application/msiinstaller/win_msi_install_from_susp_locations.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: MSI Installation From Suspicious Locations",
entity page, dataset version ref-6fa571348f43, updated 2023-10-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c7c8aa1c-5aff-408e-828b-998e3620b341 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c7c8aa1c-5aff-408e-828b-998e3620b341, 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.