Detection rules › Sigma

Suspicious Execution Of Renamed Sysinternals Tools - Registry

Status
test
Severity
high
Log source
category registry_set, product windows
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the creation of the "accepteula" key related to the Sysinternals tools being created from executables with the wrong name (e.g. a renamed Sysinternals tool)

Known false positives

  • Unlikely

MITRE ATT&CK coverage

TacticTechniques
Resource Development

Telemetry coverage

Rule body

title: Suspicious Execution Of Renamed Sysinternals Tools - Registry
id: f50f3c09-557d-492d-81db-9064a8d4e211
related:
    - id: 25ffa65d-76d8-4da5-a832-3f2b0136e133
      type: derived
    - id: 8023f872-3f1d-4301-a384-801889917ab4
      type: similar
status: test
description: Detects the creation of the "accepteula" key related to the Sysinternals tools being created from executables with the wrong name (e.g. a renamed Sysinternals tool)
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-24
modified: 2026-06-29
tags:
    - attack.resource-development
    - attack.t1588.002
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|contains:
            # Please add new values while respecting the alphabetical order
            - '\Active Directory Explorer'
            - '\Handle'
            - '\LiveKd'
            - '\ProcDump'
            - '\Process Explorer'
            - '\PsExec'
            - '\PsLoggedon'
            - '\PsLoglist'
            - '\PsPasswd'
            - '\PsPing'
            - '\PsService'
            - '\SDelete'
        TargetObject|endswith: '\EulaAccepted'
    filter:
        Image|endswith:
            # Please add new values while respecting the alphabetical order
            - '\ADExplorer.exe'
            - '\ADExplorer64.exe'
            - '\ADExplorer64a.exe'
            - '\handle.exe'
            - '\handle64.exe'
            - '\handle64a.exe'
            - '\livekd.exe'
            - '\livekd64.exe'
            - '\procdump.exe'
            - '\procdump64.exe'
            - '\procdump64a.exe'
            - '\procexp.exe'
            - '\procexp64.exe'
            - '\procexp64a.exe'
            - '\PsExec.exe'
            - '\PsExec64.exe'
            - '\PsExec64a.exe'
            - '\PsLoggedon.exe'
            - '\PsLoggedon64.exe'
            - '\psloglist.exe'
            - '\psloglist64.exe'
            - '\psloglist64a.exe'
            - '\pspasswd.exe'
            - '\pspasswd64.exe'
            - '\pspasswd64a.exe'
            - '\PsPing.exe'
            - '\PsPing64.exe'
            - '\PsPing64a.exe'
            - '\PsService.exe'
            - '\PsService64.exe'
            - '\PsService64a.exe'
            - '\sdelete.exe'
    condition: selection and not filter
falsepositives:
    - Unlikely
level: high
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_pua_sysinternals_renamed_execution_via_eula/info.yml

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    TargetObject|contains:
        - '\Active Directory Explorer'
        - '\Handle'
        - '\LiveKd'
        - '\ProcDump'
        - '\Process Explorer'
        - '\PsExec'
        - '\PsLoggedon'
        - '\PsLoglist'
        - '\PsPasswd'
        - '\PsPing'
        - '\PsService'
        - '\SDelete'
    TargetObject|endswith: '\EulaAccepted'

Stage 2: not filter

filter:
    Image|endswith:
        - '\ADExplorer.exe'
        - '\ADExplorer64.exe'
        - '\ADExplorer64a.exe'
        - '\handle.exe'
        - '\handle64.exe'
        - '\handle64a.exe'
        - '\livekd.exe'
        - '\livekd64.exe'
        - '\procdump.exe'
        - '\procdump64.exe'
        - '\procdump64a.exe'
        - '\procexp.exe'
        - '\procexp64.exe'
        - '\procexp64a.exe'
        - '\PsExec.exe'
        - '\PsExec64.exe'
        - '\PsExec64a.exe'
        - '\PsLoggedon.exe'
        - '\PsLoggedon64.exe'
        - '\psloglist.exe'
        - '\psloglist64.exe'
        - '\psloglist64a.exe'
        - '\pspasswd.exe'
        - '\pspasswd64.exe'
        - '\pspasswd64a.exe'
        - '\PsPing.exe'
        - '\PsPing64.exe'
        - '\PsPing64a.exe'
        - '\PsService.exe'
        - '\PsService64.exe'
        - '\PsService64a.exe'
        - '\sdelete.exe'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\ADExplorer.exeexcludes:Image field:"Image" value:"\ADExplorer.exe"
Imageends_with\ADExplorer64.exeexcludes:Image field:"Image" value:"\ADExplorer64.exe"
Imageends_with\ADExplorer64a.exeexcludes:Image field:"Image" value:"\ADExplorer64a.exe"
Imageends_with\PsExec.exeexcludes:Image field:"Image" value:"\PsExec.exe"
Imageends_with\PsExec64.exeexcludes:Image field:"Image" value:"\PsExec64.exe"
Imageends_with\PsExec64a.exeexcludes:Image field:"Image" value:"\PsExec64a.exe"
Imageends_with\PsLoggedon.exeexcludes:Image field:"Image" value:"\PsLoggedon.exe"
Imageends_with\PsLoggedon64.exeexcludes:Image field:"Image" value:"\PsLoggedon64.exe"
Imageends_with\PsPing.exeexcludes:Image field:"Image" value:"\PsPing.exe"
Imageends_with\PsPing64.exeexcludes:Image field:"Image" value:"\PsPing64.exe"
Imageends_with\PsPing64a.exeexcludes:Image field:"Image" value:"\PsPing64a.exe"
Imageends_with\PsService.exeexcludes:Image field:"Image" value:"\PsService.exe"
Imageends_with\PsService64.exeexcludes:Image field:"Image" value:"\PsService64.exe"
Imageends_with\PsService64a.exeexcludes:Image field:"Image" value:"\PsService64a.exe"
Imageends_with\handle.exeexcludes:Image field:"Image" value:"\handle.exe"
Imageends_with\handle64.exeexcludes:Image field:"Image" value:"\handle64.exe"
Imageends_with\handle64a.exeexcludes:Image field:"Image" value:"\handle64a.exe"
Imageends_with\livekd.exeexcludes:Image field:"Image" value:"\livekd.exe"
Imageends_with\livekd64.exeexcludes:Image field:"Image" value:"\livekd64.exe"
Imageends_with\procdump.exeexcludes:Image field:"Image" value:"\procdump.exe"
Imageends_with\procdump64.exeexcludes:Image field:"Image" value:"\procdump64.exe"
Imageends_with\procdump64a.exeexcludes:Image field:"Image" value:"\procdump64a.exe"
Imageends_with\procexp.exeexcludes:Image field:"Image" value:"\procexp.exe"
Imageends_with\procexp64.exeexcludes:Image field:"Image" value:"\procexp64.exe"
Imageends_with\procexp64a.exeexcludes:Image field:"Image" value:"\procexp64a.exe"
Imageends_with\psloglist.exeexcludes:Image field:"Image" value:"\psloglist.exe"
Imageends_with\psloglist64.exeexcludes:Image field:"Image" value:"\psloglist64.exe"
Imageends_with\psloglist64a.exeexcludes:Image field:"Image" value:"\psloglist64a.exe"
Imageends_with\pspasswd.exeexcludes:Image field:"Image" value:"\pspasswd.exe"
Imageends_with\pspasswd64.exeexcludes:Image field:"Image" value:"\pspasswd64.exe"
Imageends_with\pspasswd64a.exeexcludes:Image field:"Image" value:"\pspasswd64a.exe"
Imageends_with\sdelete.exeexcludes:Image field:"Image" value:"\sdelete.exe"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • \EulaAccepted corpus 4 (sigma 4)
field:"TargetObject" kind:ends_with value:"\EulaAccepted"
TargetObjectmatch
  • \Active Directory Explorer corpus 3 (sigma 3)
  • \Handle corpus 3 (sigma 3)
  • \LiveKd corpus 3 (sigma 3)
  • \ProcDump corpus 3 (sigma 3)
  • \Process Explorer corpus 3 (sigma 3)
  • \PsExec corpus 3 (sigma 3)
  • \PsLoggedon
  • \PsLoglist corpus 3 (sigma 3)
  • \PsPasswd corpus 3 (sigma 3)
  • \PsPing
  • \PsService
  • \SDelete corpus 2 (sigma 2)
field:"TargetObject" kind:match