Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Unk_Quad7_Fsynet_Strings

Matches node-r-control, asr_node, node-relay

GenericSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-08-20
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Matches node-r-control, asr_node, node-relay

Targets: Linux ELF.

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

Summary generated from the rule's metadata and condition.

Rule source

unk-quad7-fsynet-strings.yarDetection Rule License 1.1
rule SEKOIA_Unk_Quad7_Fsynet_Strings : FILE
{
	meta:
		description = "Matches node-r-control, asr_node, node-relay"
		author = "Sekoia.io"
		id = "897b2421-c177-48c0-8f5b-82d8434208cb"
		date = "2024-08-20"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/unk_quad7_fsynet_strings.yar#L1-L33"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "f42849076e24b7827218f7a25bc11ccc"
		hash = "b3b09819f820a4ecd31f82f369000af2"
		hash = "92093dd7ba6ae8fe34a215c4c4bd1cd4"
		hash = "e6f6a6de285d7c2361c32b1f29a6c3f6"
		hash = "408152285671bbd0e6e63bd71d6abaaf"
		hash = "5efc7d824851be9ec90a97d889a40d23"
		logic_hash = "960119a025dedae7c5dfdf872cd515e2b6cf2999179ba84374d547047316caa2"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "prev_hop_port"
		$ = "next_hop_port"
		$ = "back_hop_port"
		$ = "next_tsn_port"
		$ = "prev_hop_ip"
		$ = "next_hop_ip"
		$ = "back_hop_ip"
		$ = "next_tsn_ip"
		$ = "ikcp_"
		$ = "/tmp/log_r"
		$ = "total_hop"

	condition:
		uint32be( 0 ) == 0x7f454c46 and filesize < 5MB and 6 of them
}

Strings (11 patterns)

IdentifierTypeValueModifiers
$text"prev_hop_port"
$text"next_hop_port"
$text"back_hop_port"
$text"next_tsn_port"
$text"prev_hop_ip"
$text"next_hop_ip"
$text"back_hop_ip"
$text"next_tsn_ip"
$text"ikcp_"
$text"/tmp/log_r"
$text"total_hop"

Condition

uint32be( 0 ) == 0x7f454c46 and filesize < 5MB and 6 of them

In plain words (Heuristic)

  • The file must start with the ELF header — a Linux/Unix executable.
  • The file must be smaller than 5MB (a cheap guard that skips large files).
  • At least 6 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

Sample hashes

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

  • f42849076e24b7827218f7a25bc11ccc
  • b3b09819f820a4ecd31f82f369000af2
  • 92093dd7ba6ae8fe34a215c4c4bd1cd4
  • e6f6a6de285d7c2361c32b1f29a6c3f6
  • 408152285671bbd0e6e63bd71d6abaaf
  • 5efc7d824851be9ec90a97d889a40d23

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: 897b2421-c177-48c0-8f5b-82d8434208cb

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE