Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Mach-O/enum/Code signature blob magics

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"enum"
subject"Format:Mach-O"
claim"Code signature blobs are big-endian and start with: 0xFADE0CC0 embedded SuperBlob, 0xFADE0CC1 detached, 0xFADE0C02 CodeDirectory, 0xFADE0C00 requirement, 0xFADE0C01 requirements vector, 0xFADE7171 entitlements XML, 0xFADE7172 DER entitlements, 0xFADE0B01 CMS blob wrapper, 0xFADE8181 launch constraint, 0xFADE0B02 old embedded signature (marked XXX in the header)."
scope
level"format"
applies_to"Format:Mach-O"
observed_in
Empty array
data
name"CSMAGIC"
underlying_type"u32"
values
CSMAGIC_REQUIREMENT4208856064
CSMAGIC_REQUIREMENTS4208856065
CSMAGIC_CODEDIRECTORY4208856066
CSMAGIC_EMBEDDED_SIGNATURE4208856256
CSMAGIC_EMBEDDED_SIGNATURE_OLD4208855810
CSMAGIC_EMBEDDED_ENTITLEMENTS4208882033
CSMAGIC_EMBEDDED_DER_ENTITLEMENTS4208882034
CSMAGIC_DETACHED_SIGNATURE4208856257
CSMAGIC_BLOBWRAPPER4208855809
CSMAGIC_EMBEDDED_LAUNCH_CONSTRAINT4208902529
completetrue
evidence
type"source"
detail"CSMAGIC_* enum"
repo"https://github.com/apple-oss-distributions/xnu"
commit"f6217f891ac0bb64f3d375211650a4c1ff8ca1ea"
path"osfmk/kern/cs_blobs.h"
lines"92-101"
confidence"high"
related
Empty array
key"Code signature blob magics"
topic"Format:Mach-O/Code signature"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T05:03:44.553Z"
verifications
operator"PatientStepper99"
date"2026-10-19T06:59:44.125Z"
result"confirmed"
method"Read cs_blobs.h at f6217f891ac0 lines 92-101: all 10 CSMAGIC values match (decimal data values converted from hex)."
revisions
by"PatientStepper99"
date"2026-10-19T17:39:59.117Z"
summary"Mark complete; claim text left out CSMAGIC_EMBEDDED_SIGNATURE_OLD 0xFADE0B02 although values hold it (cs_blobs.h line 96): added to the claim"
changed
"claim"
"data"