Suspicious CodePage Switch Via CHCP
Detects a code page switch in command line or batch scripts to a rare language
Detection logic
Detection requirements
- Platform
- ContainersESXiLinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Administrative activity (adjust code pages according to your organization's region)
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers | 2 |
| twitter.com/cglyer/status/1183756892952248325 | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- c7942406-33dd-4377-a564-0f62db0593a3
- Tagged by the source as
- attack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1