NK_GOLDBACKDOOR_Main
YARA-2025-1868
High
general
Active
Detection for Main component of GOLDBACKDOOR
NK_GOLDBACKDOOR_Main.yar
Valid Syntax
rule NK_GOLDBACKDOOR_Main
{
meta:
author= "Silas Cutler"
description = "Detection for Main component of GOLDBACKDOOR"
reference = "https://stairwell.com/news/threat-research-the-ink-stained-trail-of-goldbackdoor/"
version = "0.1"
strings:
$str1 = "could not exec bash command." wide
$str2 = "%userprofile%\\AppData" wide
$str3 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.3112.113 Safari/537.36" wide
$str4 = "tickount: %d"
$str5 = "Service-0x" wide
$str6 = "Main Returned"
$b64_1 = "TwBuAGUARAByAHYAVQBwAGQAYQB0AGUAAAA="
$b64_2 = "aGFnZW50dHJheQ=="
$b64_3 = "YXBwbGljYXRpb24vdm5kLmdvb2dsZS1hcHBzLmZvbGRlcg=="
$pdb = "D:\\Development\\GOLD-BACKDOOR\\"
condition:
4 of them or ( $pdb and 1 of them )
}
Rule Metadata
author
Silas Cutler
description
Detection for Main component of GOLDBACKDOOR
reference
https://stairwell.com/news/threat-research-the-ink-stained-trail-of-goldbackdoor/
version
0.1
String Definitions
{"name":"$str1","value":"\"could not exec bash command.\" wide"}
{"name":"$str2","value":"\"%userprofile%\\\\AppData\" wide"}
{"name":"$str3","value":"\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.3112.113 Safari\/537.36\" wide"}
{"name":"$str4","value":"\"tickount: %d\""}
{"name":"$str5","value":"\"Service-0x\" wide"}
{"name":"$str6","value":"\"Main Returned\""}
{"name":"$b64_1","value":"\"TwBuAGUARAByAHYAVQBwAGQAYQB0AGUAAAA=\""}
{"name":"$b64_2","value":"\"aGFnZW50dHJheQ==\""}
{"name":"$b64_3","value":"\"YXBwbGljYXRpb24vdm5kLmdvb2dsZS1hcHBzLmZvbGRlcg==\""}
{"name":"$pdb","value":"\"D:\\\\Development\\\\GOLD-BACKDOOR\\\\\""}
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 NK_GOLDBACKDOOR_Main.yar /path/to/suspicious/file # Scan a directory recursively yara -r NK_GOLDBACKDOOR_Main.yar /path/to/directory/ # Scan with metadata output yara -m NK_GOLDBACKDOOR_Main.yar target_file # Scan process memory (Linux) yara NK_GOLDBACKDOOR_Main.yar /proc/[pid]/exe
Integration Examples
Python (yara-python)
import yara
rules = yara.compile(filepath='NK_GOLDBACKDOOR_Main.yar')
matches = rules.match('/path/to/file')
ClamAV Integration
clamscan --yara-rules=NK_GOLDBACKDOOR_Main.yar /path/to/scan
Rule Information
YARA ID
YARA-2025-1868
Author
Repository
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
Related Rules
Export Options
Similar Rules in general
YARA-2023-0001
CRI
Detect_Mimic_Ransomware
Detect_Mimic_Ransomware
YARA-2023-0002
MED
SystemBC_malware
Detect_SystemBC
YARA-2023-0003
MED
detect_catB
detect_CatB_ransomware
YARA-2022-0001
MED
detect_Typhon_Stealer
detect_Typhon_Stealer
YARA-2023-0004
MED
Nosu_stealer
Detect_Nosu_stealer
YARA-2022-0002
MED
detect_Lumma_stealer
detect_Lumma_stealer
YARA-2022-0003
MED
detect_StrelaStealer
detect_StrelaStealer
YARA-2022-0004
MED
detect_silence_Downloader
detect_silence_Downloader