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)

Telegram bot to extract text from image

OCR Bot @Image_To_Text_OCR_Bot A star ⭐ from you means a lot to us! Telegram bot to extract text from image Usage Deploy to Heroku Tap on above button

Stark Bots 25 Nov 24, 2022
A quick-and-dirty script to scrape the daily menu of Leipzig University Mensa and send it to a telegram channel.

Feed me Mensa UL A quick-and-dirty script to scrape the daily menu of Leipzig University Mensa and send it to a telegram channel. For food and cat lov

3 Apr 08, 2022
Mazda Connected Service API wrapper based on pymazda and Flask.

Mazda Connected Service Relay Mazda Connected Service API wrapper based on pymazda and Flask. Usage Make POST calls to https://mymazda.herokuapp.com/{

Alan Chen 10 Jan 05, 2023
Discord-selfbot - Very basic discord self bot

discord-selfbot Very basic discord self bot still being actively developed requi

nana 4 Apr 07, 2022
Brute force instagram account / actonetor, 2021

Brute force instagram account / actonetor, 2021

actonetor 6 Nov 16, 2022
FTX auto lending bot with python

FTX auto lending bot Get the API key Check my article for step by step + screenshots Setup & Run Install python 3 Install dependency pip install -r re

Patompong Manprasatkul 1 Dec 24, 2021
A Python library for PagerDuty.

Pygerduty Python Library for PagerDuty's REST API and Events API. This library was originally written to support v1 and is currently being updated to

Dropbox 164 Dec 20, 2022
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
Asyncio SDK for Azure Cosmos DB

Asyncio SDK for Azure Cosmos DB. This library is intended to be a very thin asyncio wrapper around the Azure Comsos DB Rest API. It is not intended to have feature parity with the Microsoft Azure SDK

Grant McDonald 4 Dec 04, 2021
A continued fork of Disco

Orca Orca is an extensive and extendable Python 3.x library for the Discord API. orca boasts the following major features: Expressive, functional inte

RPS 4 Apr 03, 2022
Implement SAST + DAST through Github actions

Implement SAST + DAST through Github actions The repository is supposed to implement SAST+DAST checks using github actions against a vulnerable python

Syed Umar Arfeen 3 Nov 09, 2022
Account Profiles Dumper for Fortnite.

Fortnite Profile Dumper This program allows you to dump your Fortnite account profiles. How to use it? After starting the FortniteProfileDumper.py, yo

PRO100KatYT 12 Jul 28, 2022
Hydrathallies'in istegi uzerine yapildi :)

Telegram-Doviz-Bot Telegram Döviz Botu, Pyrogram ile yapıldı. Deploy Deploy on Heroku Deploy on local git clone https://github.com/lambda-stock/Telegr

2 Dec 08, 2021
Built for streamlining development of Google Assistant Actions

Apprentice Apprentice is a framework built for developing Google Actions via Dialogflow and Google Cloud (serverless) Functions. Includes: plug-and-pl

Andrew Graham-Yooll 9 May 16, 2019
A Discord Self bot written in python

WitheredBot A Discord Self bot written in python Requirement Python = 3.9 How to Configure git clone https://github.com/a-a-a-aa/WitheredBot.git cd W

......... 0 Jan 05, 2023
Discord Mass Report script that uses multiple tokens

Discord-Mass-Report Discord Mass Report script that uses multiple tokens, full credits to https://github.com/hoki0/Discord-mass-report who made it in

cChimney 4 Jun 08, 2022
Repository to access information of stocks in Bombay Stock Exchange.

BSE Repository to access information of stocks in Bombay Stock Exchange. The code in this repository uses BSE API and conclusions made using the code

1 Nov 13, 2021
Unarchive Bot for Telegram

Telegram UnArchiver Bot UnArchiveBot: 🇬🇧 Bot that allows you to extract supported archive formats in telegram. 🇹🇷 Desteklenen arşiv biçimleri tele

Hüzünlü Artemis [HuzunluArtemis] 25 May 07, 2022
Discord Bot Personnal Server - Ha-Neul

Haneul Bot, it's a discord for help me on my personnal discord, she do a lot of boring and repetitive stain. You can use on your own server if you want, you just need to find a host for the programm

Maxvyr 1 Feb 03, 2022
Terraform wrapper to manage state across multiple cloud providers(AWS, GCP, and Azure)

Terraform Remote State Manager(tfremote) tf is a python package for managing terraform remote state for: Google(Gcloud), AWS, and Azure. It sets a def

tomarv2 1 Dec 08, 2021