#asahi-re · 2023-12-27 20:14
millenialhackeryup, the novelty here I think is finding MMIO mapped registers to co-processors. #asahi-re · 2023-12-27 19:34
nicolas17millenialhacker: wasn't m1racles basically "uncovering an undocumented register"?#asahi-re · 2023-12-27 19:31
millenialhackerbazad@ documented some CPU CoreSight registers also available a year ago. #asahi-re · 2023-12-27 19:31
millenialhackerI wonder if other co-processors may have kind of those registers too #asahi-re · 2023-12-27 19:30
millenialhackerIn 37C3, Kapersky researchers had a talk about a malware affecting iPhones that uses undocumented GPU CoreSight registers. Have we ever explored may be looking into those undocumented registers as part of RE exercise? \#asahi-re · 2023-12-18 04:33
marcan13.5 is the current target#asahi-re · 2023-12-16 22:55
millenialhacker_QQ: What OSx version are we using for fw RE? 12.X or 13.X? #asahi-re · 2023-12-10 14:51
sven(see e.g. all those retro game decompilation projects which create source code that compiles 1:1 to the original game for an extreme example of that)#asahi-re · 2023-12-10 14:50
sventhe issue with decompilation is that it's very easy to end up implementing apple's logic 1:1 instead of understanding the hardware. that's why it's better to be very careful and the reason for that policy#asahi-re · 2023-12-10 14:45
renmgyeah, I'll familiarize myself with m1n1 and minimize decompilation if I ever do end up needing it, and I'll clear it with whoever will have to end up accepting or rejecting my contributions, don't wanna put the project at risk or waste anyone's time here#asahi-re · 2023-12-10 14:44
j`eybefore you started decompiling stuff I would clarify it with mar(c)an#asahi-re · 2023-12-10 14:43
renmgah, i understand#asahi-re · 2023-12-10 14:42
j`eyso that they can also contribute code#asahi-re · 2023-12-10 14:42
j`eymost of the the people that RE stuff here, try to use m1n1 with its tracing capabilites, to avoid reading kexts#asahi-re · 2023-12-10 14:41
renmgspent a good chunk of time reading the code of conducts last night as well, seems that if i do end up reverse engineering a system component, i cannot do anything but write hardware docs for someone else to implement, correct?#asahi-re · 2023-12-10 14:40
renmgyeah i read the wiki and i saw that i likely won't be able to do anything on them, but that's fine, and it's why i intend to contribute #asahi-re · 2023-12-10 14:40
j`eynote that M3 is barely supported currently (and only M3 Max is a little supported)#asahi-re · 2023-12-10 14:36
j`eythe docs/wiki has good background info about m1n1 (the bootloader/RE tool)#asahi-re · 2023-12-10 14:35
j`eyrenmg: best place is github.com/asahilinux#asahi-re · 2023-12-10 14:30
renmghi, I'm an experienced (windows and linux) reverse engineer specialized in DRM-protected software getting into ARM in the next few days as my first ARM machine (M3 pro) is arriving, are there any mailing lists / groups to get up to speed as to what asahi currently needs? I would love to contribute.#asahi-re · 2023-12-07 21:04
roxfanthere might be something in m1n1 I suspect#asahi-re · 2023-12-07 19:32
lunyHey there, I'm looking at the HW:SEP docs and wanting to try and help reverse engineer, where can i find the sep tracer?#asahi-re · 2023-11-14 16:42
marcanvbindiffing DCP I see the usual address changes everywhere, and a small fragment of code added/changed (a few instructions), plus a couple instructions removed elsewhere.#asahi-re · 2023-11-14 16:39
marcanDCP firmware, not so much#asahi-re · 2023-11-14 16:39
marcanonly build IDs change#asahi-re · 2023-11-14 16:39
marcanthe kernel is obviously the same if you vbindiff it after extraction#asahi-re · 2023-11-14 16:39
nicolas17oh I nerdsniped someone else into diffing the kernel for me, idk if I can convince them to do the same for DCP :P I don't have the tools for that myself on this machine#asahi-re · 2023-11-14 16:37
marcanI see changes there#asahi-re · 2023-11-14 16:34
marcantry DCP firmware#asahi-re · 2023-11-14 16:26
nicolas17apparently the 14.1 and 14.1.1 kernels are identical so they must have changed something in user space, but diffing the dyld shared cache is probably no fun#asahi-re · 2023-11-12 02:18
Lestat9Become a ghost person, get in a situation where the mind gives the perceived death signal, watch a scary movie alone in the dark,when it does just ignore it or pay no attention to it. -Copyright: TXu 2-037-947- Rest the scientists- ghostpeople@gmx.com#asahi-re · 2023-11-12 02:14
Lestat9Become a ghost person, get in a situation where the mind gives the perceived death signal, watch a scary movie alone in the dark,when it does just ignore it or pay no attention to it. -Copyright: TXu 2-037-947- Rest the scientists- ghostpeople@gmx.com#asahi-re · 2023-11-12 02:10
Lestat9Become a ghost person, get in a situation where the mind gives the perceived death signal, watch a scary movie alone in the dark,when it does just ignore it or pay no attention to it. -Copyright: TXu 2-037-947- Rest the scientists- ghostpeople@gmx.com#asahi-re · 2023-11-12 02:07
Lestat9Become a ghost person, get in a situation where the mind gives the perceived death signal, watch a scary movie alone in the dark,when it does just ignore it or pay no attention to it. -Copyright: TXu 2-037-947- Rest the scientists- ghostpeople@gmx.com#asahi-re · 2023-11-10 07:59
svenamarioguy: sure, adding the opcodes to the wiki can’t hurt#asahi-re · 2023-11-10 03:55
marcantheir AMCC driver already has the ability to log ECC errors there#asahi-re · 2023-11-10 03:54
marcanit could be to log ECC error rates in general, for stuff like the internal caches or the internal LPDDR5 stuff, who knows#asahi-re · 2023-11-10 02:58
amarioguyi won't say this is going to lead to anything in production, could very well be internal messy stuff that happened to land in the drop, but it's worth at least noting#asahi-re · 2023-11-10 02:57
amarioguynicolas17: i mean they even added an ECC_TESTING macro in osfmk/kern/ecc.h, along with stub code in same dir, ecc_logging.c, so there's something going on there, not necessarily traditional ecc but apple's clearly putting stuff in there#asahi-re · 2023-11-10 02:56
amarioguybase one i'm comparing is macOS 14.0 xnu, diffing against the macOS 14.1 xnu drop that dropped/was pushed today#asahi-re · 2023-11-10 02:55
nicolas17like what are the macOS versions corresponding to those two XNUs?#asahi-re · 2023-11-10 02:54
nicolas17amarioguy: well any idea what macOS version added it?#asahi-re · 2023-11-10 02:54
amarioguything is iirc that embedded ecc with lpddr5 might be more for the realities of manufacturing lpddr5 vs what most people think of as ecc#asahi-re · 2023-11-10 02:53
amarioguymarcan: hmm fair point, i just felt it worth pointing out since those comments were added in the most recent xnu drop, so there's definitely *something* going on w/ecc#asahi-re · 2023-11-10 02:23
marcanit can't be#asahi-re · 2023-11-10 02:23
marcan"traditional" ECC isn't a thing in embedded like this#asahi-re · 2023-11-10 02:23
marcanand we know the internal caches have ECC (at least MCC does)#asahi-re · 2023-11-10 02:23
marcanamarioguy: I thought LPDDR5 had embedded ECC anyway#asahi-re · 2023-11-09 23:39
amarioguyi guess i should ask really, do we want sep bootrom opcodes on the wiki?#asahi-re · 2023-11-09 23:36
amarioguy(from a public dump btw, it's not exactly hard to figure out, but i figured i'd document most of the opcodes m1/m2 seprom supports at least