YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Macos_Switcharoo_Indicator_Dec22
Detects indicators found after exploitations of CVE-2022-46689
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-12-19
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
Detects indicators found after exploitations of CVE-2022-46689
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
expl-macos-switcharoo-indicator-dec22.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Macos_Switcharoo_Indicator_Dec22 : CVE_2022_46689 FILE
{
meta:
= "Detects indicators found after exploitations of CVE-2022-46689"
= "Florian Roth (Nextron Systems)"
= "d5d9559a-c19c-5ddc-9d72-701986a9d7ac"
= "2022-12-19"
= "2023-12-05"
= "https://github.com/zhuowei/MacDirtyCowDemo"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_macos_switcharoo_dec22.yar#L42-L54"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9b9ea134fc4b3a7b15ae585ced2e12cbe1defc54bc6175282d6b7a2a0b65abd1"
= 65
= 85
= "CVE-2022-46689, FILE"
strings:
$x1 = "auth sufficient pam_permit.so" ascii
condition:
filesize < 1KB and $x1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "auth sufficient pam_permit.so" | ascii |
Condition
filesize < 1KB and $x1In plain words (Heuristic)
- The file must be smaller than 1KB (a cheap guard that skips large files).
- Pattern $x1 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.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d5d9559a-c19c-5ddc-9d72-701986a9d7ac
Tags:CVE_2022_46689FILE
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-19
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-20
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-13
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22