Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_MAL_LNX_Kobalos_SSH_Credential_Stealer

Kobalos SSH credential stealer seen in OpenSSH client

APT / threat actorSignature Base (Florian Roth / Nextron)BSD 2-Clause LicenseCompiles with YARA-X
Author
Marc-Etienne M.Leveille
Date
2020-11-02
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Kobalos SSH credential stealer seen in OpenSSH client

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

Summary generated from the rule's metadata and condition.

Rule source

apt-mal-lnx-kobalos-ssh-credential-stealer.yarBSD 2-Clause License
rule SIGNATURE_BASE_APT_MAL_LNX_Kobalos_SSH_Credential_Stealer : FILE
{
	meta:
		description = "Kobalos SSH credential stealer seen in OpenSSH client"
		author = "Marc-Etienne M.Leveille"
		id = "0f923f92-c5d8-500d-9a2e-634ca7945c5c"
		date = "2020-11-02"
		modified = "2023-12-05"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_lnx_kobalos.yar#L59-L76"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "fdabaea0c838e43b8716bcd102bdeebf2f08fc041b0b909333e3d9d6f94391fc"
		score = 75
		quality = 85
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$ = "user: %.128s host: %.128s port %05d user: %.128s password: %.128s"

	condition:
		uint16( 0 ) == 0x457f and any of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$text"user: %.128s host: %.128s port %05d user: %.128s password: %.128s"

Condition

uint16( 0 ) == 0x457f and any of them

In plain words (Heuristic)

  • At least one pattern 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

Licence & attribution

Author: Marc-Etienne M.Leveille

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: BSD 2-Clause License (stated in the rule's own meta)

“BSD 2-Clause”

Original rule

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

Rule id: 0f923f92-c5d8-500d-9a2e-634ca7945c5c

Metadata

version1

Tags:FILE