Bifrost

Category: rat · Aliases: Bifrose, Backdoor:Win32/Bifrose, Trojan.Bifrose, Win32/Bifrose, Bifrost RAT · Sample count (EMBER 2018): 95 · Enrichment: curated_sourced · Updated: 2026-10-16
Category: RatStatus: Automated SignaturePlatform: WINDOWS, WINDOWS_PEStage: Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Collection, Command And Control🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows Server 2022
Executive Summary
Bifrost (also documented across threat research as Bifrose, Backdoor:Win32/Bifrose, and Trojan.Bifrose) is a resilient, long-standing remote access trojan (RAT) that first surfaced in 2004 and maintained widespread operational use for over a decade in both financially motivated crimeware and state-sponsored cyber espionage campaigns.

Table of Contents

Overview

Bifrost (also documented across threat research as Bifrose, Backdoor:Win32/Bifrose, and Trojan.Bifrose) is a resilient, long-standing remote access trojan (RAT) that first surfaced in 2004 and maintained widespread operational use for over a decade in both financially motivated crimeware and state-sponsored cyber espionage campaigns. Authored in C++, Bifrost features a dual-mode communication architecture supporting both direct connection and reverse connection proxying, allowing operators to bypass corporate firewalls and NAT perimeters without requiring port forwarding on victim networks. The implant incorporates sophisticated kernel-level rootkit capabilities: it hooks the Windows System Service Dispatch Table (SSDT) and subverts Native API functions (including ZwQueryDirectoryFile and ZwQuerySystemInformation) to hide its files, registry entries, and network connections from Windows Task Manager and traditional antivirus scanners. Bifrost grants operators extensive remote workstation surveillance, including low-level keystroke logging via custom hook DLLs, webcam capture, screen surveillance, file transfer, remote shell execution, and registry editing. Threat actors frequently package Bifrost using multi-layered runtime crypters and deploy it via targeted spear-phishing emails containing exploit documents targeting vulnerabilities such as CVE-2012-0158 and CVE-2010-0805.

Known aliases

Threat reports may refer to this family under multiple names:

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Known Derivatives & Downstream Variants: Bifrost_V1.1 · Bifrost_V1.2 · Bifrose_Rootkit

MITRE ATT&CK Techniques

This family has been observed using the following ATT&CK techniques: T1056.001 · T1014 · T1113 · T1125 · T1059.003 · T1071.001 · T1547.001 · T1055

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

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

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-KMCKernel Memory Integrity CheckingHardenT1014Enable Hypervisor-Protected Code Integrity (HVCI) and UEFI Secure Boot to prevent unsigned kernel driver execution.
D3-PIADProcess Injection Analysis & DetectionDetectT1055Monitor cross-process thread creation (CreateRemoteThread) and asynchronous procedure calls (QueueUserAPC).
D3-MFAMulti-factor AuthenticationHardenT1056.001Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless.
D3-PBAProcess Spawn AnalysisDetectT1059.003Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe.
D3-WAFWeb Content Filtering & InspectionFilterT1071.001Block newly registered domains (NRDs) and inspect HTTP Host and URI headers for known C2 profiles.
D3-SDScreen Capture DetectionDetectT1113Monitor desktop graphics API calls (BitBlt, GetDC) triggered by non-standard background threads.
D3-HACHardware Device Access ControlIsolateT1125Enforce Group Policy hardware access restrictions on integrated webcams and microphones.
D3-RPMRegistry Persistence MonitoringDetectT1547.001Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management.

Exploited Vulnerabilities (CVEs)

This malware family is documented weaponizing the following common vulnerabilities and exposures:

Indicators of Compromise

Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.

File hashes (SHA-256, sample)

Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.

Delivery vectors

Persistence mechanisms

SIEM / EDR Ingestion: Need these reference indicators for threat hunting?

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_BIFROST_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Bifrost"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "bifrost" ascii wide nocase
        $s2 = "bifrose" ascii wide nocase
        $s3 = "backdoor:win32/bifrose" ascii wide nocase
        $s4 = "trojan.bifrose" ascii wide nocase
        $s5 = "win32/bifrose" ascii wide nocase
        $s6 = "bifrost rat" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Bifrost (Rat) Execution & Triage
id: ce046ae2-4add-59d5-95f3-6a883c33c7df
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Bifrost malware family. Detects unauthorized persistence creation via Windows
  Registry Run keys, scheduled tasks, and privilege escalation indicative of RAT installations.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/bifrost
- https://malware-families-catalog.systemhelpdesk.com/defensive/backdoor-rat-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.rat
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1056_001
- attack.t1014
- attack.t1113
- attack.t1125
- attack.t1059_003
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \reg.exe
    - \schtasks.exe
    - \cmd.exe
    - \powershell.exe
    CommandLine|contains:
    - \CurrentVersion\Run
    - /create /tn
    - bypass -enc
    - net user /add
    - net localgroup administrators
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_BIFROST_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Bifrost tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "bifrost" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

References & External Analysis

Frequently Asked Questions

What is Bifrost (Bifrose) and when did it emerge?

Bifrost is a veteran C++ remote access trojan that emerged in 2004, used extensively by cybercriminals and advanced persistent threat groups for remote surveillance and workstation takeover.

How does Bifrost hide its processes and files from detection?

Bifrost integrates rootkit functionality that hooks Native Windows APIs (such as ZwQueryDirectoryFile) to hide its executable files, registry keys, and network sockets from Task Manager and security tools.

What communication modes does Bifrost support?

It supports both direct listening connections and reverse connections, allowing compromised internal endpoints to connect outbound to attacker-controlled C2 servers to easily bypass firewalls.

What surveillance capabilities does Bifrost offer?

Bifrost features real-time keystroke logging, screen viewing, webcam spying, remote command execution, file system management, and password dumping.

How can security teams detect Bifrost infections?

By monitoring for unauthorized SSDT or user-mode API hooking, inspecting memory dumps for injected Bifrost DLLs, and tracking outbound TCP connections with custom encrypted binary handshake headers.

How do I remove Bifrost from Windows?

Manual removal of Bifrost 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.

What are the main symptoms of a Bifrost infection?

Symptoms of Bifrost 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.

Protect Your Network Against Rats

Want to prevent Bifrost and similar threats from compromising your organization? Read our comprehensive defensive guide: Backdoor & RAT Protection for Businesses.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

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

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/bifrost.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.