Base64 Encoded PowerShell Command Detected
testhighlog source: windows · process_creationauthor Florian Roth (Nextron Systems)date 2020-01-29
01
description
What this is, in brief.
Detects usage of the "FromBase64String" function in the commandline which is used to decode a base64 encoded string
02
tags
attack.stealthattack.t1027attack.executionattack.t1140attack.t1059.001
03
rule source (YAML)
title: Base64 Encoded PowerShell Command Detected
id: e32d4572-9826-4738-b651-95fa63747e8a
status: test
description: Detects usage of the "FromBase64String" function in the commandline which is used to decode a base64 encoded string
references:
- https://gist.github.com/Neo23x0/6af876ee72b51676c82a2db8d2cd3639
author: Florian Roth (Nextron Systems)
date: 2020-01-29
modified: 2023-01-26
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1140
- attack.t1059.001
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains: '::FromBase64String('
condition: selection
falsepositives:
- Administrative script libraries
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_powershell_frombase64string/info.yml
04
detects techniques (3)
ATT&CK techniques this enables or maps to.
05
references
External citations — patches, advisories, analysis.