BLACK FRIDAY: 2-for-1 offer NOVEMBER 20 - 26 See details

Remote Access Trojan


Remote access trojans (RATs) are a type of malware that enables attackers to establish complete to partial control over infected computers. Such malicious programs often have a modular design, offering a wide range of functionalities for conducting illicit activities on compromised systems. Some of the most common features of RATs include access to the users’ data, webcam, and keystrokes. This malware is often distributed through phishing emails and links.

How to analyze Remote Access Trojan with ANY.RUN

Top malware of this type

Family
Type
Trend changes
Tasks overall
  • 2

    Wshrat

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,15,24,44,25,55,32,48,50,47,29,32,84,43,22,23,10,11,15,6,12,18,21,26,49,22,102,41,40,55,36,31,20,69,16,5,8,23,8,6,13
    63
    1223
  • 3

    SystemBC

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,3,0,27,27,22,35,55,37,17,9,24,16,26,17,94,68,19,13,27,10,10
    73
    883
  • 4

    LimeRAT

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,87,89,94,58,65,49,31,44,42,9,41,33,21,11,8,13,23,5,4,6,20,9,33,10,12
    72
    887
  • 5

    AsyncRAT

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,164,11,9,22,129,180,338,418,285,432,484,731,831,623,713,763,670,470,639,572,1045,1100,984,640,441,557,412,499,423,517,433,750,399,514,523,426,717,1175,1641
    15
    21417
  • 6

    XWorm

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,80,77,30,115,222,242,542,246,478,392,438,486,946,1325
    29
    5571
  • 7

    Loda

    RAT
    0,0,0,0,3,3,2,3,5,11,18,13,22,12,5,20,28,9,4,4,0,2,1,9,8,4,7,3,4,3,2,0,4,10,7,11,4,2,21,32,0,15,17,5,12,6,3,10,9,8,6,4
    89
    425
  • 8

    Xeno RAT

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,31,51,134,59,68
    83
    496
  • 9

    Orcus RAT

    RAT
    0,0,0,6,1,5,4,9,42,123,114,74,139,69,60,38,100,79,113,121,105,79,259,384,409,627,325,303,188,165,250,263,376,175,194,92,76,86,85,72,105,205,147,88,37,28,116,43,41,17,28,13
    25
    6621
  • 10

    DarkComet

    RAT
    0,0,0,1,3,7,13,13,17,19,21,28,8,49,18,28,67,44,78,49,84,33,65,69,149,149,144,105,147,103,52,66,126,256,148,218,100,144,35,67,51,109,61,32,121,47,103,46,24,53,42,61
    40
    3609
  • 11

    DCRat

    RAT
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,24,15,7,39,68,108,113,227,231,296,542,410,263,133,135,227,270,231,156,200,265,268,192,185,263,221,157,194,289,299,245,365,265,265,458,595,577
    19
    7756
  • Last Seen at

    Recent blog posts

    post image
    Private AI Assistant for Malware Analysis in...
    watchers 925
    comments 0
    post image
    5 Characteristics of Good Threat Intelligence...
    watchers 467
    comments 0
    post image
    New PhantomLoader Malware Distributes SSLoad:...
    watchers 4027
    comments 0

    What is RAT malware?

    A remote access trojan (RAT), also referred to as a remote administration tool, is a sophisticated form of malware that enables an unauthorized individual to gain clandestine remote control of a target's computer system.

    Commonly propagated through phishing emails that rely on manipulation and social engineering techniques, RATs pose a significant threat to cybersecurity.

    The distinctive feature of RATs is unauthorized access to the victim's computer that attackers gain, allowing them to execute commands, browse files, and even modify system settings without the user's knowledge or consent.

    RATs also tend to operate in a clandestine manner, hiding their activity from security software. This is in contrast to other types of malware, such as ransomware that tend to make their presence known to the victim by presenting them with a ransom note.

    Get started today for free

    Easily analyze emerging malware with ANY.RUN interactive online sandbox

    Register for free

    What can a RAT do to a computer?

    Once a RAT infiltrates a system, it opens the door to a myriad of malicious activities. These can include, but are not limited to:

    • Information stealing: Such malware can exfiltrate different types of sensitive information from the infected computer to its command-and-control server (C2), controlled by the attacker. This includes passwords, credit card numbers, messaging app data, browser history, and cookies.
    • File system manipulation: It can also interact with the users’ personal files by modifying them or simply stealing.
    • Recording keystrokes and screen activity: Many RATs are equipped with the ability to track the keyboard and screen activity of the victim, including by taking screenshots and screencasting, in order to gather information on their login credentials and spy on them.
    • Controlling the webcam and microphone: Some RAT malware families can hijack the camera and microphone of the infected device to capture private conversations, confidential meetings, and photographs or videos.
    • Dropping other malware: Some RATs can have the additional functionality of deploying extra payloads on the infected system.

    The particular set of capabilities depends on the malware’s configuration. For instance, the known malware OrcusRAT has a sophisticated modular architecture, enabling cyber threat actors to craft personalized plugins that seamlessly integrate with the malware.

    Check out a technical analysis of OrcusRAT in our blog.

    This modular design, popular across many RAT families, enhances the malware’s scalability and ease of management, making it simple to adjust its functionalities according to the specific requirements of different cyber campaigns.

    How do RATs spread?

    Phishing emails are a prevalent vector utilized by Remote Access Trojan operators to spread their malicious activities. These deceptive emails employ various techniques to lure unsuspecting users into clicking on malicious attachments or links.

    Attachments found in phishing emails can be in the form of seemingly harmless documents, such as PDFs or Word files or links. However, cybercriminals cleverly embed malicious code within these attachments and links, aiming to exploit vulnerabilities in computer systems and gain unauthorized remote access. Once clicked, these attachments or links initiate the download and installation of the RAT onto the victim's computer.

    RATs can also end up on users’ devices through P2P file-sharing websites. These malicious software can masquerade as legitimate files, such as movies, music, or programs.

    Alternatively, RATs can be downloaded by special loader malware, which is intended for the purpose of disseminating different payloads on compromised systems. GuLoader is a prime example of such malware, as it has been instrumental in infecting thousands of machines around the world with multiple RAT families, including Remcos.

    How does a RAT operate on an infected system?

    In order to begin the infection process, RATs typically exploit vulnerabilities present in the operating system or applications. For instance, they may employ zero-day attacks to exploit undisclosed vulnerabilities or leverage well-known weaknesses in third-party software.

    Once launched, RATs employ persistence mechanisms such as disabling antivirus software and utilizing rootkit methodologies, to ensure their continuous operation even after the user logs out or restarts the computer.

    After establishing persistence, RATs tend to connect to a C2 server to grant the attacker full control over the compromised computer, allowing them to execute various malicious actions, including data exfiltration, installation of additional malware, and the execution of malicious commands.

    RATs can also create and maintain hidden backdoors within the infected system. These covert entry points serve as secret access channels, letting attackers maintain control even if the RAT itself is removed or disabled.

    We can examine the execution process of a typical RAT by analyzing a sample of njRAT in the ANY.RUN sandbox.

    Analyze malware for free in a fully interactive cloud sandbox – request demo.

    Upon successful infiltration of the target device, njRAT swiftly initiates its operation. One of its primary tactics involves the immediate self-renaming of the initial file, concealing its presence from unsuspecting users.

    Additionally, njRAT possesses the capability to spawn a child process, often strategically injecting its malicious code into legitimate processes such as RegSvcs.exe and RegAsm.exe.

    It also leverages the power of the Task Scheduler to ensure its persistence within the compromised system. Through this mechanism, the child process responsible for executing njRAT's main malicious activities is scheduled to run at predetermined intervals.

    The malware then begins exfiltration of sensitive information, establishing connections with command and control (C2) servers.

    njRAT process graph The lifecycle of njRAT demonstrated by ANY.RUN

    The most common RATs today?

    Staying informed on the latest developments in the cybersecurity landscape, we can use ANY.RUN’s Malware Trends Tracker. This service offers a comprehensive view of the most widespread malware families currently active on the global scale.

    Here are top three RATs in terms of their popularity, according to the service:

    • Remcos: This RAT has been a persistent threat since its emergence in 2016. Continuously updated and actively maintained, this malware grants attackers remote control over infected PCs. It is offered as malware-as-a-service.
    • AsyncRAT: First observed in 2019, AsyncRAT has evolved, adapting to various distribution methods, including spam emails, impersonations, and phishing campaigns. The malware primarily targets IT, hospitality, and transportation industries across the Americas, aiming to steal personal credentials and banking details.
    • njRAT: This malware operates on the .NET framework. It enables hackers to remotely control a victim's PC, giving them access to the webcam, keystrokes, and passwords stored in web browsers and desktop apps.

    How can I detect a RAT?

    Organizations with lax security controls are easy prey for RAT attacks. One employee's negligence in handling external files and links can set off a domino effect, compromising the entire network.

    To add an extra layer of security, make sure to use ANY.RUN, a cloud-based sandbox for analyzing suspicious files or URLs to determine if they pose any threat. The service generates reports on each sample submitted by users, providing them with IOCs and other crucial information needed for mitigation.

    This platform ensures a safe and controlled environment for users to interact with potentially harmful elements, without putting their devices and data at risk.

    Try ANY.RUN for free – request a demo!

    HAVE A LOOK AT