Cyber security

Ghost – Unmasking The Intricacies Of A Remote Access Trojan

Ghost is a light RAT that gives the server/attacker full remote access to the user’s command-line interpreter (cmd.exe). They are allowed to execute commands silently without the client/zombie noticing.

The server/attacker is also given the ability to download and execute files on the client/zombie’s computer. This is also a silent and hidden process.

Like most Remote Access Trojans, this download and execution ability helps distribute viruses and other pieces of malware.

This malware is distributed simply by running zombie.exe. This file name can be changed to whatever. There is no restriction.

When run, it searches for the first two arguments (IP & Port). If neither is provided, the program doesn’t run. With that being said, make sure you provide the server’s IP and Port in the command-line arguments. Example:

zombie.exe 127.0.0.1 27015

Bot Features

  • Remote command execution
  • Silent background process
  • Download and run file (Hidden)
  • Safe Mode startup
  • Will automatically connect to the server
  • Data sent and received is encrypted (substitution cipher)
  • Files are hidden
  • Installed Antivirus shown to server
  • Easily spread malware through download feature
  • Startup info doesn’t show in msconfig or other startup checking programs like CCleaner
  • Disable Task Manager

When successfully started, it adds itself to the start-up pool and runs silently in the background. It will try to repeatedly connect to the server.

This process does not hog any memory or CPU usage. This means that the zombie will silently just idle in the background and whenever the server is up, it will automatically connect.

When starting the server, it will prompt for you a listening port. This is the port that you need to use in the command-line for zombie.exe.

Once you provide the port, your server information will be provided and the menu will be down. The IP address provided is your external IP.

With that being said, unless the client/zombie is actively looking and tracking open connections, it will probably be smart to run this server under a remote location if you want to stay anonymous.

If this does not interest you, simply renaming zombie.exe and/or changing the assembly information using a tool will likely fool the client/zombie.

Note: This project was only made for education purposes and to test out my recently published repositories (ahxrlogger & ahxrsocket). If you choose to use this for malicious reasons, you are completely responsible for the outcome.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

WhatsMyName App – Find Anyone Across 640+ Platforms

Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…

5 days ago

Analyzing Directory Size Linux Tools Explained

Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…

5 days ago

Understanding Disk Usage with du Command

Efficient disk space management is vital in Linux, especially for system administrators who manage servers…

5 days ago

How to Check Directory Size in Linux

Knowing how to check directory sizes in Linux is essential for managing disk space and…

5 days ago

Essential Commands for Linux User Listing

Managing user accounts is a core responsibility for any Linux administrator. Whether you’re securing a…

5 days ago

Command-Line Techniques for Listing Linux Users

Linux offers powerful command-line tools for system administrators to view and manage user accounts. Knowing…

6 days ago