Disctopia-c2 - Windows Backdoor that is controlled through Discord

Overview


Disctopia
Disctopia

Disctopia Command and Control


What is Disctopia?

Disctopia is an open source Python Discord Bot that works as a backdoor that you can control from a Discord server. It uses the Discord API to communicate between the agent and the Discord server.

How does it work?

The Disctopia backdoor is made using the Discord API. That executable backdoor that gets generated is a Discord Bot that connects to a Discord server where you can control it. This connection stays undetected because it is considered normal discord traffic.

New clients that execute the backdoor are called "Agents". Every Agent gets a unique ID that can be used to call the backdoor.

How to Install Disctopia?

Please follow the installation guide to install Disctopia.

How to Setup Disctopia

Please follow the setup guide to setup Disctopia.

How to Build a backdoor?

Please follow the build guide to build a backdoor with Disctopia.

Disctopia Features

  • Gathers Infomartion about the Agent
  • Handle Multiple Agents
  • Keylogger
  • Credential Stealer
  • File Upload
  • File Download
  • View Processes
  • Discord Token Grabber
  • Screenshot
  • Persistence
  • Execute Commands
  • Encrypted Traffic (HTTPS)
  • Connection stays Stealthy and Undetected

You can view the available commands from the help menu.

Contributors

For anyone who is interested in contributing to Disctopia, please make sure you fork the project and make a pull request.

Disclaimer

This github repository is made for educational purposes only. The developer is not responsible for any misuse of this software. Do not use this software for illegal purposes.

Comments
  • builder error

    builder error

    Traceback (most recent call last): File "C:\Users\hp\Desktop\disctopia-c2-main\builder.py", line 204, in builder.build()

    File "C:\Users\hp\Desktop\disctopia-c2-main\builder.py", line 49, in build self.compile()

    File "C:\Users\hp\Desktop\disctopia-c2-main\builder.py", line 60, in compile subprocess.call(compile_command)

    File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p:

    File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds,

    File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

    bug 
    opened by LendaMarian 9
  • Fatal errors in 2nd and 3rd attempt.

    Fatal errors in 2nd and 3rd attempt.

    unknown (3) I've used the backdoor a total of three times, first on a computer of my own network, then on a friend's pc who asked me to give me the .exe to him and lastly on my school pc. The second and third attempts prompted up this error. (It's of note to mention that I uploaded one of the exes to my Mega account so my friend could download it and test it for himself). I'm not aware of what could be causing the backdoor to fail after being succesfully booted the other times around, any help?

    opened by HypervisingAfterburner 8
  • Unable to create the backdoor -

    Unable to create the backdoor -

    [+] Building the Backdoor [+] Please wait...

    Traceback (most recent call last): File "C:\Users\Jord\Desktop\disco test\builder.py", line 179, in builder.build() File "C:\Users\Jord\Desktop\disco test\builder.py", line 43, in build self.compile() File "C:\Users\Jord\Desktop\disco test\builder.py", line 50, in compile subprocess.call(compile_command) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 966, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1435, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

    -- I am on windows 10 and have all of the necessary addons for python - I have noticed other people having the same problem - it then outputs a python file instead of an exe

    opened by OwxnBlxd 8
  • interact with multiple agents at at once

    interact with multiple agents at at once

    I recently came across this github repo and really liked it, however i noticed that there is no command to interact with all agents at once. If i missed it please let me know. Could you please add an option for every command like [all] to adress all agents at once? Thank you and have wonderful holidays!

    opened by Programmer1603 7
  • Stuck

    Stuck

    Hi, whenever running the build command after running the "sudo python3 builder.py" i keep getting the error "wine: cannot find '/root/.wine/drive_c/users/root/Local Settings/Application Data/Programs/Python/Python38-32/Scripts/pyinstaller.exe'"

    Pls help thank you

    opened by elliotlounds 6
  • i cant build application

    i cant build application

    i install wine but cannot found this

    Run "help" to get the help menu [+] > build

    Are you sure everything is setup correctly? Y/N y

    [+] Building the Backdoor [+] Please wait...

    wine: cannot find '/root/.wine/drive_c/users/root/Local Settings/Application Data/Programs/Python/Python38-32/Scripts/pyinstaller.exe'

    [+] The Backdoor can be found inside the "dist" directory

    any hint for help me

    iam using kali linux !

    opened by tarekxxx 6
  • Cannot find Executable for subprocess

    Cannot find Executable for subprocess

    when i try to build it i get an error:

    Traceback (most recent call last): File "builder.py", line 179, in <module> builder.build() File "builder.py", line 43, in build self.compile() File "builder.py", line 50, in compile subprocess.call(compile_command) File "C:\Users\abdul\disctopia-c2\lib\subprocess.py", line 340, in call with Popen(*popenargs, **kwargs) as p: File "C:\Users\abdul\disctopia-c2\lib\subprocess.py", line 858, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\abdul\disctopia-c2\lib\subprocess.py", line 1311, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

    opened by 3lialka3bee 6
  • build issue

    build issue

    wine: failed to open "/root/.wine/drive_c/users/root/Local Settings/Application Data/Programs/Python/Python38-32/Scripts/pyinstaller.exe": c0000135

    [+] The Backdoor can be found inside the "dist" directory

    DO NOT UPLOAD THE BACKDOOR TO VIRUS TOTAL

    builder dosen't work

    opened by BIRTAX38 4
  • Now my backdoor is not getting executed.

    Now my backdoor is not getting executed.

    Fatal error detected 08_03_2022 4_27_57 PM To be honest, it worked perfectly the first time i executed it. After playing around with the commands for a while, the bot just went off, and then when i tried to run the backdoor again, it gave me this error

    opened by harryk26005 4
  • Kali new-setup.sh c++ compliler error

    Kali new-setup.sh c++ compliler error

    Hi. New Kali build. Followed the instructions line by line. Tried on multiple flavors of Linux and receiving the same error. I think it's related to compiler errors. (also gives me a C: path, not sure if that's coming from Wine or something else that's breaking it)

    Here's the error -

    `Installing build dependencies ... done Getting requirements to build wheel ... error ERROR: Command errored out with exit status 1: command: 'C:\users\root\AppData\Local\Programs\Python\Python38-32\python.exe' 'C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\site-packages
    pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\users\root\Temp\tmpd78p6_qq' cwd: C:\users\root\Temp\pip-install-17b1_o5h\scipy Complete output (49 lines):
    The Meson build system
    Version: 0.63.3
    Source dir: C:\users\root\Temp\pip-install-17b1_o5h\scipy
    Build dir: C:\users\root\Temp\pip-install-17b1_o5h\scipy.mesonpy-xpthl7yp\build
    Build type: native build
    Project name: SciPy
    Project version: 1.9.2
    WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

    ....\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
    The following exception(s) were encountered:
    Running icl "" gave "[WinError 2] File not found"
    Running cl /? gave "[WinError 2] File not found"
    Running cc --version gave "[WinError 2] File not found"
    Running gcc --version gave "[WinError 2] File not found"
    Running clang --version gave "[WinError 2] File not found"
    Running clang-cl /? gave "[WinError 2] File not found"
    Running pgcc --version gave "[WinError 2] File not found"

    A full log can be found at C:\users\root\Temp\pip-install-17b1_o5h\scipy.mesonpy-xpthl7yp\build\meson-logs\meson-log.txt

    • meson setup --native-file=C:\users\root\Temp\pip-install-17b1_o5h\scipy.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 --prefix=C:\users\root\A ppData\Local\Programs\Python\Python38-32 C:\users\root\Temp\pip-install-17b1_o5h\scipy C:\users\root\Temp\pip-install-17b1_o5h\scipy.mesonpy-xpthl7yp\build Traceback (most recent call last):
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pip_vendor\pep517_in_process.py", line 280, in
      main()
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pip_vendor\pep517_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pip_vendor\pep517_in_process.py", line 114, in get_requires_for_build_ wheel
      return hook(config_settings)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init_.py", line 969, in get_requires_for_build_wheel
      with project(config_settings) as project:
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\contextlib.py", line 113, in enter
      return next(self.gen)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init
      .py", line 948, in project
      with Project.with_temp_working_dir(
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\contextlib.py", line 113, in enter
      return next(self.gen)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init
      .py", line 777, in with_temp_working_dir
      yield cls(source_dir, tmpdir, build_dir)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init_.py", line 682, in init
      self.configure(reconfigure=bool(build_dir) and not native_file_mismatch)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init
      .py", line 713, in _configure
      self.meson(
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init
      .py", line 696, in _meson
      return self.proc('meson', *args)
      File "C:\users\root\Temp\pip-build-env-ixhw01pn\overlay\Lib\site-packages\mesonpy_init
      .py", line 691, in _proc
      subprocess.check_call(list(args))
      File "C:\users\root\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['meson', 'setup', '--native-file=C:\users\root\Temp\pip-install-17b1_o5h\scipy\.mesonpy-native-file.ini', ' -Ddebug=false', '-Doptimization=2', '--prefix=C:\users\root\AppData\Local\Programs\Python\Python38-32', 'C:\users\root\Temp\pip-install-17b1_o5h
      \scipy', 'C:\users\root\Temp\pip-install-17b1_o5h\scipy\.mesonpy-xpthl7yp\build']' returned non-zero exit status 1.

    ERROR: Command errored out with exit status 1: 'C:\users\root\AppData\Local\Programs\Python\Python38-32\python.exe' 'C:\users\root\AppData\Local\Programs\Py thon\Python38-32\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\users\root\Temp\tmpd78p6_qq' Check the logs for full command output.
    WARNING: You are using pip version 20.2.3; however, version 22.2.2 is available.
    You should consider upgrading via the 'C:\users\root\AppData\Local\Programs\Python\Python38-32\python.exe -m pip install --upgrade pip' command.
    Done `

    opened by 213374um8 3
  • Error with pretty table

    Error with pretty table

    Error:

    Traceback (most recent call last): File "C:\Users\xxx\OneDrive\Dokumenty\disctopia-c2-1.0.3\builder.py", line 7, in from prettytable import PrettyTable ModuleNotFoundError: No module named 'prettytable'

    Please someone help, i installed the pretty table but it still dont work.

    opened by lolipopsk2 3
  • failed to open

    failed to open

    wine: failed to open "/root/.wine/drive_c/users/root/AppData/Local/Programs/Python/Python38-32/Scripts/pyinstaller.exe": c0000135 same issues, do i have to delete the old b4 i can upgrade to latest version... tell me or do u have a video setup?

    opened by hamrainbow 0
Releases(v1.2.1)
  • v1.2.1(Dec 12, 2022)

  • v1.2.0(Jul 3, 2022)

    Added:

    • Reverse Shell Command
    • Wallpaper Change command
    • Record Mic Activity command

    Huge thanks to @falkensmz for his contribution on this release

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.9...v1.2.0

    Source code(tar.gz)
    Source code(zip)
  • v1.1.9(Jun 10, 2022)

  • v1.1.8(Jun 9, 2022)

    Removed:

    • Token Grabbing Functionality

    Added:

    • Location command based on IP

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.7...v1.1.8

    Source code(tar.gz)
    Source code(zip)
  • v1.1.7(Jun 5, 2022)

    Added:

    • killproc command (Kills processes on the specified target Agent"

    Kudos to @falkensmz for the feature idea and code fundation. Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.6...v1.1.7

    Source code(tar.gz)
    Source code(zip)
  • v1.1.6(Jun 5, 2022)

    What's Changed

    • Fixed check_all_processes_names(); by @falkensmz in https://github.com/3ct0s/disctopia-c2/pull/60

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.5...v1.1.6

    Source code(tar.gz)
    Source code(zip)
  • v1.1.5(Jun 2, 2022)

    What's Changed

    • Archlinux/Manjaro Support Added by @KkiEEoDyssey in https://github.com/3ct0s/disctopia-c2/pull/58

    New Contributors

    • @KkiEEoDyssey made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/58

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.4...v1.1.5

    Source code(tar.gz)
    Source code(zip)
  • v1.1.4(Jun 1, 2022)

  • v1.1.3(Jun 1, 2022)

  • v1.1.2(Jun 1, 2022)

    What's Changed

    • update (keylogger) by @Hazed2004 in https://github.com/3ct0s/disctopia-c2/pull/57

    New Contributors

    • @Hazed2004 made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/57

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.1...v1.1.2

    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(May 30, 2022)

    Added:

    • Automatic Persistence
    • Self-destructing

    Fixed:

    • Persistence

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.1.0...v1.1.1

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(May 29, 2022)

    What's Changed

    • Added Sandbox evasion by @falkensmz in https://github.com/3ct0s/disctopia-c2/pull/55

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.0.4...v1.1.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(May 21, 2022)

    What's Changed

    • Update Persistent Command by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/27

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.0.3...v1.0.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Feb 15, 2022)

    What's Changed

    • Update dev branch by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/14
    • PR for the webcam snapshot command (!webshot) by @falkensmz in https://github.com/3ct0s/disctopia-c2/pull/16
    • Update main branch by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/17

    New Contributors

    • @falkensmz made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/16

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Jan 25, 2022)

    What's Changed

    • fix: missing command argument by @JM1k1 in https://github.com/3ct0s/disctopia-c2/pull/2
    • Update dev branch by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/4
    • ci: python silent install by @JM1k1 in https://github.com/3ct0s/disctopia-c2/pull/3
    • Update Main Branch by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/5
    • feat: add windows support by @JM1k1 in https://github.com/3ct0s/disctopia-c2/pull/6
    • Update Dev Branch by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/7
    • update: isVM() function by @Jeevan-Gharate in https://github.com/3ct0s/disctopia-c2/pull/9
    • add: cd command by @3ct0s in https://github.com/3ct0s/disctopia-c2/pull/10

    New Contributors

    • @JM1k1 made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/2
    • @3ct0s made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/4
    • @Jeevan-Gharate made their first contribution in https://github.com/3ct0s/disctopia-c2/pull/9

    Full Changelog: https://github.com/3ct0s/disctopia-c2/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Jan 8, 2022)

  • v1.0.0(Jan 3, 2022)

Stinky ID - A stable pluggable Telegram userbot + Voice & Video Call music bot, based on Telethon

Ultroid - UserBot A stable pluggable Telegram userbot + Voice & Video Call music

Riyan.rz 1 Jan 03, 2022
The most fresh and updateable Telegram userbot. By one of the most active contibutors to GeekTG

Installation Script installation: Simply run this command out of root: . (wget -qO- http://gg.gg/get_hikka) Manual installation: apt update && apt in

Dan Gazizullin 150 Jan 04, 2023
A Python app to serve Conveyor room requests and run approvals through Slack

✨ CONVEYOR FOR SLACK ✨ This is a friendly little Python app that will allow you to integrate your instance of Conveyor with your Slack workspace. In o

Vivienne 4 Sep 27, 2021
An API wrapper around the pythonanywhere's API.

pyaww An API wrapper around the pythonanywhere's API. The name stands for pythonanywherewrapper. 100% API coverage Most of the codebase is documented

7 Dec 11, 2022
Discord bot for playing Werewolf game on League of Legends.

LoLWolf LoL人狼をプレイするときのDiscord用botです。 (Discord bot for playing Werewolf game on League of Legends.) 以下のボタンを押してbotをあなたのDiscordに招待することで誰でも簡単に使用することができます。

Hatsuka 4 Oct 18, 2021
⚡ PoC: Hide a c&c botnet in the discord client. (Proof Of Concept)

👨‍💻 Discord Self Bot 👨‍💻 A Discord Self-Bot in Python by natrix Installation Run: selfbot.bat Python: version : 3.8 Modules

0хVιcнy#1337 37 Oct 21, 2022
Python SDK for the Buycoins API.

This library provides easy access to the Buycoins API using the Python programming language. It provides all the feature of the API so that you don't need to interact with the API directly. This libr

Musa Rasheed 48 May 04, 2022
A python script to acquire multiple aws ec2 instances in a forensically sound-ish way

acquire_ec2.py The script acquire_ec2.py is used to automatically acquire AWS EC2 instances. The script needs to be run on an EC2 instance in the same

Deutsche Telekom Security GmbH 31 Sep 10, 2022
Popcorn-time-api - Python API for interacting with the Popcorn Time Servers

Popcorn Time API 📝 CONTRIBUTIONS Before doing any contribution read CONTRIBUTIN

Antonio 3 Oct 31, 2022
Gera um PDF, logo depois de você responder um questionário simples, e envia para o e-mail que você informar.

PDF generator and send it for your email Criador: Francisco Robson de O. Dutra Filho Repositório criado no dia 18/09/2021 Instagram: @robsondutra_ Sob

8 Nov 22, 2021
StringSessionGenerator - A Telegram bot to generate pyrogram and telethon string session

⭐️ String Session Generator ⭐️ Genrate String Session Using this bot. Made by TeamUltronX 🔥 String Session Demo Bot: Environment Variables Mandatory

TheUltronX 1 Dec 31, 2021
API de mi aplicación de Biblioteca

BOOKSTORE API Instalación/Configuración Previo Es una buena idea crear un entorno virtual antes de instalar las dependencias. Puedes hacerlo con el si

Gabriel Morales 1 Jan 09, 2022
8300-account-nuker - A simple accoutn nuker or can use it full closing dm and leaving server

8300 ACCOUNT NUKER VERISON: its just simple accoutn nuker or can use it full clo

†† 5 Jan 26, 2022
Python binding to the OneTimeSecret API

Thin Python binding for onetimesecret.com API. Unicode-safe. Description of API itself you can find here: https://onetimesecret.com/docs/api Usage:

Vladislav Stepanov 10 Jun 12, 2022
A Next-Gen modular Python3 Telegram-Bot with Anime Theme to it.

Hsea Robot A modular Telegram Python bot running on python3 with a sqlalchemy database and an entirely themed persona to make Cutiepii suitable for An

Wahyusaputra 1 Dec 29, 2021
An NFTGenerator to generate NFTs and send them to nft.storage

NFTGenerator Table of Contents Overview Installation Introduction Features Reflection Issues & bug reports Show your support Credits Overview The NFTG

3 Mar 14, 2022
LEC_Ditto is a bot that tracks the follows and unfollows of Twitter accounts

✨ LEC_Ditto ✨ I'm Ditto, and I'm a bot 🤖 . Getting Started | Installation | Usage Getting Started LEC_Ditto is a bot that tracks the follows and unfo

2 Mar 30, 2022
AWS Glue PySpark - Apache Hudi Quick Start Guide

AWS Glue PySpark - Apache Hudi Quick Start Guide Disclaimer: This is a quick start guide for the Apache Hudi Python Spark connector, running on AWS Gl

Gabriel Amazonas Mesquita 8 Nov 14, 2022
Minimal telegram voice chat music bot, in pyrogram.

VCBOT Fully working VC (user)Bot, based on py-tgcalls and py-tgcalls-wrapper with minimal features. Deploying To heroku: Local machine/VPS: git clone

Aditya 33 Nov 12, 2022
Provide fine-grained push access to GitHub from a JupyterHub

github-app-user-auth Provide fine-grained push access to GitHub from a JupyterHub. Goals Allow users on a JupyterHub to grant push access to only spec

Yuvi Panda 20 Sep 13, 2022