1200kmSECURITY RESEARCH

1200KM / sigma-rule

Invoke-Obfuscation Via Use MSHTA - Security — Sigma Rule

Sigma rule 9b8d9203-4e0f-4cd9-bb06-4cc4ea6d0e9a. Invoke-Obfuscation Via Use MSHTA - Security — Sigma Rule. Detects Obfuscated Powershell via use MSHTA in Scripts

Rule metadata and linked tags

Author: Nikita Nazarov, oscd.community. Source status: test; severity: high. Source dates: 2020-10-09 / 2022-11-29.

{
  "product": "windows",
  "service": "security",
  "definition": "The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: f95fa5b7179e18ac3f435d35ce574e3bb0ce567d7b7dde642ec9443b38f11e25

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

title: Invoke-Obfuscation Via Use MSHTA - Security
id: 9b8d9203-4e0f-4cd9-bb06-4cc4ea6d0e9a
related:
    - id: 7e9c7999-0f9b-4d4a-a6ed-af6d553d4af4
      type: derived
status: test
description: Detects Obfuscated Powershell via use MSHTA in Scripts
references:
    - https://github.com/SigmaHQ/sigma/issues/1009 # (Task31)
author: Nikita Nazarov, oscd.community
date: 2020-10-09
modified: 2022-11-29
tags:
    - attack.stealth
    - attack.t1027
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    service: security
    definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
    selection:
        EventID: 4697
        ServiceFileName|contains|all:
            - 'mshta'
            - 'vbscript:createobject'
            - '.run'
            - 'window.close'
    condition: selection
falsepositives:
    - Unknown
level: high

Original YAML and metadata in JSON

False positives

  • Unknown

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.