Detectionmediumtest

Recon Information for Export with PowerShell

Once established within a system or network, an adversary may use automated techniques for collecting internal data

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Fri Jul 30Updated Sun Dec 25a9723fcc-881c-424c-8709-fd61442ab3c3windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic2 selectors
detection:
    selection_action:
        ScriptBlockText|contains:
            - 'Get-Service '
            - 'Get-ChildItem '
            - 'Get-Process '
    selection_redirect:
        ScriptBlockText|contains: '> $env:TEMP\'
    condition: all of selection*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
a9723fcc-881c-424c-8709-fd61442ab3c3
Status
test
Level
medium
Type
Detection
Created
Fri Jul 30
Modified
Sun Dec 25
Path
rules/windows/powershell/powershell_script/posh_ps_susp_recon_export.yml
Raw Tags
attack.collectionattack.t1119
View on GitHub