Skip to content

RAT based on WMI interaction and supply a beautiful C&C interface.

Notifications You must be signed in to change notification settings

NAVNAV221/RATatoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server side (Attacker)

server_illustrate.gif

API System

Build a FLASK API that’ll serve what actions the RAT need to preform and how often the RAT will check the API(1).

GUI Interface

Serve the attacker to execute general and specific WMI Queries.

DB Structure

Tables

  1. Clients
  2. WMIActions
  3. Client_WMIActions - Association table Client can have many WMIActions and WMIAction can have many Clients – Many to Many relasionship (2): client_wmiaction_association_table.png

References

Client Side (Victim)

Classes Management

Query Class

Query – WQL Query (We’ll use it from the C2). WQL.png

  1. WMI Class - Win32_OperatingSystem
  2. Class attributes - *
  3. “build” query function

HTTPClient Class

Object to communicate with the C&C server Contains client's information:

        static HttpClient client = new HttpClient();
        private string id;
        private string ipAddress;
        private string username;
        private string os;
        private string uri;
        private Status clientStatus;

WMI_component Class

Handle wmi execution at runtime. Contains the following attributes:

            this.scope = scope;
            this.wmiClass = wmi_class;
            this.wmiAttributes = wmiAttributes;
            this.query = new Query(this.scope, this.wmiAttributes, this.wmiClass);
            this.wmiActionId = wmiActionId;

Features

  1. WMI Interaction
  2. Capture screenshot
  3. Keylogger
  4. Browse files

Reference

About

RAT based on WMI interaction and supply a beautiful C&C interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published