Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Backdoor_Mul_Supershell_Client

Detect the Supershell client (unpacked) by looking for github references

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-04-25
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect the Supershell client (unpacked) by looking for github references

Targets: Windows PE, Linux ELF.

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

Summary generated from the rule's metadata and condition.

Rule source

backdoor-mul-supershell-client.yarDetection Rule License 1.1
rule SEKOIA_Backdoor_Mul_Supershell_Client : FILE
{
	meta:
		description = "Detect the Supershell client (unpacked) by looking for github references"
		author = "Sekoia.io"
		id = "3498ca9e-a165-4dda-bc15-2e5d6d43d9c1"
		date = "2024-04-25"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_mul_supershell_client.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "a42906f8b392089fa1fe3ea264f6cb549ce5437b5ea253d9e1b8dd94bf115dad"
		hash = "d97b41e8cd6b63cd55c9a4f99ccadf5a9141088319bc9eb467d96e54080f3c85"
		hash = "2b54d1c064892a22f48b5742ba6da55bf62b73e5b1e0649e8b7880b286498735"
		hash = "0dedab2ef8d44f9beef782a29dd8f628dd0218b90f23f729b315660437019ccd"
		hash = "2484de7944889d784b8229f4fd756d3930e55c91654921019db4437877e30ab7"
		logic_hash = "93490f4a16fb7dcde671b82e3187341abf4fc95e965219233ca7689f3cd3855f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "github.com/NHAS/reverse_ssh/internal/client/"
		$ = "golang.org"

	condition:
		( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$text"github.com/NHAS/reverse_ssh/internal/client/"
$text"golang.org"

Condition

( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must start with the ELF header — a Linux/Unix executable.
  • All 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

References

Sample hashes

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

  • a42906f8b392089fa1fe3ea264f6cb549ce5437b5ea253d9e1b8dd94bf115dad
  • d97b41e8cd6b63cd55c9a4f99ccadf5a9141088319bc9eb467d96e54080f3c85
  • 2b54d1c064892a22f48b5742ba6da55bf62b73e5b1e0649e8b7880b286498735
  • 0dedab2ef8d44f9beef782a29dd8f628dd0218b90f23f729b315660437019ccd
  • 2484de7944889d784b8229f4fd756d3930e55c91654921019db4437877e30ab7

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 3498ca9e-a165-4dda-bc15-2e5d6d43d9c1

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE