Hacking GW multirom demo

MadButch

Well-Known Member
Newcomer
Joined
Sep 14, 2009
Messages
51
Trophies
0
XP
209
Country
Netherlands
Mathieulh, in your opinion, do gateway owners also risc being bricked?

I mentioned read errors in an earlier post, but you disregarded that notion then.
Do you still stand by that? Or is there not much more known about the exact trigger?
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Mathieulh, in your opinion, do gateway owners also risc being bricked?

I mentioned read errors in an earlier post, but you disregarded that notion then.
Do you still stand by that? Or is there not much more known about the exact trigger?
For now it still seems improbable, even though legit owners apparently suffered the issue.

There is a lot we don't understand when it comes to the triggering factor of the bricking routine. There is more than just a single check. Also I have spotted weeks ago code that seemed to be using their ASIC and yet not needed for their actual payload to run (I filled the data it uses with garbage back then and it still ran fine) I couldn't understand the purpose of the instructions back then, I had assumed it was simply some left over anti-clone protection that they ended up not using. I am starting to wonder if that's not just yet another brick code trigger (I mean, it does run on a loop in the background, waiting for the gw card to be inserted...) right now I am not entirely sure about it.

I value my 3DS units so I stopped running their code on real hardware xD
 

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,256
So far I'm researching everywhere, and I do not see any page confirming your statement.
Think I'm willing to believe what iFixit and other teardown pages have shown me.
"Cite your sources." Normmatt is the source.
The sites you cite only do shallow, brief analysis intended for non-techie consumption. They don't spend the countless hours, days, weeks, wading deep into the hardware learning all of its secrets the way guys like Normmatt and Mathieulh do.
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
So far I'm researching everywhere, and I do not see any page confirming your statement.
Think I'm willing to believe what iFixit and other teardown pages have shown me.

Simply put, it's not because it doesn't appear in any official specs sheet that it's not there. You won't see any Sony official papers mentioning the KIRK hardware crypto engine on the psp, yet it's there. You won't see Nintendo papers mentioning the IOP on Wii and WiiU, yet it's there (it's a full blown ARM cpu by the way)

Vendors and manufacturers only tell you what you need (they want you to) know.
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
Here is another pseudo source code. And i say it again, it's only pseudo source code:

Code:
checkGW()
{
          if(crcOK)return;
          if(random)return;
          if(no_filebefore0x4444)return;
          brick()
}

That's what we aktually know. It's the second check and 0x4444 is the 04. Feb. no_filebefore0x4444() checks for the date, the first file starting with "L" is created on.

The code is from ichfly.
 
  • Like
Reactions: Cyberdrive
D

Deleted User

Guest
Mathieulh, in your opinion, do gateway owners also risc being bricked?

I mentioned read errors in an earlier post, but you disregarded that notion then.
Do you still stand by that? Or is there not much more known about the exact trigger?


There is a lot we don't understand when it comes to the triggering factor of the bricking routine. There is more than just a single check. Also I have spotted weeks ago code that seemed to be using their ASIC and yet not needed for their actual payload to run (I filled the data it uses with garbage back then and it still ran fine) I couldn't understand the purpose of the instructions back then, I had assumed it was simply some left over anti-clone protection that they ended up not using. I am starting to wonder if that's not just yet another brick code trigger (I mean, it does run on a loop in the background, waiting for the gw card to be inserted...) right now I am not entirely sure about it.

Mathieulh himself says he doesn't understand the code. But he claims he is knowledgeable about this whole thing. That is just too funny for words
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Here is another pseudo source code. And i say it again, it's only pseudo source code:

Code:
checkGW()
{
          if(crcOK)return;
          if(random)return;
          if(no_filebefore0x4444)return;
          brick()
}

That's what we aktually know. It's the second check and 0x4444 is the 04. Feb. no_filebefore0x4444() checks for the date, the first file starting with "L" is created on.

The code is from ichfly.


Hum... if that's true then there is a flaw in their check, considering that when you "Format Emunand" the FAT32 partition gets formatted and the Launcher.dat file is copied to the newly created partition without a created or modified date attribute (it's literally blank)
I am wondering if that could fail their check in any way.
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
Maybe, but it would affect every clone user, who setup the exploit after the 04. Feb. And maybe some Gateway users too, because this runs without being checked, lol.
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Maybe, but it would affect every clone user, who setup the exploit after the 04. Feb. And maybe some Gateway users too, because this runs without being checked, lol.

the date wouldn't matter then considering the date attributes to the files would be blank on a brand new emunand "formatted" SD card. I just wonder if that alone is enough to trigger the routine.
I'd need to look at the instructions performing that check.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
I'm wondering if the additional checks don't take into consideration that people would have their 3DS dates set incorrectly, judging by the fact they where meant to of been releasing a update before new year......is it not possible they set 4th February as a cut off point for how long their b2 would be getting used and after that date the code is active on 2 levels.....with gateway assuming that all gateway users would be updated in that time and the clones would be stuck with double the amount of triggers tickings against them....using the date as a multiplier for the odds of bricking as it where
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
I'm wondering if the additional checks don't take into consideration that people would have their 3DS dates set incorrectly, judging by the fact they where meant to of been releasing a update before new year......is it not possible they set 4th February as a cut off point for how long their b2 would be getting used and after that date the code is active on 2 levels.....with gateway assuming that all gateway users would be updated in that time and the clones would be stuck with double the amount of triggers tickings against them....using the date as a multiplier for the odds of bricking as it where


No, I am pretty sure it'd be so anyone running a Launcher.dat created after the date would fail the check.
Let's say for instance the clone manufacturers are late in performing their usual copy/pasta of the GW firmware and create a file after that date, the check would fail no matter what (although it'd fail the checksum already anyway).
 

justinkb

Well-Known Member
Member
Joined
Oct 7, 2012
Messages
625
Trophies
1
XP
347
Country
Netherlands
Well, unless the crcOK() check has bugs, Gateway users' execution trace would never even reach the random() check, let alone the february4() thing.

Don't really get the significance of Feb 4 anyway. Anyway got anything explanation for that? If they are using "atime", "ctime" or "mtime" equivalents on a fat filesystem as actual reliable timestamps in any way, they are pretty nuts.
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
Don't forget, the exploit must be started, before any "emuNAND" can be setup. So there is a higher chance of a brick on setup. And if you already have a "emuNAND" partition and just replace the Launcher.dat it can be triggered too.

If one look deeper into it, it makes not really sense. I don't know, what Gateway plan here.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
They accepted one of the RMA's on the basis their was files with dates in 2016 or something so is it not possible the date check is a separate trigger from the checksum fail which multiplied the odds gradually as it gets further ahead in time, kinda as a backup if the integrity checks are patched.......with them knowing that the clones would be delayed a lot longer trying to find a way to update the fpga, it would stand to reason their users would be stuck with the brick code way past 4th February where as all gateway users would theoretically be on 2.0 final and wouldn't ever be on b2 once the second trigger was activated

Short sighted as my 3ds is on 2015 from changing the date for play coins etc
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Don't forget, the exploit must be started, before any "emuNAND" can be setup. So there is a higher chance of a brick on setup. And if you already have a "emuNAND" partition and just replace the Launcher.dat it can be triggered too.

If one look deeper into it, it makes not really sense. I don't know, what Gateway plan here.


I am doubtful about the chance being higher considering the data they check is stored in ram (they aren't checking the whole file afaik, they are checking various parts of the payloads they run). I am not sure if the date attributes for the actual files get refreshed in memory, or how often that happens. They'd have to constantly read the attributes from the SD card if they forcefully kept refreshing it, that would hinder performances by quite a bit.
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
maybe the date thing is an unintended bug? Or is that unimaginable?

It's not just a bug. That's their second check.

I am not sure if the date attributes for the actual files get refreshed in memory, or how often that happens. They'd have to constantly read the attributes from the SD card if they forcefully kept refreshing it, that would hinder performances by quite a bit.
I'm sure the date get's updated, if you cold boot the 3DS. If one replaces the file after the 04. Feb., the chances of a brick are doubled. But if you run the "emuNAND" setup, the date get's resetted. Problem is, the most users don't need to setup "emuNAND" again, so the Launcher.dat with the actual date stays on the SD card.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • OctoAori20 @ OctoAori20:
    I stopped believing or caring about that dude when I found out about some of the more questionable nonsense he did in his life.
  • BigOnYa @ BigOnYa:
    Like what? I didn't know or hear.
  • K3Nv2 @ K3Nv2:
    You mean like every famous person that ever existed
    +1
  • K3Nv2 @ K3Nv2:
    I get so tired of hearing oh I liked him until...
  • OctoAori20 @ OctoAori20:
    I just know dude was a chronic alcoholic and such.
  • BigOnYa @ BigOnYa:
    I've been to his chicken restaurant he started in his 2nd movie, Holy Chicken, was pretty good. It is only 15-20 miles from me in Ohio. It only lasted 1 yr or so then closed tho.
  • OctoAori20 @ OctoAori20:
    There are very few people I just have just an immense dislike of and he's one of those very few people, the only other example is Gene Simmons. My musician uncle on my mother's side of the family actually met Gene once during some event and said he was the most unpleasant person to be around.
  • K3Nv2 @ K3Nv2:
    I met myself once turns out that guy is a giant piece of shit that doesn't deserve any of my respect
  • BigOnYa @ BigOnYa:
    Damn alcoholics! (Sshhh- Opens another beer)
  • OctoAori20 @ OctoAori20:
    Agreed, Ken
  • OctoAori20 @ OctoAori20:
    I can't say I've ever tried even a sip of beer tbh-
  • K3Nv2 @ K3Nv2:
    You met yourself also and is a giant piece of shit?
    +1
  • OctoAori20 @ OctoAori20:
    Then again, I don't think I'd really enjoy it //shrug
  • OctoAori20 @ OctoAori20:
    I'm sure it's an acquired taste :P
  • K3Nv2 @ K3Nv2:
    Poor lad can never enjoy the amazing taste of four loko
    +1
  • BigOnYa @ BigOnYa:
    Root beer is a gateway drink, don't ever try it either.
  • K3Nv2 @ K3Nv2:
    @BigOnYa, don't you love how smooth MD20 is
  • BigOnYa @ BigOnYa:
    Mad dog 20 20? Oh yea fixed the typo. I haven't seen that or had forever. Do they still make it?
  • K3Nv2 @ K3Nv2:
    I think it's why I'm alive
    +1
  • BigOnYa @ BigOnYa:
    What happens if when playing Paper Mario, you start a fire in-game?
  • Psionic Roshambo @ Psionic Roshambo:
    Paper Mario is a drug dealer and he is all about the paper yo lol
    +1
  • OctoAori20 @ OctoAori20:
    Ffft
  • OctoAori20 @ OctoAori20:
    On another note, I love how folks are drawing Callie in that suit that Splatoon NA dropped on Twitter
    OctoAori20 @ OctoAori20: On another note, I love how folks are drawing Callie in that suit that Splatoon NA dropped on...