GithubHelp home page GithubHelp logo

fed-franz / mirai-bc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jgamblin/mirai-source-code

0.0 1.0 0.0 2.53 MB

Leaked Mirai Source Code for Research/IoC Development Purposes

License: GNU General Public License v3.0

Shell 3.30% C 85.75% Go 10.56% Dockerfile 0.40%

mirai-bc's Introduction

Mirai BotNet

Leaked Linux.Mirai Source Code for Research/IoT Development Purposes

Uploaded for research purposes and so we can develop IoT and such.

See "ForumPost.txt" or ForumPost.md for the post in which it leaks, if you want to know how it is all set up and the likes.

Requirements

  • gcc
  • golang
  • electric-fence
  • mysql-server
  • mysql-client

Credits

Anna-senpai

Disclaimer

This repository is for academic purposes, the use of this software is your responsibility.

Warning

The zip file for this repo is being identified by some AV programs as malware. Please take caution.

#Build Mirai REF: https://www.cdxy.me/?p=746 Modifications to sources are included in this repo, so we are going to skip them ´´´ #Set MySQL password to 'root' (if different, change the code in mirai/cnc/main.go) apt-get install git gcc golang electric-fence mysql-server mysql-client

cd Mirai-BC mkdir cross-compile-bin cd cross-compile-bin 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-armv5l.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-i686.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 wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2 cd ../scripts sudo ./cross-compile.sh #Type n at "Install mysql-server and mysql-client (y/n)?" ´´´

edit .bashrc and add following string at bottom ´´´ export PATH=$PATH:/etc/xcompile/armv4l/bin export PATH=$PATH:/etc/xcompile/armv5l/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

export GOPATH=$HOME/go ´´´ mkdir ~/go source ~/.bashrc

#GO If getting errors, upgrade Go (https://askubuntu.com/questions/720260/updating-golang-on-ubuntu/755392#755392)

go get github.com/go-sql-driver/mysql go get github.com/mattn/go-shellwords

#Build cd ../mirai ./build.sh debug telnet

#Build Loader cd ../loader ./build.sh

mirai-bc's People

Contributors

jgamblin avatar red54 avatar samrocketman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.