Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Go_Modbus_Jul24_1

Detects characteristics reported by Dragos for FrostyGoop ICS malware

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2024-07-23
Modified
2024-07-24
Score / Quality
75 / 85

What this rule detects

Detects characteristics reported by Dragos for FrostyGoop ICS malware

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

Summary generated from the rule's metadata and condition.

Rule source

mal-go-modbus-jul24-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Go_Modbus_Jul24_1 : FILE
{
	meta:
		description = "Detects characteristics reported by Dragos for FrostyGoop ICS malware"
		author = "Florian Roth"
		id = "4a1e6bbe-d743-5394-b207-e417b64fa76d"
		date = "2024-07-23"
		modified = "2024-07-24"
		reference = "https://hub.dragos.com/hubfs/Reports/Dragos-FrostyGoop-ICS-Malware-Intel-Brief-0724_.pdf"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_go_modbus.yar#L2-L28"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "5d2e4fd08f81e3b2eb2f3eaae16eb32ae02e760afc36fa17f4649322f6da53fb"
		logic_hash = "d992c8159deca0ed2b2a33da3c31fdf0efa9a09ba941d059fa7fc1bad458aed1"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$a1 = "Go build"
		$sa1 = "github.com/rolfl/modbus"
		$sb1 = "main.TaskList.executeCommand"
		$sb2 = "main.TargetList.getTargetIpList"
		$sb3 = "main.TaskList.getTaskIpList"
		$sb4 = "main.CycleInfo" fullword

	condition:
		filesize < 30MB and ( $sa1 and 3 of ( $sb* ) ) or 4 of them
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$a1text"Go build"
$sa1text"github.com/rolfl/modbus"
$sb1text"main.TaskList.executeCommand"
$sb2text"main.TargetList.getTargetIpList"
$sb3text"main.TaskList.getTaskIpList"
$sb4text"main.CycleInfo"fullword

Condition

filesize < 30MB and ( $sa1 and 3 of ( $sb* ) ) or 4 of them

In plain words (Heuristic)

  • The file must be smaller than 30MB (a cheap guard that skips large files).
  • At least 3 patterns in ( $sb* ) must match.
  • At least 4 patterns in the rule must match.
  • Pattern $sa1 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).

  • 5d2e4fd08f81e3b2eb2f3eaae16eb32ae02e760afc36fa17f4649322f6da53fb

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 4a1e6bbe-d743-5394-b207-e417b64fa76d

Tags:FILE