From 434600e219836f1cd23554b51808891c32b35f61 Mon Sep 17 00:00:00 2001 From: Matus Faro Date: Sat, 16 Mar 2024 14:08:56 -0400 Subject: [PATCH] Offsets for 14.4 Final --- README.md | 2 +- nac/offsets.go | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e4eb5e..c158144 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ registration code and use it in Beeper Mini. The tool is currently quite hacky, so it only works on specific versions of macOS. * Intel: 10.14.6, 10.15.1 - 10.15.7, 11.5 - 11.7, 12.7.1, 13.3.1, 13.5 - 13.6.4, 14.0 - 14.3 -* Apple Silicon: 12.7.1, 13.3.1, 13.5 - 13.6.4, 14.0 - 14.3 +* Apple Silicon: 12.7.1, 13.3.1, 13.5 - 13.6.4, 14.0 - 14.4 On unsupported versions, it will tell you that it's unsupported and exit. A future version may work in less hacky ways to support more OS versions. diff --git a/nac/offsets.go b/nac/offsets.go index 1f70219..98b7339 100644 --- a/nac/offsets.go +++ b/nac/offsets.go @@ -200,6 +200,23 @@ var offsets_14_3 = imdOffsetTuple{ }, } +var offsets_14_4 = imdOffsetTuple{ + x86: imdOffsets{ + ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom", + ReferenceAddress: 0x0d6715, + NACInitAddress: 0x557cd0, + NACKeyEstablishmentAddress: 0x537d10, + NACSignAddress: 0x54b000, + }, + arm64: imdOffsets{ + ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom", + ReferenceAddress: 0x0c0b84, + NACInitAddress: 0x4c2468, + NACKeyEstablishmentAddress: 0x4afccc, + NACSignAddress: 0x489ed8, + }, +} + // offsets is a map from sha256 hash of identityservicesd to the function pointer offsets in that binary. var offsets = map[[32]byte]imdOffsetTuple{ // macOS 10.13.6 @@ -250,6 +267,8 @@ var offsets = map[[32]byte]imdOffsetTuple{ hexToByte32("034fc179e1cce559931a8e46866f54154cb1c5413902319473537527a2702b64"): offsets_14_2, // macOS 14.3 hexToByte32("d3c6986fefcbd2efea2a8a7c88104bf22d60d1f4f2bbf3615a1e3ce098aba765"): offsets_14_3, + // macOS 14.4 + hexToByte32("b82c5c6c9010a42cb64397e3760dd31144cbd471126111de9bb27fa3d2d2639a"): offsets_14_4, } type imdOffsetTuple struct {