Rebhip
Overview
Worm:Win32/Rebhip is a stealthy and prolific Windows worm and trojan primarily known for its ability to spread rapidly across removable media and local network shares.
What is Rebhip?
To the average user, a Rebhip infection is often unnoticed until USB drives begin behaving erratically or files appear to go missing. For security analysts, Rebhip is a classic self-propagating worm that poses a significant risk to air-gapped or loosely secured corporate environments. Its primary objective is to infect as many systems as possible, establish a backdoor, and await commands from a remote server.
Infection Vectors & Threat Hunting
Rebhip's signature propagation method involves copying itself to USB flash drives and external hard drives. It heavily utilizes the `autorun.inf` mechanism to execute automatically when the drive is inserted into a new machine. Furthermore, it often hides the legitimate folders on the USB drive and replaces them with malicious shortcuts (LNK files) that bear the folder icon; when a user clicks the fake folder, the worm executes. Once on a host, Rebhip injects into `svchost.exe` and modifies the registry to ensure it starts upon reboot.
Forensic Analysis & Impact
Threat hunters investigating Rebhip will find anomalous `autorun.inf` files, hidden directories, and suspicious `.lnk` files on removable media. EDR platforms frequently flag Rebhip for its unauthorized modifications to <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced (specifically altering the `Hidden` value to prevent users from seeing hidden files). The malware also establishes outbound HTTP connections to its C2 infrastructure to download secondary payloads.
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
| Technique | Name | Tactic |
|---|---|---|
T1091 | Replication Through Removable Media | Lateral Movement |
T1564.001 | Hide Artifacts: Hidden Files and Directories | Defense Evasion |
T1055 | Process Injection | Defense Evasion |
T1547.001 | Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder | Persistence |
T1105 | Ingress Tool Transfer | Command and Control |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
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_REBHIP {
meta:
description = "Detects Rebhip (rat)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "rebhip" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Rebhip Activity
id: 1378f4e7d38c22dda6c01fcb74f816e6
status: experimental
description: Detects generic indicators of the rebhip malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*rebhip*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Disable the Windows 'AutoRun' and 'AutoPlay' features via Group Policy across the entire domain to halt the worm's primary propagation method.
- Confiscate and forensically wipe any USB drives or removable media that were connected to the infected endpoint.
- Use EDR or command-line tools to forcefully unhide the legitimate directories on infected USB drives and delete the malicious `.lnk` files.
- Isolate the endpoint and remove the Rebhip persistence keys from the Windows Registry.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not insert a potentially infected USB drive into a clean analysis machine unless AutoRun is strictly disabled and the machine is sandboxed.
- Do not assume the network is clean if one host is infected; Rebhip actively scans for and infects open network shares.
References & External Analysis
- Search "rebhip" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Rebhip Rat from Windows?
Manual removal of Rebhip 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 Rebhip a virus or a Rat?
Rebhip is classified as a Rat. Unlike traditional viruses that infect files, modern malware like Rebhip typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Rebhip infection?
Symptoms of Rebhip 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: rat)
Explore other malware families in the same category:
Protect Your Network Against Rats
Want to prevent Rebhip and similar threats from compromising your organization? Read our comprehensive defensive guide: Backdoor & RAT Protection.
Machine-readable
Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/api/rebhip.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.