hkdoor_backdoor

YARA-2025-2122 High general Active

Hacker's Door Backdoor

hkdoor_backdoor.yar Valid Syntax
import "pe"

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


   strings:
      $s1 = "http://www.yythac.com" fullword ascii
      $s2 = "Example:%s 192.168.1.100 139 -p yyt_hac -t 1" fullword ascii
      $s3 = "password-----------The hacker's door's password" fullword ascii
      $s4 = "It is the client of hacker's door %d.%d public version" fullword ascii
      $s5 = "hkdoordll.dll" fullword ascii
      $s6 = "http://www.yythac.com/images/mm.jpg" fullword ascii
      $s7 = "I'mhackeryythac1977" fullword ascii
      $s8 = "yythac.yeah.net" fullword ascii

   condition:
      uint16(0) == 0x5a4d and
      filesize < 400KB and
      ( 4 of ($s*) )
}

Rule Metadata

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

String Definitions

{"name":"$s1","value":"\"http:\/\/www.yythac.com\" fullword ascii"}
{"name":"$s2","value":"\"Example:%s 192.168.1.100 139 -p yyt_hac -t 1\" fullword ascii"}
{"name":"$s3","value":"\"password-----------The hacker's door's password\" fullword ascii"}
{"name":"$s4","value":"\"It is the client of hacker's door %d.%d public version\" fullword ascii"}
{"name":"$s5","value":"\"hkdoordll.dll\" fullword ascii"}
{"name":"$s6","value":"\"http:\/\/www.yythac.com\/images\/mm.jpg\" fullword ascii"}
{"name":"$s7","value":"\"I'mhackeryythac1977\" fullword ascii"}
{"name":"$s8","value":"\"yythac.yeah.net\" 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.yar /path/to/suspicious/file

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2025-2122
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