MITRE ATT&CK / Software / S0231

Invoke-PSImage

ID
S0231
Type
Tool
Source
attack.mitre.org
MITRE last modified
17 Apr 2025

Invoke-PSImage takes a PowerShell script and embeds the bytes of the script into the pixels of a PNG image. It generates a one liner for executing either from a file of from the web. Example of usage is embedding the PowerShell code from the Invoke-Mimikatz module and embed it into an image file. By calling the image file from a macro for example, the macro will download the picture and execute the PowerShell code, which in this case will dump the passwords. [1]

Techniques used (2)

Groups using it (1)

References

  1. GitHub Invoke-PSImage