YARA · deadbits yara-rules
DEADBITS_Dacls_Trojan_Linux
No description has been set in the source file - DeadBits
- 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:
= "No description has been set in the source file - DeadBits"
= "Adam Swanda"
= "bb83ba2b-70a3-5a0f-9588-d93b7f07f67f"
= "2020-01-07"
= "2020-01-07"
= "https://github.com/deadbits/yara-rules"
= "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Linux.yara#L1-L32"
= "N/A"
= "752d7daf9178e4fa20f2ce781c6ff70f83758f01479696f0808e1588da9a3d78"
= 75
= 80
= ""
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $cls00 | text | "c_2910.cls" | ascii fullword |
| $cls01 | text | "k_3872.cls" | ascii fullword |
| $str00 | text | "{\"result\":\"ok\"}" | ascii fullword |
| $str01 | text | "SCAN %s %d.%d.%d.%d %d" | ascii fullword |
| $str02 | text | "/var/run/init.pid" | ascii fullword |
| $str03 | text | "/flash/bin/mountd" | ascii fullword |
| $str04 | text | "Name:" | ascii fullword |
| $str05 | text | "Uid:" | ascii fullword |
| $str06 | text | "Gid:" | ascii fullword |
| $str08 | text | "PPid:" | ascii fullword |
| $str09 | text | "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.
References
Licence & attribution
Author: Adam Swanda
Source repository: deadbits yara-rules @ d002f7ecee
Licence: The Unlicense (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: bb83ba2b-70a3-5a0f-9588-d93b7f07f67f
Related rules
- Malwaredeadbits yara-rules· Adam Swanda· 2020-01-07