Detection rules › Sigma

Potential PsExec Remote Execution

Severity
high
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects potential psexec command that initiate execution on a remote systems via common commandline flags used by the utility

MITRE ATT&CK coverage

TacticTechniques
Resource DevelopmentT1587.001 Develop Capabilities: Malware

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

CommandLine|contains: ' -p '
CommandLine|contains: ' -u '
CommandLine|contains: ' \\\\'
CommandLine|contains: accepteula

Stage 2: not 1 of filter_main_localhost

or:
CommandLine|contains: '\\\\127.'
CommandLine|contains: '\\\\localhost'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -p corpus 5 (sigma 5)
  • -u corpus 4 (sigma 4)
  • \\\\ corpus 8 (sigma 8)
  • \\\\127.
  • \\\\localhost
  • accepteula corpus 3 (sigma 3)