Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Lin_Avoslocker_Strings

Detect AvosLocker ransomware for Linux by using strings from its ransom note and the onion domains

MalwareAvos LockerSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-02-21
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect AvosLocker ransomware for Linux by using strings from its ransom note and the onion domains

Associated malware family: Avos Locker.

Targets: Linux ELF.

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

Summary generated from the rule's metadata and condition.

Rule source

ransomware-lin-avoslocker-strings.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Lin_Avoslocker_Strings : FILE
{
	meta:
		description = "Detect AvosLocker ransomware for Linux by using strings from its ransom note and the onion domains"
		author = "Sekoia.io"
		id = "6056e15c-d656-41cb-bea0-704776c52c92"
		date = "2022-02-21"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_lin_avoslocker_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "0cd7b6ea8857ce827180342a1c955e79c3336a6cf2000244e5cfd4279c5fc1b6"
		hash = "7c935dcd672c4854495f41008120288e8e1c144089f1f06a23bd0a0f52a544b1"
		hash = "10ab76cd6d6b50d26fde5fe54e8d80fceeb744de8dbafddff470939fac6a98c4"
		logic_hash = "b65cf6713027644de281f17a4c5c170fc09a154e7119d04a92aceed0e2d7e4fd"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "The corporations whom don't pay or fail to respond in a swift manner can be found in our blog, accessible at" ascii
		$s2 = "http://avosqxh72b5ia23dl5fgwcpndkctuzqvh2iefk5imp3pi5gfhel5klad.onion" ascii
		$s3 = "http://avosjon4pfh3y7ew3jdwz6ofw7lljcxlbk7hcxxmnxlh5kvf2akcqjad.onion" ascii

	condition:
		uint32( 0 ) == 0x464c457f and all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"The corporations whom don't pay or fail to respond in a swift manner can be found in our blog, accessible at"ascii
$s2text"http://avosqxh72b5ia23dl5fgwcpndkctuzqvh2iefk5imp3pi5gfhel5klad.onion"ascii
$s3text"http://avosjon4pfh3y7ew3jdwz6ofw7lljcxlbk7hcxxmnxlh5kvf2akcqjad.onion"ascii

Condition

uint32( 0 ) == 0x464c457f and all of them

In plain words (Heuristic)

  • The file must start with the ELF header — a Linux/Unix executable.
  • All 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).

  • 0cd7b6ea8857ce827180342a1c955e79c3336a6cf2000244e5cfd4279c5fc1b6
  • 7c935dcd672c4854495f41008120288e8e1c144089f1f06a23bd0a0f52a544b1
  • 10ab76cd6d6b50d26fde5fe54e8d80fceeb744de8dbafddff470939fac6a98c4

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: 6056e15c-d656-41cb-bea0-704776c52c92

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE

More Avos Locker rules