Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Osx_Genieo

Detects LinqurySearch/Genieo adware

MalwareGenieoditekSHen 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

Detects LinqurySearch/Genieo adware

Associated malware family: Genieo.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-osx-genieo.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Osx_Genieo : FILE
{
	meta:
		description = "Detects LinqurySearch/Genieo adware"
		author = "ditekSHen"
		id = "ac44eefd-bf1c-5d4b-bcd4-9a5d394ac1d3"
		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#L3094-L3112"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "951dc8539435a52d9eea00b3fdaf98cf618c03867066819f2f9244165e57c675"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Osx.Trojan.Genieo"

	strings:
		$s1 = "<key>com.apple.security.get-task-allow</key>" fullword ascii
		$s2 = "U1QQFXAfCxAfRUNCH1JZXh9" ascii
		$s3 = "XVFTQ1VRQlNYH" ascii
		$s4 = "dF9HXlxfUVQQVUJCX0IQHRB" ascii
		$s5 = "Value:forHTTPHeaderField:" ascii
		$s6 = "postContent:::" fullword ascii
		$s7 = "postLog:" fullword ascii
		$s8 = "initWithBase64EncodedString:options:" fullword ascii
		$s9 = "do shell script \"%@\" with administrator privileges" fullword ascii
		$s10 = /LinqurySearch-[a-f0-9]{40,}/

	condition:
		uint16( 0 ) == 0xfacf and 6 of them
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$s1text"<key>com.apple.security.get-task-allow</key>"fullword ascii
$s2text"U1QQFXAfCxAfRUNCH1JZXh9"ascii
$s3text"XVFTQ1VRQlNYH"ascii
$s4text"dF9HXlxfUVQQVUJCX0IQHRB"ascii
$s5text"Value:forHTTPHeaderField:"ascii
$s6text"postContent:::"fullword ascii
$s7text"postLog:"fullword ascii
$s8text"initWithBase64EncodedString:options:"fullword ascii
$s9text"do shell script \"%@\" with administrator privileges"fullword ascii
$s10regex/LinqurySearch-[a-f0-9]{40,}/

Condition

uint16( 0 ) == 0xfacf and 6 of them

In plain words (Heuristic)

  • At least 6 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: ac44eefd-bf1c-5d4b-bcd4-9a5d394ac1d3

Metadata

clamav_sigMALWARE.Osx.Trojan.Genieo

Tags:FILE