PyFuscation : Obfuscate Powershell Scripts By Replacing Function Names, Variables & Parameters

PyFuscation is a obfuscate powershell scripts by replacing Function names, Variables and Parameters. It Requires python3.

Usage

PyFuscation.py [-h] [-f] [-v] [-p] [–ps SCRIPT]

Also Read – Barq: The AWS Cloud Post Exploitation Framework

Optional arguments:

-h, –help show this help message and exit
-f Obfuscate functions
○ Do this First … Its probably the most likely to work well
-v Obfuscate variables
○ If your going to obfuscate variables do the parameters too.
-p Obfuscate parameters
○ If your going to obfuscate parameters do the variables too.

Required arguments: –ps <SCRIPT> Obfuscate PowerShell script

python3 PyFuscation.py -fvp –ps ./Scripts/Invoke-Mimikatz.ps1

R K

Recent Posts

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

4 days ago

git cherry-pick Command: Apply Commits from Another Branch

Sometimes the change you need already exists, just on the wrong branch. A hotfix lands…

4 days ago

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

5 days ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

1 week ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

1 week ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

1 week ago