Skip to content

A Golang implant that uses Discord as a C2 team server

Notifications You must be signed in to change notification settings

kensh1ro/Willie-C2

Repository files navigation

Willie C2

Go implant using Discord as a C2 team server

Still in development

Features

  • Executing shell commands (cmd, powershell, wmic)
  • Files and Directories (listing, removing...)
  • Uploading and Downloading files
  • Taking screenshots
  • List attatched Drives
  • Simple network scanner
  • Processes listing
  • Registry operations
  • Clearing event logs
  • Shellcode injection using HellsGate technique
  • CLR binary injection

Installation

  • Turn on Developer mode in Settings -> Advanced
  • Create a new discord server, creating a channel is optional, you can use channel "general", copy its ID and save it in "setup_config.py" CHANNEL variable
  • Visit discord developer dashboard
  • Create new application
  • Add a bot for the application (make sure you untick "PUBLIC BOT", and enable "MESSAGE CONTENT INTENT")
  • Save the bot's token in "setup_config.py" TOKEN variable
  • Go to OAuth2 -> URL Generator, tick the bot options in "SCOPES", then give it the appropriate permissions in the "BOT PERMISSIONS" section (Administrator permission is the quickest way), lastly visit the generated link and choose the server you want the bot to be added to.
  • Run "setup_config.py".
  • Compile "willie.go" by running GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -H windowsgui" -trimpath.

Everytime you run "setup_config.py" a new "config.go" file gets created with a randomized RC4 key responsible for decrypting strings to avoid triggering AV/EDR during static checks. The program uses Mutex lock to prevent it from running more than once simultaneously.

Demo

Demo

TODO

  • Process Migration
  • Process Token Manipulation
  • Priviliage Escilation

PRs are welcome

About

A Golang implant that uses Discord as a C2 team server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published