Sneed-Reactivity/yara-mikesxrs/AirBnB/hacktool_macos_macpmem.yara
Sam Sneed 08e8d462fe OMG ISTG PLS WORK
RED PILL 🔴 💊
2024-07-25 12:43:35 -05:00

22 lines
954 B
Text

include "../../MachO.yara"
rule hacktool_macos_macpmem
{
meta:
description = "MacPmem enables read/write access to physical memory on macOS. Can be used by CSIRT teams and attackers."
reference = "https://github.com/google/rekall/tree/master/tools/osx/MacPmem"
author = "@mimeframe"
strings:
// osxpmem
$a1 = "%s/MacPmem.kext" wide ascii
$a2 = "The Pmem physical memory imager." wide ascii
$a3 = "The OSXPmem memory imager." wide ascii
$a4 = "These AFF4 Volumes will be loaded and their metadata will be parsed before the program runs." wide ascii
$a5 = "Pmem driver version incompatible. Reported" wide ascii
$a6 = "Memory access driver left loaded since you specified the -l flag." wide ascii
// kext
$b1 = "Unloading MacPmem" wide ascii
$b2 = "MacPmem load tag is" wide ascii
condition:
MachO and 2 of ($a*) or all of ($b*)
}