XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 06:47:25 PM


Login with username, password and session length


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »
  Print  
Author Topic: 0225/0401/0272 write protection beated by russian hackers !!!  (Read 30149 times)
Vampirtc
Hacker
***
Posts: 66


View Profile
« Reply #160 on: July 28, 2011, 07:28:21 AM »


Here is better explanation of write protection:
http://notes-application.abcelectronique.com/005/5-10897.pdf
Logged
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #161 on: July 28, 2011, 07:37:09 AM »

no mention of the mxic voltage with a 5ohm resistor?

And the commands work because of the low power state it would seem, essentially brute forcing and checking if the commands were successful, hence the loops.
Logged
tingedace
Member
**
Posts: 27


View Profile
« Reply #162 on: July 28, 2011, 07:38:56 AM »

do you have an mxic and a winbond board handy? Check the voltage at #cs when a 5ohm resistor is pulling the 3.3v point (with the cut) on the underside of the board down -- it would be expected that #cs remains high on the mxic and low on the winbond. If not, then that pin is not used for #cs with the internal flash. You'd then need to hunt around the chip for a pin which is high on the mxic and low on the winbond. That would theoretically be the #cs pin and we'd have to pull it high on the winbond.
From what I can gather from the data sheet, I don't think that #cs changes during brown out because you can still read the status, so chip must still be selected.
Logged
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #163 on: July 28, 2011, 07:46:21 AM »

not from what I recall, the intro brings up an spi status of 0xff whereas the mxic brings up either 0x00 or 0x8c

This is of course with a 5ohm resistor seeing as a 10ohm resistor is not enough to put the winbond into vendor mode.
Logged
Usuario-X
Member
**
Posts: 14


View Profile
« Reply #164 on: July 28, 2011, 03:07:49 PM »

Do you try to put a potenciometer in the 5v line. The master line of the drive? because the 3.3v line ist no used by the drive only 5 and 12v.

May be works.

In MX maybe you dont need to cut the trace.
Logged
xstationbr2
Member
**
Posts: 36


Live and Let Die


View Profile WWW
« Reply #165 on: July 28, 2011, 03:23:49 PM »

Yes MX is not necessary cut traces.
Logged

Xbox 360 S 250gb, PS3 Fat 160Gb+640Gb USB + Backward JAILBROKED.
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #166 on: July 28, 2011, 05:19:29 PM »

new thought since pulling cs low externally doesn't seem like its going to happen

any switch / relay that will open and close with a speed greater than 0.01ms ?

This would defeat the brownout detection? And have the voltage 1volt every 0.01ms or sooner.
Logged
CLaeR
Newbie
*
Posts: 8


View Profile WWW
« Reply #167 on: July 28, 2011, 05:28:32 PM »

new thought since pulling cs low externally doesn't seem like its going to happen

any switch / relay that will open and close with a speed greater than 0.01ms ?

This would defeat the brownout detection? And have the voltage 1volt every 0.01ms or sooner.
can we use something like this for it?
http://www.national.com/ds/LM/LM555.pdf
Logged

xbox 360 flash, modchips, game consoles
http://xbox360.vipfin.ru
tingedace
Member
**
Posts: 27


View Profile
« Reply #168 on: July 28, 2011, 08:56:35 PM »

not from what I recall, the intro brings up an spi status of 0xff whereas the mxic brings up either 0x00 or 0x8c

This is of course with a 5ohm resistor seeing as a 10ohm resistor is not enough to put the winbond into vendor mode.

OK, maybe you're right I'd need to check to be sure. Since the brownout threshold is Vwi (write inhibit) I thought it still allowed reads.
Anyhow, it doesn't look like there will be a software-only solution to this.

One more thing I must confess I don't understand exactly is... what is the voltage pull down actually doing? Initially I thought it was tricking the SPI into thinking that #WP was pulled high but I don't see how that would be. Thanks and let's keep at it!
Logged
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #169 on: July 28, 2011, 09:02:50 PM »

I believe the low voltage still allows the device to operate but with such little power status registers can glitch and return incorrect values, and I believe the russian program brute forces commands until it receives the right response back then alters the bits once it has access.
« Last Edit: July 29, 2011, 01:13:37 AM by glaze83 » Logged
bluemimmos
Hacker
***
Posts: 70

Its me, me, me and only me...... :D


View Profile
« Reply #170 on: July 29, 2011, 01:07:46 AM »

The Write Status Register
instruction also allows the Status Register Protect bit (SRP) to be set. This bit is used in conjunction
with the Write Protect (/WP) pin to disable writes to the status register. When the SRP bit is set to a 0
state (factory default) the /WP pin has no control over the status register. When the SRP pin is set to a
1, the Write Status Register instruction is locked out while the /WP pin is low. When the /WP pin is
high the Write Status Register instruction is allowed.

well the problem is how to set the wp pin high; how does the wp pin is tied internally, if its internally tied with ground, then i think there is no possiblke way to make it high without disconnecting it from GND. But if theres a pull down resistor used in ground to wp pin then i think there might be chance to set htw wp pin high. But i am not ee, so pls dont fully rely on me.

and to quote geremia :
Quote
You have 2 possibility for a not proper way.
- lift some pin and try some random vcc attack, but consider the spi is wired to vcc and gnd shared with other internal components
- bruteforce spi cmds and parameters to hopefully find out a (plausible?!?) undocumented custom spi cmds (mx and winbod specific) which overrules the WP pin.


And as per the implementation detail provided, it is reffered that wp pin must be tied with gnd by resistor so that applying vcc on wp pin can later make it disable the write protect. so basically, one need to decap that mt1335WE and see how the pins are connected on the spi, how the wp pin is routed to the outer connections. I think geremia has done it already, and hope he can elaborate it clearly, how the wp pin is routed inside the chip.

Cheesy
« Last Edit: July 29, 2011, 01:23:23 AM by bluemimmos » Logged
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #171 on: July 29, 2011, 01:27:44 AM »

geremia had it decapped -- wp is tied to ground
Logged
bluemimmos
Hacker
***
Posts: 70

Its me, me, me and only me...... :D


View Profile
« Reply #172 on: July 29, 2011, 01:57:26 AM »

then the only way is to try random vcc attack and see, but what are we trying to do then, if it is known that wp is tied to ground. Is there some backdoor to  bypass the write protection? Can u please how the hack is working on the mxic chipset then? well i need to see some info on how the hack is working.
that will make us clear.
Logged
misterfly
Hacker
***
Posts: 73



View Profile
« Reply #173 on: July 29, 2011, 02:02:17 AM »

geremia had it decapped -- wp is tied to ground
Solution to leave from ground now is possible  Grin Grin
Logged
bluemimmos
Hacker
***
Posts: 70

Its me, me, me and only me...... :D


View Profile
« Reply #174 on: July 29, 2011, 02:06:18 AM »

geremia had it decapped -- wp is tied to ground
Solution to leave from ground now is possible  Grin Grin

what does that mean? whats the solution? can u shed some light on what u are talking.
Logged
Vampirtc
Hacker
***
Posts: 66


View Profile
« Reply #175 on: July 29, 2011, 02:43:02 AM »

geremia had it decapped -- wp is tied to ground
Solution to leave from ground now is possible  Grin Grin

what does that mean? whats the solution? can u shed some light on what u are talking.
Ignore him, read his previous comments and you'll see why.

I believe the low voltage still allows the device to operate but with such little power status registers can glitch and return incorrect values, and I believe the russian program brute forces commands until it receives the right response back then alters the bits once it has access.
I can not see a loop in the source code posted here.
« Last Edit: July 29, 2011, 05:28:48 AM by Vampirtc » Logged
glaze83
Xbox Hacker
*****
Posts: 534


View Profile
« Reply #176 on: July 29, 2011, 06:50:13 AM »

The !if statements aren't?
Logged
modguru
Master Hacker
****
Posts: 172


View Profile WWW
« Reply #177 on: July 29, 2011, 06:58:22 AM »

it is party time again
Logged

tingedace
Member
**
Posts: 27


View Profile
« Reply #178 on: July 29, 2011, 07:07:57 AM »

Correct, there's no looping or brute forcing of commands in the russian tool for MXIC. The write enable is sent, then the status register is cleared and that's it. Simple, really :-|

However, once in vendor mode, I'm going to try sending these commands in a tight loop:
-write instruction
-read status

And repeatedly switch the resistor in and out to see if there's any glitch that causes the the command to be accepted.
If it happens we'll see the WEL bit get set.
Logged
Vampirtc
Hacker
***
Posts: 66


View Profile
« Reply #179 on: July 29, 2011, 12:16:14 PM »

Correct, there's no looping or brute forcing of commands in the russian tool for MXIC. The write enable is sent, then the status register is cleared and that's it. Simple, really :-|

However, once in vendor mode, I'm going to try sending these commands in a tight loop:
-write instruction
-read status

And repeatedly switch the resistor in and out to see if there's any glitch that causes the the command to be accepted.
If it happens we'll see the WEL bit get set.
I think it would smarter if you would first create timing schematics and calculate your chances. If its even possible its possible you need to hit the exact ns.
I was told the chances are the same as winning the lottery five times in a row.

And lets put things into perspective. People have been trying to solve this for months (possibly a year), even decapped and its obvious those with the know how and experience haven't shared anything relevant.
« Last Edit: July 29, 2011, 12:21:07 PM by Vampirtc » Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM