Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Ta410_Flowcloud_Loader

Detects FlowCloud Loader

APT / threat actorSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-05-27
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects FlowCloud Loader

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-ta410-flowcloud-loader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Ta410_Flowcloud_Loader : FILE
{
	meta:
		description = "Detects FlowCloud Loader"
		author = "Sekoia.io"
		id = "0a11dfa0-5a59-477b-baf6-6a777d020860"
		date = "2024-05-27"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_ta410_flowcloud_loader.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "450cfdfbd9a42b623fc1acb55f3ea309ae54282b480edcb9495f4d45874d3922"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$decryption_function = {8A C8 80 C1 26 32 D1 30 14 38}
		$derivation_key = {6B 04 00 00 F7 ?? 81 c2 a8 01 00 00}
		$new_pattern_1 = {50 33 c0 58 74 01 e8}
		$new_pattern_2 = {89 44 24 fc 58 8D 64
        24 fc 81 fc 00 10 00
        00 77 06 81 c4 ?? ??
        ?? ?? 8B 44 24 FC}
		$patch_bytes = {68 78 56 34 12 C3 90 90 90 90 90 00}

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 4MB and 2 of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$decryption_functionhex{8A C8 80 C1 26 32 D1 30 14 38}
$derivation_keyhex{6B 04 00 00 F7 ?? 81 c2 a8 01 00 00}
$new_pattern_1hex{50 33 c0 58 74 01 e8}
$new_pattern_2hex{89 44 24 fc 58 8D 64 24 fc 81 fc 00 10 00 00 77 06 81 c4 ?? ?? ?? ?? 8B 44 24 FC}
$patch_byteshex{68 78 56 34 12 C3 90 90 90 90 90 00}

Condition

uint16be( 0 ) == 0x4d5a and filesize < 4MB and 2 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 4MB (a cheap guard that skips large files).
  • At least 2 patterns in the rule must match.

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

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

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: 0a11dfa0-5a59-477b-baf6-6a777d020860

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE