Hacking Switch Cartridge - Reverse Engineering

Status
Not open for further replies.

TheZander

1337
Member
Joined
Feb 1, 2008
Messages
2,137
Trophies
2
Location
Level 7
XP
3,882
Country
United States
Just saw this, man I was going to try this too. Ha, guess you beat me to it!

However if it will help the cause for my input I'll be more than happy. I might need a couple games as well, like Mario Odyssey when that comes out. Or Bomberman for now I guess, although it didn't look that great. For dumping that is, I mean the best games to dump will most likely be top tier titles. I'll take Splatoon 2 though, I never played dumped the original but willing to give it a shot.
 

KoFFiE

New Member
Newbie
Joined
Oct 16, 2009
Messages
1
Trophies
0
XP
162
Country
Belgium
The data will be statically encrypted inside the chip and dynamically encrypted when transferred. In terms of the production cost at the volumes they will do, it is essentially free.

The cost of not adding adequate security is that Nintendo make no sales after week 1 due to flash carts and counterfeits.

Given that both the 1-2 Switch and Zelda already use different chips based on the pictures, so I doubt there's logic running on them beyond the flash firmware. Now I'm not working in embedded anymore and I haven't seen specs of flash chips in over 10 years, but there were no chips with embedded security-features in them back-then, and since these seem to be run-of-the-mill flash chip with semi-customized branding, I highly doubt there's any active security on the cartridges. There also doesn't seem to be any extra silicon on the cartridge PCB, so It's probably all passive crypto-based, probably signatures on the data+serial numbers.

If hardware/'active' protection would have been implemented on cartridges, a separate chip would have been the most logical way to go anyway, otherwise they would have to produce multiple silicons for smaller and larger games, or go for a single, larger flash chip that would be able to accommodate all future possible games, and this would be very very expensive. Even just a custom packaging with flash+security chip would probably have added to the price. With an additional chip they could use one cheapo small off-the-shelf SoC (arm7 based or so with crypto acceleration), and proxy their flash data through that. That would have been the cheapest option, but still would still have ended up eating their margin on every game sold physically.

For the situation I suppose we're in, you'd have to fake the hardware ID's of the flash chips to be able to copy them, but if I was Nintendo, I would actively blacklist serial numbers of pirated chips through regular system updates, which would effectively make piracy a clusterfuck without actual exploits to circumvent the security completely or re-sign images. This also doesn't address code signing issues for running custom code, which can be a very though nut to crack if Nintendo did their job properly.
 
Last edited by KoFFiE,
  • Like
Reactions: peteruk

HeraCraoz

New Member
Newbie
Joined
Mar 23, 2017
Messages
1
Trophies
0
Age
21
XP
51
Country
United States
couldn't you do some sort of hard-rip of the stuff stored on the chip? then create a chip that can store like 5 of them and have it be able to "Switch" between them? (lol, sry for the pun)
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,043
Country
Vietnam
Given that both the 1-2 Switch and Zelda already use different chips based on the pictures, so I doubt there's logic running on them beyond the flash firmware. Now I'm not working in embedded anymore and I haven't seen specs of flash chips in over 10 years, but there were no chips with embedded security-features in them back-then, and since these seem to be run-of-the-mill flash chip with semi-customized branding, I highly doubt there's any active security on the cartridges. There also doesn't seem to be any extra silicon on the cartridge PCB, so It's probably all passive crypto-based, probably signatures on the data+serial numbers.

If hardware/'active' protection would have been implemented on cartridges, a separate chip would have been the most logical way to go anyway, otherwise they would have to produce multiple silicons for smaller and larger games, or go for a single, larger flash chip that would be able to accommodate all future possible games, and this would be very very expensive. Even just a custom packaging with flash+security chip would probably have added to the price. With an additional chip they could use one cheapo small off-the-shelf SoC (arm7 based or so with crypto acceleration), and proxy their flash data through that. That would have been the cheapest option, but still would still have ended up eating their margin on every game sold physically.

For the situation I suppose we're in, you'd have to fake the hardware ID's of the flash chips to be able to copy them, but if I was Nintendo, I would actively blacklist serial numbers of pirated chips through regular system updates, which would effectively make piracy a clusterfuck without actual exploits to circumvent the security completely or re-sign images. This also doesn't address code signing issues for running custom code, which can be a very though nut to crack if Nintendo did their job properly.
There has to be. Even the 3ds had that.
There's no reason to "rebrand" anything, the flash chips are custom made.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,043
Country
Vietnam
The 3ds games were much smaller in size. Nintendo may have just "rebranded" due to costs of the larger storage chips.
Edit: in terms of storage, not physical size
Flash got cheaper since 2011, so using larger chips shouldn't cost much more than then.
 

Tesseract4d

New Member
Newbie
Joined
Mar 23, 2017
Messages
1
Trophies
0
Age
36
XP
51
Country
http://www.satpimps.co.uk/showthread.php?63462-How-to-Jtag-the-Intel-TE28F160-chipped-7000E

Hey boy, that chip looks a lot like the intel flash chip used in the Motorola surfboard modems. That chip can be read and flashed using jtag for the purpose of flashing CFW on a modem such as haxorware. There's tons of tools and programs out there to do this.
If it's an EEPROM chip, most likely 32 or 64 gb capacity, if this is the case the cost for those chips is currently not worth the hassle.


- Getting a cartridge (Done)
- Opening the cartridge and making pictures (Done, check 'm! http://imgur.com/a/FndZC)
- Getting connected pins of the cartridge (Done, see this post)
- Getting to know the purpose of the pins <-- We're right right now
- Being able to dump a rom
- Developing a PoC PCB to upload roms to and run them

-----

Right now I'm looking for:

- More Switch cartridges of different games, preferably Zelda because I think the PCB is quite different. (Zelda confirmed to be just a chip)
- Donations. Producing PCB's, Buying tools and time ain't cheap D:

Let me know if you want to contribute!

-----

As promised, the pinout and high quality pictures of the PCB

For me it looks like a normal NAND chip, however it seems to have a rather odd pinout, that does not match regular TSOP48 NAND chips. It most likely is a 8-bit channel NAND chip though, which should be readable

(Oh, and the capacitors are 0.2 and 0.1uF. Top to bottom: 0.2uF, 0.1uF, 0.2uF, 0.1uF)

5PFpEgV.jpg


-----

Pinouts!

(Blank pins are not connected to anything)



To me it looks like Pink is VCC and Dark Blue is GND, to figure out all the pinouts I need to way to run a card inside the switch while also being able to probe it. I'm thinking about the cheapest and best way to do it

-----

Soon: Meaning of the pins (Required before we can dump a rom)
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Wait for the MEGA link, get it from there, try to check the dump data and see if it's somehow legit. Best would be another dump to compare with.
Why would I pay for a premium MEGA account in the first place? That file is too large to download from MEGA for free thanks to retarded bandwidth caps they've put in place. Also, of course it's fake. Anyone that paid this ass did deserve to have their money taken, like @Favna said. Why the hell would the Switch version be larger than the Wii U version when they're the exact same game with some minor UI differences? If I saw this without any prior notice I'd immediately assume it was fake thanks to deductive skills.
 
Last edited by Joom,

Axido

Maker of TRASLApp
Member
Joined
Feb 12, 2014
Messages
1,312
Trophies
2
Age
32
XP
4,363
Country
Germany
Why would I pay for a premium MEGA account in the first place? That file is too large to download from MEGA for free thanks to retarded bandwidth caps they've put in place. Also, of course it's fake. Anyone that paid this ass did deserve to have their money taken, like @Favna said. Why the hell would the Switch version be larger than the Wii U version when they're the exact same game with some minor UI differences? If I saw this without any prior notice I'd immediately assume it was fake thanks to deductive skills.

You don't make a premium account. You just use Mega Downloader 1.7.
 
  • Like
Reactions: firke_the_one
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=EtapU5nI6G4 +1