Giter VIP home page Giter VIP logo

unknown-loader's Introduction

┐ ┌  ┬─┐  ┐┌─  ┬─┐  ┌─┐  ┐ ┌  ┬─┐
│ │  │ │  ├┴┐  │ │  │ │  │││  │ │
└─┘  ┘ ┘  ┴ ┴  ┘ ┘  └─┘  └┴┘  ┘ ┘

Unknown Loader is C2 demonstration in Python that conducts silent file uploads+execution.

It manages to run C, PY, SH, and ELF files, but can be modified to handle more file operations.

The C2/CNC (command-and-control) infrastructure is based on the standard client-server model, and
can handle multiple concurrent connections. No encryption/encoding is used for this POC.

C2 FEATURES:
    CLEAR ---
    Refreshes the terminal environment.

    EXIT ---
    Cleanly exits Unknown Loader, ending the TCP-listener, heartbeat (keep-alive) routine,
    TCP broadcast routine, and unbinding the socket,

BACKDOOR FEATURES:
    DISCONNECT ---
    Forces all backdoors to disconnect from C2. client.py backdoor remains intact.

    RECONNECT ---
    Forces a TCP-reset from all backdoor connections to the C2.

    UNINSTALL ---
    Termination of connection to the C2 + self-destruct. Process hangs in memory for a while.

    EXEC ---
    Downloads file to infected device from URL and executes.

    PERSIST ---
    Attempt to modify local-user cron tab and add backdoor startup entry.

AUTHOR'S NOTE:
    The client.py backdoor has versbose output. This helps with debugging and making
    sense of what is going on. Of course, this feature also helped with developement.
    This can be removed without issue. Additionally, many authors comments are put into
    both the server and the client. These can also be removed. 

    Furthermore, in the client.py backdoor, the IP of the C2 server is '0.0.0.0'
    The port is set to 4444. Both will need to be modified to support your own C2.

LEGAL: 
    By downloading/running this script, you consent to the included LEGAL.txt agreement.

TIP: This loader is meant for UNIX/LINUX device platforms. It is ineffective on Windows
     environments unless proper changes are made.

unknown-loader's People

Contributors

waived 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.