r77_rootkit

YARA-2025-2239 Medium general Active

Detection patterns for the tool 'r77-rootkit' taken from the ThreatHunting-Keywords github project

r77_rootkit.yar Valid Syntax
rule r77_rootkit
{
    meta:
        description = "Detection patterns for the tool 'r77-rootkit' taken from the ThreatHunting-Keywords github project" 
        author = "@mthcht"
        reference = "https://github.com/mthcht/ThreatHunting-Keywords"
        tool = "r77-rootkit"
        rule_category = "signature_keyword"

    strings:
        // Description: Fileless ring 3 rootkit with installer and persistence that hides processes, files, network connections
        // Reference: https://github.com/bytecode77/r77-rootkit
        $string1 = /Trojan\:Win64\/r77RootKit/ nocase ascii wide

    condition:
        any of them
}

Rule Metadata

description
Detection patterns for the tool 'r77-rootkit' taken from the ThreatHunting-Keywords github project
author
@mthcht
reference
https://github.com/mthcht/ThreatHunting-Keywords
tool
r77-rootkit
rule_category
signature_keyword

String Definitions

{"name":"$string1","value":"\/Trojan\\:Win64\\\/r77RootKit\/ nocase ascii wide"}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: Medium

The rule uses pattern matching to identify specific byte sequences, strings, or behavioral patterns associated with malicious activity.

Detection Capabilities

  • File-based detection for executables and documents
  • Memory scanning for running processes
  • Network traffic analysis support

Command Line Usage

# Scan a single file
yara r77_rootkit.yar /path/to/suspicious/file

# Scan a directory recursively
yara -r r77_rootkit.yar /path/to/directory/

# Scan with metadata output
yara -m r77_rootkit.yar target_file

# Scan process memory (Linux)
yara r77_rootkit.yar /proc/[pid]/exe

Integration Examples

Python (yara-python)

import yara
rules = yara.compile(filepath='r77_rootkit.yar')
matches = rules.match('/path/to/file')

ClamAV Integration

clamscan --yara-rules=r77_rootkit.yar /path/to/scan

Rule Information

YARA ID
YARA-2025-2239
Author
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

Risk Level Medium
Category general
Detection Confidence Analysis Pending
False Positive Rate Not Available
Last Seen in Wild No Data

Export Options