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
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