KeyBoy_Backdoor

YARA-2025-1793 High general Active
No description available for this rule
KeyBoy_Backdoor.yar Valid Syntax
rule KeyBoy_Backdoor  
{  
    meta:  
        author = "Rapid7 Labs"  
        reference = "https://community.rapid7.com/community/infosec/blog/2013/06/07/keyboy-targeted-attacks-against-vietnam-and-india"  
  
    strings:  
        $1 = "$login$"  
        $2 = "$sysinfo$"  
        $3 = "$shell$"  
        $4 = "$fileManager$"  
        $5 = "$fileDownload$"  
        $6 = "$fileUpload$"  
  
    condition:  
        all of them  
}  

rule KeyBoy_Dropper  
{  
    meta:  
        author = "Rapid7 Labs"  
        reference = "https://community.rapid7.com/community/infosec/blog/2013/06/07/keyboy-targeted-attacks-against-vietnam-and-india"  
  
    strings:  
        $1 = "I am Admin"  
        $2 = "I am User"  
        $3 = "Run install success!"  
        $4 = "Service install success!"  
        $5 = "Something Error!"  
        $6 = "Not Configed, Exiting"  
  
    condition:  
        all of them  
}  
  

Rule Metadata

author
Rapid7 Labs
reference
https://community.rapid7.com/community/infosec/blog/2013/06/07/keyboy-targeted-attacks-against-vietnam-and-india

String Definitions

{"name":"$1","value":"\""}
{"name":"$2","value":"\""}
{"name":"$3","value":"\""}
{"name":"$4","value":"\""}
{"name":"$5","value":"\""}
{"name":"$6","value":"\""}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: High

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 KeyBoy_Backdoor.yar /path/to/suspicious/file

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

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

Threat Intelligence

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

Export Options