作者cassine (Savannah)
看板Modchip
标题[PS3 ] 如何读出主机root key
时间Thu Nov 10 11:28:36 2011
http://www.ps3hax.net/2011/11/rumorps3-metldr-exploit-been-leaked/#more-12322
ohai ill tell you guys howto use mathldr (i like to call it that, its
kinda catchy) this is pretty safe just dont go crazy with it, you're
only gonna mess your eid up if you attemp to rehash it and flash or
attempt in any way to replace your eid you can decrypt eid with root
keys and static keys in the wiki key page
呦呵!来教大家怎麽玩弄 mathldr(我个人比较喜欢这样叫,因为比较潮XD),
操作步骤很安全,如果你没乱搞的话。除非你去乱搞eid 或是想要重签或是重新
写入flash 才会有变砖的危险。
prerequisites:
前置作业:
1.otheros++ with ss patches (yes the ones that cause trophy errors,
just update when you wanna play games again and dont complain)
带有ss修补的OtherOS 系统,OtherOS++ 可以用,但会让奖盃列表出错,所
以要玩游戏时要刷回来,别抱怨了。
2.linux on your ps3 (im using ubuntu 10.10)
能够在 PS3主机上执行的 Linux套件(我用Ubuntu 10.10)〔译注:我用
Debian 6.0〕
3.a unpacked copy of your flash (which you can obtain by using
glevands dumpflash.pkg gitbrew.org/~glevand/ps3/pkgs/dump_flash.pkg)
and an unpacked copy of ofw you will need the following files from
these:
自主机 flash读出的档案(就是你用gelvands的dumpflash 工具读出的那个)
〔译注:第一个 USB储存装置上的flash.bin 档,依照主机 flash的大小有
256MB 或是16MB两种可能〕,然後利用工具把3.55-SONY 官方韧体包解开,
你还需要以下档案。
metldr
isoldr
RL_FOR_PROGRAM.img
EID0 (you will need to split eid from your flash)
http://www.ps3devwiki.com/index.php?title=Dev_Tools#dump_EID0.sh
EID0这个东西必须从 flash.bin里头分出来,参考以上连结
spp_verifier.self
default.spp
and obviously appldr-metldrexploit350.self from the files
当然也会需要appldr-metldrexploit350.self这个档案
http://gotbrew.org/metldr838exploit.tar.gz
4.latest gitbrew linux kernel
gitbrew团队最新版的 Linux核心〔译注:自http://goo.gl/sQPw7下载编译後安装〕
5.a desire to quit *****ing and complaining and get off your ass.
******************************************************************************
you can do this over ssh or on console I prefer ssh because my
girlfriend likes to watch tv alot.
这些事情可以用 ssh远端连线到 PS3主机来弄,我喜欢用这个方法,因为我闪光
每次都跟我抢遥控器。
1.ssh into the ps3
用 ssh连入 PS3主机〔译注:pietty很好用〕
2.download the files
下载档案
a. hots $ wget
http://gotbrew.org/metldr838exploit.tar.gz
3.untar the files
解压缩档案
a. host $ tar -xvf metldr838exploit.tar.gz
4.enter the directory and compile
编译档案
a. host $ cd metldr838exploit
b. host $ make
5.run the following commands now:
执行以下指令:
a. host $ insmod ./metldrpwn.ko
b. host $ cat metldr > /proc/metldrpwn/metldr
c. host $ cat appldr-metldrexploit350.self > /proc/metldrpwn/mathldr
d. host $ cat RL_FOR_PROGRAM.img > /proc/metldrpwn/rvkprg
e. host $ cat eid0 > /proc/metldrpwn/eid0
f. host $ echo 1 > /proc/metldrpwn/run
g. host $ cat /proc/metldrpwn/debug
there now you have a dump check it out:
到此就已经把该读出来的东西读出来了,来检查一下
h. host $ hd /proc/metldrpwn/dump | less
now copy the dump somewhere or you'll lose it:
把读出来的东西摆到一个安全的地方,不然不小心丢了又要重来一次
i. host cp /proc/metldrpwn/dump /home/username/
〔译注:如果有视窗介面就不用打指令了〕
now you have a copy in your home directory for safe keeping
congrats youve completed about < 10 mins of actual work
现在东西摆在家目录里头了,犒赏一下自己这10分钟不到的努力吧!
there you go keys are in 0x00 to 0x20 (first 3 lines)
注意前三列,位址0x00到0x20的东西,就是我们要的主机root key了
So now you get code execution on metldr at the best time possible
because your code executes right after metldr copies the root keys
from 0x00 to 0x30, which means you get to dump these too. (Although
they are hardcoded in metldr's code anyway)
显然我们已经能够让自己的程式在metldr上头执行了,而且就紧接在metldr
将root key复制到0x00跟0x20之後,所以我们藉此将root key读了出来。
example:
范例:
erk: #
00000000 66 4d ee 51 65 6f 68 28 38 98 83 ea df ea 90 04 |fM.Qeoh(8.......|
00000010 01 f3 79 09 d6 a6 52 d9 ea 6d ef 04 51 69 ec 7b |..y...R..m..Qi.{|
riv:
00000020 7d 6a 3a e5 37 ba 48 4c fe bd 26 5c f5 b1 28 1f |}j:.7.HL..&..(..|
the first 2 lines are erk the 3rd is riv and together they are eid0
like captain ****in planet
前两列是金钥的 erk,第三列则是 riv,这两者组成EID0
btw this does not mean you get 3.60 keys etc or newer games but it
will help you get some nifty things to do some new stuff.... also
please be advised that if you are on 3.60+ you will need to downgrade
with a flasher to do this, also if you have a unit that shipped from
the factory with the metldr.2 (new metldr) your sol at the moment
oh thanx math thanx anon leaker.
提醒一下,拿到root key并不代表你就一定能拿到3.60+ 的金钥,或是就能
顺利执行新版的游戏,但这能够让我们去干些有趣的事情……。另外还有就
是已经升级到3.56以上版本的人,你必须想办法去借晶片烧录器用硬体方式
降级回3.55或以下某个能执行 Linux或是自制成是的版本,如果你是有新版
metldr.2的主机,请继续等吧,这个方法对你行不通。最後感谢Mathieulh
以及相关人员的贡献。
******
转录前请先徵得本人许可
--
百年国庆晚会改编主题曲《
六三三》词:中立选民/曲:陈志远 这一篇文章值
53 Ptt币
六三三 六三三 我们都要
六三三 六三三啊
六三三 我们都要
六三三
投
马騜 投
马騜 含泪都要投
马騜 投
马騜啊投
马騜 含着眼泪都要投
马騜
手握着降价的
米酒 看着那
白海豚转弯 无薪假在家又何妨 含着眼泪再投
马騜
无薪假在家又何妨 含着眼泪再投
马騜 手握着降价的
米酒 看着那
白海豚转弯
投
马騜 投
马騜 含泪都要投
马騜 投
马騜啊投
马騜 含着眼泪都要投
马騜
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.120.31.137
1F:推 chiyosuke:推 11/10 15:39
2F:推 fly9588: 倒 11/10 16:27
3F:推 belion: P 11/10 21:45
4F:推 nightfrost: S 11/11 00:17
5F:推 talbot: 3 11/11 00:30
6F:推 rabbit83035: P 11/11 09:13
7F:推 toro1144: P 11/11 12:44
8F:推 ggyyhippo: T 11/11 12:54
9F:推 egnaro123: 慢 11/12 02:42
10F:→ glenye123:不小心就想推IMBA 11/14 12:21