Cybrary ForgeCYBRARY / FORGE

PowerSploit

v3.0.0PowerShellMafia (archived, still widely referenced)

A PowerShell module collection covering recon (PowerView), privilege escalation checks (PowerUp), persistence and script modification. Archived upstream but still the reference for what malicious PowerShell looks like, which is exactly why a defender wants to run it and read the resulting Script Block logs.

Category
Post-exploitation & lateral movement
Package
PowerSploit
Runs on
Windows
Commands
powersploit, invoke-allchecks, get-netuser, get-netcomputer

Module output is derived from the authored host and domain state; running it writes 4103/4104 Script Block events for the hunt.

Install it

The scripts below install the real PowerShellMafia (archived, still widely referenced) package on your own machine — read them first, and run them somewhere you are allowed to change. Inside the range, one press puts the simulated package on your next machine.

Linux installer (shell script)
install-powersploit.sh

No Linux build. Run this one on a Windows host in the range.

Windows installer (PowerShell)
Install-powersploit.ps1
On a range machine
Add it to your kit and every machine you launch comes with it.

On Linux

No Linux build. Run this one on a Windows host in the range.

On Windows

PowerShell Gallery

  1. Allow signed modules for this session
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
  2. Install PowerSploit
    Install-Module -Name PowerSploit -Scope CurrentUser -Force
  3. Load it
    Import-Module PowerSploit

Check it worked

  1. Confirm it resolves
    where powersploit
  2. Check the version
    powersploit --version

    The range reports 3.0.0.

Remove it

  1. Take it off again
    Uninstall-Module -Name PowerSploit

Inside the range

  1. Tick it on the launch screen

    Under PowerSploit's category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.

  2. Or install it from a range terminal
    winget install --id PowerSploit -e

    The simulated package manager seeds the same binaries, config and receipt the shelf toggle does.

  3. Everything here is simulated

    No software is downloaded and nothing executes — the range answers from authored fixtures.

Labs that use PowerSploit

No lab locks this one on yet — tick it on the launch screen and take it into any scenario.