Skip to content

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Linux_Disgomoji_Script_Uevent_Seqnum

Detects a script deployed as part of DISGOMOJI malware chain.

APT / threat actorVolexity threat-intelBSD 2-Clause LicenseCompiles with YARA-X
Author
threatintel@volexity.com
Date
2024-03-07
Modified
2024-07-05
Score / Quality
75 / 80

What this rule detects

Detects a script deployed as part of DISGOMOJI malware chain.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-malware-linux-disgomoji-script-uevent-seqnum.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Script_Uevent_Seqnum : TRANSPARENTJASMINE FILE
{
	meta:
		description = "Detects a script deployed as part of DISGOMOJI malware chain."
		author = "threatintel@volexity.com"
		id = "9df61164-6a92-5042-ba4f-64dc7e998283"
		date = "2024-03-07"
		modified = "2024-07-05"
		reference = "TIB-20240318"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L160-L187"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "98b24fb7aaaece7556aea2269b4e908dd79ff332ddaa5111caec49123840f364"
		logic_hash = "e390e83d9fc15499c9f32ad47d1c526273105602bda7b3532720b0a3f6abc835"
		score = 75
		quality = 80
		tags = "TRANSPARENTJASMINE, FILE"
		os = "linux"
		os_arch = "all"
		scan_context = "file"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 10314
		version = 6

	strings:
		$s1 = "USB_DIR=\"/media/$USER\"" wide ascii
		$s2 = "RECORD_FILE=\"record.txt\"" wide ascii
		$s3 = "copy_files()" wide ascii
		$s4 = "Check for connected USB drives" wide ascii
		$s5 = "Check if filename already exists in record.txt" wide ascii
		$s6 = "Function to copy files from USB drive to destination folder" wide ascii

	condition:
		3 of them
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$s1text"USB_DIR=\"/media/$USER\""wide ascii
$s2text"RECORD_FILE=\"record.txt\""wide ascii
$s3text"copy_files()"wide ascii
$s4text"Check for connected USB drives"wide ascii
$s5text"Check if filename already exists in record.txt"wide ascii
$s6text"Function to copy files from USB drive to destination folder"wide ascii

Condition

3 of them

In plain words (Heuristic)

  • At least 3 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

Sample hashes

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

  • 98b24fb7aaaece7556aea2269b4e908dd79ff332ddaa5111caec49123840f364

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: 9df61164-6a92-5042-ba4f-64dc7e998283

Metadata

oslinux
os_archall
scan_contextfile
severitycritical
rule_id10314
version6

Tags:TRANSPARENTJASMINEFILE