2026-05-10
01:30vols has joined #asahi-re
01:50vols_ has joined #asahi-re
01:54vols has quit [Ping timeout: 480 seconds]
03:27vols_ has quit []
03:47rhysmdnz1111 has joined #asahi-re
03:48enick_227111 has joined #asahi-re
03:52enick_22711 has quit [Ping timeout: 480 seconds]
03:53rhysmdnz111 has quit [Ping timeout: 480 seconds]
05:08Graypup_ has quit [Quit: meow]
05:08Graypup_ has joined #asahi-re
05:16Graypup_ has quit [Quit: meow]
05:16Graypup_ has joined #asahi-re
05:35rhysmdnz1111 has quit [Ping timeout: 480 seconds]
05:51rhysmdnz1111 has joined #asahi-re
06:30StanfordAppliedCyber[m]most of the endpoints are incredibly minimal
06:31StanfordAppliedCyber[m]i'm sure you've seen the modern ios security paper-- i have somewhere around 10 endpoints that are literally just return SPTM_SUCCESS
06:31StanfordAppliedCyber[m]there are some endpoints that have real copyrightable code, notably, everything around {UN}MAP_PAGE
06:32StanfordAppliedCyber[m]like looking at this, as a non expert in RE, there really is NOT that much code
06:33StanfordAppliedCyber[m]i think the actual sptm emulation logic is sub 100 lines of C
06:34StanfordAppliedCyber[m]we have to populate a giant sptm args struct, but this is from the public xnu dump and thus explictly allowed by the RE policy
06:40sventhat doesn’t sound too bad, we might still want to just have documentation for those few complicated functions and have someone else reimplement them just to be safe
06:41StanfordAppliedCyber[m]yeah i agree
06:41StanfordAppliedCyber[m]yes i am, i have 4 endpoints wired up, i'm also tainted there
06:41StanfordAppliedCyber[m]iirc that was actually pretty simple
06:41StanfordAppliedCyber[m]i'm applying brute force to the problem
06:42StanfordAppliedCyber[m]absolutely not in userspace yet
06:42StanfordAppliedCyber[m]that's my first goal
06:42StanfordAppliedCyber[m]not even in bsd init
06:42svenand did you run into other undef instructions? because a lot of Apple ISAs are disabled and I don’t know which are used by xnu
06:42StanfordAppliedCyber[m]no actually, haven't hit that at all
06:43StanfordAppliedCyber[m]only GENTER which was mechanically patched out
06:43StanfordAppliedCyber[m]yeah i'm expecting problems
06:43StanfordAppliedCyber[m]for context i started working on this 3 days ago
06:44StanfordAppliedCyber[m]i'm surprised any of this shit works at all
06:44StanfordAppliedCyber[m]what are some of the instructions that you know of?
06:44StanfordAppliedCyber[m]like you don't mean registers, you mean arm instructions
06:44svenim not, there’s always fast progress at the beginning and then the second 80% take as much time as the first one :D
06:45StanfordAppliedCyber[m]my progress was actually really slow to start, because this whole thing is very sensitive, to put it mildly
06:46StanfordAppliedCyber[m]catching the first genter took forever
06:46StanfordAppliedCyber[m]ack, yeah i remember reading about those from one of marcan's old blog posts
06:46StanfordAppliedCyber[m]that's what we're already doing
06:46StanfordAppliedCyber[m]bunch of 0xaaaaaaa pac keys and ignore all the registers
06:47StanfordAppliedCyber[m]the odds are those instructions will have to be mechanically pached out also because otherwise the illegal instruction traps to el1
06:47StanfordAppliedCyber[m]and triggers some macos exception handler, which obviously won't work, but cross that bridge when we get there
06:48StanfordAppliedCyber[m]the annoying part will be is if they have arguments-- ie genter is trivial search code for exact hex, replace with other exact hex for hvc
06:48StanfordAppliedCyber[m]interesting, I'll look into that
06:48StanfordAppliedCyber[m]how does amx work
06:49StanfordAppliedCyber[m]like is it just extra instructions?
06:49StanfordAppliedCyber[m]apologies, i'm not super familiar with apple platforms
06:50StanfordAppliedCyber[m]ah just read about it, extra instructions yeah
06:55JamesCalligeros[m]It’s SME v0.0.00001 pre release early access alpha :p
07:00StanfordAppliedCyber[m]re: txm, right now basically everything there is stubbed to return txm_success
07:00StanfordAppliedCyber[m]maybe this will be a problem, maybe it won't
07:04Each[m] has joined #asahi-re
07:36chaos_princesswkdm stuff has a sw fallback, you can disable it that way
07:40svenit should be possible to disable most extensions in userspace as well simply because vmapple userspace is the same and can’t use any extensions either
07:41jtingiris has quit [Quit: ZNC 1.10.1 - https://znc.in]
07:41jtingiris has joined #asahi-re
07:57StanfordAppliedCyber[m]oh, right, forgot about the userspace being the same
07:59StanfordAppliedCyber[m]if/when the kernel mode custom instructions become a problem i'll likely need some help there-- like the answer is obviously emulate them via hypercall but figuring out what they do exactly would be difficult for me
08:30rivendell has quit [Remote host closed the connection]
08:30rivendell has joined #asahi-re
08:43hwpplayer1 has joined #asahi-re
10:30hwpplayer1 has quit []
11:01jvoisin has joined #asahi-re
11:51Guest9106 has joined #asahi-re
11:52Guest9106 is now known as hwpplayer1
13:20pb17 has quit [Ping timeout: 480 seconds]
13:24pb17 has joined #asahi-re
14:39pb17 has quit [Ping timeout: 480 seconds]
14:56pb17 has joined #asahi-re
15:04playboicarti[m] has joined #asahi-re
15:42nightmared has quit [Quit: WeeChat 4.6.3]
16:09weirdtreething has quit [Remote host closed the connection]
16:11weirdtreething has joined #asahi-re
16:20weirdtreething has quit [Remote host closed the connection]
16:21weirdtreething has joined #asahi-re
17:41hightower3 has joined #asahi-re
17:48hightower2 has quit [Ping timeout: 480 seconds]
18:19amarioguy has joined #asahi-re
20:09prike28386 has joined #asahi-re
21:08WindowPain has quit [Ping timeout: 480 seconds]
21:09WindowPain has joined #asahi-re
21:18hightower4 has joined #asahi-re
21:25hightower3 has quit [Ping timeout: 480 seconds]
22:58hwpplayer1 has quit []
23:01xal has quit []
23:02xal has joined #asahi-re
23:55amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]