#futurerestore-help

1 messages · Page 111 of 1

lilac wren
#

Why after 90 days

#

Why not after 30 lol

zealous bridge
#

because thats the maximum delayperiod

royal flint
#

unfortunately i was mistaken

lilac wren
#

And what about in expiry date / unsigned? Does it change then as well?

royal flint
#

if big sur pallas is any indication, the urls from like a year ago are still alive

zealous bridge
#

tf apple

#

why do you make it this easy lmao

lilac wren
#

Apple doesn't delete firmwares right? Again, what would change and why... How do you know this other than stating the claim

royal flint
#

i got confused with stuff from catalogs, which does get deleted

lilac wren
#

I feel like you should just communicate lol, it's a lot harder if you just say something with no reasoning

#

We're not even taking about signing anymore

royal flint
#

anyways can someone please clarify what the xml is used by the device for?

zealous bridge
#

i dont think them changing the urls would make much difference

#

do we know for sure this happens with ios tho

royal flint
#

lets find a random ios 11 ota

#

and see

lilac wren
#

The XML is downloaded from Apple to show what iOS versions are available for OTA (this is what I think). Unsupervised, we can only see 14.4.2 I think, gotta use computer tomorrow filza search is awful

zealous bridge
#

bc i get a 403 from this 2019 one

royal flint
#

that's a folder

zealous bridge
#

oh right

zealous bridge
royal flint
zealous bridge
#

hm

lilac wren
#

So how does the phone know to use 14.3 if it's not in the XML? I think it's separate xml for supervised bc I think 14.3 isn't there

royal flint
lilac wren
#

But we can't test until mesu stops acting up

lilac wren
royal flint
#

since when

zealous bridge
#

then mdm field is in the request

lilac wren
#

You sure delayperiod is necessary

lilac wren
zealous bridge
#

there might be a specific field for MDM pushes

lilac wren
#

Filed?

#

Pallas field?

zealous bridge
#

yes

lilac wren
#

So you say delayperiod was necessary

#

Isn't completely true then?

#

And maybe 14.3 will work, supervised no delay period

zealous bridge
#

how you gonna get the mdm field

lilac wren
#

And that is what I'll test tomorrow

royal flint
#

ok hold on this is interesting

lilac wren
#

No MDM field I'll try fixing up the XML first

zealous bridge
#

surely that’s signed with the mdm’s key or something

lilac wren
#

Because like i said, it literally changed what the OTA showed on the Apple TV from 13.4.6 to 13.4.5... It's not all Pallas, the XML does do something

#

Mesu is the "server side" but we are being the server

zealous bridge
#

pallas isn’t as strict on tvos

#

the xml thing clearly shows that

lilac wren
#

Presenting an update, then the device requests that update (14.3) even though 14.4 is supposed to be shown, and we see what happens

radiant mountain
# zealous bridge bc i get a 403 from this 2019 one
<key>__BaseURL</key>
<string>http://updates-http.cdn-apple.com/2019/ios/091-24535-20190722-93574A92-9931-11E9-B99A-60D0A77C2E40/</string>
<key>__CanUseLocalCacheServer</key>
<true/>
<key>__QueuingServiceURL</key>
<string>https://ns.itunes.apple.com/nowserving</string>
<key>__RelativePath</key>
<string>com_apple_MobileAsset_SoftwareUpdate/902d4bef678d5819577812ba216d3750299f63c3.zip</string>

yeah you need to concat BaseURL and RelativePath

royal flint
#

ok what the fuck

#

if you omit delayperiod but keep the other 2 keys

zealous bridge
royal flint
#

you get 14.4.1

zealous bridge
#

?

royal flint
#

from pallas request

zealous bridge
#

tf

lilac wren
royal flint
#

if you do this with ios 12

#

you get 12.5.1

zealous bridge
#

what why

lilac wren
#

And if you turn off enforcedSoftwareUpdateDelay

royal flint
royal flint
radiant mountain
lilac wren
#

Only gdmf and mesu sometimes, also xp

royal flint
#

what from gdmf

royal flint
#

i mean url

zealous bridge
#

so if we have delayperiod=0 it has no ota, and if there is no delayperiod we get 14.4.1 makes sense

royal flint
lilac wren
#

Idk I can check until tomorrow

royal flint
zealous bridge
#

yeah so no ota

#

in the end

royal flint
#

o

#

yea i misinterpreted

royal flint
lilac wren
#

Yes I'm making a writeup for that soon, Apple has a flaw where minimum and maximum for profiles is 0-90 instead of 1-90

lilac wren
royal flint
#

ok good

lilac wren
#

Or was it in the group chat with folky

zealous bridge
#

gc

lilac wren
#

There was a specific endpoint

#

I remember because I sniffed a Pallas earlier today

#

With 50 day delay

royal flint
zealous bridge
#

it has to be

#

uh maybe in like half an hour or so its like 6am

royal flint
#

oof

zealous bridge
#

@lilac wren what were u using to sniff

lilac wren
#

Proxyman or Charles

royal flint
#

wut

#

how did you bypass pinning

zealous bridge
#

^

royal flint
#

mobileassetd refused to cooperate if i didn't exclude gdmf

lilac wren
#

Nyu showed me a tweak

royal flint
#

ios ssl killer or something?

lilac wren
#

From Julio Verne repo

#

Yeah that

zealous bridge
royal flint
#

that one doesnt work

#

need one from jv

zealous bridge
#

dont see any others..

royal flint
#

google repo

zealous bridge
royal flint
#

the tweak itself is called SSL Killer v2 or something

#

yes

zealous bridge
#

ok got it

lilac wren
#

Found it

#

Proxyman has an iOS app very handy

royal flint
#

not working for me, what did you do after installing

#

oh

#

did i forget to turn it on

#

oops

lilac wren
#

You have to turn it on

#

?

royal flint
#

yea although it was already on

lilac wren
#

Oh for me it came on

royal flint
#

still getting errors

lilac wren
#

I gtg to bed but see you tomorrow!! Hopefully we can get something working

royal flint
#

aight same

#

ping me tomorrow

zealous bridge
#

cya! i’ll work on this too

lilac wren
#

Will do

royal flint
#

research gang

zealous bridge
#

what do you install on device then

#

got charles

royal flint
#

add proxy

zealous bridge
#

tf are the proxy settings on ios

royal flint
#

uh idk

#

i just use a profile lmao

royal flint
#

wifi network settings

#

yea that should be it

zealous bridge
#

dont see shit tbh

royal flint
#

scroll down?

#

idk

zealous bridge
#

just ip and dns

royal flint
#

on Android rn

radiant mountain
#

Wifi press I button then on bottom theres is proxy settings

#

Wont appear if you have a profile that manage proxy for u

zealous bridge
#

i literally dont see it

#

oh

#

fucking mybloxx

radiant mountain
#

yup

royal flint
#

lmao

zealous bridge
#

I see it

royal flint
#

aight now put in charles

#

and then open safari and go to a website and check charles

zealous bridge
#

whats the port

royal flint
#

Scroll down to the HTTP Proxy setting, tap Manual. Enter the IP address of your computer running Charles in the Server field, and the port Charles is running on in the Port field (usually 8888). Leave Authentication set to Off.

#

8888 ig

#

I'll try charles tomorrow

#

mitmproxy is getting a little annoying

#

keeps dying when I download big files

zealous bridge
#

ahh to much adsense

royal flint
#

lol

zealous bridge
#

i just loaded up google tf

#

k time to test

royal flint
#

autocomplete suggestions go brrrr

radiant mountain
#

That's so weird... Supervised device -> check for update with the beta profile, can sniff the request -> add the 90_days profile -> check for update -> no request and 14.4.2 is you latest version allowed blablabla

radiant mountain
#

What is cached ?

royal flint
#

xml

#

that's software update docs ur looking at btw

zealous bridge
#

it is sending a request to gdfm

royal flint
#

but it's either caching or it's just not used when delay

zealous bridge
#

straight away

royal flint
zealous bridge
#

i know i never said it didnt

royal flint
radiant mountain
zealous bridge
#

yup

royal flint
zealous bridge
#

only checked xp and gdmf

#

wheres mesu

royal flint
# zealous bridge yup

thing is tho even if it does caches if froggy is right and it is different, it has to redownload

zealous bridge
#

which will overwrite

royal flint
#

yea but we'd see it in charles

#

has anyone tried supervised + delay from the start, from a clean wipe

#

because then there's no way it's cached

#

if no one has I can

fickle kettle
zealous bridge
#

hello guy who gave me free jamf

#

how are you doing

royal flint
#

literally only thing I have to set up after wipe on 6+ is alarm anyway

zealous bridge
#

@royal flint that would be awesome if you did

#

dont feel anyone is in the mood to wipe today lol

royal flint
#

lol yea I'll do it in the morning

fickle kettle
#

@royal flint not work with charles’s no cache option?

royal flint
fickle kettle
#

@zealous bridge hello jamf is sucks

zealous bridge
#

@royal flint do i setup ssl proxying too? how do i do that

royal flint
radiant mountain
fickle kettle
#

@royal flint i think u have jb u can find i filza or icleaner

zealous bridge
zealous bridge
#

showing this for me

fickle kettle
#

or reboot and hit check update

royal flint
radiant mountain
#

Or maybe the big ass xml is cached somewhere, and delay just see that there's nothing new

fickle kettle
#

@zealous bridge u cant maybe apple use ssl pinning

royal flint
royal flint
fickle kettle
#

i mean normally

radiant mountain
fickle kettle
#

im on 14.5 b7 a14 T.T

radiant mountain
#

Make no sense

fickle kettle
#

hmm

#

modify new update check request params

#

after update chached xml?

radiant mountain
royal flint
#

@zealous bridge looking more and more like it just doesn't download xml when delaying

#

also we can test the signed after expire or not theory tomorrow

radiant mountain
#

Could it be that the profile add a request on boot to get the xml in cache ? no further request are made after that ?

royal flint
radiant mountain
zealous bridge
#

mine didnt check mesu at all

#

this was 14.4.2

radiant mountain
zealous bridge
#

no

radiant mountain
#

rip

royal flint
#

what the fuck

zealous bridge
#

mine didnt check without delay either

#

am i doing something wrong lol

radiant mountain
#

Mine does without the profile, every-single-time

zealous bridge
#

i dont think i am tbh

#

gdmf is normal

#

xp is normal

#

is it cached

royal flint
#

you can see the gdmf request?

zealous bridge
#

ye

royal flint
#

if so then cert pinning shouldn't be an issue

#

so idk

#

@radiant mountain what ios u on

radiant mountain
#

14.4.2 sadly

royal flint
#

so both of u are on same ios

#

bro

#

can we just infiltrate apple

#

thanks

zealous bridge
#

is that normal @royal flint

royal flint
zealous bridge
#

SSL Proxying not enabled

#

tf

valid adder
#

noob lol

zealous bridge
#

theres no settings for it either

royal flint
#

o wise one, bless us with your knowledge

zealous bridge
#

why is charles ass

valid adder
#

I believe gdmf is pinned by the kernel

zealous bridge
#

i have a tweak

valid adder
#

no

#

kernel pinned

zealous bridge
#

how did it work for froggy

radiant mountain
#

VR Casque ? 👀

#

Apple Glass ? 👀

zealous bridge
#

literally nothing else has that message

#

i believe it is cert pinning rip

royal flint
zealous bridge
#

where tf is discord

#

oh

#

wait what

#

Lemme reinstall the tweak

royal flint
#

make sure it's enabled

#

and maybe you need to restart or smth

#

idk

zealous bridge
#

resprung

#

disable certification validation is on

royal flint
#

only need to respring, nvm them

#

oh

#

it says kill and restart the app you want to test

zealous bridge
#

oh

#

so reboot and rejb?

royal flint
#

that should sork

#

*work

zealous bridge
#

ok

radiant mountain
# royal flint wait it does?

ooops I was wrong, it was requesting every-single-time the 14.5 beta .zip, not the xml, which mean the xml is cached

royal flint
#

smh

radiant mountain
royal flint
#

guess im erasing then

zealous bridge
#

rip

royal flint
#

i mean it's fast

zealous bridge
#

yay i can see requests

royal flint
#

it works?

#

yay

#

maybe that's why it didn't work for me

#

i didn't restart

royal flint
zealous bridge
royal flint
#

yee, you can see the text?

#

should be a bunch of base64

zealous bridge
#

json format

royal flint
#

sorry base64 is response

#

that's good

radiant mountain
# royal flint guess im erasing then

All the mesu request I send above were done at starting, how would you know if a mobileupdate.xml is not done on starting if you dont have settled your proxy first ?

zealous bridge
#

MESUUUU

royal flint
#

oh?

zealous bridge
#

oh its gone

zealous bridge
#

i just saw it tf

royal flint
#

u can activate offline remember

radiant mountain
#

y did my message diseaper ? 😦

royal flint
#

idk

radiant mountain
#

Was a very dumb idea i know but still...

zealous bridge
#

damn i can spy on everyone now 😎

royal flint
zinc moon
zealous bridge
#

if i do get mesu to show up again

#

what should i look for

royal flint
#

just save the request

#

and response

#

if it's a get save the url

#

if it's a post save url and data

radiant mountain
royal flint
#

well froggy is saying it's cached

royal flint
zealous bridge
#

internet

#

ok

#

i see mesu

#

but

#

i dont think its what im looking for

radiant mountain
#

I remember seeing mesu request every single time when i didnt had the delay profile... could be wrong

royal flint
#

Show

zealous bridge
#

im going on it now

#

lol

#

lol

royal flint
#

scam

zealous bridge
#

but yeah

#

gdmf is the first thing it checks

#

consistently

royal flint
#

tf it doin with mesu then

zealous bridge
#

it checked the delayperiod

#

even before it checked mesu

royal flint
#

if you intercept gdmf

#

and just don't let it respond

#

does it say unable to check

zealous bridge
#

wdym

#

oh

#

i blocked it

royal flint
zealous bridge
#

and yes

#

it does say

#

unable to check

royal flint
#

ok then that should prevent any mesu request from occuring once I erase

#

because it'll error out on cert pin

#

so uh I guess all we can do is try to get a mesu request again?

zealous bridge
#

yeah ig

radiant mountain
#

DhinakG did you wipe already ?

zealous bridge
#

i'll try different delay profiles

royal flint
#

i was trying to work in the other direction, reverse engineer whatever sends the request but I can't find what sends it

royal flint
#

gonna sleep soon

#

y

radiant mountain
#

If the xml is cached, shouldnt delete the beta profile erase it too ?

royal flint
#

not guaranteed

#

also what beta profile

radiant mountain
#

Just tried, didnt worked, isnt weird ?

royal flint
#

How would that affect it

#

The normal response includes beta versions

zealous bridge
radiant mountain
#

so removing the profile should erase the cached xml

zealous bridge
#

yet i dont see it

radiant mountain
#

lol

#

check the iOS version

royal flint
#

in that case idk

#

too big for me to search on device

radiant mountain
#

only beta in the regular asstes are 8.4.4, 9.9.14.4.2 (14.4.2 ota) and 9.9.12.5.2

#

there's no 14.5

royal flint
#

hm

radiant mountain
#

Thats what the profile is used for, request on assets/iOS14PublicSeed instead of assets

#

Earlier ive managed to show the 14.5 beta 7 update in "check for update" view without downloading the beta profile on fresh install

royal flint
#

well

#

im gonna go to sleep

radiant mountain
#

Didnt try to install it tho

#

Well me too, was fun, hopefully we can get something out of all this, 8am and still no sleep

royal flint
#

@zealous bridge ping me with update imma sleep

#

gn

radiant mountain
#

gn

zealous bridge
fickle kettle
#

shipping tomorrow 3 new ip12 mini hope 14.3 applied

zealous bridge
#

ooh

#

check the serial

fickle kettle
#

@keen mica mdm can upgrade 14.3 support a14?

#

oops missed ping

#

sorrt

#

y

#

@zealous bridge

zealous bridge
#

no-one’s tried it

fickle kettle
#

oh

zealous bridge
#

but i imagine its the same as supervised

fickle kettle
#

hmm

#

use reincubate lookup check the serial

zealous bridge
#

yeah

fickle kettle
#

thx

#

when i got jb deeping together

zealous bridge
#

alright

fickle kettle
#

👍

royal flint
#

@zealous bridge o yea now that you have charles working see if mdm makes any difference in pallas request

zealous bridge
#

Oh yeah true

celest basalt
#

@zealous bridge i saw on the cfw website that you might be able to change the systemversion.plist to perhaps get mybloxxx to work

#

and downgrade from a version to 14.3, has anyone confirmed this?

valid adder
#

please dont modify that file

zinc moon
#

Why not

celest basalt
#

the SEP just refuses to generate the BCert that's required to authenticate the delayed OTA for some reason

#

the logs say "baa request" btw, whatever that is

warm prism
celest basalt
#
6cfc7000 : Enabling managed request
6cfc7000 : AMAuthInstallHttpRequestBaaCertificate: Error creating baa request : Error Domain=com.apple.MobileActivation.ErrorDomain Code=-1 "Failed to create reference key." UserInfo={NSLocalizedDescription=Failed to create reference key., NSUnderlyingError=0x1037187a0 {Error Domain=com.apple.MobileActivation.ErrorDomain Code=-1 "Failed to create ref key." UserInfo={NSLocalizedDescription=Failed to create ref key., NSUnderlyingError=0x103713ce0 {Error Domain=NSOSStatusErrorDomain Code=-25300 "Key generation failed, error -25300" UserInfo={numberOfErrorsDeep=0, NSDescription=Key generation failed, error -25300}}}}}
6cfc7000 : AMAuthInstallHttpRequestBaaCertificate: refKey is NULL
6cfc7000 : Failed to enable managed request. Continuing personalization without managed request
#

interesting how it somehow seems tied to the activation servers too

zealous bridge
celest basalt
#

yeah

zealous bridge
celest basalt
#

oh hmm

zealous bridge
celest basalt
#

yeah I remember seeing that in the cert

zealous bridge
#

So, for instance, for “personalized” signatures, the certificate constraints will contain “ECID must exist,” and for “global” signatures, it will contain “ECID must not exist.” These constraints ensure that all Image4 files signed by a given key must conform to certain requirements to avoid erroneous signed Image4 manifest generation.

celest basalt
#

the -25300 error suggests the key was not found in the keychain, maybe it's supposed to be returned to the device by the server but it isn't?

zealous bridge
#

it’s stored in a database in the server yes

celest basalt
#

-25300 is errSecItemNotFound, which is a pretty standard keychain error.

zealous bridge
#

Might be failure to verify the request

#

which could also cause the key to just not go through

#

The key is meant to be sent directly to SEP, ig maybe on higher seps it doesn’t recognise an older key

#

but a lower can recognise a higher

#

The Image4 verification library looks up the special certificate constraint OID from a certificate during signature evaluation and then mechanically evaluates the constraints specified in it

It’s definitely server sided, but is it because those certificate constraints just don’t get signed? It would make sense in this case, it says it “evaluates the conditions” of the device, and OTA’s are really not supposed to be used for downgrading, so this is definitely some kind of safety mechanism

#

honestly i think there is literally nothing we can do

celest basalt
#

I wonder if something else can be changed to trick it, or if it just asks the SEP for its firmware version?

#

the cert itself has a SepNonce but haven't specifically seen a version, except for target iOS version

zealous bridge
#

you’re right, but i initially thought that SEP encrypted some sort of message with the UID key to prevent that sort of tampering

#

but i haven’t seen anything to support that theory

#

@celest basalt do you think removing icloud would help since it looks like it might be the activation server

celest basalt
#

I tried removing Find My iPhone, not iCloud completely

#

also tried with and without passcode

zealous bridge
#

Other Remote Policy constraints may be specified by the device to prevent Security downgrade of the Local Policy without providing both the local authentication required to access the current OIK and remote authentication of the account to which the device is Activation Locked.
Oh wow they specifically said they have measures in place to prevent downgrades of the OIK (private key generated by SEP and then sent to BAA)

#

but that does beg the question

#

how does ipsw downgrading work then?

green onyx
#

actually

#

i dont think u can downgrade sep and bb

#

so it just flashes the latest ones

zealous bridge
#

manually specifying exists

#

and it does work

green onyx
#

huh

#

oh ye

#

forgot about that

#

so it reflashes sep and bb?

zealous bridge
green onyx
#

except for cryptic

#

cryptic literally studied the entire restore process

valid adder
zealous bridge
#

true

#

cryptic pls halp need downgrade to ios 10

valid adder
#

ez

#

@zealous bridge my offsetfinder supports iOS 9 - 14 but it will freeze on PCI on that low a version

zealous bridge
#

have you ever used it successfully then

valid adder
#

nah

#

only messing around booting restoremode

zealous bridge
#

oh

lilac wren
#

If you don't enable ssl proxying on gdmf mesu won't come up

#

Idk why that's the case but before mesu disappeared, that was true

#

Also the Apple TV reddit post mentions that as well

#

Which probably means there's a connection between mesu and pallas

zealous bridge
lilac wren
#

Or it's cached

zealous bridge
#

fakin mesu

lilac wren
#

In the request to gdmf

"ClientData": {
11
    "AllowXmlFallback": "false",
12
    "DeviceAccessClient": "softwareupdateservicesd"
13
  },
#

AllowXmlFallback might be something?

#

If mesu ever comes up again, check the gdmf request to see if this is true

royal flint
#

ayo gang

#

good morning

lilac wren
#

Wait this is super weird
"Supervised": "true",
"DelayRequested": "false",
I'm using 0 day profile, no updates are appearing...

#

Good morning Dhinak!

low summit
#

Morning

royal flint
#

so
My working theory is that the xml just isn't requested when delayed

#

So I'm gonna wipe, then supervise, then install profile

#

Before checking for updates

#

That way it can't hit mesu without me knowing

radiant mountain
#

Hey, "TLS certificate pinning" is it bc of this that you need jailbreak tweak ? The julio one

lilac wren
#

In the gdmf response I see
"LegacyXmlUrl": ""

lilac wren
lilac wren
radiant mountain
#

Hmm

#

Lol Burp Suite even have it's own "tweak" to bypass that

lilac wren
#

In the gdmf response I also see 14.4.2... So what's stopping the phone from displaying it?

lilac wren
#

Assets dictionary

royal flint
#

And what settings are you using

lilac wren
#

0 day delay profile, supervised

royal flint
#

With 0 day what's the value of delay period

#

I haven't gotten the tweak to work because I think I didn't reboot

lilac wren
#

In GDMF? It doesn't show a delayperiod in the request

royal flint
#

But imma switch to Charles today anyway

royal flint
lilac wren
#

False

royal flint
#

Hmmmmmm

lilac wren
#

Yet the phone still shows 14.3 as latest allowed by administrator

zealous bridge
#

supervised: true?

royal flint
#

^

lilac wren
#

Yes supervised

royal flint
#

Hm

zealous bridge
#

That explains the administrator message

#

but delayrequested is weird

royal flint
#

Also

#

12.5 expires tomorrow

zealous bridge
#

You said delayperiod0 was 400 bad request right?

lilac wren
royal flint
#

So we can see if it's still signed and stuff

royal flint
#

But omitting delayperiod but delayrequested true gives you 14.4.1

lilac wren
zealous bridge
#

oh true

lilac wren
#

Phonerebel and dabezt tested it on 14.0 I think, shows same message

zealous bridge
#

supervised alone wouldnt mean that

#

Something else is there then

low summit
#

Yes

zealous bridge
#

That we havent looked at

low summit
#

It shows 14.0

zealous bridge
#

is there a “managed” field in there @lilac wren

lilac wren
#

In the request?

zealous bridge
#

Yes

#

thats tss but maybe its pallas too

lilac wren
#

Nope no managed field

zealous bridge
#

hm

royal flint
#

Also @lilac wren. Since we have interception working we can test your theory of mdm doing something else

lilac wren
#

True

#

I will try that after breakfast

zealous bridge
#

Also congrats on mem pro @lilac wren

radiant mountain
lilac wren
#

Ah thanks ❤️

royal flint
lilac wren
#

Otherwise it won't show up

#

And even if you do it might not show up

zealous bridge
#

If you can view the request in gdmf that means ssl proxying is enabled right

#

in json format

royal flint
#

Yes if it's not gibberish everything working fine

zealous bridge
#

ok

radiant mountain
# lilac wren Did you enable ssl proxying for gdmf

I cant since im not jailbroken, but I can pass through TLS negotation failure and log the request domain, and the only domain that shows up there were gdmf, xp but no mesu, meaning it didnt have been called

lilac wren
#

Idk if you can be certain though bc for some reason, mesu literally just doesn't show up as a request unless ssl is enabled for gdmf

radiant mountain
#

🤷 i dont really know tbh, do some further research

#

I cant do much anymore since im not jailbroken

lilac wren
#

Yeah :/ which means that we probably won't be able to fake mesu on unjailbroken devices

#

Did apple tags come out already

#

I just showed my location lol

zealous bridge
#

I think

#

Yes you did

#

You idiot

#

lmaooo

lilac wren
#

Ok I'm not on a beta though

zealous bridge
#

Nvm what i was thinking abt was third party accessories gps

lilac wren
royal flint
#

Yes that's the third party integrstion

lilac wren
#

Did this come out overnight

royal flint
#

Uh I think a day or two ago

lilac wren
#

Oh wow

royal flint
lilac wren
#

That's cool

zealous bridge
#

Wonder if i have anything that I can use with it

royal flint
#

Aight time to wipe this iphone again lmfao

zealous bridge
#

Rip NAND flash

royal flint
#

Let me disable icloud first so I can activate offline

radiant mountain
royal flint
#

Activation lock == find my I right

#

Ah yes it is

lilac wren
#

Yes basically

zealous bridge
#

i’d say disable icloud = disable activation lock is a better bet

#

just to make sure

royal flint
#

Aii

zealous bridge
#

Since the error was in activation servers

#

Thats only for downgrading tho

royal flint
#

Aight time to get charles

lilac wren
zealous bridge
#

Charles proxy + Darwin kernel = ???

royal flint
#

Wut

#

What about the kernel

zealous bridge
#

It was a joke about Charles Darwin nvm

royal flint
#

Oh lmfao

stiff hazel
#

any progress or still 0% closer than 12 hours ago

royal flint
#

Well we have some things to try now

zealous bridge
#

Knowledge mostly

stiff hazel
royal flint
#

Charles with supervised and delayed from start before doing update check

#

That way it can't sneakily hit mesu without us knowing

stiff hazel
#

What’s Charles?

royal flint
#

Mitm

stiff hazel
#

oh man in the middle

zealous bridge
#

Http proxy and packet sniffer

royal flint
#

Alright charles is up let me just test my config before I wipe

lilac wren
#

I have that essay about hating on the SAT due tomorrow

#

Gotta do that first lol

low summit
#

Why

#

Still?

royal flint
#

and it works

#

wiping

green onyx
#

huh

lilac wren
#

idek, added to find my iphone

green onyx
#

omg

#

i have it too

#

huh

lilac wren
#

I think you need a product that supports it though lol

green onyx
#

the only product that supports it is probably airpods lol

lilac wren
#

airpods already were supported

#

they counted as a device

green onyx
#

hm true

lilac wren
#

why can I hear the iPad doing stuff

#

It's uploading a file rn, iPad air 1

#

but it sounds like a very very quiet hdd

zealous bridge
#

brrrrrrrr

lilac wren
#

does flash make noise?

zealous bridge
#

No

green onyx
#

why would it make noise lmao

#

no mobile device has a fan

lilac wren
#

idk I wonder what the iPad is doing then

green onyx
#

probably speakers?

lilac wren
#

no

zealous bridge
#

Cpu ticks lmao

lilac wren
#

it's satisfying imo

#

oh no

#

💣 📱

low summit
royal flint
#

i did the stupid so wiping again

lilac wren
#

wait what'd you do lol

royal flint
#

i forgot to restore SystemVersion.plist and then i forgot restore rootFS lmao

#

luckily checkra1n

lilac wren
#

rip

royal flint
#

so sshed in, fixed it, activated it, restored rootFS

#

ayy preparing actually worked properly this time

stiff hazel
#

so what’s the goal of mitm’ing with this again? Save blobs or something else?

zealous bridge
#

no

#

update to 14.3 after 26th April

#

without blobs

stiff hazel
#

how would mitm’ing help us?

zealous bridge
#

XML fuckery

low summit
zealous bridge
#

True

low summit
#

Then we Ota to 14.4 lol

#

Is there any success? Getting past the 90 days?

lilac wren
#

Sniffed MDM!

#

GDMF:
"RequestedProductVersion": "14.4",

#

"DelayRequested": "false",

#

(I pushed 14.4)

zealous bridge
#

so theres nothing specific

#

search managed or mdm

#

or something like that

lilac wren
#

right?

#

when else do you ever see requestedproductversion

zealous bridge
#

on supervised?

#

i saw it when i did it

lilac wren
#

i thought you see delay period? you don't see a specific requested version

zealous bridge
#

No mdm just delay

#

Nah i 100% remember

lilac wren
#

ill look rn

lilac wren
zealous bridge
#

theres no way im buggin out

#

i clearly remember

lilac wren
#

you probably saw "ProductVersion": "14.3",

#

which is your current version

zealous bridge
#

Might be in the response

#

I had a couple asset files

#

it wasnt in the first one

royal flint
#

damn it charles

low summit
#

Froggy u still need testing for restoring?

royal flint
#

dont proxy my computer

#

want me to test requestedproduct = 14.2

zealous bridge
#

yes please

#

if im buggin out damn i must be on some LSD or smth

lilac wren
low summit
#

Not now lol gtg soon

#

Just asking

lilac wren
#

ah nw

#

well yes

zealous bridge
#

oh wait i might have had an mdm profile installed

royal flint
#

holy shit

#

it works

lilac wren
#

you found mesu?

royal flint
#

no

#

requestedproduct = 14.2 works

zealous bridge
#

charles

lilac wren
#

LOL

zealous bridge
#

so

lilac wren
#

is it signed?

royal flint
#

how do i check

zealous bridge
#

oh shit

#

uh

lilac wren
#

can you make your phone request 14.2 or no

#

you just did it manually?

royal flint
#

i did it from my script

zealous bridge
#

tss response should come before the verifying error right?

#

you can check if its signed or not

royal flint
#

i didnt test on device

lilac wren
#

this is still my method 1/2 though, not making progress on the XML lol

#

but neat that it works

stiff hazel
#

So manually requesting 14.2 pulls 14.2 but we need someone to test if 14.2 works

zealous bridge
#

i dont think you can check if its signed on a pc lol @royal flint

royal flint
#

yea unfortunately

zealous bridge
#

Cause no way for the tss request to get out

#

Unless you manually get BCert

royal flint
#

back to charles i go

lilac wren
#

@royal flint can you send me the full response for 14.2

#

actually wait

#

let me just do my own request bc I think it's specific to phone or something right

royal flint
#

it's not specific to device

#

it's specific to identifier and board id + current version

lilac wren
#

"ProductType": "iPhone11,8",

#

if you don't have a XR I don't think I can map your response lol

royal flint
#

so much commented out lmfao

royal flint
#

aka board

#

and current build, and what requested version

royal flint
#

there aren't any unique identifiers sent to pallas

lilac wren
#

wait what's useragent header

#

nvm got it

royal flint
#

but yea, give me board ID, current build, and requested version and i can get you the response

stiff hazel
#

@royal flint so this is still useless itself unless we can update through this?

mild mural
#

Since the 14.3 OTA trick doesn't work on futurerestored devices because they use newer SEP, what would happen if you triggered a remote iCloud wipe on the device? Does it keep the 14.4 SEP?

#

Actually now that I think of it it probably would since it's not changing OS versions

royal flint
#

well yea this is useless if you're not jailbroken or the target version is not signed

lilac wren
#

requesting 14.4 works but 14.2 gives me

{
  "Nonce": "DA90776C-20EC-44FA-AA1F-5E1EF967181A",
  "PallasNonce": "3AC6D3E4-988B-4601-8A1B-67FB4E5A1B31",
  "SessionId": "FEACD238-67E7-405F-BA0D-1DBECA6E454E",
  "LegacyXmlUrl": "",
  "PostingDate": "1970-01-01",
  "Transformations": {
    "_Measurement": "data",
    "SEPDigest": "data",
    "RSEPDigest": "data"
  },
  "Assets": []
}
low summit
#

So once you have new sep u can't Ota?

royal flint
#

show your request

lilac wren
#
{
  "TrainName" : "AzulC",
  "SessionId" : "FEACD238-67E7-405F-BA0D-1DBECA6E454E",
  "ProductType" : "iPhone11,8",
  "AssetType" : "com.apple.MobileAsset.SoftwareUpdate",
  "ProductVersion" : "14.3",
  "DeviceClass" : 1,
  "DeviceVariant" : "A",
  "SigningFuse" : "true",
  "ClientData" : {
    "AllowXmlFallback" : "false",
    "DeviceAccessClient" : "softwareupdateservicesd"
  },
  "Nonce" : "DA90776C-20EC-44FA-AA1F-5E1EF967181A",
  "Supervised" : "true",
  "RequestedProductVersion": "14.2",
  "ProductName" : "iPhone OS",
  "NoFallback" : "true",
  "BaseUrl" : "https:\/\/mesu.apple.com\/assets\/",
  "AssetAudience" : "01c1d682-6e8f-4908-b724-5501fe3f5e5c",
  "BuildVersion" : "18C66",
  "ClientVersion" : 2,
  "InternalBuild" : "false",
  "AllowSameBuildVersion" : "false",
  "BuildID" : "238D3D4C-3940-11EB-8D33-A61B81E77CB1",
  "IsUIBuild" : "true",
  "HWModelStr" : "N841AP",
  "DeviceOSData" : {
    "SystemImageID" : "5AD8BD31-B8BD-4FD6-9C4C-90645CA26AE1",
    "BuildVersion" : "18C66",
    "DeviceVariant" : "A",
    "ProductType" : "iPhone11,8",
    "BuildID" : "238D3D4C-3940-11EB-8D33-A61B81E77CB1",
    "HWModelStr" : "N841AP",
    "DeviceName" : "iPhone",
    "ProductName" : "iPhone OS",
    "ProductVersion" : "14.3"
  },
  "SystemImageID" : "5AD8BD31-B8BD-4FD6-9C4C-90645CA26AE1",
  "DelayRequested" : "false",
  "DeviceCheck" : "Foreground",
  "CertIssuanceDay" : "2020-09-29",
  "DeviceName" : "iPhone"
}
low summit
#

Will ipwndfu fix that?

lilac wren
#

14.3 same message, 14.4 gives me a real response

#

14.4.1 real response

#

OH

#

because I said my current version was 14.3

#

I'm dumb

lilac wren
#

will change the request

leaden quarry
#

hi guys, is it recommended to use FR on mac or on PC ?

lilac wren
#

mac

leaden quarry
#

okay 👍

opaque edge
#

is talking about dualboot allowed?

lilac wren
#

there we go got iOS 14 OTA response now

royal flint
#

nice

low summit
#

Pc for life

royal flint
#

my pc runs macOS 😎

low summit
#

Nice

#

Is it easier now?

#

Hackitosh

royal flint
#

yes

#

y'all

#

have you added a repo and installed a tweak over ssh before

stiff hazel
#

@royal flint dumb question: why couldn’t we request 13.x through Charles?

royal flint
#

i think i might have to do this before activation

royal flint
#

we can edit the request yea

stiff hazel
#

would 13.7 worked if we marked our current version to say 13.5.1 or something

low summit
#

But it won't update

stiff hazel
#

how do we necessarily know if that was to work?

royal flint
#

we can try

#

i'm focusing on something else rn tho

stiff hazel
#

Downgrading wouldn’t work yes

lilac wren
#

Lol apple

stiff hazel
low summit
#

Is there a way to bypass sep check

royal flint
#

so anyone know how to add repo and install tweak over ssh

low summit
#

What tweak

royal flint
#

ssl killer

low summit
#

U need the deb

#

To install via ssh

royal flint
#

@lilac wren can you grab deb for me?

#

currently wiping again

#

it seems to be making requests really early

lilac wren
#

deb for ssl killer 2?

royal flint
#

ye

royal flint
#

thank

zealous bridge
royal flint
#

thank

zealous bridge
#

oh

#

nvm

royal flint
#

uh whats a good temp location to scp it to

low summit
#

New term works too correct @zealous bridge

zealous bridge
#

yes

#

but

#

it will say

#

“apt does not have a stable cli interface”

royal flint
#

oh just realized deb is useless as i need dependencies

#

rip

low summit
#

Lol

zealous bridge
#

and then display nothing

low summit
#

Rip

unreal isle
#

Any know where are the ota updates stored in the system?

lilac wren
#

/private/var/MobileSoftwareUpdate I think

unreal isle
royal flint
#

@lilac wren @zealous bridge

lilac wren
#

finally

#

can you get it consistently?

royal flint
#

let's see

#

yes

lilac wren
#

supervised or no

royal flint
#

i'm supervised and on 90 day

lilac wren
#

yes nice

#

save that XML for sure

royal flint
#

only problem is uh

#

it's a normal get request

#

no url parameters

zealous bridge
#

yay

#

save it

lilac wren
#

and in the XML, does it show 14.3 or anything specific?

royal flint
#

well 12.4.9-12.5.1 for me

#

but no

lilac wren
#

hm

#

it shows multiple versions?

royal flint
#

no

#

just 12.5.2

#

by 12.4.9-12.5.1 i meant that's what it should show

#

but it is identical to a request from the browser

#
dhinak@Dhinaks-Mac-Pro ~ % shasum /Users/dhinak/Downloads/frombrowser.xml /Users/dhinak/Downloads/fromdevice.xml
1fad3c289f60bb57df43e80f00fb6b3dff6ebb48  /Users/dhinak/Downloads/frombrowser.xml
1fad3c289f60bb57df43e80f00fb6b3dff6ebb48  /Users/dhinak/Downloads/fromdevice.xml
lilac wren
#

and if you go to /var/MobileSoftwareUpdates/MobileAsset/AssetsV2/com\_apple\_MobileAsset\_SoftwareUpdate/ and open that XML, is it the same

lilac wren
royal flint
#

no i meant in the xml

#

it has 12.5.2

#

it shows up to date on device for me

lilac wren
#

what version is the device on

royal flint
#

12.5

#

/var/MobileAsset/AssetsV2/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml for me, /var/MobileSoftwareUpdates/ doesn't have the MobileAsset folder

lilac wren
#

strange

#

can you search for .xml in MobileSoftwareUpdates/

zealous bridge
#

Why is it Updates for you guys

lilac wren
#

?

zealous bridge
#

oh nvm

#

mine shows MobileSoftwareUpdate but you probably mean that

lilac wren
#

ah ok

zealous bridge
#

i tried cding to it and it didnt exist

#

lol

royal flint
#
dhinak@Dhinaks-Mac-Pro ~ % shasum ~/Downloads/from*xml   
1fad3c289f60bb57df43e80f00fb6b3dff6ebb48  /Users/dhinak/Downloads/frombrowser.xml
1fad3c289f60bb57df43e80f00fb6b3dff6ebb48  /Users/dhinak/Downloads/fromcharles.xml
533d78200ee64d4668bfba041247dcd4a932ec99  /Users/dhinak/Downloads/fromdevice2.xml
#

hmmm

lilac wren
#

still trying to remap the gdmf response, phone is rejecting it. There's a Date field in header which also has time, hope it doesn't have to do with that. also Charles adds an extra header, I could try getting rid of it but idk if it changes anything

royal flint
#

guess it's just adding some stuff before saving

#

but otherwise identical

lilac wren
#

ah ok

sinful spade
lilac wren
#

ugh I think I know

#

the gdmf Nonce changes every request it seems, so I have to have an appropriate response for that

#

with the same nonce

zealous bridge
#

what on device changes the gdfm nonce anyway lmfao

celest basalt
#

the device probably requests a new apnonce every time?

royal flint
#

no iirc the gdmf nonce is just random

lilac wren
#

idk if it's ap nonce, just a nonce for this request

royal flint
#

yea

lilac wren
#

probably doesn't have to do with anything else

celest basalt
#

well usually when you do igetnonce in normal mode the apnonce doesn't change until a reboot, but the sepnonce changes on every request

zealous bridge
#

yeah dont think the processor has anything to do with this

lilac wren
#

^

#

But now I have to write some program to base64 encode some JSON with the requested nonce

zealous bridge
#

probably an api nonce so apple dont get spammed or smth

royal flint
#

yea nonce has no bearing

lilac wren
#

Breakpoints Tool
The Breakpoints tool lets you intercept requests and responses before they are passed through Charles. You can examine and edit the request or response and then decide whether to allow it to proceed or to block it.

#

nice

zealous bridge
royal flint
#

i sent applepie to pallas and it gave me back applepie

zealous bridge
#

but ig that works too

#

lmaooo

fickle kettle
royal flint
lilac wren
royal flint
lilac wren
#

that's hilarious

celest basalt
#

meanwhile here trying to get my device back to 14.3 from pwndfu but I keep failing lol

royal flint
#

but yea, XML is the exact same so

lilac wren
#

i can do this!! timeout seems to be long so I can edit the nonce live

zealous bridge
#

RSEP is the restore sep protocol right? or is it something else

fickle kettle
lilac wren
#

yep

zealous bridge
#

idk why does mine keep changing

#

weird

#

i have the same sep

fickle kettle
#

i’ll make some ota cache server when i got jbable phone

lilac wren
#

NO IM TOO SLOW

#

ugh

zealous bridge
#

lmao

#

you are a 🐸 tbh

lilac wren
#

because apple gdmf takes like an hour to respond

fickle kettle
#

regex replace supported

lilac wren
#

oh ty

royal flint
#

hmm wtf

fickle kettle
#

or write simple web server and forward ur requests and change response

royal flint
#

i can't see gdmf requests

#

but i can see mesu requests

lilac wren
#

lol what

fickle kettle
#

includes headers

royal flint
lilac wren
royal flint
#

it is enabled

lilac wren
#

on gdmf

royal flint
#

that right click menu was on gdmf

lilac wren
#

oh

#

the connection is still going maybe?

royal flint
#

nop

lilac wren
#

it's not a 200 ok, just 200 established

#

Mine show 200 OK

royal flint
#

nah it's been like that for over 5 min

lilac wren
#

hm

royal flint
#

ill test on se

zealous bridge
#

i had to do some thing where i added * to the list of ssl proxying enabled websites to make it work @royal flint

royal flint
#

did that already

lilac wren
royal flint
#

not sure

lilac wren
#

ah

royal flint
#

but there's some kind of cert thing in the first b64 chunk

lilac wren
#

yeah true

royal flint
#

I haven't checked if it changed with different resps

lilac wren
#

Honestly might be easier to just make my own request with the nonce simultaneously

#

but i'm too slow lol

fickle kettle
#

lol

royal flint
#

Nah, just get the response manually, then edit it as you wish, then b64 encode, then paste it in when you need to rewrite

fickle kettle
#

u can use this

#

emulate response to local file

lilac wren
#

Gonna come back to this later, need to finish essay and eat

royal flint
#

I'll start messing with this on my SE

#

blocking TSS should prevent any update from actually happening tho right?

#

because I don't wanna boot loop lmao

lilac wren
royal flint
lilac wren
#

I thought it was signed?

royal flint
#

well have we confirmed that

#

im not 100% sure if it is

lilac wren
#

Right now I'm literally trying to fake the normal response and can't even do that lol

fickle kettle
lilac wren
fickle kettle
#

wrf

#

wtf..

#

ok try first. after fail u need forward server

#

and set charles’s map remote to ur local forward server

royal flint
#

@fickle kettle is there a way to make charles automatically call an external program for the response

#

That way we can automate part of it

fickle kettle
#

charles have useful tools

#

map remote forward match url rules to other servers

#

or simple way use mitmproxy and mitimproxy script

lilac wren
fickle kettle
#

oh mitm to mitmweb

royal flint
fickle kettle
#

or very very simple way u can edit dns

#

sorry, cant speak eng well

royal flint
#

it's ok we understand you well

radiant mountain
#

Do we really need to know where supervised hit mesu ?

#

What are we looking for exactly ?

royal flint
#

we already figured it out lol

#

mesu is the exact same

#

we found something else out though

#

we can get 14.2 from pallas

#

@lilac wren good news

#

not signed

radiant mountain
#

Because, correct me if im wrong but... mesu is indeed cached or hidden or whatever on supervised... But not the ...apple-update/assets/ request, could we just let mesu do his thing, and track the update request to get the 14.3 url path ?

lilac wren
royal flint
#

yee

lilac wren
#

So we can learn, how did you figure this out

royal flint
#

that it's not signed? made a bunch of different requests, first part was the same

#

also checked with https://jwt.io/ and it says invalid sig lol

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

#

oh