Skip to content

YARA · deadbits yara-rules

DEADBITS_Dacls_Trojan_Linux

No description has been set in the source file - DeadBits

Malwaredeadbits yara-rulesThe UnlicenseCompiles with YARA-X
Author
Adam Swanda
Date
2020-01-07
Score / Quality
75 / 80

What this rule detects

No description has been set in the source file - DeadBits

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

Summary generated from the rule's metadata and condition.

Rule source

dacls-trojan-linux.yarThe Unlicense
rule DEADBITS_Dacls_Trojan_Linux
{
	meta:
		description = "No description has been set in the source file - DeadBits"
		author = "Adam Swanda"
		id = "bb83ba2b-70a3-5a0f-9588-d93b7f07f67f"
		date = "2020-01-07"
		modified = "2020-01-07"
		reference = "https://github.com/deadbits/yara-rules"
		source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Linux.yara#L1-L32"
		license_url = "N/A"
		logic_hash = "752d7daf9178e4fa20f2ce781c6ff70f83758f01479696f0808e1588da9a3d78"
		score = 75
		quality = 80
		tags = ""
		Author = "Adam M. Swanda"

	strings:
		$cls00 = "c_2910.cls" ascii fullword
		$cls01 = "k_3872.cls" ascii fullword
		$str00 = "{\"result\":\"ok\"}" ascii fullword
		$str01 = "SCAN  %s  %d.%d.%d.%d %d" ascii fullword
		$str02 = "/var/run/init.pid" ascii fullword
		$str03 = "/flash/bin/mountd" ascii fullword
		$str04 = "Name:" ascii fullword
		$str05 = "Uid:" ascii fullword
		$str06 = "Gid:" ascii fullword
		$str08 = "PPid:" ascii fullword
		$str09 = "session_id" ascii fullword

	condition:
		uint32be( 0x0 ) == 0x7f454c46 and ( ( all of ( $cls* ) ) or ( all of ( $str* ) ) )
}

Strings (11 patterns)

IdentifierTypeValueModifiers
$cls00text"c_2910.cls"ascii fullword
$cls01text"k_3872.cls"ascii fullword
$str00text"{\"result\":\"ok\"}"ascii fullword
$str01text"SCAN %s %d.%d.%d.%d %d"ascii fullword
$str02text"/var/run/init.pid"ascii fullword
$str03text"/flash/bin/mountd"ascii fullword
$str04text"Name:"ascii fullword
$str05text"Uid:"ascii fullword
$str06text"Gid:"ascii fullword
$str08text"PPid:"ascii fullword
$str09text"session_id"ascii fullword

Condition

uint32be( 0x0 ) == 0x7f454c46 and ( ( all of ( $cls* ) ) or ( all of ( $str* ) ) )

In plain words (Heuristic)

  • All patterns in ( $cls* ) must match.
  • All patterns in ( $str* ) 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: Adam Swanda

Source repository: deadbits yara-rules @ d002f7ecee

Licence: The Unlicense (repository licence)

Original rule

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

Rule id: bb83ba2b-70a3-5a0f-9588-d93b7f07f67f