HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 17,748 | Guests: 6137 | Members: 0 


   Current Location: News Discord   |   Flickering and shimmering lines across screen   |   New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   To repair the old Series X or buy new Series X?   |   Error 13 on new HDD   |   anywhere at where i can source some part(s) out   |   WTB : x ecuter 3 modded part(s)   |   Issues with modded xbox open xenium running cerbios   |   Xbox Rewards Problems   |   SNESticle compatibility list. PS2 2024   |   
  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,726,821
  Served  103.09 Tb

 VIP Downloads:
  Files: 772
  Categories: 168
  Downloads: 204,505
  Served  15.36 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: 138350 x]

C-Xbox Tool 2.0.5
[Downloads: 126359 x]

EvolutionX Dashboard Build 3935
[Downloads: 71167 x]

Surreal64 (N64 Emu)
[Downloads: 50301 x]

Surreal64 CEB5.52u1
[Downloads: 41636 x]

xboxhdm 1.9
[Downloads: 39738 x]

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

XisoManager v1.5.1
[Downloads: 33839 x]

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

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

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

EvoX Dashboard Build 3921
[Downloads: 24628 x]

IsoMaker v1.21
[Downloads: 22711 x]

XWB Extractor 1.1
[Downloads: 22451 x]

Qwix 101
[Downloads: 19229 x]

Chimp v2.4
[Downloads: 19113 x]

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

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

Qwix 1.01
[Downloads: 16643 x]

Softmod Installer Deluxe v5.11 Final
[Downloads: 16225 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: 11210 x]

Auto Installer Deluxe 4.53 Part2of4
[Downloads: 11151 x]

WinUAEX v18
[Downloads: 7621 x]

Auto Installer Deluxe 4.53 Lite
[Downloads: 7330 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: 5377 x]

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

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

Auto Installer Deluxe 4.50 Final Part 3 of 4
[Downloads: 5176 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: 2418 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: 0 | Guests: 6,137 | Xbox Live Tags: 4,375

View More Detailed Statistics
 Site Statistics

  HQ Online Statistics
    Members: 0 | Guests: 6,137 | Xbox Live Tags: 4,375

   Forums
Active Users: 5112
   Your Account
Active Users: 326
   Downloads
Active Users: 193
   
Active Users: 120
   News
Active Users: 96
   Xbox Cheats
Active Users: 66
   Xbox Games
Active Users: 43
   Home
Active Users: 41
   Xbox Tutorials
Active Users: 36
   Xbox Homebrew
Active Users: 30
View More Detailed Statistics
 Site Statistics

  HQ Online Statistics
    Members: 0 | Guests: 6,137 | Xbox Live Tags: 4,375

   Registered HQ Members: 224,676
   Website Launched: May 2003
   Page Impressions: 855,021,784
   Forum Topics: 26,353
   Forum Posts: 177,750
   News Articles: 9,371
   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
BloodRayne
   Page Views: 362,970

An intense action/horror game with a super-sexy, super-lethal, super-natural heroine named Agent BloodRayne - the most deliciously wicked action heroine ever to grace a console game. She's half-human,..
BloodRayne 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

   Wednesday, January 22
 WUCHANG: Fallen Feathers launches day one wit
 published by: BigJ | Page Views: 359 | Comments: 0

   Tuesday, January 14
 'StarKeeper' Announced for Xbox X|S, PS5, Swi
 published by: BigJ | Page Views: 359 | Comments: 0

   Monday, January 13
 Shroom Siege announced for Xbox Series, PS4|5
 published by: BigJ | Page Views: 352 | Comments: 0

   Monday, January 06
 Award-Winning Sci-Fi Builder 'IXION' Lands on
 published by: BigJ | Page Views: 364 | Comments: 0

   Friday, November 01
 Detective Sim 'Shadows of Doubt' confirmed fo
 published by: BigJ | Page Views: 437 | Comments: 0

   Monday, September 30
 Co-op Action Rogue-Like SWORN launches on Xbo
 published by: BigJ | Page Views: 420 | Comments: 0

   Monday, September 09
 Dollhouse: Behind the Broken Mirror Hits Xbox
 published by: BigJ | Page Views: 352 | Comments: 0

   Thursday, September 05
 Kingdom Come: Deliverance 2 Announced For Xbo
 published by: BigJ | Page Views: 402 | Comments: 0

   Wednesday, September 04
 2025 release for Promise Mascot Agency on Xbo
 published by: BigJ | Page Views: 619 | Comments: 0

   Monday, September 02
 First Dwarf coming to Xbox Series X/S, PS5, S
 published by: BigJ | Page Views: 360 | Comments: 0

   Thursday, August 29
 “Wardens Rising” arrives later this year on X
 published by: BigJ | Page Views: 458 | Comments: 0

   Wednesday, August 28
 Crime Simulator announced for XBOX X/S, XB1,
 published by: BigJ | Page Views: 792 | Comments: 0

   Tuesday, August 27
 Action Adventure 'Island of Winds' Is Heading
 published by: BigJ | Page Views: 564 | Comments: 0

   Monday, August 26
 Steel Seed Drops New Gameplay Ahead Of 2024 L
 published by: BigJ | Page Views: 394 | Comments: 0

   Friday, August 23
 Nekki and Story Kitchen to bring SPINE to lif
 published by: BigJ | Page Views: 451 | Comments: 0

   Wednesday, August 21
 Yooka-Replaylee - A High-Def Remake of Yooka-
 published by: BigJ | Page Views: 442 | Comments: 0

   Tuesday, August 20
 DevGAMM Game Industry Conference returns to P
 published by: BigJ | Page Views: 374 | Comments: 0
 Magical RPG Garden Witch Life set for console
 published by: BigJ | Page Views: 357 | Comments: 0

   Monday, August 19
 Lost in Tropics debuts on PC, with console re
 published by: BigJ | Page Views: 377 | Comments: 0

   Thursday, August 15
 Undisputed brings authentic boxing to console
 published by: BigJ | Page Views: 531 | Comments: 0

   Wednesday, August 14
 The Precinct Launches for Xbox Series, PS5, a
 published by: BigJ | Page Views: 470 | Comments: 0
 'Big Helmet Heroes' To Launch This Year For X
 published by: BigJ | Page Views: 646 | Comments: 0

   Tuesday, August 13
 Warhammer 40,000: Mechanicus II set for relea
 published by: BigJ | Page Views: 511 | Comments: 0

   Monday, August 12
 Extinction Rifts unleashes cross-platform cha
 published by: BigJ | Page Views: 461 | Comments: 0

   Wednesday, August 07
 Magical Bakery Set To Cast A Spell On Xbox Se
 published by: BigJ | Page Views: 431 | Comments: 0

   Tuesday, August 06
 Lady Death: Demonicron is coming to Xbox Seri
 published by: BigJ | Page Views: 427 | Comments: 0
 Whimsical RPG Necro Story launches on all maj
 published by: BigJ | Page Views: 453 | Comments: 0

   Monday, August 05
 Take to the skies with Microsoft Flight Simul
 published by: BigJ | Page Views: 416 | Comments: 0

   Friday, August 02
 Designated Demigod launches in 2025 for Conso
 published by: BigJ | Page Views: 542 | Comments: 0

   Wednesday, July 31
 Deathbound Launches Simultaneously Across Xbo
 published by: BigJ | Page Views: 595 | Comments: 0

   Friday, May 24
 Chrysolite announced for to Xbox Series, Play
 published by: BigJ | Page Views: 443 | Comments: 0

   Thursday, May 23
 Toopan Games Unveils 2025 Release for 'Multiv
 published by: BigJ | Page Views: 484 | Comments: 0

   Tuesday, May 21
 AAA Multi-IP Battle Royale “OPEN” confirmed f
 published by: BigJ | Page Views: 634 | Comments: 0

   Monday, May 20
 THE SMURFS - Village Party launches in June o
 published by: BigJ | Page Views: 747 | Comments: 0

   Friday, May 17
 Puppet House creeps onto Xbox Series, PS5, an
 published by: BigJ | Page Views: 841 | Comments: 0
 ESDigital Games and Storm in a Teacup team up
 published by: BigJ | Page Views: 826 | Comments: 0

   Thursday, May 16
 F1 Manager 2024 coming to Xbox X|S, XB1, PS4|
 published by: BigJ | Page Views: 637 | Comments: 0

   Tuesday, May 14
 The Night Wanderer and Thorgal - two new game
 published by: BigJ | Page Views: 709 | Comments: 0

   Monday, May 13
 'Realm of Ink' Reveils New Map Trailer, Invit
 published by: BigJ | Page Views: 566 | Comments: 0

   Friday, May 10
 System Shock remake arives May 21st on Xbox S
 published by: BigJ | Page Views: 610 | Comments: 0

News Archive


Get Xbox Game Pass Ultimate