Hacking the Xbox 360 Hypervisor Part 3: Bad Update Improvements icode4.coffee · ...

@best

Hacking the Xbox 360 Hypervisor Part 3: Bad Update Improvements icode4.coffee · 42 points · 2 comments · HN thread

TL;DR The author describes how the Bad Update Xbox 360 hypervisor exploit went from about 20 minutes with roughly 30% success to near-instant with near-100% success, thanks to community contributions. The main gains came from a Rock Band Blitz demo save entry point that removes the need for a game disc, a precomputed ciphertext hash table, a dcbz-based cache flush, hardware thread priority scheduling, and a counter-based detection method that fixes false positives.

  • A new entry point via a crafted save in the Rock Band Blitz demo package (found by ihatecompvir and InvoxiPlayGames) replaces the Tony Hawk American Wasteland disc, so the exploit runs from a USB stick.
  • Máté's pull request added a 2^20-entry ciphertext hash table covering all 1024 whitening values, about 24MB in total, which cut the race setup time to seconds.
  • Máté's use of dcbz (data cache block set to zero) as a cache flush primitive worked better than the author's prior approach; the author enlarged the thrash buffer to three regions for more pressure.
  • Setting hardware thread priorities so the XKE payload thread gets 1 of 32 dispatch slots and the overwrite thread gets 31 keeps the CPU in the detection loop most of the time.
  • The old detection could not count how many blocks were written, causing missed successes and false positives that crashed the console; a dedicated thread now counts all 15 block writes.
  • Cache pressure caused crashes in HvpRelocateProtectedToPhysical, which the author avoided by dropping the L2 locks and stopping the thrash thread once the 15th block is observed; the cause of the crash is not fully understood.

Discussion The thread is very small, with a single top-level comment and one reply. The mood is light and appreciative: one commenter reports successfully running Bad Update 1.3 on a cheap Corona 360 bought for $50 and says their child is enjoying it, and the reply jokes about running macOS on the same hardware.

  • Bad Update works reliably on cheap used hardware (a few): A commenter bought a Corona 360 with a 250GB drive for $50, installed Bad Update 1.3, and reports that everything worked perfectly on the first try, with a child using it happily.
  • Interest in repurposing the 360 for other operating systems (a few): One reply expresses interest in using such a console to run macOS X, which is a playful suggestion rather than a technical discussion of feasibility.

#Xbox360 #hypervisor #exploit #reverseEngineering #gameConsoles