2019-10-14 15:45:25 +00:00
|
|
|
title: Suspicious Code Page Switch
|
2019-11-12 22:12:27 +00:00
|
|
|
id: c7942406-33dd-4377-a564-0f62db0593a3
|
2019-10-14 15:45:25 +00:00
|
|
|
status: experimental
|
|
|
|
description: Detects a code page switch in command line or batch scripts to a rare language
|
2020-11-28 11:42:27 +00:00
|
|
|
author: Florian Roth, Jonhnathan Ribeiro, oscd.community
|
2019-10-14 15:45:25 +00:00
|
|
|
date: 2019/10/14
|
2020-11-28 11:42:27 +00:00
|
|
|
modified: 2020/11/28
|
2019-10-14 15:45:25 +00:00
|
|
|
references:
|
|
|
|
- https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
|
|
|
|
- https://twitter.com/cglyer/status/1183756892952248325
|
|
|
|
logsource:
|
|
|
|
category: process_creation
|
|
|
|
product: windows
|
|
|
|
detection:
|
|
|
|
selection:
|
2020-11-28 11:42:27 +00:00
|
|
|
Image|endswith: '\chcp.com'
|
2020-11-20 05:27:58 +00:00
|
|
|
CommandLine|endswith:
|
2020-11-28 11:42:27 +00:00
|
|
|
- ' 936' # Chinese
|
2020-11-20 05:27:58 +00:00
|
|
|
# - ' 1256' # Arabic
|
2020-11-28 11:42:27 +00:00
|
|
|
- ' 1258' # Vietnamese
|
2020-11-20 05:27:58 +00:00
|
|
|
# - ' 855' # Russian
|
|
|
|
# - ' 866' # Russian
|
|
|
|
# - ' 864' # Arabic
|
2019-10-14 15:45:25 +00:00
|
|
|
condition: selection
|
|
|
|
fields:
|
|
|
|
- ParentCommandLine
|
|
|
|
falsepositives:
|
2019-10-14 15:50:48 +00:00
|
|
|
- "Administrative activity (adjust code pages according to your organisation's region)"
|
2019-10-14 15:45:25 +00:00
|
|
|
level: medium
|