Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_Scmaldevinj_Go

Detects Go shell/malware dev injector

Suspicious / huntingditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekShen
Date
2020-11-06
Modified
2024-09-25
Score / Quality
75 / 75

What this rule detects

Detects Go shell/malware dev injector

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-tool-scmaldevinj-go.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_Scmaldevinj_Go : FILE
{
	meta:
		description = "Detects Go shell/malware dev injector"
		author = "ditekShen"
		id = "56ec114f-8e16-5ab6-ae3b-a182cb381b4a"
		date = "2020-11-06"
		modified = "2024-09-25"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1783-L1793"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "48c3c759283c63a0c439cfba0194da89f402189e4c3cd831c22b5078ccae47b1"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "hooka/shellcode.go" ascii
		$s2 = "/maldev\x09v" ascii
		$s3 = "Binject/debug/pe." ascii

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

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"hooka/shellcode.go"ascii
$s2text"/maldev\x09v"ascii
$s3text"Binject/debug/pe."ascii

Condition

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: 56ec114f-8e16-5ab6-ae3b-a182cb381b4a

Tags:FILE