apt_ProjectSauron_pipe_backdoor
YARA-2025-1609
High
general
Active
Rule to detect ProjectSauron pipe backdoors
apt_ProjectSauron_pipe_backdoor.yar
Valid Syntax
import "pe"
import "math"
rule apt_ProjectSauron_pipe_backdoor {
meta:
copyright = "Kaspersky Lab"
description = "Rule to detect ProjectSauron pipe backdoors"
version = "1.0"
reference = "https://securelist.com/blog/"
strings:
$a1 = "CreateNamedPipeW" fullword ascii
$a2 = "SetSecurityDescriptorDacl" fullword ascii
$a3 = "GetOverlappedResult" fullword ascii
$a4 = "TerminateThread" fullword ascii
$a5 = "%s%s%X" fullword wide
condition:
uint16(0) == 0x5A4D
and (all of ($a*))
and filesize < 100000
}
Rule Metadata
copyright
Kaspersky Lab
description
Rule to detect ProjectSauron pipe backdoors
version
1.0
reference
https://securelist.com/blog/
String Definitions
{"name":"$a1","value":"\"CreateNamedPipeW\" fullword ascii"}
{"name":"$a2","value":"\"SetSecurityDescriptorDacl\" fullword ascii"}
{"name":"$a3","value":"\"GetOverlappedResult\" fullword ascii"}
{"name":"$a4","value":"\"TerminateThread\" fullword ascii"}
{"name":"$a5","value":"\"%s%s%X\" fullword wide"}
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 apt_ProjectSauron_pipe_backdoor.yar /path/to/suspicious/file # Scan a directory recursively yara -r apt_ProjectSauron_pipe_backdoor.yar /path/to/directory/ # Scan with metadata output yara -m apt_ProjectSauron_pipe_backdoor.yar target_file # Scan process memory (Linux) yara apt_ProjectSauron_pipe_backdoor.yar /proc/[pid]/exe
Integration Examples
Python (yara-python)
import yara
rules = yara.compile(filepath='apt_ProjectSauron_pipe_backdoor.yar')
matches = rules.match('/path/to/file')
ClamAV Integration
clamscan --yara-rules=apt_ProjectSauron_pipe_backdoor.yar /path/to/scan
Rule Information
YARA ID
YARA-2025-1609
Author
Unknown
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