Extract CIA from UpdateCDN?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by gudenau, Feb 22, 2015.

  1. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,258
    1,225
    Jul 7, 2010
    United States
    /dev/random
    How could I do this?
     
    Margen67 likes this.
  2. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,585
    1,800
    Apr 30, 2012
    FunkyCIA
     
  3. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,258
    1,225
    Jul 7, 2010
    United States
    /dev/random
    I thought tha downloaded and packed cias based on your ticket. I did not think it extracted cias.
     
  4. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,585
    1,800
    Apr 30, 2012
    Oh sorry, I misread/misinterpreted "extract" somehow.
     
  5. cearp

    cearp the ticket master

    Member
    7,481
    4,714
    May 26, 2008
    Tuvalu
    extract the cia? you mean decrypt it?
    just like any other proper/encrypted cia, you need to get the title key, decrypt that, run the content through through aescbc, then i think ncch decrypt that output - it has been a while since i had to do it. something like that :) it is all public information, nothing secret etc
    it's nothing specific to the python tool i made called 'UpdateCDN'... :)

    - but if you are using UpdateCDN just decrypt the raw files then build a cia when you are done
     
  6. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,258
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Ah, I figured they where not encrypted. Silly me.
    So, how do I do that?
     
    Margen67 likes this.
  7. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,258
    1,225
    Jul 7, 2010
    United States
    /dev/random
    So, I am trying AM just because I picked it. I got a file called 00000017.dec. It's sha-1 is 50a4e3a942c60921031a84d51ba0bcdd4e8f2d5a, am I on the correct track?