Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_RMM_Dwagent_Soundcapture

Detect DWAgent Remote Administration Tool Sound Capture Module

Suspicious / huntingditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2023-08-22
Modified
2024-10-04
Score / Quality
75 / 75

What this rule detects

Detect DWAgent Remote Administration Tool Sound Capture Module

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-rmm-dwagent-soundcapture.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_RMM_Dwagent_Soundcapture : FILE
{
	meta:
		description = "Detect DWAgent Remote Administration Tool Sound Capture Module"
		author = "ditekSHen"
		id = "4e395d1e-96a1-5ecc-abe5-6f8323a2c8ca"
		date = "2023-08-22"
		modified = "2024-10-04"
		reference = "https://www.cisa.gov/sites/default/files/2023-08/JCDC_RMM_Cyber_Defense_Plan_TLP_CLEAR_508c_1.pdf"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_rmm.yar#L530-L545"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c0efa9f383373dec1c5b9d127c2b4c6f4906718ae8f62eea28d7a369001be5af"
		score = 75
		quality = 75
		tags = "FILE"
		clamav1 = "INDICATOR.Win.RMM.DWAgent-SoundCapture"

	strings:
		$s1 = "DWASoundCapture" ascii
		$s2 = /_Z\d{2}DWASoundCapture/ ascii
		$s3 = "_Z6recordPvS_" ascii

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

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"DWASoundCapture"ascii
$s2regex/_Z\d{2}DWASoundCapture/ascii
$s3text"_Z6recordPvS_"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: 4e395d1e-96a1-5ecc-abe5-6f8323a2c8ca

Metadata

clamav1INDICATOR.Win.RMM.DWAgent-SoundCapture

Tags:FILE