YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_LNX_Linux_Malware_Indicators_Aug20_1
Detects indicators often found in linux malware samples. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness.
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-08-03
- Modified
- 2026-01-04
- Score / Quality
- 65 / 85
What this rule detects
Detects indicators often found in linux malware samples. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_LNX_Linux_Malware_Indicators_Aug20_1 : FILE
{
meta:
= "Detects indicators often found in linux malware samples. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness."
= "Florian Roth (Nextron Systems)"
= "9a1093a6-0239-5d1c-aa30-1ca725941583"
= "2020-08-03"
= "2026-01-04"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_lnx_malware_indicators.yar#L1-L25"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "1d07d424f2a66b60e55d21dff6d4c4f9f2591c3ab622dcfbc1cd989d28b44017"
= 65
= 85
= "FILE"
strings:
$s1 = "&& chmod +x" ascii
$s2 = "|base64 -" ascii
$s3 = " /tmp" ascii
$s4 = "|curl " ascii
$s5 = "whoami" ascii fullword
$fp1 = "WITHOUT ANY WARRANTY" ascii
$fp2 = "postinst" ascii fullword
$fp3 = "THIS SOFTWARE IS PROVIDED" ascii fullword
$fp4 = "Free Software Foundation" ascii fullword
$fp5 = "Too many sessions open! Use ssh_channel.close() or 'with'!"
condition:
filesize < 400KB and 3 of ( $s* ) and not 1 of ( $fp* )
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "&& chmod +x" | ascii |
| $s2 | text | "|base64 -" | ascii |
| $s3 | text | " /tmp" | ascii |
| $s4 | text | "|curl " | ascii |
| $s5 | text | "whoami" | ascii fullword |
| $fp1 | text | "WITHOUT ANY WARRANTY" | ascii |
| $fp2 | text | "postinst" | ascii fullword |
| $fp3 | text | "THIS SOFTWARE IS PROVIDED" | ascii fullword |
| $fp4 | text | "Free Software Foundation" | ascii fullword |
| $fp5 | text | "Too many sessions open! Use ssh_channel.close() or 'with'!" |
Condition
filesize < 400KB and 3 of ( $s* ) and not 1 of ( $fp* )In plain words (Heuristic)
- The file must be smaller than 400KB (a cheap guard that skips large files).
- At least 3 patterns in ( $s* ) must match.
- At least 1 patterns in ( $fp* ) 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.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 9a1093a6-0239-5d1c-aa30-1ca725941583
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10