# peewpw/Invoke-PSImage

Encodes a PowerShell script in the pixels of a PNG file and generates a oneliner to execute

Repository: https://github.com/peewpw/Invoke-PSImage
Canonical: https://ross.abutalabs.com/products/invoke-psimage
Language: PowerShell
License: MIT
License Family: permissive
Last push: 2019-09-23T15:17:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3181, "days_push": 2536, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2188, forks 386 (observed 2026-08-28T04:06:23.826231+00:00)

## What it is
Invoke-PSImage is a PowerShell tool that encodes a PowerShell script into the pixels of a PNG image using steganography, then generates a oneliner to execute the payload. It can embed payloads in the least significant bits of an existing image or create new images, supporting execution from disk or the web.

## Use cases
- hide a powershell script inside a png image
- generate a oneliner to execute a script embedded in an image
- embed mimikatz payload in a picture for red team ops
- encode powershell payload into image pixels for stealth delivery
- host an image on the web and execute the embedded script remotely

## When to choose
- you need to smuggle a PowerShell script past simple inspection by hiding it in an image
- you want a self-contained oneliner that decodes and runs a payload from a PNG
- you are doing red team or penetration testing on Windows environments

## When to avoid
- you need a defensive or detection tool rather than an offensive payload encoder
- your target is not Windows PowerShell
- you need robust, modern tooling - the project has not been updated since 2019

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, cryptography, cli
- domain: security, penetration-testing, developer-tools
- platform: windows, cli
- tags: steganography, powershell, offensive-security, payload-encoding, red-team

## Member repositories
- peewpw/Invoke-PSImage (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:23.826231+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:46.013848+00:00, confidence not recorded.
  - readme: https://github.com/peewpw/Invoke-PSImage (fetched 2026-08-28T04:06:23.826231+00:00, sha 339ae267a01b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
