Detection rules › Sigma

Suspicious CodePage Switch Via CHCP

Severity
medium
Author
Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community
Source
upstream

Detects a code page switch in command line or batch scripts to a rare language

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1036 Masquerading

Event coverage

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

Stages and Predicates

Stage 1: selection

or:
CommandLine|endswith: ' 1258'
CommandLine|endswith: ' 936'
Image|endswith: '\chcp.com'

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
CommandLineends_with
  • 1258
  • 936
Imageends_with
  • \chcp.com corpus 2 (sigma 2)