APT_Backdoor_Win_GORAT_5

YARA-2025-1090 High general Active
No description available for this rule
APT_Backdoor_Win_GORAT_5.yar Valid Syntax
// Copyright 2020 by FireEye, Inc.
// You may not use this file except in compliance with the license. The license should have been received with this file. You may obtain a copy of the license at:
// https://github.com/fireeye/red_team_tool_countermeasures/blob/master/LICENSE.txt
rule APT_Backdoor_Win_GORAT_5
{
    meta:
        date_created = "2020-12-02"
        date_modified = "2020-12-02"
        md5 = "cdf58a48757010d9891c62940c439adb, a107850eb20a4bb3cc59dbd6861eaf0f"
        rev = 1
        author = "FireEye"
    strings:
        $1 = "comms.BeaconData" fullword
        $2 = "comms.CommandResponse" fullword
        $3 = "rat.BaseChannel" fullword
        $4 = "rat.Config" fullword
        $5 = "rat.Core" fullword
        $6 = "platforms.AgentPlatform" fullword
        $7 = "GetHostID" fullword
        $8 = "/rat/cmd/gorat_shared/dllmain.go" fullword
    condition:
        (uint16(0) == 0x5A4D) and (uint32(uint32(0x3C)) == 0x00004550) and all of them
}

Rule Metadata

date_created
2020-12-02
date_modified
2020-12-02
md5
cdf58a48757010d9891c62940c439adb, a107850eb20a4bb3cc59dbd6861eaf0f
author
FireEye

String Definitions

{"name":"$1","value":"\"comms.BeaconData\" fullword"}
{"name":"$2","value":"\"comms.CommandResponse\" fullword"}
{"name":"$3","value":"\"rat.BaseChannel\" fullword"}
{"name":"$4","value":"\"rat.Config\" fullword"}
{"name":"$5","value":"\"rat.Core\" fullword"}
{"name":"$6","value":"\"platforms.AgentPlatform\" fullword"}
{"name":"$7","value":"\"GetHostID\" fullword"}
{"name":"$8","value":"\"\/rat\/cmd\/gorat_shared\/dllmain.go\" fullword"}

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

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