prodinfo_gen icon indicating copy to clipboard operation
prodinfo_gen copied to clipboard

SSL CERT

Open costelabr17 opened this issue 3 years ago • 18 comments

is possible grab my donor prodinfo to gen a donor with ssl certificate? i have a banned switch and brought a new one today damaged but i can recover the backup nand

costelabr17 avatar Jun 04 '21 02:06 costelabr17

You mean using a donor, not banned, console to connect to Nintendo online services? Importing the SSL certificate can be done but is not enough/will probably get you banned.

I think using a donor prodinfo as-is and spoofing the device ID should work, but I haven't been able to try. See https://gbatemp.net/threads/use-prodinfo-from-another-switch.581963/ for more info.

CaramelDunes avatar Jun 04 '21 11:06 CaramelDunes

Yes i know about this de ice spoof, but need atmosphere for boot console using prodinfo_gen no need console boot normaly, that is why i want to import ssl cert, is possible?

costelabr17 avatar Jun 04 '21 13:06 costelabr17

Importing the SSL cert and other certificates is possible. You'd probably get banned, though, as there would be a mismatch between the console device id and the device id embedded in the certificates.

CaramelDunes avatar Jun 08 '21 08:06 CaramelDunes

thats true for example if you spoof the ssl certificate from the switch with charles proxy you get the token but the device id mitsmatch so no game downloading the shop chash and no online games

Kronos2308 avatar Jul 15 '21 23:07 Kronos2308

thats true for example if you spoof the ssl certificate from the switch with charles proxy you get the token but the device id mitsmatch so no game downloading the shop chash and no online games

That's good info, thanks for sharing.

CaramelDunes avatar Jul 16 '21 21:07 CaramelDunes

You can explain how i can build my own version of prodinfo_gen payload to gen a donor_prodinfo without wipe ssl cert?

costelabr17 avatar Oct 01 '21 23:10 costelabr17

or i can do it manually in HxD but i don't the exactly strings to copy

costelabr17 avatar Oct 01 '21 23:10 costelabr17

is beter not use adonor ssl cert i won't work and you will get banned

Kronos2308 avatar Oct 02 '21 00:10 Kronos2308

if you want to usea donnor prodinfo you have to used the raw unecripted prodinfo and spoff the device id, that match with the donnor prodinfo, in order to boot

Kronos2308 avatar Oct 02 '21 00:10 Kronos2308

Thanks for stepping in @Kronos2308 👍 He's right, @costelabr17. Also, if your prodinfo is personalized (non-Erista), you need special key blobs to be able to decrypt the SSL private key and those are not on the internet AFAIK.

CaramelDunes avatar Oct 03 '21 09:10 CaramelDunes

Yep On a normal switch the OS take the device id from the board and from the prodinfo And compare both if are the same continue if not the get stuck on switch logo On a CFW switch Atmosphere exosphere take the device id from the board and from the prodinfo

In order to use a different prodinfo You mush make a backup XD

You must take another uncrypted prodinfo and encrypted with your BIS key0 and writhe that to the Prodinfo partition to the switch Now you have a problem because the console won't boot , that's because the device id not match So you have two options

  • you change the device id in theprodinfo before writing (@CaramelDunes there is a way of just change the device id?)
  • or you spoof the device id using atmosphere exosphere. Since atmosphere not allow that you have to make that your self and use a custom exosphere that way the console boot but only if there are in CFW Both device id has to match

Kronos2308 avatar Oct 03 '21 14:10 Kronos2308

* you change the device id in theprodinfo before writing
  (@CaramelDunes  there is a way of just change the device id?)

You can, indeed, modify the prodinfo enough that it boots (and that's basically what prodinfo_gen does), but this also corrupts some of the keys that the Switch uses to connect to online services.

CaramelDunes avatar Oct 03 '21 19:10 CaramelDunes

but i mean to just mod the part that store the device id

Kronos2308 avatar Oct 04 '21 00:10 Kronos2308

Unfortunately there's no "one" part that stores the device ID. It is embedded in a lot of parts, and most of those are digitally signed; modifying them corrupt them.

CaramelDunes avatar Oct 04 '21 19:10 CaramelDunes

well then the exosphere part then BTW the exoshere id can be taken from prodinfo with ams mitm so if you can make a work arround you can spoof and boot any prodinfo just with ams withour touch the Prodinfo partition is posiblle qith the actual ams but must be implemented

Kronos2308 avatar Oct 04 '21 19:10 Kronos2308

I'm not sure I understand what you are saying. To the Switch OS, the "source of truth" for the hardware device id is exosphere. That's exactly what deviceid-exosphere-builder patches: https://github.com/PabloZaiden/deviceid-exosphere-builder/blob/master/deviceid.patch. AFAIK you cannot patch that without building a custom Atmosphere.

CaramelDunes avatar Oct 09 '21 10:10 CaramelDunes

Yes a custom cfw has o be build that's the problem

Kronos2308 avatar Oct 09 '21 21:10 Kronos2308