Detectionmediumtest

Suspicious Invoke-Item From Mount-DiskImage

Adversaries may abuse container files such as disk image (.iso, .vhd) file formats to deliver malicious payloads that may not be tagged with MOTW.

Convert In Phoenix Studio

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

Launch
François HubautCreated Tue Feb 01902cedee-0398-4e3a-8183-6f3a89773a96windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Mount-DiskImage '
            - '-ImagePath '
            - Get-Volume
            - '.DriveLetter'
            - 'invoke-item '
            - '):\'
    condition: selection
False Positives

Legitimate PowerShell scripts

Rule Metadata
Rule ID
902cedee-0398-4e3a-8183-6f3a89773a96
Status
test
Level
medium
Type
Detection
Created
Tue Feb 01
Path
rules/windows/powershell/powershell_script/posh_ps_run_from_mount_diskimage.yml
Raw Tags
attack.defense-evasionattack.t1553.005
View on GitHub