Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Osx_AMCPCVARK

Detects OSX TechyUtils/PCVARK adware

MalwareAMCPCVARKditekSHen 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 OSX TechyUtils/PCVARK adware

Associated malware family: AMCPCVARK.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-osx-amcpcvark.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Osx_AMCPCVARK : FILE
{
	meta:
		description = "Detects OSX TechyUtils/PCVARK adware"
		author = "ditekSHen"
		id = "1378364b-db10-5194-98f8-5347504a92e6"
		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#L3114-L3139"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b18a9f578af98feb5107d9ef85850457ba5921ab58af7b097a815e3af74f05f7"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Osx.Adware.AMC-PCVARK-TechyUtils"

	strings:
		$s1 = "Mac Auto Fixer.app" fullword ascii
		$s2 = "com.techyutil.macautofixer" fullword ascii
		$s3 = "com.findApp.findApp" ascii
		$s4 = "Library/Preferences/%@.plist" fullword ascii
		$s5 = "Library/%@/%@" fullword ascii
		$s6 = "Library/Application Support/%@/%@" fullword ascii
		$s7 = "sleep 3; rm -rf \"%@\"" fullword ascii
		$s8 = "Silently calling url: %@" ascii
		$cnc1 = "cloudfront.net/getdetails" ascii
		$cnc2 = "trk.entiretrack.com/trackerwcfsrv/tracker.svc/trackOffersAccepted/?" ascii
		$cnc3 = "pxl=%@&x-count=1&utm_source=%@&lpid=0&utm_content=&utm_term=&x-base=&utm_medium=%@&utm_publisher=%@&offerpxl=&x-fetch=1&utm_campaign=@&affiliateid=&x-at=&btnid=" ascii
		$x1 = "mafsysinfo" fullword ascii
		$x2 = "MAF4497_MAF4399_MAF2204" ascii
		$developerid = "Developer ID Application: Rahul Gahlot (RZ74UYT742)" ascii

	condition:
		uint16( 0 ) == 0xfacf and ( 6 of ( $s* ) or 2 of ( $cnc* ) or all of ( $x* ) or $developerid )
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$s1text"Mac Auto Fixer.app"fullword ascii
$s2text"com.techyutil.macautofixer"fullword ascii
$s3text"com.findApp.findApp"ascii
$s4text"Library/Preferences/%@.plist"fullword ascii
$s5text"Library/%@/%@"fullword ascii
$s6text"Library/Application Support/%@/%@"fullword ascii
$s7text"sleep 3; rm -rf \"%@\""fullword ascii
$s8text"Silently calling url: %@"ascii
$cnc1text"cloudfront.net/getdetails"ascii
$cnc2text"trk.entiretrack.com/trackerwcfsrv/tracker.svc/trackOffersAccepted/?"ascii
$cnc3text"pxl=%@&x-count=1&utm_source=%@&lpid=0&utm_content=&utm_term=&x-base=&utm_medium=%@&utm_publisher=%@&offerpxl=&x-fetch=1&utm_campaign=@&affiliateid=&x-at=&btnid …ascii
$x1text"mafsysinfo"fullword ascii
$x2text"MAF4497_MAF4399_MAF2204"ascii
$developeridtext"Developer ID Application: Rahul Gahlot (RZ74UYT742)"ascii

Condition

uint16( 0 ) == 0xfacf and ( 6 of ( $s* ) or 2 of ( $cnc* ) or all of ( $x* ) or $developerid )

In plain words (Heuristic)

  • All patterns in ( $x* ) must match.
  • At least 6 patterns in ( $s* ) must match.
  • At least 2 patterns in ( $cnc* ) must match.
  • Pattern $developerid must be present.

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: 1378364b-db10-5194-98f8-5347504a92e6

Metadata

clamav_sigMALWARE.Osx.Adware.AMC-PCVARK-TechyUtils

Tags:FILE