[Concept] Injecting code into DSiWare .bin/.nds

Discussion in 'NDS - Emulation and Homebrew' started by ParzivalWolfram, Jul 11, 2017.

  1. ParzivalWolfram
    OP

    ParzivalWolfram Newbie

    Newcomer
    7
    3
    Jun 28, 2017
    United States
    Since Flipnote and the DSi Browser are encrypted using the DSi's common key AND since there's a way to turn these into .nds-format ROMs, would there be a way to write, say, a simple SD loader, inject it into a decrypted DSiWare image, re-encrypt and re-sign the new image, then copy it onto NAND?
    If you encrypted/signed it properly, you could just copy it to NAND in Settings, so that's not too much of a problem, and IIRC the signature's on Nintendo's servers, so would this be feasible?
     
    andree123 likes this.
  2. Roboman

    Roboman GBAtemp Regular

    Member
    285
    68
    Jan 7, 2016
    United States
    You cannot sign files so easily. Signatures are very easy to check, but nearly impossible to forge without the right key.
     
  3. dpad_5678

    dpad_5678 GBAtemp's Memelord

    Member
    1,631
    1,174
    Nov 19, 2015
    United States
    Click bait as fuck. There's no "concept" here. It's an idea that's been thought over thousands of times already.
     
    Shicky256 likes this.
  4. andree123

    andree123 Member

    Newcomer
    16
    4
    May 20, 2017
    United States
    Does a simple sd loader has its own Signature?
     
  5. Gericom

    Gericom GBAtemp Advanced Fan

    Member
    851
    898
    Jun 30, 2011
    Netherlands
    Every single byte you change will change the signature and without the key (or a bug in the signature checking) it's impossible to sign this ourselves
     
  6. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,889
    5,039
    Mar 17, 2010
    Norway
    Alola
    Wait for the new DSi exploit ;)
     
  7. andree123

    andree123 Member

    Newcomer
    16
    4
    May 20, 2017
    United States
    I think we need to research more on signatures.
     
  8. ParzivalWolfram
    OP

    ParzivalWolfram Newbie

    Newcomer
    7
    3
    Jun 28, 2017
    United States
    Flipnote and DSi Browser use the DSi's Common Key, which we have. So we can sign.
     
  9. DinohScene

    DinohScene Capture the Dino

    Member
    GBAtemp Patron
    DinohScene is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    15,843
    12,299
    Oct 11, 2011
    Antarctica
    В небо
    Doing that basically defeats the purpose of having a homebrew loader/channel
    And like Gericom said, you can't change bytes without breaking signatures.
    Seeing the DSi actually is "good" at checking sigs, this won't happen.
     
  10. Gericom

    Gericom GBAtemp Advanced Fan

    Member
    851
    898
    Jun 30, 2011
    Netherlands
    No, the common key we have (which is a public key) can only be used for checking. Only nintendo has the private key required to sign.
     
    ahezard likes this.