Hacking DSi internal memory question

zbrahead91

Member
OP
Newcomer
Joined
Sep 14, 2009
Messages
10
Trophies
0
XP
121
Country
Just a quick question and depending on the answer I may have some ideas.

Is the internal non-volatile memory encrypted?

By internal non-volatile memory encryption, I mean if one were to hijack the pins of the internal memory chip and read it, would it make sense?
 

zbrahead91

Member
OP
Newcomer
Joined
Sep 14, 2009
Messages
10
Trophies
0
XP
121
Country
EDIT: According to Hack Mii the internal flash is easily accessible.

My question is now thus:

If, like the Wii, the DSiWare channels are stored on the internal flash unencrypted, could one not take this file and analyse it in similar way to NDS Roms, (modified ndstool? I'm assuming due to the unavoidable similarities between the two this shouldn't be too hard
tongue.gif
) Should this analysis be acheived, would it be a far stretch to suppose that we could insert unsigned code in (a la ARM7 Fix)?

Additionally, if it is unencrypted, then we have a crib by which to attempt to locate the SD keys, and be able to use that DSi to run 'homebrew' DSiWare on that individual DSi?

This is all about 'jailbreaking' an individual DSi (in a fairly destructive process too, for that matter. Would this acheivement lead to an easier understanding of the security systems in place to achieve a softmod?


EDIT2: I may be talking complete bullcrap here, but meh. This is what I have gleaned from other, not-dissimilar threads.

EDIT3: I have no idea with DSi stuff, btw. I am, however an experienced Win32 cracker.
 

zbrahead91

Member
OP
Newcomer
Joined
Sep 14, 2009
Messages
10
Trophies
0
XP
121
Country
Further thoughts:

Upon studying two encrypted files of the same game (WW:S) I think that maybe the encryption could be XORing of the file with the DSi's shopkey/something else with the unencrypted file.

If it were possible to use a known-plaintext attack on this (maybe using the WarioWare : Smooth Moves title file/format/thing/header (see .NDS file breakdowns) it may be possible to gain the system's shop channel key. IF and only IF the thing is XOR. (Lets face it, the DSi isn't really capable of encrypting multi-megabyte files that quickly unless the operation was simple and computationally inexpensive, HELLO XOR!!!
tongue.gif
) Problem is I have no idea how long the key is, (prolly 2^n or sth) so it would be quite hard to guarantee we got the right answer.

Just had an idea whilst typing this, which needs to be confirmed... is any part of the (unencrypted) DS rom the same size throughout *every* DS rom, sort of a common feature? If so, this could be used to attempt a known-plaintext attack
biggrin.gif
. Problem is the common feature has to be long enough in terms of bytes to allow differing possible sizes of key.

Just some random disjointed thoughts
tongue.gif
make with them what you will.

EDIT: This is all based on assumptions and conjecture, just want to emphasise that. (I swear this is an educated guess.... Honest!)

EDIT2: Just another thought, if we break it once and it is XOR, we have basically mauled the DSi's key for every DSi for that game, hopefully this key isn't salted according to the game, and can thus use the same key to decrypt/re-encrypt othergames /homebrew.
 

zbrahead91

Member
OP
Newcomer
Joined
Sep 14, 2009
Messages
10
Trophies
0
XP
121
Country
In the meantime, just having a fiddle with a frequency analysis attack
tongue.gif


EDIT: Bah, I fail at this kind of thing. *googles for programs to do it for me*
 

zbrahead91

Member
OP
Newcomer
Joined
Sep 14, 2009
Messages
10
Trophies
0
XP
121
Country
DeltaBurnt said:
His ideas fail mwuhahahaha.

Bushing shot em down
tongue.gif


Oh and nice quadruple post hah

This was my notepad!
tongue.gif


I applied llogic! and bushing shot them down *politely* This constitutes a win
tongue.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Nobody is reading what you post.
  • Psionic Roshambo @ Psionic Roshambo:
    That Dell data breach is worse than people probably realize....
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    BigOnYa @ BigOnYa: Please insert 25 cents for an additional 30 minutes of talk time.