YARA · ditekSHen detection
DITEKSHEN_MALWARE_Osx_Macsearch
Detects MacSearch adware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 71
What this rule detects
Detects MacSearch adware
Associated malware family: Macsearch.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-osx-macsearch.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Osx_Macsearch : FILE
{
meta:
= "Detects MacSearch adware"
= "ditekSHen"
= "facdf05c-5ee4-54c6-9ca3-01978af2b6e6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3071-L3092"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "973b7215fc8d04685a46d05b53b4092e7b81ed0d64d6982b534f2b89d0a59443"
= 75
= 71
= "FILE"
strings:
$s1 = "open -a safari" ascii
$s2 = "/INDownloader" ascii
$s3 = "/safefinder" ascii
$s4 = "/INEncryptor" ascii
$s5 = "/INInstallerFlow" ascii
$s6 = "/INConfiguration" ascii
$s7 = "/INChromeAndFFSetter" ascii
$s8 = "/INSafariSetter" ascii
$s9 = "/bin/launchctl" fullword ascii
$s10 = "/usr/bin/csrutil" fullword ascii
$s11 = "_Tt%cSs%zu%.*s%s" fullword ascii
$s12 = "_Tt%c%zu%.*s%zu%.*s%s" fullword ascii
$s13 = "/macap/safefinder_Obf/safefinder/" ascii
$s14 = "/safefinder.build/Release/macsearch.build/" ascii
condition:
uint16( 0 ) == 0xfacf and 10 of them
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "open -a safari" | ascii |
| $s2 | text | "/INDownloader" | ascii |
| $s3 | text | "/safefinder" | ascii |
| $s4 | text | "/INEncryptor" | ascii |
| $s5 | text | "/INInstallerFlow" | ascii |
| $s6 | text | "/INConfiguration" | ascii |
| $s7 | text | "/INChromeAndFFSetter" | ascii |
| $s8 | text | "/INSafariSetter" | ascii |
| $s9 | text | "/bin/launchctl" | fullword ascii |
| $s10 | text | "/usr/bin/csrutil" | fullword ascii |
| $s11 | text | "_Tt%cSs%zu%.*s%s" | fullword ascii |
| $s12 | text | "_Tt%c%zu%.*s%zu%.*s%s" | fullword ascii |
| $s13 | text | "/macap/safefinder_Obf/safefinder/" | ascii |
| $s14 | text | "/safefinder.build/Release/macsearch.build/" | ascii |
Condition
uint16( 0 ) == 0xfacf and 10 of themIn plain words (Heuristic)
- At least 10 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.
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).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: facdf05c-5ee4-54c6-9ca3-01978af2b6e6
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06