Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_OSX_RMM_Dwagent

Detect DWAgent Remote Administration Tool macOS run

Suspicious / huntingRMMditekSHen 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 macOS run

Associated malware family: RMM.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-osx-rmm-dwagent.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_OSX_RMM_Dwagent : FILE
{
	meta:
		description = "Detect DWAgent Remote Administration Tool macOS run"
		author = "ditekSHen"
		id = "0eeb9ae3-826e-52b7-bbb8-3f8c4920f5c3"
		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#L565-L580"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9864668abdd534d8a33940f9513d07356451ce1eaa9233771e82b8138dc0b41b"
		score = 75
		quality = 75
		tags = "FILE"
		clamav1 = "INDICATOR.Osx.RMM.DWAgent-RUN"

	strings:
		$s1 = "net.dwservice.DWAgent" ascii
		$s2 = "-[DWADelegate" ascii
		$s3 = "customWindowsToEnterFullScreenForWindow:onScreen:" ascii

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

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"net.dwservice.DWAgent"ascii
$s2text"-[DWADelegate"ascii
$s3text"customWindowsToEnterFullScreenForWindow:onScreen:"ascii

Condition

uint16( 0 ) == 0xfeca and all of them

In plain words (Heuristic)

  • 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: 0eeb9ae3-826e-52b7-bbb8-3f8c4920f5c3

Metadata

clamav1INDICATOR.Osx.RMM.DWAgent-RUN

Tags:FILE