EXPLORE
← Back to Explore
sigmahighHunting

Potential PowerShell Obfuscation Via WCHAR/CHAR

Detects suspicious encoded character syntax often used for defense evasion

MITRE ATT&CK

executiondefense-evasion

Detection Query

selection:
  CommandLine|contains:
    - "[char]0x"
    - (WCHAR)0x
condition: selection

Author

Florian Roth (Nextron Systems)

Created

2020-07-09

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.executionattack.t1059.001attack.defense-evasionattack.t1027
Raw Content
title: Potential PowerShell Obfuscation Via WCHAR/CHAR
id: e312efd0-35a1-407f-8439-b8d434b438a6
status: test
description: Detects suspicious encoded character syntax often used for defense evasion
references:
    - https://twitter.com/0gtweet/status/1281103918693482496
author: Florian Roth (Nextron Systems)
date: 2020-07-09
modified: 2025-03-03
tags:
    - attack.execution
    - attack.t1059.001
    - attack.defense-evasion
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - '[char]0x'
            - '(WCHAR)0x'
    condition: selection
falsepositives:
    - Unknown
level: high