EXPLORE
← Back to Explore
sigmahighHunting

Base64 Encoded PowerShell Command Detected

Detects usage of the "FromBase64String" function in the commandline which is used to decode a base64 encoded string

MITRE ATT&CK

defense-evasionexecution

Detection Query

selection:
  CommandLine|contains: ::FromBase64String(
condition: selection

Author

Florian Roth (Nextron Systems)

Created

2020-01-29

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.t1027attack.defense-evasionattack.executionattack.t1140attack.t1059.001
Raw Content
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.t1027
    - attack.defense-evasion
    - 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