{"id":"6f4191bb-912b-48a8-9ce7-682769541e6d","title":"Suspicious Msiexec Execute Arbitrary DLL","description":"Adversaries may abuse msiexec.exe to proxy execution of malicious payloads.\nMsiexec.exe is the command-line utility for the Windows Installer and is thus commonly associated with executing installation packages (.msi)\n","author":"frack113","status":"test","level":"medium","date":"2022-01-16","modified":"2026-01-09","tags":["attack.stealth","attack.t1218.007"],"technique_ids":["T1218.007"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate script"],"references":["https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md","https://twitter.com/_st0pp3r_/status/1583914515996897281"],"source_path":"rules/windows/process_creation/proc_creation_win_msiexec_execute_dll.yml","source_sha256":"177ffd35f8627762923311ca54d500fdc25ff0ed6457e5c486dd4bef820143f3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_msiexec_execute_dll.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Msiexec Execute Arbitrary DLL\nid: 6f4191bb-912b-48a8-9ce7-682769541e6d\nstatus: test\ndescription: |\n    Adversaries may abuse msiexec.exe to proxy execution of malicious payloads.\n    Msiexec.exe is the command-line utility for the Windows Installer and is thus commonly associated with executing installation packages (.msi)\nreferences:\n    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md\n    - https://twitter.com/_st0pp3r_/status/1583914515996897281\nauthor: frack113\ndate: 2022-01-16\nmodified: 2026-01-09\ntags:\n    - attack.stealth\n    - attack.t1218.007\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\msiexec.exe'\n        CommandLine|contains|windash: ' /Y'\n    filter_main_legit_path:\n        CommandLine|contains:\n            - '\\MsiExec.exe\" /Y \"C:\\Program Files\\'\n            - '\\MsiExec.exe\" /Y \"C:\\Program Files (x86)\\'\n            - '\\MsiExec.exe\" /Y \"C:\\Windows\\System32\\'\n            - '\\MsiExec.exe\" /Y \"C:\\Windows\\SysWOW64\\'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Legitimate script\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.007","id":"T1218.007","name":"Msiexec","page":"techniques/enterprise/T1218.007/"}],"data_path":"data/detection-rules/6f4191bb-912b-48a8-9ce7-682769541e6d.json","kind":"sigma"}
