Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Multi_Wellmess

WellMess Windows/Linux backdoor payload

MalwareWellmessditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

WellMess Windows/Linux backdoor payload

Associated malware family: Wellmess.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-multi-wellmess.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Multi_Wellmess : FILE
{
	meta:
		description = "WellMess Windows/Linux backdoor payload"
		author = "ditekSHen"
		id = "cfa0f077-9d45-5796-b888-66fb397e74f8"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L488-L510"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9cbbca609fd289d7406d9073237688d250dc68c450676b9b755509540d8f76a5"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig1 = "MALWARE_Win.Trojan.WellMess_DotNet"
		clamav_sig2 = "MALWARE_Win.Trojan.WellMess_Golang"
		clamav_sig3 = "MALWARE_Linux.Trojan.WellMess_Golang"

	strings:
		$s1 = "-----BEGIN PUBLIC KEY-----" ascii
		$s2 = "-----END PUBLIC KEY-----" ascii
		$s3 = "net/http.(*persistConn).readResponse" ascii
		$s4 = "net/http/cookiejar.(*Jar).SetCookies" ascii
		$s5 = "_/home/ubuntu/GoProject/src/bot/botlib" ascii
		$s6 = "<;head;><;title;>" ascii
		$s7 = "<;title;><;service;>" ascii
		$s8 = "http://invalidlookup" ascii
		$s9 = "<autogenerated>" ascii wide

	condition:
		( uint16( 0 ) == 0x457f or uint16( 0 ) == 0x5a4d ) and all of them
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$s1text"-----BEGIN PUBLIC KEY-----"ascii
$s2text"-----END PUBLIC KEY-----"ascii
$s3text"net/http.(*persistConn).readResponse"ascii
$s4text"net/http/cookiejar.(*Jar).SetCookies"ascii
$s5text"_/home/ubuntu/GoProject/src/bot/botlib"ascii
$s6text"<;head;><;title;>"ascii
$s7text"<;title;><;service;>"ascii
$s8text"http://invalidlookup"ascii
$s9text"<autogenerated>"ascii wide

Condition

( uint16( 0 ) == 0x457f or uint16( 0 ) == 0x5a4d ) and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • 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

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

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

Rule id: cfa0f077-9d45-5796-b888-66fb397e74f8

Metadata

clamav_sig1MALWARE_Win.Trojan.WellMess_DotNet
clamav_sig2MALWARE_Win.Trojan.WellMess_Golang
clamav_sig3MALWARE_Linux.Trojan.WellMess_Golang

Tags:FILE