HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 9,487 | Guests: 1213 | Members: 1 


   Current Location: News New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox News

Catch up on everything Xbox including Homebrew, Emulators, Auto Installer Deluxe, Gaming, Xbox Live and Modding..

Get Xbox Game Pass Ultimate
Original Xbox Download  Xbox360 Hypervisor Vulnerability - Unsigned Code on Kernel 4532 and 4548 Original Xbox Downloads

Xbox360 Hypervisor Vulnerability - Unsigned Code on Kernel 4532 and 4548


Xbox 360
Security Advisory: Xbox 360 Hypervisor Privilege Escalation Vulnerability

Release Date:: February 28, 2007

Author: Anonymous Hacker

Timeline:
* Oct 31, 2006 - release of 4532 kernel, which is the first version
containing the bug
* Nov 16, 2006 - proof of concept completed; unsigned code running in
hypervisor context
* Nov 30, 2006 - release of 4548 kernel, bug still not fixed
* Dec 15, 2006 - first attempt to contact vendor to report bug
* Dec 30, 2006 - public demonstration
* Jan 03, 2007 - vendor contact established, full details disclosed
* Jan 09, 2007 - vendor releases patch
* Feb 28, 2007 - full public release
Patch Development Time (In Days): 6

Severity: Critical (Unsigned Code Execution in Hypervisor Mode)

Vendor: Microsoft

Systems Affected: All Xbox 360 systems with a kernel version of 4532 (released Oct 31, 2006) and 4548 (released Nov 30, 2006). Versions prior to 4532 are not affected. Bug was fixed in version 4552 (released Jan 09, 2007 - not a Patch Tuesday).

Overview:
We have discovered a vulnerability in the Xbox 360 hypervisor that allows privilege escalation into hypervisor mode. Together with a method to inject data into non-privileged memory areas, this vulnerability allows an attacker with physical access to an Xbox 360 to run arbitrary code such as alternative operating systems with full privileges and full hardware access.

Technical details:
The Xbox 360 security system is designed around a hypervisor concept. All games and other applications, which must be cryptographically signed with Microsoft's private key, run in non-privileged mode, while only a small hypervisor runs in privileged ("hypervisor") mode. The hypervisor controls access to memory and provides encryption and decryption services.

The policy implemented in the hypervisor forces all executable code to be read-only and encrypted. Therefore, unprivileged code cannot change executable code. A physical memory attack could modify code; however, code memory is encrypted with a unique per-session key, making meaningful modification of code memory in a broadly distributable fashion difficult. In addition, the stack and heap are always marked as non-executable, and therefore data loaded there can never be jumped to by unpriviledged code.

Unprivileged code interacts with the hypervisor via the "sc" ("syscall") instruction, which causes the machine to enter hypervisor mode. The vulnerability is a result of incomplete checking of the parameters passed to the syscall dispatcher, as illustrated below.

Preconditions (registers set by unpriviledged code):
%r0 syscall no.
%r3-%r12 syscall arguments

Priviledged code:
13D8: cmplwi %r0, 0x61
13DC: bge illegal_syscall
...
13F0: rldicr %r1, %r0, 2, 61
13F4: lwz %r4, syscall_table(%r1)
13F8: mtlr %r4
...
1414: blrl

The problem is that the "cmplwi" instruction compares only the lower 32 bits of the given syscall number; the upper 32 bits are ignored. The "rldicr" instruction, however, operates on the complete 64 bit register value.

The syscall handler address is fetched from the syscall handler offset table at 0x00000000.00001F68+%r0*4. Setting the upper 32 bits of %r0 to something other than 0 will change the upper 30 bits of the address used for the syscall handler offset table lookup. We will now explain how the Xbox 360 security architecture interprets and aliases these upper bits.

When processing the syscall, the processor is running in "hypervisor real mode", with the MMU switched off. However, when accessing memory locations with the MSB cleared, an additional offset, the Hypervisor Real Mode Offset (HRMO), will be applied to all memory addresses.

Due to the Xbox 360 security architecture, main memory is aliased to different addresses with different properties, in order to conditionally enable the security features (encryption and hashing). The hypervisor sets the value of the HRMO special register so that the hypervisor code, including the syscall jump table, resides in memory which is hashed as well as encrypted, even when using zero-based addresses.

When accessing memory locations with the most significant address bit set, the HRMOR setting is not applied. Due to the bug in the "cmplwi" instruction, setting the corresponding bits in %r0 on syscall entry allows setting the MSB, thereby overriding the HRMOR setting and tricking the address lookup of the syscall handler to fetch from memory without any security features.

With the syscall handler offset table aliased to unencrypted memory, the syscall handler table can now be modified to direct the hypervisor to jump to any location in code space that is designated for the hypervisor.
In the proof of concept implementation, a jump to existing hypervisor code is used with a pre-loaded register value as a trampoline to force the ultimate execution path to an arbitrary, unencrypted and executable location in memory.

Proof of Concept Details:
As it is not possible to directly overwrite even non-priviledged code, existing code needs to be tricked into calling the hypervisor syscall with the desired register set. This can be done by setting up a stack frame and forcing a context switch to this stack frame. The bug can be exploited using the following series of physical memory writes:

Setup context switch to stack @80130AF0:
00130390: 00000000 00000000 00000000 FDFFD7FF MSR mask
00130360: 00000000 80130AF0 00000000 00000000 New stack pointer

Setup stack:
00130BD0: 00000000 80070190 00000000 00000000 NIP to context restore
00130C90: 00000000 00000000 80070228 80070228 NIP, LR after context
restore point to syscall
instruction in kernel
00130CA0: 00000000 00009030 00000000 00000000 MSR

00130B40: 20000000 00000046 00000000 80130af0 r0 = syscall nr
r1 = stack
00130B60: 80000000 address1 r4 = address to jump to

00002080: 00000350 points to mtctr %r4,
bctr in hypervisor code

Code to be executed should be placed at "address1", which can be an arbitrary unused memory address.

Example code to output '!' to the on board serial port:
1:
li %r3, '!'
bl putc
b 1b

putc:
lis %r4, 0x8000
ori %r4, %r4, 0x200
rldicr %r4, %r4, 32, 31
oris %r4, %r4, 0xea00
slwi %r3, %r3, 24
stw %r3, 0x1014(%r4)
1:
lwz %r3, 0x1018(%r4)
rlwinm. %r3, %r3, 0, 6, 6
beq 1b
blr

Vendor Status: Vendor was notified anonymously, and after cordial discussions a patch was promptly released.

Recommendation: Remove R6T3.

News-Source: http://www.securityfocus.com
Original Xbox Download  Related Stories Original Xbox Downloads
 More about Xbox 360
Original Xbox Download  Most Popular Original Xbox Downloads

Xbox 360:
wxRipper v1.2 and wx360 v1.6

Original Xbox Download  Rate this Article Original Xbox Downloads
Average Score: 5 | Votes: 1




  

 Printer Friendly Printer Friendly  Send to a Friend Send to a Friend
Get Xbox Game Pass Ultimate for $1
 Xbox Download Stats
 Normal Downloads:
  Files: 1,248
  Categories: 125
  Downloads: 1,708,445
  Served  102.82 Tb

 VIP Downloads:
  Files: 772
  Categories: 168
  Downloads: 204,451
  Served  15.35 Tb


Latest Normal Downloads
Xbox Feet Replacement
DVD Elimination Kit V2
Scarface 80led Install Kit PDF Guide
XboxLike 2.0 (UnleashX)
Xbmc 3.5.3
XBOX MultiRip XGET SCRIPT
XGET
Xbox-HQ 2018 UnleashX Skin
Jedi Outcast Academy PC Source
Jedi Outcast Academy SDK
Jedi Outcast Academy XBOX Source
XBOX Save Resigner 2.2
Babylon 3 GS
Ruxia 2018
Star Wars UnleashX Skin
UXArchitect
Soulja boy skin
Tokyo Night BLKIV UnleashX Skin
AVA Backup
KIxxx v1.2 RC

Most downloaded
Auto-Installer Deluxe v1.01 (VIP)
[Downloads: 138306 x]

C-Xbox Tool 2.0.5
[Downloads: 124232 x]

EvolutionX Dashboard Build 3935
[Downloads: 70721 x]

Surreal64 (N64 Emu)
[Downloads: 50102 x]

Surreal64 CEB5.52u1
[Downloads: 41613 x]

xboxhdm 1.9
[Downloads: 39626 x]

Extract-XISO Gui for Windows
[Downloads: 37353 x]

XisoManager v1.5.1
[Downloads: 32878 x]

Xbox-Hq Auto Installer Deluxe 2.11 FINAL (VIP ONLY)
[Downloads: 30713 x]

Auto-Installer Deluxe v1.0 Manual (PDF)
[Downloads: 28195 x]

Enigmah Xbox PAL-NTSC Video Selector
[Downloads: 26461 x]

EvoX Dashboard Build 3921
[Downloads: 24556 x]

IsoMaker v1.21
[Downloads: 22598 x]

XWB Extractor 1.1
[Downloads: 22018 x]

Chimp v2.4
[Downloads: 18848 x]

Qwix 101
[Downloads: 18848 x]

ConfigMagic Final Xbox v1.6 - Source
[Downloads: 18841 x]

PCSXbox (PS1 EMU) v11
[Downloads: 17153 x]

Qwix 1.01
[Downloads: 16325 x]

Softmod Installer Deluxe v5.11 Final
[Downloads: 16092 x]


Latest VIP Downloads
Softmod Installer Deluxe v6.0
HeXEn 2017
Rocky5 Softmod Kit 2017
ISO Recorder
X3 3294 BIOS
Phoenix Bios Loader v1.4.1
Bios Checker v5.0
UnleashX V0.39.0528A
Chimp v2.6
Softmod Installer Deluxe v5.12 Final (SID5)
HuGoX v10
DaphneX v0.96 Beta
WCW Mayhem (PS1 ROM)
Final Burn Legends PGM ROMS-Number
Final Burn Legends PGM ROMs-G
Final Burn Legends PGM ROMS-E/F
Final Burn Legends PGM ROMS-D
Final Burn Legends PGM ROMS-C
Final Burn Legends PGM ROMS-B
Final Burn Legends PGM ROMS-A

Most downloaded
Auto Installer Deluxe 4.53 Part1of4
[Downloads: 11204 x]

Auto Installer Deluxe 4.53 Part2of4
[Downloads: 11150 x]

WinUAEX v18
[Downloads: 7621 x]

Auto Installer Deluxe 4.53 Lite
[Downloads: 7325 x]

Softmod Installer Deluxe v5.10 Final
[Downloads: 7214 x]

EvolutionX Dashboard Build 3935
[Downloads: 5546 x]

Auto Installer Deluxe 4.50 Final Part4of4
[Downloads: 5375 x]

Auto Installer Deluxe 4.50 Final Part 2 of 4
[Downloads: 5185 x]

Auto Installer Deluxe 4.50 Final Part 1of 4
[Downloads: 5181 x]

Auto Installer Deluxe 4.50 Final Part 3 of 4
[Downloads: 5174 x]

Atari 2600 Roms
[Downloads: 3981 x]

uaex v0.81
[Downloads: 3137 x]

WinUAE 0.9.91
[Downloads: 3135 x]

Auto-Installer Deluxe v3 (AID 3) - Torrent Link
[Downloads: 2978 x]

Evox M8+ BIOS
[Downloads: 2528 x]

tHc Autoinstaller
[Downloads: 2417 x]

Xecuter2 4983.67 Bios CD
[Downloads: 1818 x]

Xbox-Hq BIOS CD Pack v2.01
[Downloads: 1808 x]

DVD-X v2.0 *DONGLE & REMOTE FREE*
[Downloads: 1782 x]

Evo-XXX Adult Skinpack
[Downloads: 1628 x]

More Xbox Files and Downloads
 Site Statistics

  HQ Online Statistics
    Members: 1 | Guests: 1,213 | Xbox Live Tags: 4,376

Alexcast
HQ Registered Member
View More Detailed Statistics
 Site Statistics

  HQ Online Statistics
    Members: 1 | Guests: 1,213 | Xbox Live Tags: 4,376

   Forums
Active Users: 735
   Your Account
Active Users: 183
   News
Active Users: 74
   Xbox Games
Active Users: 52
   Private Messages
Active Users: 36
   Profile
Active Users: 25
   Xbox Homebrew
Active Users: 23
   Home
Active Users: 21
   Downloads
Active Users: 20
   VIP Signup
Active Users: 12
View More Detailed Statistics
 Site Statistics

  HQ Online Statistics
    Members: 1 | Guests: 1,213 | Xbox Live Tags: 4,376

   Registered HQ Members: 224,142
   Website Launched: May 2003
   Page Impressions: 585,756,388
   Forum Topics: 26,336
   Forum Posts: 177,688
   News Articles: 9,316
   News Comments: 1014
   Xbox Games: 1154
   Xbox Screenshots: 2,064
   Xbox Cheats, Codes & Guides: 686
   Xbox Game Reviews: 138
   Xbox Homebrew: 410
   Xbox Tutorials: 271
   Xbox Downloads: 1,248
   Xbox VIP Downloads:
View More Detailed Statistics
 Popular Xbox Games
Star Wars Battlefront II
   Page Views: 436,472

Star Wars Battlefront II improves upon the original game's single-player experience with open-ended, mission-based objectives inspired by all six Star Wars films. The compelling storyline spans more t..
Star Wars Battlefront II Boxart for the Original Xbox
More Xbox Games
 HQ Network Affiliates
Xbox.Com
Xbox One Games
MrModChips.Co.Uk
GamerBolt.Com
Commodore Cardboards
Xbox Achievements
Play-Asia.Com
Video Game Consoles
Xbox Accessories
Xbox360RepairService
View All HQ Affiliates
Xbox Game Pass
 Xbox-Hq.Com - Archived News

   Thursday, April 18
 GIC’24 Early Bird Tickets Now Available
 published by: BigJ | Page Views: 29 | Comments: 0

   Wednesday, April 17
 Killer Klowns From Outer Space: The Game laun
 published by: BigJ | Page Views: 35 | Comments: 0
 Epic Fantasy RPG 'Dungeons of Hinterberg' is
 published by: BigJ | Page Views: 33 | Comments: 0

   Tuesday, April 16
 Sleight of Hand launches Day One on Xbox Game
 published by: BigJ | Page Views: 42 | Comments: 0

   Monday, April 15
 Dune: Awakening Shows Off Stunning Unreal Eng
 published by: BigJ | Page Views: 87 | Comments: 0
 INDIE Live Expo Reveals First 2024 Showcase,
 published by: BigJ | Page Views: 54 | Comments: 0

   Friday, April 12
 Build Your Empire: 'Rise of Industry 2' Comin
 published by: BigJ | Page Views: 60 | Comments: 0

   Thursday, April 11
 Perennial Order is set to bloom on Xbox Serie
 published by: BigJ | Page Views: 52 | Comments: 0
 Metro Simulator 2 is coming soon for Xbox and
 published by: BigJ | Page Views: 59 | Comments: 0

   Wednesday, April 10
 Terminator: Survivors announced for Xbox Seri
 published by: BigJ | Page Views: 78 | Comments: 0

   Tuesday, April 09
 TMNT: Wrath of the Mutants Hits XBOX, PlaySta
 published by: BigJ | Page Views: 61 | Comments: 0
 devcom announces new venue, call for speakers
 published by: BigJ | Page Views: 71 | Comments: 0

   Monday, April 08
 Space Invaders Deck Commander - The Board Gam
 published by: BigJ | Page Views: 68 | Comments: 0
 Demolish & Build 3 is coming to Xbox, PlaySta
 published by: BigJ | Page Views: 79 | Comments: 0

   Tuesday, March 26
 Rugrats: Adventures in Gameland coming soon f
 published by: BigJ | Page Views: 93 | Comments: 0

   Monday, March 25
 Sci-fi adventure 'Sky of Tides' announced for
 published by: BigJ | Page Views: 101 | Comments: 0

   Friday, March 22
 Planet Zoo: Console Edition arrives on March
 published by: BigJ | Page Views: 121 | Comments: 0

   Thursday, March 21
 Taxi Life: A City Driving Simulator Out Now o
 published by: BigJ | Page Views: 90 | Comments: 0
 Terra Memoria is set to launch on Xbox Series
 published by: BigJ | Page Views: 113 | Comments: 0

   Wednesday, March 20
 MLB The Show 24 launches on Xbox Game Pass
 published by: BigJ | Page Views: 117 | Comments: 0

   Tuesday, March 19
 Discover the Sound of Life in The Lullaby of
 published by: BigJ | Page Views: 132 | Comments: 0

   Monday, March 18
 FLIPGO: A portable dual monitor that you can
 published by: BigJ | Page Views: 153 | Comments: 0

   Thursday, March 14
 Highwater launches this week on Xbox X|S, XB1
 published by: BigJ | Page Views: 125 | Comments: 0
 JSAUX’S Black MODCASE for the ROG Ally Is Ava
 published by: BigJ | Page Views: 142 | Comments: 0

   Wednesday, March 13
 Paper Ghost Stories: Third Eye Open coming to
 published by: BigJ | Page Views: 124 | Comments: 0

   Tuesday, March 12
 Night Slashers: Remake confirmed for XBOX, Pl
 published by: BigJ | Page Views: 141 | Comments: 0
 RuneScape developer Jagex joins CVC Capital P
 published by: BigJ | Page Views: 136 | Comments: 0

   Monday, March 11
 Dark JRPG Graphic Adventure 'Neon Blood' debu
 published by: BigJ | Page Views: 131 | Comments: 0

   Friday, March 08
 WWII-based strategy epic Classified: France '
 published by: BigJ | Page Views: 167 | Comments: 0
 Sonic X Shadow Generations hits Xbox One, Xbo
 published by: BigJ | Page Views: 161 | Comments: 0

   Thursday, March 07
 Explore the World of Ink Painting in Realm of
 published by: BigJ | Page Views: 116 | Comments: 0

   Wednesday, March 06
 Barton Lynch Pro Surfing Update v1.07 is LIVE
 published by: BigJ | Page Views: 116 | Comments: 0
 FALLEN LEAF Teams Up with STUDIOS EXTRAORDINA
 published by: BigJ | Page Views: 141 | Comments: 0

   Tuesday, March 05
 Goons: Legends & Mayhem: Meet the Cat Goon an
 published by: BigJ | Page Views: 120 | Comments: 0

   Monday, March 04
 Hauntii hits Xbox Game Pass for console and P
 published by: BigJ | Page Views: 160 | Comments: 0
 REVEIL launches this week on Xbox Series, PS5
 published by: BigJ | Page Views: 128 | Comments: 0

   Friday, March 01
 Dark Atlas: Infernum launching on Xbox, PlayS
 published by: BigJ | Page Views: 162 | Comments: 0
 Towerful Defense: A Rogue TD confirmed for XB
 published by: BigJ | Page Views: 128 | Comments: 0

   Thursday, February 29
 The House of Tesla announced for Consoles, iO
 published by: BigJ | Page Views: 106 | Comments: 0

   Wednesday, February 28
 Martha Is Dead: The Terrifying Game That's Ge
 published by: BigJ | Page Views: 130 | Comments: 0

News Archive


Get Xbox Game Pass Ultimate