hkdoor_backdoor_dll

YARA-2025-1274 High general Active

Hacker's Door Backdoor DLL

hkdoor_backdoor_dll.yar Valid Syntax

import "pe"

rule hkdoor_backdoor_dll {
    meta:
        author = "Cylance"
        description = "Hacker's Door Backdoor DLL"
        reference = "https://www.cylance.com/en_us/blog/threat-spotlight-opening-hackers-door.html"

    strings:
        $s1 = "The version of personal hacker's door server is" fullword ascii
        $s2 = "The connect back interval is %d (minutes)" fullword ascii
        $s3 = "I'mhackeryythac1977" fullword ascii
        $s4 = "Welcome to http://www.yythac.com" fullword ascii
        $s5 = "SeLoadDriverPrivilege" fullword ascii

    condition:
        uint16(0) == 0x5a4d and filesize < 400KB and ( 3 of ($s*) ) and pe.characteristics & pe.DLL and pe.imports("ws2_32.dll", "WSAStartup") and pe.imports("ws2_32.dll", "sendto")
}



Rule Metadata

author
Cylance
description
Hacker's Door Backdoor DLL
reference
https://www.cylance.com/en_us/blog/threat-spotlight-opening-hackers-door.html

String Definitions

{"name":"$s1","value":"\"The version of personal hacker's door server is\" fullword ascii"}
{"name":"$s2","value":"\"The connect back interval is %d (minutes)\" fullword ascii"}
{"name":"$s3","value":"\"I'mhackeryythac1977\" fullword ascii"}
{"name":"$s4","value":"\"Welcome to http:\/\/www.yythac.com\" fullword ascii"}
{"name":"$s5","value":"\"SeLoadDriverPrivilege\" fullword ascii"}

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2025-1274
Author
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