#
✕ nick:davidrysk[m]
#asahi · 2021-01-10 01:58
davidrysk[m]I started digging through that scaffolding but it's quite a lot of layers
#asahi · 2021-01-10 01:58
davidrysk[m]the problem isn't that the sshd user is missing, btw — the problem is that whatever directory service feature that allows _sshd and sshd to map to the same user is nonfunctional in recovery
#asahi · 2021-01-09 18:28
davidrysk[m]:)
#asahi · 2021-01-09 18:28
davidrysk[m]you didn't know about master.passwd, I didn't know about UsePAM=no
#asahi · 2021-01-09 18:14
davidrysk[m]I end up stayingup way too late
#asahi · 2021-01-09 18:14
davidrysk[m]this project is not good for my sleep patterns
#asahi · 2021-01-09 18:14
davidrysk[m]yes, you should :)
#asahi · 2021-01-09 18:13
davidrysk[m]just note that anything you do will get reverted on reboot
#asahi · 2021-01-09 18:13
davidrysk[m]use ssh-keygen from a macOS volume, it works
#asahi · 2021-01-09 18:12
davidrysk[m]master.passwd is covered in the passwd(5) manpage
#asahi · 2021-01-09 18:12
davidrysk[m]but I missed the UsePam=no
#asahi · 2021-01-09 18:12
davidrysk[m]oh I got the master.passwd (and commented on it here) early on
#asahi · 2021-01-09 18:12
davidrysk[m]marcan: ah damn, I totally missed that flag
#asahi · 2021-01-09 18:01
davidrysk[m]eta: it's been patched since the newer chip models though right?
#asahi · 2021-01-09 17:59
davidrysk[m]they added anti-downgrade a few times
#asahi · 2021-01-09 17:54
davidrysk[m]think activation lock
#asahi · 2021-01-09 17:54
davidrysk[m]oh, this is for installing a new iBoot, rather than using the existing one to boot a third party kernel?
#asahi · 2021-01-09 17:54
davidrysk[m]but that's specific to kmutil configure-boot which is not yet implemented
#asahi · 2021-01-09 17:53
davidrysk[m]it shouldn't need to talk to the mothership after you set the boot policy to permissive
#asahi · 2021-01-09 17:30
davidrysk[m]dff: that's ... some ways down the road :)
#asahi · 2021-01-09 17:30
davidrysk[m]Shiz: I think that's a good idea, referencing e.g. theiphonewiki and security research that has looked at the iOS bootchain when needed
#asahi · 2021-01-09 17:28
davidrysk[m]does bless --verbose provide any interesting output?
#asahi · 2021-01-09 17:25
davidrysk[m]or one of the other pages
#asahi · 2021-01-09 17:25
davidrysk[m]Shiz: see https://www.theiphonewiki.com/wiki/AzulC_18C66_(iPhone10,6)
#asahi · 2021-01-09 17:23
davidrysk[m]and the only way to get the encryption keys is by exploiting iBoot
#asahi · 2021-01-09 17:23
davidrysk[m]Shiz: all the iBoot components on iOS are encrypted
#asahi · 2021-01-09 17:20
davidrysk[m]what invocation of bless?
#asahi · 2021-01-09 17:20
davidrysk[m]ha!
#asahi · 2021-01-09 17:20
davidrysk[m]OR IS IT
#asahi · 2021-01-09 17:19
davidrysk[m]marcan: it's probably trying to use the `bless` command
#asahi · 2021-01-09 16:53
davidrysk[m]I mean if you're searching for code within a specific repo
#asahi · 2021-01-09 16:53
davidrysk[m]for one, you cannot search the code of forks using the search box on the github website
#asahi · 2021-01-09 16:52
davidrysk[m]marcan: (you might know this already but) it's probably best to set it up as a new repo and not a fork on GitHub because forks lack some critical features
#asahi · 2021-01-09 16:37
davidrysk[m]so I very often have to resort to using diskpart
#asahi · 2021-01-09 16:37
davidrysk[m]it's also lacking knobs
#asahi · 2021-01-09 16:36
davidrysk[m]UI wise it's fine, but I find it to be unstable and hang a lot
#asahi · 2021-01-09 16:26
davidrysk[m]the Disk Utility UI is terrible, and the CLI is clunky
#asahi · 2021-01-09 16:10
davidrysk[m]hm yeah, then it is diskutil being silly
#asahi · 2021-01-09 15:45
davidrysk[m]the APFS volumes only get synthesized when the container is mounted
#asahi · 2021-01-09 15:44
davidrysk[m]The same is true with the Apple_APFS_Recovery partition, disk0s3
#asahi · 2021-01-09 15:43
davidrysk[m](with a bit of finagling -- I used `hdiutil attach -verbose -imagekey diskimage-class=CRawDiskImage -nomount -readonly imagename.img`
#asahi · 2021-01-09 15:43
davidrysk[m]However, I can use dd to create an image of it and then use hdiutil to mount that
#asahi · 2021-01-09 15:42
davidrysk[m]ok right, diskutil only shows me the Apple_APFS_ISC partition (disk0s1), because the APFS container is unmounted, and the OS will not allow mounting it.
#asahi · 2021-01-09 15:14
davidrysk[m]That would be one way to get around the firmware distribution problem
#asahi · 2021-01-09 15:14
davidrysk[m]Or do we read it off recovery and load it from there?
#asahi · 2021-01-09 15:14
davidrysk[m]then what loads the firmware for us?
#asahi · 2021-01-09 15:13
davidrysk[m]I’ll paste my diskutil output in a bit
#asahi · 2021-01-09 14:24
davidrysk[m]The main recovery partition does have a hidden second volume called Update
#asahi · 2021-01-09 13:35
davidrysk[m]With all security still on
#asahi · 2021-01-09 13:35
davidrysk[m]diskutil in OS does show me the iSC stuff

plus ›