Powerob : An On-The-Fly Powershell Script Obfuscator

Powerob is an on-the-fly Powershell script obfuscator meant for red team engagements. Built out of necessity.

Installation

git clone https://github.com/cwolff411/powerob

Usage

python3 powerob.py obfuscate originalfile.ps1 obfuscatedfile.ps1

Takes an INPUTFILE obfuscates it and dumps the obfuscated version into OUTPUTFILE.

python3 powerob.py list

Also Read – Ossem Power Up : Tool To Assess Data Quality

Lists all of the currently obfuscated files along with their commands and associated obfuscated commands.

python3 powerob.py getcommand Invoke-AllChecks

For reference on the fly for when you forget. Takes the original command name and displays the obfuscated command name to be used in Powershell.

python3 powerob.py cleardb

Maintenance function to clear the db of past obfuscated files and functions.
About

This was built out of the need to bypass endpoint security on a recent engagement. During priv esc attempts I could not download PowerUp.ps1 until it was obfuscated.

This is v1. It obfuscates the functions only and I will enhance the functionality as time allows. Pull requests and collaboration welcomed.

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

15 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

15 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

3 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago