Rockrat

Category: trojan · Aliases: None known · Sample count (EMBER 2018): 1 · Enrichment: expert-seo · Updated: 2026-06-09
Category: TrojanActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic

Overview

Backdoor:Win32/Rockrat is a specific family of Remote Access Trojan (RAT) designed to provide a threat actor with complete, interactive control over a compromised Windows endpoint (`T1059`). Like many modern RATs, Rockrat is often deployed as a secondary payload after an initial breach, allowing attackers to exfiltrate data, monitor user activity, and pivot laterally across the corporate network.

Understanding Rockrat (Remote Access)
To an end-user, the computer functions normally, though it may occasionally feel sluggish. For a SOC analyst, a Rockrat detection is a high-severity alert indicating an active, human-driven intrusion. An attacker sitting at a remote console is using Rockrat to interact with the machine in real-time, completely bypassing standard authentication controls.

Execution and Control Mechanics
Once deployed, Rockrat typically establishes persistence via standard Registry Run keys or hidden scheduled tasks (`T1547.001`). It then initiates a persistent, outbound connection to its Command and Control (C2) server (`T1071.001`). The RAT provides a suite of capabilities to the attacker: opening a hidden command shell (`cmd.exe`), capturing keystrokes (`T1056.001`), taking screenshots, downloading/uploading files, and sometimes activating the webcam or microphone.

Indicators of Compromise & Impact
The impact is total loss of confidentiality and integrity for the compromised host. Host-based IoCs include unknown executables running from `%AppData%` or `%Temp%` making continuous outbound network connections. EDR logs may show Rockrat spawning `cmd.exe` to execute administrative commands (like `net user` or `ping`) or reading sensitive files. Network IoCs are characterized by long-lived TCP sessions with beaconing behavior to suspicious IP addresses or dynamic DNS domains.

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to the MITRE ATT&CK framework:

TechniqueNameTactic
T1059.003Command and Scripting Interpreter: Windows Command Shell (Providing the attacker with an interactive shell)Execution
T1056.001Input Capture: Keylogging (Stealing credentials as they are typed)Credential Access
T1547.001Boot or Logon Autostart Execution (Ensuring the RAT survives reboots)Persistence

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

Generated Detections (Boilerplate)

These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.

YARA Rule

rule MALWARE_WIN_ROCKRAT {
    meta:
        description = "Detects Rockrat (trojan)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "rockrat" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Rockrat Activity
id: e13e24929588b57d9aef5ab0303354d3
status: experimental
description: Detects generic indicators of the rockrat malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*rockrat*"
    condition: selection
level: medium

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software. The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate the endpoint immediately to sever the attacker's interactive connection and prevent data exfiltration.
  2. Analyze EDR and command-line logs to determine exactly what actions the attacker performed while the RAT was active (e.g., did they dump LSASS?).
  3. Identify the C2 domain/IP address the RAT was communicating with and block it at the perimeter.
  4. Assume any credentials typed on the infected machine are compromised and force a password reset.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not leave the machine on the network to 'monitor' the attacker; they can rapidly deploy ransomware if they sense they are being watched.
  2. Avoid trusting the integrity of the operating system after a RAT infection; the machine should be completely wiped and re-imaged.

References & External Analysis

Frequently Asked Questions

How do I remove the Rockrat Trojan from Windows?

Manual removal of Rockrat is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Rockrat a virus or a Trojan?

Rockrat is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Rockrat typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Rockrat infection?

Symptoms of Rockrat can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Related Families (Category: trojan)

Explore other malware families in the same category:

Protect Your Network Against Trojans

Want to prevent Rockrat and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/rockrat.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.