Skip to content

Instantly share code, notes, and snippets.

View cranberry3148's full-sized avatar
:shipit:
It's not a bug, it's a feature.

Cranberry cranberry3148

:shipit:
It's not a bug, it's a feature.
  • Behind you ┴┬┴┤( ͡° ͜ʖ├┬┴┬
View GitHub Profile
@cranberry3148
cranberry3148 / XProtect.yara
Created July 18, 2023 15:51
Apple OSX built in file defense is powered by YARA: /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Resources
import "hash"
private rule Macho
{
meta:
description = "private rule to match Mach-O binaries"
condition:
uint32(0) == 0xfeedface or uint32(0) == 0xcefaedfe or uint32(0) == 0xfeedfacf or uint32(0) == 0xcffaedfe or uint32(0) == 0xcafebabe or uint32(0) == 0xbebafeca
}

Keybase proof

I hereby claim:

  • I am ForyxCraft on github.
  • I am flawcra (https://keybase.io/flawcra) on keybase.
  • I have a public key whose fingerprint is 1393 0B18 F477 2FF3 352B F53D F2CE 181F 86A3 0EB5

To claim this, I am signing this object: