4.0版韌體的破解理論 - 改機

John avatar
By John
at 2012-01-25T14:06

Table of Contents

http://goo.gl/VKWGn

So the lv2ldr verifys decrypts the lv2_kernal.self. We can get the
address of this happening. Inside Parameters Layout there are
arguments, they are used as commands basically to load a function you
want to use. They start in the lv2 @ 0x3E800 (seems to be same for
other ldrs) that address. There is a argument that is called lv2_in
and lv2_out (we have know about these) basically we can use lv2_in to
map out the address and lv2_out to map out the address for where the
lv2ldr decryptes the self file. We can make a program like readself
basically and get the offset, u8* means read one byte from the
address. use that and we can actually be get the exact offset where it
all happens at.
既然lv2ldr具備查驗並解秘lv2_kernel.self 主程式的能力,我們也許能藉此獲
知記憶體的位址。lv2ldr這個函式有三個輸入參數,位址從0x3E800 開始(似乎
絕大多數的ldr 的起始位址都在這附近),有一個參數叫lv2_in,參數格式是位
址指標(譯註:即pointer ),一個叫lv2_out ,參數格式也是位址,我們可以
理解成lv1 將lv2_kernel.self 載入記憶體中後,將位址指標傳給lv2ldr,解秘
後將內容寫到 lv2_out所指定的位址。因此我們只要能夠撈到lv2_out 位址記載
的東西,事情就單純了。

Once we have the location grabbing this decrypted self should be the
easy task. Like I said, some info we had and some we did not know
about can be obtained like this and used to get keys.
用這種手法,可以得到一些想知道的東西,比如說存在appldr裡頭的金鑰。

Exploiting 4.00 with this method would work, most likely because I
doubt sony changed all the locations where the loaders do there thing,
sure there encapsulated in the bootloader but they still pass over
into the ram at one point before being fed over to the metldr which
loads ldrs and if all that is still happening then Sony didn't change
nothing.
用這個手法有很高的機會能夠成功解秘4.00版韌體,最主要的原因是因為我不相
信SONY會把所有的位址都改過,就算如此,改過的位址也存在bootloader裡頭,
然後遲早都要傳到記憶體中,不然metldr沒辦法載入其他的東西。

******

個人比較好奇的地方是,就算知道了位址有辦法單靠外部電路讀出lv2_out 指標
指向位址的內容?如果不是用外部電路,那至少要能破解到有memory dump 權限
,比如說能跑 Linux的程度直接把記憶體映射到某個檔案然後去找。如果都能跑
Linux 就根本不用去管lv2_out 到底指向哪裡,因為key 的形式很固定,而且在
記憶體中一次會出現一堆,直接寫個程式去找就好,256MB 不會花太久時間的。

******

看了原作者的twitter 後,原PO果然給KaKaRoTo打臉了。

--

____ _ _ _ _ ____ _ _ ____ _____ ____
(_ _)( \( )( \/ )( ___)( \( )(_ _)( _ )( _ \
_)(_ ) ( \ / )__) ) ( )( )(_)( ) /
(____)(_)\_) \/ (____)(_)\_) (__) (_____)(_)\_)


--
Tags: 改機

All Comments

Rebecca avatar
By Rebecca
at 2012-01-27T05:39
最強戰鬥民族果然 ...
Agnes avatar
By Agnes
at 2012-01-30T20:15
悟空加油!
Ethan avatar
By Ethan
at 2012-02-02T01:57
好深奧OTZ
Hedy avatar
By Hedy
at 2012-02-04T10:29
這個系列文 整個就是未知的領域 不過還是要推原po專業文!
Hedwig avatar
By Hedwig
at 2012-02-05T00:47
好奇想問C大,想懂這些東西該深入讀什麼科目,計組嗎??
Jacob avatar
By Jacob
at 2012-02-07T17:47
OS、Kernel吧
Elizabeth avatar
By Elizabeth
at 2012-02-12T12:17
密碼學順便看看
Madame avatar
By Madame
at 2012-02-15T20:44
建議可以從組合語言開始學起
Hazel avatar
By Hazel
at 2012-02-18T08:34
不想懂太深就看計概
Delia avatar
By Delia
at 2012-02-19T15:42
我相信看了計概也不會懂多少..
Doris avatar
By Doris
at 2012-02-23T22:38
其實是完全不要想學... 沒人會想念電子科還看組語跟數邏
James avatar
By James
at 2012-02-24T13:40
數蘿 (被拖走
Tristan Cohan avatar
By Tristan Cohan
at 2012-02-27T03:12
少來,修過資結、計結、C語言的人都應該知道這在幹麼
Hedwig avatar
By Hedwig
at 2012-03-02T10:19
但是理解跟知道 跟可以自己加進去一起玩還是兩碼子事0rz
Audriana avatar
By Audriana
at 2012-03-04T11:21
噢對,我也一直都是旁觀者而已,組語碰過就不想學了><
James avatar
By James
at 2012-03-05T04:25
組語可怕,先看計概就大概可能推測這是在做什麼的吧@@

請問2.0.13604韌體的問題?

Sierra Rose avatar
By Sierra Rose
at 2012-01-24T22:57
借標題問一下 請問2.0加13604可以上網下載DLC嗎? 想下載運動大會2的更新 謝謝 ※ 引述《malegb (對啊對啊)》之銘言: : 前幾天拿XBOX360舊型去店裡升級成2.0 : 結果今天要去拿回來的時候 : 被老闆告知以下訊息: : XBOX360 主機切勿更新2.0.13604韌體以上版 ...

硬改後可刷全民脈衝自製嗎

Hazel avatar
By Hazel
at 2012-01-24T14:52
如題 本來是175W 120G 硬改過的 但是從戰爭機器3之後的遊戲都不支援備份了 所以想改用自製方式改機 請問可以改嗎? - ...

Showtime-3.4: Milestone

Ida avatar
By Ida
at 2012-01-24T14:19
變更點: Bug #216: Image navigator – missing rotation of previews Bug #448: Photo – Doesn’t display .jpg over 900ko Bug #478: new version can’t pla ...

有Wii相容的的usb3.0隨身碟嗎?

Ophelia avatar
By Ophelia
at 2012-01-24T03:36
之前買過一支金牌的16G usb3.0隨身碟,不過這支Wii似乎讀不到 在loader GX讀取硬碟畫面就卡住 想要找一支USB3.0可以被抓到的隨身碟..在試過水不想一直拔硬碟.. 想用3.0是因為傳檔快多了 atat - ...

硬改後自己刷

Agatha avatar
By Agatha
at 2012-01-23T19:32
請問版上各位先進 剛剛我更新系統版本13599(用隨身碟更新) 更新到一半時一直卡住(我是開改機模式) 之後我直接把電源關閉 現在還可正常開機,系統版本為12625 請問: 我這樣步驟是否正確? 先把光碟機韌體刷成LT1.91→更新成13599→再刷成LT3.0→在更新成14699 這台主機我 ...