Detection rules › Sigma
Console CodePage Lookup Via CHCP
Detects use of chcp to look up the system locale value as part of host discovery
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Discovery | T1614.001 System Location Discovery: System Language Discovery |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: selection
or:
CommandLine|endswith: 'chcp '
CommandLine|endswith: 'chcp '
CommandLine|endswith: chcp
or:
ParentCommandLine|contains: ' -c '
ParentCommandLine|contains: ' -k '
ParentCommandLine|contains: ' -r '
Image|endswith: '\chcp.com'
ParentImage|endswith: '\cmd.exe'
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.
| Field | Kind | Values |
|---|---|---|
CommandLine | ends_with |
|
Image | ends_with |
|
ParentCommandLine | match |
|
ParentImage | ends_with |
|