Skip to content

Instantly share code, notes, and snippets.

@dustyfresh
Last active September 21, 2021 22:18
Show Gist options
  • Save dustyfresh/840eb7a2cf1ec4e979922ecb4f8bb8dc to your computer and use it in GitHub Desktop.
Save dustyfresh/840eb7a2cf1ec4e979922ecb4f8bb8dc to your computer and use it in GitHub Desktop.
yara rule for OSX finder RCE
rule osx_finder_rce_21 {
meta:
description = "https://ssd-disclosure.com/ssd-advisory-macos-finder-rce/"
strings:
$xml_1 = /\<\?xml/
$xml_2 = /\<plist/
$xml_3 = /\<key\>URL/
$sploit_str = /\<string\>(file|ssh|sftp|ftp|git|svn|news|afp|telnet)\:\/\// nocase
condition:
all of them
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment