lyceum_golang_backdoor

YARA-2025-2219 High general Active
No description available for this rule
lyceum_golang_backdoor.yar Valid Syntax
rule lyceum_golang_backdoor
{
    meta:
        author = "CPR"
        reference = "https://research.checkpoint.com/2022/state-sponsored-attack-groups-capitalise-on-russia-ukraine-war-for-cyber-espionage/"
        hash1 = "a437f997d45bc14e76d0f2482f572a34"
        hash2 = "23d174e6a0905fd59b2613d5ac106261"
        hash3 = "bcb465cc2257e5777bab431690ca5039"
    strings:
        $func1 = "main.Ase256"
        $func2 = "main.DecryptAse256"
        $func3 = "main.IsServerUp"
        $func4 = "main.register"
        $func5 = "main.commandforrun"
        $func6 = "main.UPLOAD"
        $func7 = "main.commandforanswer"
        $func8 = "main.GetMD5Hash"
        $func9 = "main.get_uid"
        $func10 = "main.commandrun"
        $func11 = "main.download"
        $func12 = "main.postFile"
        $func13 = "main.sendAns"
        $func14 = "main.comRun"
        $cnc_uri1 = "/GO/1.php"
        $cnc_uri2 = "/GO/2.php"
        $cnc_uri3 = "/GO/3.php"
        $auth_token = "auth_token=\"XXXXXXX\""
        $log1 = "client registred"
        $log2 = "no command"
        $log3 = "can not create file"
        $log4 = "errorGettingUserName"
        $log5 = "New record created successfully"
        $log6 = "SERVER_IS_DOWN"
        $dga = "trailers.apple.com."
    condition:
        uint16(0)==0x5a4d and ((10 of ($func*) or any of ($cnc_uri*) or $auth_token or 3 of ($log*)) or ($dga and 4 of them))
}

Rule Metadata

author
CPR
reference
https://research.checkpoint.com/2022/state-sponsored-attack-groups-capitalise-on-russia-ukraine-war-for-cyber-espionage/
hash1
a437f997d45bc14e76d0f2482f572a34
hash2
23d174e6a0905fd59b2613d5ac106261
hash3
bcb465cc2257e5777bab431690ca5039

String Definitions

{"name":"$func1","value":"\"main.Ase256\""}
{"name":"$func2","value":"\"main.DecryptAse256\""}
{"name":"$func3","value":"\"main.IsServerUp\""}
{"name":"$func4","value":"\"main.register\""}
{"name":"$func5","value":"\"main.commandforrun\""}
{"name":"$func6","value":"\"main.UPLOAD\""}
{"name":"$func7","value":"\"main.commandforanswer\""}
{"name":"$func8","value":"\"main.GetMD5Hash\""}
{"name":"$func9","value":"\"main.get_uid\""}
{"name":"$func10","value":"\"main.commandrun\""}
{"name":"$func11","value":"\"main.download\""}
{"name":"$func12","value":"\"main.postFile\""}
{"name":"$func13","value":"\"main.sendAns\""}
{"name":"$func14","value":"\"main.comRun\""}
{"name":"$cnc_uri1","value":"\"\/GO\/1.php\""}
{"name":"$cnc_uri2","value":"\"\/GO\/2.php\""}
{"name":"$cnc_uri3","value":"\"\/GO\/3.php\""}
{"name":"$auth_token","value":"\"auth_token=\\\"XXXXXXX\\\"\""}
{"name":"$log1","value":"\"client registred\""}
{"name":"$log2","value":"\"no command\""}
{"name":"$log3","value":"\"can not create file\""}
{"name":"$log4","value":"\"errorGettingUserName\""}
{"name":"$log5","value":"\"New record created successfully\""}
{"name":"$log6","value":"\"SERVER_IS_DOWN\""}
{"name":"$dga","value":"\"trailers.apple.com.\""}

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

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