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.
No Linux build. Run this one on a Windows host in the range.
On Linux
No Linux build. Run this one on a Windows host in the range.
On Windows
PowerShell Gallery
- Allow signed modules for this session
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned - Install PowerSploit
Install-Module -Name PowerSploit -Scope CurrentUser -Force - Load it
Import-Module PowerSploit
Check it worked
- Confirm it resolves
where powersploit - Check the version
powersploit --versionThe range reports 3.0.0.
Remove it
- Take it off again
Uninstall-Module -Name PowerSploit
Inside the range
- 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.
- Or install it from a range terminal
winget install --id PowerSploit -eThe simulated package manager seeds the same binaries, config and receipt the shelf toggle does.
- 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.