#
…

2022-10-16

00:27seb4nihel has quit [Ping timeout: 480 seconds]
02:51bluetail has quit [Quit: The Lounge - https://thelounge.chat]
04:22chadmed has joined #asahi-re
05:04chadmed has quit [Quit: Konversation terminated!]
05:05chadmed has joined #asahi-re
05:06chadmed has quit []
05:07chadmed has joined #asahi-re
05:08chadmed has quit []
05:08chadmed has joined #asahi-re
05:26chadmed has quit [Quit: Konversation terminated!]
05:27chadmed has joined #asahi-re
05:56SSJ_GZ has joined #asahi-re
06:07bluetail has joined #asahi-re
06:13chadmed has quit [Quit: Konversation terminated!]
06:14chadmed has joined #asahi-re
06:31chadmed has quit [Quit: Konversation terminated!]
07:00duban6 has quit []
07:04duban6 has joined #asahi-re
07:24chip_x has joined #asahi-re
07:30chipxxx has quit [Ping timeout: 480 seconds]
08:14gyronaut has joined #asahi-re
08:16gyronaut has quit []
08:22thepigguy has quit [Quit: thepigguy]
09:06seb4nihel has joined #asahi-re
09:06chadmed has joined #asahi-re
09:56chip_x has quit []
10:03chadmed has quit [Quit: Konversation terminated!]
10:05chadmed has joined #asahi-re
11:36chadmed has quit [Quit: Konversation terminated!]
11:58chadmed has joined #asahi-re
12:21chadmed has quit [Quit: Konversation terminated!]
12:22chadmed has joined #asahi-re
12:32chadmed has quit [Quit: Konversation terminated!]
12:34chadmed has joined #asahi-re
12:35Core2080 has joined #asahi-re
12:37adryzz has quit [Ping timeout: 480 seconds]
12:43Core9066 has joined #asahi-re
12:44chadmed has quit [Quit: Konversation terminated!]
12:45chadmed has joined #asahi-re
12:50chadmed has quit []
12:51chadmed has joined #asahi-re
12:52chadmed has quit []
12:53chadmed has joined #asahi-re
12:55chadmed has quit []
12:57chadmed has joined #asahi-re
13:00chadmed has quit []
13:20amarioguy has quit [Quit: Leaving]
13:35amarioguy has joined #asahi-re
13:37adryzz has joined #asahi-re
13:37Core2080 has quit [Read error: Connection reset by peer]
13:52q3k has joined #asahi-re
13:59amarioguysven: maybe want to drop that gigalocker stuff?
13:59svenoh, sure
14:05svenhm... can't find the code anymore
14:06sven0x00 - 0x01: always zero
14:06sven0x12 - 0x16: length
14:06sven0x01 - 0x12: UUID
14:06sven0x16 - 0x1a: CRC
14:06sven0x1a - 0x22: unknown
14:06sven0x22 - end: data
14:06sven^-- that should be a single entry in the file
14:06svenmax payload size is 0x9000
14:07svener. no
14:07svenmax payload size is 0x8000 and each header+payload is padded to 0x9000
14:07svenand the last 0x6000 bytes of the file are padding
14:07sventhe file always contains 170 entries
14:08svenand it's essentially a key-value store that SEP updates
14:08svenamarioguy: ^--
14:08svenand the crc is CRC-32/ISO-HDLC
14:10amarioguy has quit [Ping timeout: 480 seconds]
14:11svenah, lol, now I remember. I tried to start learning rust with that gigalocker thing :D https://f.svpe.de/b5f8e413e3ae6d2c5ea3d1b5635e6bd329a53ca1bc5c8d208248f396463726e1_gigalocker.rs.txt
14:15amarioguy has joined #asahi-re
14:19amarioguysven: thanks! for UUID is that the UUID of the request being sent over the ASC mailbox?
14:19svenyeah. the UUID is just the key
14:19amarioguyor is that just a random UUID generated per req
14:19svengigalocker is literally a rather simple key-value store for SEP
14:20svenand SEP will send requests like get(UUID), set(UUID, payload), delete(UUID)
14:20amarioguyah that makes sense
14:21svenit's more or less explained in that apple security whitepaper iirc
14:22amarioguyyea i should give that a look over again
14:23amarioguybtw i've had the idea of MMIO tracing using that dev kernelcache that apple accidentally sent out in the 12.3.1 IPSW
14:23svennot sure how that would help really
14:24amarioguyat minimum the sep key store driver might be more verbose?
14:24svenit's already pretty verbose
14:25amarioguyoh i see - probably just gonna stick to release
14:25amarioguystill i can run strings on both dev/release applesepkeystore to see if there's a major difference?
14:27amarioguythough idk if strings runs afoul of the "binary RE" clean-room rq
14:27amarioguyrequirement*
14:27amarioguyso idk if you want to run it yourself or smth
14:28amarioguybut probably will stick to release tracing ngl if it's not that different it's probably just better
14:28sveni'd certainly start there
14:29svenat first you'll have to figure out the xart endpoint anyway
14:29sventhat's the one that uses the gigalocker file and if you don't reply to its requests the key store won't even appear
14:29svenand it should be relatively simple
14:30amarioguyah gotcha, "xarm" isn't the endpoint for that?
14:31amarioguy(that was an endpoint name that popped up in the tracer)
14:32sveni through it was xart, but dunno
14:32svenit's been a while
14:33amarioguyalright i'll verify that when i can
14:33amarioguyjust to clarify, does running strings count as "binary RE" in the context of this project
14:34amarioguyi realize it may sound dumb but erring on the side of caution really
14:34amarioguydon't want to taint myself or anything
15:01amarioguy(though to be fair i can always just contribute to docs and have someone else write the driver for safety anyways)
15:06amarioguy(though that is a bit lame :P, still w/e would be best for the project)
15:08svenmost of sep will be a userspace daemon fwiw
15:09sventhe kernel driver is probably just going to expose a few ioctls to talk to the various endpoints
15:14amarioguyah that makes sense
15:37amarioguy has quit [Ping timeout: 480 seconds]
15:39seb4nihel has quit [Ping timeout: 480 seconds]
15:43amarioguy has joined #asahi-re
16:40amateurece has joined #asahi-re
16:43amarioguy has quit [Ping timeout: 480 seconds]
17:09amateurece has left #asahi-re [#asahi-re]
17:51amarioguy has joined #asahi-re
18:12amarioguy has quit [Ping timeout: 480 seconds]
18:26amarioguy has joined #asahi-re
19:04amarioguy has quit [Ping timeout: 480 seconds]
19:13seb4nihel has joined #asahi-re
20:00amarioguy has joined #asahi-re
20:08compassion has quit [Read error: No route to host]
20:13compassion has joined #asahi-re
20:23compassion has quit [Read error: No route to host]
20:24compassion has joined #asahi-re
20:29compassion9 has joined #asahi-re
20:34compassion has quit [Ping timeout: 480 seconds]
20:34compassion9 is now known as compassion
20:38spok has joined #asahi-re
20:39spok has left #asahi-re [#asahi-re]
20:44compassion3 has joined #asahi-re
20:44compassion has quit [Ping timeout: 480 seconds]
20:44compassion3 is now known as compassion
20:57opticron has quit [Ping timeout: 480 seconds]
21:08chipxxx has joined #asahi-re
21:26amarioguy has quit [Ping timeout: 480 seconds]
21:33SSJ_GZ has quit [Ping timeout: 480 seconds]
21:46seb4nihel has quit [Quit: Leaving]
21:50amarioguy has joined #asahi-re
21:52opticron has joined #asahi-re
21:56jakebot6022 has quit [Quit: The Lounge - https://thelounge.chat]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi-re
22:01jakebot6022 has joined #asahi-re
22:10Dcow has joined #asahi-re
22:19Dcow has quit [Remote host closed the connection]
22:46pthariensflame has joined #asahi-re
22:48pthariensflame has quit []
22:51pthariensflame has joined #asahi-re
22:52pthariensflame has quit []
…