Sigma rule: Invoke-Obfuscation Via Use MSHTA - System

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-345429088e28, updated 2022-11-29T00:00:00.000Z.

Rule

Title
Invoke-Obfuscation Via Use MSHTA - System
Status
test
Level
high
Author
Nikita Nazarov, oscd.community
Date
2020-10-09
Modified
2022-11-29
File
rules/windows/builtin/system/service_control_manager/win_system_invoke_obfuscation_via_use_mshta_services.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects Obfuscated Powershell via use MSHTA in Scripts

Log source

product
windows
service
system

Detection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    ImagePath|contains|all:
        - 'mshta'
        - 'vbscript:createobject'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027
  • attack.execution
  • attack.t1059.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/builtin/system/service_control_manager/win_system_invoke_obfuscation_via_use_mshta_services.yml

Sources and licences

  • SigmaHQ

    "Invoke-Obfuscation Via Use MSHTA - System" by Nikita Nazarov, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_invoke_obfuscation_via_use_mshta_services.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: Invoke-Obfuscation Via Use MSHTA - System",
entity page, dataset version ref-345429088e28, updated 2022-11-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7e9c7999-0f9b-4d4a-a6ed-af6d553d4af4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7e9c7999-0f9b-4d4a-a6ed-af6d553d4af4, 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.