Skip to content

YARA · Volexity threat-intel

VOLEXITY_Malware_Golang_Pantegana

Detects PANTEGANA, a Golang backdoor used by a range of threat actors due to its public availability.

MalwareVolexity threat-intelBSD 2-Clause LicenseCompiles with YARA-X
Author
threatintel@volexity.com
Date
2022-03-30
Modified
2025-03-21
Score / Quality
75 / 80

What this rule detects

Detects PANTEGANA, a Golang backdoor used by a range of threat actors due to its public availability.

It defines 7 patterns (7 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-golang-pantegana.yarBSD 2-Clause License
rule VOLEXITY_Malware_Golang_Pantegana : FILE MEMORY
{
	meta:
		description = "Detects PANTEGANA, a Golang backdoor used by a range of threat actors due to its public availability."
		author = "threatintel@volexity.com"
		id = "b6154165-68e0-5986-a0cf-5631d369c230"
		date = "2022-03-30"
		modified = "2025-03-21"
		reference = "https://github.com/elleven11/pantegana"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L90-L120"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "8297c99391aae918f154077c61ea94a99c7a339166e7981d9912b7fdc2e0d4f0"
		logic_hash = "791a664a6b4b98051cbfacb451099de085cbab74d73771709377ab68a5a23d2b"
		score = 75
		quality = 80
		tags = "FILE, MEMORY"
		os = "all"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "high"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 6631
		version = 3

	strings:
		$s1 = "RunFingerprinter" ascii
		$s2 = "SendSysInfo" ascii
		$s3 = "ExecAndGetOutput" ascii
		$s4 = "RequestCommand" ascii
		$s5 = "bindataRead" ascii
		$s6 = "RunClient" ascii
		$magic = "github.com/elleven11/pantegana" ascii

	condition:
		5 of ( $s* ) or $magic
}

Strings (7 patterns)

IdentifierTypeValueModifiers
$s1text"RunFingerprinter"ascii
$s2text"SendSysInfo"ascii
$s3text"ExecAndGetOutput"ascii
$s4text"RequestCommand"ascii
$s5text"bindataRead"ascii
$s6text"RunClient"ascii
$magictext"github.com/elleven11/pantegana"ascii

Condition

5 of ( $s* ) or $magic

In plain words (Heuristic)

  • At least 5 patterns in ( $s* ) must match.
  • Pattern $magic must be present.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 8297c99391aae918f154077c61ea94a99c7a339166e7981d9912b7fdc2e0d4f0

Licence & attribution

Author: threatintel@volexity.com

Source repository: Volexity threat-intel @ 3a9d0b5245

Licence: BSD 2-Clause License (stated in the rule's own meta)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright notice: Copyright 2022 by Volexity, Inc.

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: b6154165-68e0-5986-a0cf-5631d369c230

Metadata

osall
os_archall
scan_contextfile,memory
severityhigh
rule_id6631
version3

Tags:FILEMEMORY