SlideShare uma empresa Scribd logo
1 de 134
Baixar para ler offline
27th Chaos Communication Congress

                   Console Hacking 2010
                                         PS3 Epic Fail
                                        bushing, marcan, segher, sven




Mittwoch, 29. Dezember 2010
Who are we?
                    •         In 2008 at 25c3 these teams worked together as
                              'WiiPhonies'

                    •         We won the 25c3 CTF

                    •         We changed our name to 'Fail 0verflow'

                          •     Not trademark infringing

                          •     The domain was available

                          •     The ratio of fail to win is high.

       We've been collaborating on various embedded and thought expansive projects, the most famous of which that
       hit the press earlier this year was the full reconstruction of the $REDACTED allowing $REDACTED to be
       completely broken, that was a fun couple of weeks.


Mittwoch, 29. Dezember 2010
Wii had a good run

                    • 3 years, 9 firmware updates, 1 real feature
                    • 73 mil. consoles, 30 mil. vuln. bootloaders
                    • 1 million users of Homebrew Channel


Mittwoch, 29. Dezember 2010
Wii   Xbox 360   PS3
  2006

  2007

  2008

  2009

  2010

  2011

                    t
Mittwoch, 29. Dezember 2010
Wii   Xbox 360   PS3
  2006
                         Drivechips
  2007
                      Twiizer Attack


  2008                  Twilight Hack
                         Homebrew
                          Channel


  2009                  Bannerbomb
                        Indiana Pwns
                        Bannerbomb
                           for 4.2
  2010
                         latest update
                            broken

  2011

                    t
Mittwoch, 29. Dezember 2010
Wii        Xbox 360   PS3
  2006
                                            Drive firmware
                                                hacked
                         Drivechips        King Kong Hack
  2007
                      Twiizer Attack


  2008                  Twilight Hack
                         Homebrew
                          Channel


  2009                  Bannerbomb
                                               JTAG Hack
                        Indiana Pwns
                        Bannerbomb
                           for 4.2
  2010
                         latest update
                            broken

  2011

                    t
Mittwoch, 29. Dezember 2010
Wii        Xbox 360                  PS3
  2006
                                            Drive firmware
                                                hacked
                         Drivechips        King Kong Hack
  2007
                      Twiizer Attack
                                                               OtherOS
                                                              RSX exploit
  2008                  Twilight Hack
                         Homebrew
                          Channel


  2009                  Bannerbomb
                                               JTAG Hack
                        Indiana Pwns                        slim w/o Linux
                        Bannerbomb                              released
                           for 4.2                          Geohot’s hack
  2010                                                      Linux removed
                         latest update                          Jailbreak
                            broken                            Downgrade
                                                               this talk :)
  2011

                    t
Mittwoch, 29. Dezember 2010
Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy




Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        4 years
                                                                                        not yet        -            -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed                    Homebrew
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        4 years
                                                                                        not yet         -
                                                                                                     Piracy
                                                                                                                    -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed                    Homebrew
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        4 years
                                                                                        not yet         -
                                                                                                     Piracy
                                                                                                                 piracy
                                                                                                                    -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
device                y                   security                           hacked for               effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed                    Homebrew
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        4 years
                                                                                        not yet         -
                                                                                                     Piracy
                                                                                                                 piracy
                                                                                                                    -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
hacked after
         device                y                   security                          hacked for
                                                                                 it was closed                 effect
             PS2              1999                          ?                              ?         piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed                    Homebrew
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                        4 years
                                                                                        not yet         -
                                                                                                     Piracy
                                                                                                                 piracy
                                                                                                                    -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
hacked after
         device                y                   security                          hacked for
                                                                                 it was closed                 effect
             PS2              1999                          ?                             ?          piracy         -

                                                                                                                 pay TV
           dbox2              2000                   signed kernel                     3 months      Linux
                                                                                                                decoding

     GameCube 2001                                  encrypted boot                    12 months    Homebrew      piracy

                                                                                                     Linux
           Xbox               2001    encrypted/signed bootup, signed executables      4 months
                                                                                                   Homebrew
                                                                                                                 piracy

            iPod              2001                     checksum                       <12 months     Linux          -

              DS              2004           signed/encrypted executables              6 months    Homebrew      piracy

             PSP              2004             signed bootup/executables               2 months    Homebrew      piracy

                                       encrypted/signed bootup,encrypted/signed                      Linux
       Xbox 360 2005                 executables, encrypted RAM, hypervisor, eFuses
                                                                                      12 months
                                                                                                   Homebrew
                                                                                                               leaked keys

                                       encrypted/signed bootup,encrypted/signed                    Homebrew
             PS3              2006    executables, hypervisor, eFuses, isolated SPU
                                                                                      12 moyet s
                                                                                       4 years
                                                                                       not nth          -
                                                                                                     Piracy
                                                                                                                 piracy
                                                                                                                    -

             Wii              2006                 encrypted bootup                    1 month       Linux       piracy

                                                                                                               Front Row
       AppleTV 2007                                signed bootloader                   2 weeks       Linux
                                                                                                                 piracy
                                                                                                   Homebrew,
          iPhone              2007       signed/encrypted bootup/executables           11 days
                                                                                                    SIM-Lock
                                                                                                                 piracy

             iPad             2010       signed/encrypted bootup/executables            1 day      Homebrew      piracy



Mittwoch, 29. Dezember 2010
PS3 Architecture



Mittwoch, 29. Dezember 2010
The Cell Broadband Engine




                                       Source: IBM

Mittwoch, 29. Dezember 2010
SPU Isolation



                                                      Source: IBM




                              0x00000               0x3e000         0x40000




Mittwoch, 29. Dezember 2010
LV1 / Hypervisor

                                 LV2 / GameOS         SPU

                              Problem State / Games




Mittwoch, 29. Dezember 2010
metldr




Mittwoch, 29. Dezember 2010
metldr


                              lv0ldr




Mittwoch, 29. Dezember 2010
metldr


                              lv0ldr


                               lv0




Mittwoch, 29. Dezember 2010
metldr


                               lv0ldr


                                lv0


                              metldr /
                               lv1ldr




Mittwoch, 29. Dezember 2010
metldr


                               lv0ldr


                                lv0


                              metldr /
                               lv1ldr


                                lv1




Mittwoch, 29. Dezember 2010
metldr


                               lv0ldr


                                lv0


                              metldr /
                               lv1ldr


                                lv1


                              metldr /
                               lv2ldr




Mittwoch, 29. Dezember 2010
metldr


                               lv0ldr


                                lv0


                              metldr /
                               lv1ldr


                                lv1


                              metldr /
                               lv2ldr


                                lv2



Mittwoch, 29. Dezember 2010
Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓   ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓   ✓
                                       Chain of trust              ✓        ✓   ✓
                                      Per-console keys                 ✓    ✓   ✓
                                     Signed executables            ✓        ✓   ✓
                                   Security coprocessor                ✓        ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓        ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓   ✓
                                     User/kernelmode                            ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓      ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓      ✓
                                       Chain of trust              ✓        ✓      ✓
                                      Per-console keys                 ✓    ✓      ✓
                                     Signed executables            ✓        ✓      ✓
                                   Security coprocessor                ✓           ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓           ASSED
                                                                                BYP ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓      ✓
                                     User/kernelmode                               ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
OtherOS



Mittwoch, 29. Dezember 2010
✘
                                    OtherOS

                              Not supported on the PS3 Slim


Mittwoch, 29. Dezember 2010
!    You have earned a trophy.
                                            Draw Attention




                                         ✘
                                    OtherOS

                              Not supported on the PS3 Slim


Mittwoch, 29. Dezember 2010
Geohot Exploit
                               XDR RAM Glitching Attack




Mittwoch, 29. Dezember 2010
RAM

                              Kernel




                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel




                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel




                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel




                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel




                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel

                                       HTAB


                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM

                              Kernel

                                       HTAB


                     Hypervisor
                                       HTAB


Mittwoch, 29. Dezember 2010
RAM
                                        You have earned a trophy.
                                   HV     Hypervisor Exposed
                              Kernel

                                                    HTAB


                     Hypervisor
                                                    HTAB


Mittwoch, 29. Dezember 2010
✘
                              OtherOS



Mittwoch, 29. Dezember 2010
✘
                                   ✘✘OtherOS

                              Forcibly removed on the PS3 Fat


Mittwoch, 29. Dezember 2010
You have earned a trophy.
                                             Pissed Off Hackers




                                   ✘
                                   ✘✘OtherOS

                              Forcibly removed on the PS3 Fat


Mittwoch, 29. Dezember 2010
Mittwoch, 29. Dezember 2010
PSJailbreak




Mittwoch, 29. Dezember 2010
PSJailbreak




                              (And over 9000 clones)
Mittwoch, 29. Dezember 2010
PSJailbreak Exploit



Mittwoch, 29. Dezember 2010
PSJailbreak


                                          Hub




                         PWN1   PWN2   PWN3   PWN4   JIG   FINAL




Mittwoch, 29. Dezember 2010
Device 1
                              TL = 0xF00
                                           CONFIGURATION #1 .. #4   INTERFACE #1




                                           PAYLOAD


Mittwoch, 29. Dezember 2010
Device 4




Mittwoch, 29. Dezember 2010
Device 4
                              TL = 0x12
                                          CONFIGURATION #1   INTERFACE #1




Mittwoch, 29. Dezember 2010
Device 4
                              TL = 0x12
                                          CONFIGURATION #1   INTERFACE #1




                                          CONFIGURATION #2




Mittwoch, 29. Dezember 2010
Device 2
                                  TL = 0x16
                                                                 INTERFACE #1
                                              CONFIGURATION #1

                              04 21 B4 2F




Mittwoch, 29. Dezember 2010
Device 4
                                  TL = 0x12
                                              CONFIGURATION #1   INTERFACE #1
                                              CONFIGURATION #1

                              04 21 B4 2F
                                              CONFIGURATION #2




Mittwoch, 29. Dezember 2010
Device 4
                               TL = 0x12
                                            CONFIGURATION #1   INTERFACE #1


                              TL = 0x2FB4
                                            CONFIGURATION #2




Mittwoch, 29. Dezember 2010
C++ Objects
                        VTABLE POINTER
                                         INTERFACE OBJECT #N
                                                                 C++
                        VTABLE POINTER
                                         INTERFACE OBJECT #N+1
                                                                 C++
                        VTABLE POINTER
                                         INTERFACE OBJECT #N+2
                                                                 C++


Mittwoch, 29. Dezember 2010
C++ Objects
                        VTABLE POINTER
                                         INTERFACE OBJECT #N
                                                                      C++
                                          CONFIGURATION #3       INTERFACE #1

                                         INTERFACE OBJECT #N+1
                                                                      C++
                        VTABLE POINTER
                                         INTERFACE OBJECT #N+2
                                                                      C++


Mittwoch, 29. Dezember 2010
C++ Objects
                        VTABLE POINTER
                                         INTERFACE OBJECT #N
                                                                      C++
                                          CONFIGURATION #3       INTERFACE #1
                      PAYLOAD POINTER
                                         INTERFACE OBJECT #N+1
                                                                      C++
                        VTABLE POINTER
                                         INTERFACE OBJECT #N+2
                                                                      C++


Mittwoch, 29. Dezember 2010
Device 3
                                              CONFIGURATION #1 .. #2

                              INTERFACE #1        INTERFACE #2         INTERFACE #3


                              INTERFACE #4        INTERFACE #5         INTERFACE #6


                              INTERFACE #7        INTERFACE #8         INTERFACE #9


                              INTERFACE #10       INTERFACE #11           ...........




Mittwoch, 29. Dezember 2010
Mittwoch, 29. Dezember 2010
You have earned a trophy.
                                LV2 Code Execution




Mittwoch, 29. Dezember 2010
NO W^X in LV2
                              Any old exploit == code execution




Mittwoch, 29. Dezember 2010
Hypervisor allows
                               unsigned code
                   It happily marks pages as executable and plays no role
                          in enforcing that only trusted code runs




Mittwoch, 29. Dezember 2010
Results

                    • LV2 “GameOS” compromised
                    • LV1 Hypervisor NOT compromised
                    • Secure SPE NOT compromised


Mittwoch, 29. Dezember 2010
Resultsearned a trophy.
                                  You have
                                    Piracy



                    • LV2 “GameOS” compromised
                    • LV1 Hypervisor NOT compromised
                    • Secure SPE NOT compromised
                    • Piracy

Mittwoch, 29. Dezember 2010
Fail Security Model

                    • The hypervisor does not enforce LV2 and
                              game integrity
                    • You can just patch LV2 to run games from
                              HDD




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓      ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓      ✓
                                       Chain of trust              ✓        ✓      ✓
                                      Per-console keys                 ✓    ✓      ✓
                                     Signed executables            ✓        ✓      ✓
                                   Security coprocessor                ✓           ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓           ASSED
                                                                                BYP ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓      ✓
                                     User/kernelmode                               ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓      ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓      ✓
                                       Chain of trust              ✓        ✓      ✓
                                      Per-console keys                 ✓    ✓      ✓
                                     Signed executables            ✓        ✓      ✓
                                   Security coprocessor                ✓           ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓           ASSED
                                                                                BYP ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓     E✓ ESS
                                                                                US L
                                     User/kernelmode                               ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Xbox Wii 360 PS3
                                     On-die bootROM                ✓   ✓    ✓      ✓
                                    On-die key storage                 ✓    ✓
                                     Public-key crypto             ✓   ✓    ✓      ✓
                                       Chain of trust              ✓        ✓      ✓
                                      Per-console keys                 ✓    ✓      ✓
                                     Signed executables            ✓        ✓       ✓CTIVE
                                                                                  FFE
                                                                            INE
                                   Security coprocessor                ✓           ✓
                              Full media encryption and signing        ✓
                                     Encrypted storage                 ✓           ASSED
                                                                                BYP ✓
                                     Self-signed storage               ✓
                                Memory encryption/hashing                   ✓
                                        Hypervisor                          ✓     E✓ ESS
                                                                                US L
                                     User/kernelmode                               ✓
                                  Anti-downgrade eFUSEs                     ✓




Mittwoch, 29. Dezember 2010
Downgrades




Mittwoch, 29. Dezember 2010
Downgrades

                    • Sony fixed the exploit




Mittwoch, 29. Dezember 2010
Downgrades

                    • Sony fixed the exploit
                    • Service mode triggered by USB “JIG”
                     • HMAC authenticated, keys dumped



Mittwoch, 29. Dezember 2010
Downgrades

                    • Sony fixed the exploit
                    • Service mode triggered by USB “JIG”
                     • HMAC authenticated, keys dumped
                    • Leaked service app used to enable
                              downgrades



Mittwoch, 29. Dezember 2010
Downgrades a trophy.
                                      You have earned
                                           More Piracy


                    • Sony fixed the exploit
                    • Service mode triggered by USB “JIG”
                     • HMAC authenticated, keys dumped
                    • Leaked service app used to enable
                              downgrades



Mittwoch, 29. Dezember 2010
AsbestOS




Mittwoch, 29. Dezember 2010
AsbestOS
                    •         Replace LV2/GameOS in memory




Mittwoch, 29. Dezember 2010
AsbestOS
                    •         Replace LV2/GameOS in memory
                    •         OtherOS mode and GameOS mode are
                              virtually identical
                          •    Except GameOS can do more stuff, e.g. 3D




Mittwoch, 29. Dezember 2010
AsbestOS
                    •         Replace LV2/GameOS in memory
                    •         OtherOS mode and GameOS mode are
                              virtually identical
                          •     Except GameOS can do more stuff, e.g. 3D
                    •         Run Linux again (even on the Slim!)




Mittwoch, 29. Dezember 2010
AsbestOS
                    •         Replace LV2/GameOS in memory
                    •         OtherOS mode and GameOS mode are
                              virtually identical
                          •     Except GameOS can do more stuff, e.g. 3D
                    •         Run Linux again (even on the Slim!)
                    •         Use NetRPC to remote-control the PS3 and
                              experiment...


Mittwoch, 29. Dezember 2010
SELFs
                                         SCE header
                                         ehdr + phdr
                                      ehdrehdr + phdr
                                   encrypted metadata key
                                          metadata
                                      ECDSA signature



                              {
                                    ehdr + phdr (again...)
                                        phdr #0 data
                                              #0
                                        phdr #1 data
                ELF                           ...
                                        phdr #N data


Mittwoch, 29. Dezember 2010
SELFs
                                                     SCE header
                                                     ehdr + phdr
                                                  ehdrehdr + phdr
                                               encrypted metadata key
                                      r key
                              l   oade
                                                      metadata
                                                  ECDSA signature



                                        {
            SELF key
                                                ehdr + phdr (again...)
                                                    phdr #0 data
                                                          #0
                                                    phdr #1 data
                ELF                                       ...
                                                    phdr #N data


Mittwoch, 29. Dezember 2010
SELFs
                                                  SCE header
                                                  ehdr + phdr
                                               ehdrehdr + phdr
                                            encrypted metadata key
                                  er key
                              load
                                                   metadata
                                     AES
                                               ECDSA signature



                                    {
            SELF key
                                             ehdr + phdr (again...)
                                                 phdr #0 data
                                                       #0
                                                 phdr #1 data
                ELF                                    ...
                                                 phdr #N data


Mittwoch, 29. Dezember 2010
SELFs
                                                  SCE header
                                                  ehdr + phdr
                                               ehdrehdr + phdr
                                            encrypted metadata key
                                  er key
                              load
                                                   metadata
                                     AES
                                               ECDSA signature



                                    {
            SELF key




                                                                      AES + SHA-1
                                             ehdr + phdr (again...)
                                                 phdr #0 data
                                                       #0
                                                 phdr #1 data
                ELF                                    ...
                                                 phdr #N data


Mittwoch, 29. Dezember 2010
The Oracle

                    • Sony‘s idea: “No one can see our code!”
                    • ... unless the PPE is compromised
                    • Decrypting all code possible from GameOS
                              •   security coprocessor pointless!

                    • But we want keys!

Mittwoch, 29. Dezember 2010
The Oracle a trophy.
                                          You have earned
                                                    Obfuscation useless

                    • Sony‘s idea: “No one can see our code!”
                    • ... unless the PPE is compromised
                    • Decrypting all code possible from GameOS
                              •   security coprocessor pointless!

                    • But we want keys!

Mittwoch, 29. Dezember 2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010
1780 27c3 console_hacking_2010

Mais conteúdo relacionado

Destaque

Bootkits step by-step-slides-final-v1-release
Bootkits step by-step-slides-final-v1-releaseBootkits step by-step-slides-final-v1-release
Bootkits step by-step-slides-final-v1-releaseEric Koeppen
 
RDSDataSource: iOS Reverse Engineering for inexperienced
RDSDataSource: iOS Reverse Engineering for inexperiencedRDSDataSource: iOS Reverse Engineering for inexperienced
RDSDataSource: iOS Reverse Engineering for inexperiencedRAMBLER&Co
 
Tegra 186のu-boot & Linux
Tegra 186のu-boot & LinuxTegra 186のu-boot & Linux
Tegra 186のu-boot & LinuxMr. Vengineer
 
Trusted firmware deep_dive_v1.0_
Trusted firmware deep_dive_v1.0_Trusted firmware deep_dive_v1.0_
Trusted firmware deep_dive_v1.0_Linaro
 
LCU13: An Introduction to ARM Trusted Firmware
LCU13: An Introduction to ARM Trusted FirmwareLCU13: An Introduction to ARM Trusted Firmware
LCU13: An Introduction to ARM Trusted FirmwareLinaro
 

Destaque (6)

Introduction and course Details of Embedded Linux Platform Developer Training
Introduction and course Details of Embedded Linux Platform Developer TrainingIntroduction and course Details of Embedded Linux Platform Developer Training
Introduction and course Details of Embedded Linux Platform Developer Training
 
Bootkits step by-step-slides-final-v1-release
Bootkits step by-step-slides-final-v1-releaseBootkits step by-step-slides-final-v1-release
Bootkits step by-step-slides-final-v1-release
 
RDSDataSource: iOS Reverse Engineering for inexperienced
RDSDataSource: iOS Reverse Engineering for inexperiencedRDSDataSource: iOS Reverse Engineering for inexperienced
RDSDataSource: iOS Reverse Engineering for inexperienced
 
Tegra 186のu-boot & Linux
Tegra 186のu-boot & LinuxTegra 186のu-boot & Linux
Tegra 186のu-boot & Linux
 
Trusted firmware deep_dive_v1.0_
Trusted firmware deep_dive_v1.0_Trusted firmware deep_dive_v1.0_
Trusted firmware deep_dive_v1.0_
 
LCU13: An Introduction to ARM Trusted Firmware
LCU13: An Introduction to ARM Trusted FirmwareLCU13: An Introduction to ARM Trusted Firmware
LCU13: An Introduction to ARM Trusted Firmware
 

Semelhante a 1780 27c3 console_hacking_2010

Viedo game timeline
Viedo game timelineViedo game timeline
Viedo game timelineChl0ewhite
 
Bajo - Psyke: EMulazione PS1... da Firenze alla Cina
Bajo - Psyke: EMulazione PS1... da Firenze alla CinaBajo - Psyke: EMulazione PS1... da Firenze alla Cina
Bajo - Psyke: EMulazione PS1... da Firenze alla CinaCodemotion
 
Luke summers console presentation
Luke summers console presentationLuke summers console presentation
Luke summers console presentationLuke Summers
 
History of Video Games 90s till 00
History of Video Games 90s till 00History of Video Games 90s till 00
History of Video Games 90s till 00Mark Rotondella
 
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2Salvatore Iaconesi
 
How to Jailbreak a PS3 on Firmware 4.25
How to Jailbreak a PS3 on Firmware 4.25How to Jailbreak a PS3 on Firmware 4.25
How to Jailbreak a PS3 on Firmware 4.2531colonyfired
 
Design + Art + Science, and Demoscene
Design + Art + Science, and DemosceneDesign + Art + Science, and Demoscene
Design + Art + Science, and DemosceneTomasz Bednarz
 
Consulting Presentation to Sony for PS3
Consulting Presentation to Sony for PS3Consulting Presentation to Sony for PS3
Consulting Presentation to Sony for PS3curtishowell
 

Semelhante a 1780 27c3 console_hacking_2010 (11)

3 Do Networking
3 Do Networking3 Do Networking
3 Do Networking
 
Viedo game timeline
Viedo game timelineViedo game timeline
Viedo game timeline
 
Bajo - Psyke: EMulazione PS1... da Firenze alla Cina
Bajo - Psyke: EMulazione PS1... da Firenze alla CinaBajo - Psyke: EMulazione PS1... da Firenze alla Cina
Bajo - Psyke: EMulazione PS1... da Firenze alla Cina
 
Luke summers console presentation
Luke summers console presentationLuke summers console presentation
Luke summers console presentation
 
History of Video Games 90s till 00
History of Video Games 90s till 00History of Video Games 90s till 00
History of Video Games 90s till 00
 
Milkymist one
Milkymist oneMilkymist one
Milkymist one
 
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2
Sperimentazioni di tecnologie e comunicazioni Multimediali: Lezione 2
 
History of games
History of gamesHistory of games
History of games
 
How to Jailbreak a PS3 on Firmware 4.25
How to Jailbreak a PS3 on Firmware 4.25How to Jailbreak a PS3 on Firmware 4.25
How to Jailbreak a PS3 on Firmware 4.25
 
Design + Art + Science, and Demoscene
Design + Art + Science, and DemosceneDesign + Art + Science, and Demoscene
Design + Art + Science, and Demoscene
 
Consulting Presentation to Sony for PS3
Consulting Presentation to Sony for PS3Consulting Presentation to Sony for PS3
Consulting Presentation to Sony for PS3
 

1780 27c3 console_hacking_2010

  • 1. 27th Chaos Communication Congress Console Hacking 2010 PS3 Epic Fail bushing, marcan, segher, sven Mittwoch, 29. Dezember 2010
  • 2. Who are we? • In 2008 at 25c3 these teams worked together as 'WiiPhonies' • We won the 25c3 CTF • We changed our name to 'Fail 0verflow' • Not trademark infringing • The domain was available • The ratio of fail to win is high. We've been collaborating on various embedded and thought expansive projects, the most famous of which that hit the press earlier this year was the full reconstruction of the $REDACTED allowing $REDACTED to be completely broken, that was a fun couple of weeks. Mittwoch, 29. Dezember 2010
  • 3. Wii had a good run • 3 years, 9 firmware updates, 1 real feature • 73 mil. consoles, 30 mil. vuln. bootloaders • 1 million users of Homebrew Channel Mittwoch, 29. Dezember 2010
  • 4. Wii Xbox 360 PS3 2006 2007 2008 2009 2010 2011 t Mittwoch, 29. Dezember 2010
  • 5. Wii Xbox 360 PS3 2006 Drivechips 2007 Twiizer Attack 2008 Twilight Hack Homebrew Channel 2009 Bannerbomb Indiana Pwns Bannerbomb for 4.2 2010 latest update broken 2011 t Mittwoch, 29. Dezember 2010
  • 6. Wii Xbox 360 PS3 2006 Drive firmware hacked Drivechips King Kong Hack 2007 Twiizer Attack 2008 Twilight Hack Homebrew Channel 2009 Bannerbomb JTAG Hack Indiana Pwns Bannerbomb for 4.2 2010 latest update broken 2011 t Mittwoch, 29. Dezember 2010
  • 7. Wii Xbox 360 PS3 2006 Drive firmware hacked Drivechips King Kong Hack 2007 Twiizer Attack OtherOS RSX exploit 2008 Twilight Hack Homebrew Channel 2009 Bannerbomb JTAG Hack Indiana Pwns slim w/o Linux Bannerbomb released for 4.2 Geohot’s hack 2010 Linux removed latest update Jailbreak broken Downgrade this talk :) 2011 t Mittwoch, 29. Dezember 2010
  • 9. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 10. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 11. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 12. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 13. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 14. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy Mittwoch, 29. Dezember 2010
  • 15. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 16. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 17. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed PS3 2006 executables, hypervisor, eFuses, isolated SPU 4 years not yet - - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 18. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed Homebrew PS3 2006 executables, hypervisor, eFuses, isolated SPU 4 years not yet - Piracy - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 19. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed Homebrew PS3 2006 executables, hypervisor, eFuses, isolated SPU 4 years not yet - Piracy piracy - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 20. device y security hacked for effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed Homebrew PS3 2006 executables, hypervisor, eFuses, isolated SPU 4 years not yet - Piracy piracy - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 21. hacked after device y security hacked for it was closed effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed Homebrew PS3 2006 executables, hypervisor, eFuses, isolated SPU 4 years not yet - Piracy piracy - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 22. hacked after device y security hacked for it was closed effect PS2 1999 ? ? piracy - pay TV dbox2 2000 signed kernel 3 months Linux decoding GameCube 2001 encrypted boot 12 months Homebrew piracy Linux Xbox 2001 encrypted/signed bootup, signed executables 4 months Homebrew piracy iPod 2001 checksum <12 months Linux - DS 2004 signed/encrypted executables 6 months Homebrew piracy PSP 2004 signed bootup/executables 2 months Homebrew piracy encrypted/signed bootup,encrypted/signed Linux Xbox 360 2005 executables, encrypted RAM, hypervisor, eFuses 12 months Homebrew leaked keys encrypted/signed bootup,encrypted/signed Homebrew PS3 2006 executables, hypervisor, eFuses, isolated SPU 12 moyet s 4 years not nth - Piracy piracy - Wii 2006 encrypted bootup 1 month Linux piracy Front Row AppleTV 2007 signed bootloader 2 weeks Linux piracy Homebrew, iPhone 2007 signed/encrypted bootup/executables 11 days SIM-Lock piracy iPad 2010 signed/encrypted bootup/executables 1 day Homebrew piracy Mittwoch, 29. Dezember 2010
  • 24. The Cell Broadband Engine Source: IBM Mittwoch, 29. Dezember 2010
  • 25. SPU Isolation Source: IBM 0x00000 0x3e000 0x40000 Mittwoch, 29. Dezember 2010
  • 26. LV1 / Hypervisor LV2 / GameOS SPU Problem State / Games Mittwoch, 29. Dezember 2010
  • 28. metldr lv0ldr Mittwoch, 29. Dezember 2010
  • 29. metldr lv0ldr lv0 Mittwoch, 29. Dezember 2010
  • 30. metldr lv0ldr lv0 metldr / lv1ldr Mittwoch, 29. Dezember 2010
  • 31. metldr lv0ldr lv0 metldr / lv1ldr lv1 Mittwoch, 29. Dezember 2010
  • 32. metldr lv0ldr lv0 metldr / lv1ldr lv1 metldr / lv2ldr Mittwoch, 29. Dezember 2010
  • 33. metldr lv0ldr lv0 metldr / lv1ldr lv1 metldr / lv2ldr lv2 Mittwoch, 29. Dezember 2010
  • 35. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 36. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 37. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 38. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 39. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 40. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 41. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 42. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 43. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 44. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 45. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 46. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 47. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 48. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 49. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 50. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ASSED BYP ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 52. OtherOS Not supported on the PS3 Slim Mittwoch, 29. Dezember 2010
  • 53. ! You have earned a trophy. Draw Attention ✘ OtherOS Not supported on the PS3 Slim Mittwoch, 29. Dezember 2010
  • 54. Geohot Exploit XDR RAM Glitching Attack Mittwoch, 29. Dezember 2010
  • 55. RAM Kernel Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 56. RAM Kernel Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 57. RAM Kernel Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 58. RAM Kernel Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 59. RAM Kernel Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 60. RAM Kernel HTAB Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 61. RAM Kernel HTAB Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 62. RAM You have earned a trophy. HV Hypervisor Exposed Kernel HTAB Hypervisor HTAB Mittwoch, 29. Dezember 2010
  • 63. OtherOS Mittwoch, 29. Dezember 2010
  • 64. ✘✘OtherOS Forcibly removed on the PS3 Fat Mittwoch, 29. Dezember 2010
  • 65. You have earned a trophy. Pissed Off Hackers ✘ ✘✘OtherOS Forcibly removed on the PS3 Fat Mittwoch, 29. Dezember 2010
  • 68. PSJailbreak (And over 9000 clones) Mittwoch, 29. Dezember 2010
  • 70. PSJailbreak Hub PWN1 PWN2 PWN3 PWN4 JIG FINAL Mittwoch, 29. Dezember 2010
  • 71. Device 1 TL = 0xF00 CONFIGURATION #1 .. #4 INTERFACE #1 PAYLOAD Mittwoch, 29. Dezember 2010
  • 72. Device 4 Mittwoch, 29. Dezember 2010
  • 73. Device 4 TL = 0x12 CONFIGURATION #1 INTERFACE #1 Mittwoch, 29. Dezember 2010
  • 74. Device 4 TL = 0x12 CONFIGURATION #1 INTERFACE #1 CONFIGURATION #2 Mittwoch, 29. Dezember 2010
  • 75. Device 2 TL = 0x16 INTERFACE #1 CONFIGURATION #1 04 21 B4 2F Mittwoch, 29. Dezember 2010
  • 76. Device 4 TL = 0x12 CONFIGURATION #1 INTERFACE #1 CONFIGURATION #1 04 21 B4 2F CONFIGURATION #2 Mittwoch, 29. Dezember 2010
  • 77. Device 4 TL = 0x12 CONFIGURATION #1 INTERFACE #1 TL = 0x2FB4 CONFIGURATION #2 Mittwoch, 29. Dezember 2010
  • 78. C++ Objects VTABLE POINTER INTERFACE OBJECT #N C++ VTABLE POINTER INTERFACE OBJECT #N+1 C++ VTABLE POINTER INTERFACE OBJECT #N+2 C++ Mittwoch, 29. Dezember 2010
  • 79. C++ Objects VTABLE POINTER INTERFACE OBJECT #N C++ CONFIGURATION #3 INTERFACE #1 INTERFACE OBJECT #N+1 C++ VTABLE POINTER INTERFACE OBJECT #N+2 C++ Mittwoch, 29. Dezember 2010
  • 80. C++ Objects VTABLE POINTER INTERFACE OBJECT #N C++ CONFIGURATION #3 INTERFACE #1 PAYLOAD POINTER INTERFACE OBJECT #N+1 C++ VTABLE POINTER INTERFACE OBJECT #N+2 C++ Mittwoch, 29. Dezember 2010
  • 81. Device 3 CONFIGURATION #1 .. #2 INTERFACE #1 INTERFACE #2 INTERFACE #3 INTERFACE #4 INTERFACE #5 INTERFACE #6 INTERFACE #7 INTERFACE #8 INTERFACE #9 INTERFACE #10 INTERFACE #11 ........... Mittwoch, 29. Dezember 2010
  • 83. You have earned a trophy. LV2 Code Execution Mittwoch, 29. Dezember 2010
  • 84. NO W^X in LV2 Any old exploit == code execution Mittwoch, 29. Dezember 2010
  • 85. Hypervisor allows unsigned code It happily marks pages as executable and plays no role in enforcing that only trusted code runs Mittwoch, 29. Dezember 2010
  • 86. Results • LV2 “GameOS” compromised • LV1 Hypervisor NOT compromised • Secure SPE NOT compromised Mittwoch, 29. Dezember 2010
  • 87. Resultsearned a trophy. You have Piracy • LV2 “GameOS” compromised • LV1 Hypervisor NOT compromised • Secure SPE NOT compromised • Piracy Mittwoch, 29. Dezember 2010
  • 88. Fail Security Model • The hypervisor does not enforce LV2 and game integrity • You can just patch LV2 to run games from HDD Mittwoch, 29. Dezember 2010
  • 89. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ASSED BYP ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ ✓ User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 90. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓ Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ASSED BYP ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ E✓ ESS US L User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 91. Xbox Wii 360 PS3 On-die bootROM ✓ ✓ ✓ ✓ On-die key storage ✓ ✓ Public-key crypto ✓ ✓ ✓ ✓ Chain of trust ✓ ✓ ✓ Per-console keys ✓ ✓ ✓ Signed executables ✓ ✓ ✓CTIVE FFE INE Security coprocessor ✓ ✓ Full media encryption and signing ✓ Encrypted storage ✓ ASSED BYP ✓ Self-signed storage ✓ Memory encryption/hashing ✓ Hypervisor ✓ E✓ ESS US L User/kernelmode ✓ Anti-downgrade eFUSEs ✓ Mittwoch, 29. Dezember 2010
  • 93. Downgrades • Sony fixed the exploit Mittwoch, 29. Dezember 2010
  • 94. Downgrades • Sony fixed the exploit • Service mode triggered by USB “JIG” • HMAC authenticated, keys dumped Mittwoch, 29. Dezember 2010
  • 95. Downgrades • Sony fixed the exploit • Service mode triggered by USB “JIG” • HMAC authenticated, keys dumped • Leaked service app used to enable downgrades Mittwoch, 29. Dezember 2010
  • 96. Downgrades a trophy. You have earned More Piracy • Sony fixed the exploit • Service mode triggered by USB “JIG” • HMAC authenticated, keys dumped • Leaked service app used to enable downgrades Mittwoch, 29. Dezember 2010
  • 98. AsbestOS • Replace LV2/GameOS in memory Mittwoch, 29. Dezember 2010
  • 99. AsbestOS • Replace LV2/GameOS in memory • OtherOS mode and GameOS mode are virtually identical • Except GameOS can do more stuff, e.g. 3D Mittwoch, 29. Dezember 2010
  • 100. AsbestOS • Replace LV2/GameOS in memory • OtherOS mode and GameOS mode are virtually identical • Except GameOS can do more stuff, e.g. 3D • Run Linux again (even on the Slim!) Mittwoch, 29. Dezember 2010
  • 101. AsbestOS • Replace LV2/GameOS in memory • OtherOS mode and GameOS mode are virtually identical • Except GameOS can do more stuff, e.g. 3D • Run Linux again (even on the Slim!) • Use NetRPC to remote-control the PS3 and experiment... Mittwoch, 29. Dezember 2010
  • 102. SELFs SCE header ehdr + phdr ehdrehdr + phdr encrypted metadata key metadata ECDSA signature { ehdr + phdr (again...) phdr #0 data #0 phdr #1 data ELF ... phdr #N data Mittwoch, 29. Dezember 2010
  • 103. SELFs SCE header ehdr + phdr ehdrehdr + phdr encrypted metadata key r key l oade metadata ECDSA signature { SELF key ehdr + phdr (again...) phdr #0 data #0 phdr #1 data ELF ... phdr #N data Mittwoch, 29. Dezember 2010
  • 104. SELFs SCE header ehdr + phdr ehdrehdr + phdr encrypted metadata key er key load metadata AES ECDSA signature { SELF key ehdr + phdr (again...) phdr #0 data #0 phdr #1 data ELF ... phdr #N data Mittwoch, 29. Dezember 2010
  • 105. SELFs SCE header ehdr + phdr ehdrehdr + phdr encrypted metadata key er key load metadata AES ECDSA signature { SELF key AES + SHA-1 ehdr + phdr (again...) phdr #0 data #0 phdr #1 data ELF ... phdr #N data Mittwoch, 29. Dezember 2010
  • 106. The Oracle • Sony‘s idea: “No one can see our code!” • ... unless the PPE is compromised • Decrypting all code possible from GameOS • security coprocessor pointless! • But we want keys! Mittwoch, 29. Dezember 2010
  • 107. The Oracle a trophy. You have earned Obfuscation useless • Sony‘s idea: “No one can see our code!” • ... unless the PPE is compromised • Decrypting all code possible from GameOS • security coprocessor pointless! • But we want keys! Mittwoch, 29. Dezember 2010