1200kmSECURITY RESEARCH

1200KM / sigma-rule

Potential Persistence Via Logon Scripts - CommandLine — Sigma Rule

Sigma rule 21d856f9-9281-4ded-9377-51a1a6e2a432. Potential Persistence Via Logon Scripts - CommandLine — Sigma Rule. Detects the addition of a new LogonScript to the registry value "UserInitMprLogonScript" for potential persistence

Rule metadata and linked tags

Author: Tom Ueltschi (@c_APT_ure). Source status: test; severity: high. Source dates: 2019-01-12 / 2023-06-09.

{
  "category": "process_creation",
  "product": "windows"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: 79ff899ee8977cea7d9cf91a108ae552a8643cd9f4a47b49097af2ebeebf611d

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: Potential Persistence Via Logon Scripts - CommandLine
id: 21d856f9-9281-4ded-9377-51a1a6e2a432
related:
    - id: 0a98a10c-685d-4ab0-bddc-b6bdd1d48458
      type: derived
status: test
description: Detects the addition of a new LogonScript to the registry value "UserInitMprLogonScript" for potential persistence
references:
    - https://cocomelonc.github.io/persistence/2022/12/09/malware-pers-20.html
author: Tom Ueltschi (@c_APT_ure)
date: 2019-01-12
modified: 2023-06-09
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1037.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains: 'UserInitMprLogonScript'
    condition: selection
falsepositives:
    - Legitimate addition of Logon Scripts via the command line by administrators or third party tools
level: high

Original YAML and metadata in JSON

False positives

  • Legitimate addition of Logon Scripts via the command line by administrators or third party tools

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.