PowerShell Live Memory Dump via Get-StorageDiagnosticInfo with -IncludeLiveDump (Windows)

Identifies PowerShell use of Get-StorageDiagnosticInfo with -IncludeLiveDump to trigger a live memory dump on Windows.

FreeReviewedSigma · High · v2
Product
windows
Category
ps_script
Author
Max Altgelt (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-09-21
Updated
2026-07-31
title: PowerShell Live Memory Dump via Get-StorageDiagnosticInfo with -IncludeLiveDump (Windows)
id: a29aee8a-dd12-4f82-bd10-c4f4f9c34b1b
status: test
description: This rule flags PowerShell script block content that calls Get-StorageDiagnosticInfo with the -IncludeLiveDump option on Windows. Attackers may use this to collect live memory data, which can aid credential access and other sensitive information discovery. Detection relies on script block text visibility from PowerShell logging to match the specific command and parameter combination.
references:
  - https://learn.microsoft.com/en-us/powershell/module/storage/get-storagediagnosticinfo?view=windowsserver2022-ps
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/powershell/powershell_script/posh_ps_memorydump_getstoragediagnosticinfo.yml
author: Max Altgelt (Nextron Systems), Huntrule Team
date: 2021-09-21
modified: 2022-12-25
tags:
  - attack.credential-access
  - attack.t1003
logsource:
  product: windows
  category: ps_script
  definition: "Requirements: Script Block Logging must be enabled"
detection:
  selection:
    ScriptBlockText|contains|all:
      - Get-StorageDiagnosticInfo
      - -IncludeLiveDump
  condition: selection
falsepositives:
  - Diagnostics
level: high
license: DRL-1.1
related:
  - id: cd185561-4760-45d6-a63e-a51325112cae
    type: derived