graf_chokolo:我把硬碟加密關了! - 改機

Anonymous avatar
By Anonymous
at 2011-01-31T18:18

Table of Contents

http://xorloser.com/?p=297&cpage=21#comment-3221

PS3 主機是使用Unix的UFS2檔案系統,同時會將所有的資料加密。然而目前
graf_chokolo已經有辦法藉由控制HyperVisor將檔案加密。

結果不幸的事情發生了,當加密關閉後,GameOS無從解碼讀取資料,判定主機的
硬碟是全新的,所以把他的硬碟格式化掉了。不過主機並沒有掛掉,還是可以正
常開機,於是graf_chokolo把整個加密跟未加密的硬碟資料用磁碟救援工具讀出
,準備尋找解密金鑰。

同時也把HV裡面硬碟加密相關的指令全部拿出來了。

http://xorloser.com/?p=297&cpage=22#comment-3246

Storage device encryption/decryption is done by HV and peripheral
devices like ENCDEC or RBD. I'm trying to understand how the storage
subsystem of HV works currently, it's by far the most complex part
of HV i have seen so far.

And recently i figured out that the VFLASH region, where Linux boot
loader (otheros.bld) is stored, is still there on 3.41 firmware. I'm
trying now to boot Linux bootloader from this region. OtherOs.self
writes otheros.bld image to this VFLASH region and creates
cekk_ext_os_area where several parameters are stored. On 3.15
firmware, when Linux was booted, the Linux System Manager (in HV
process 9) loads Linux bootloader from the VFLASH region,
decompresses it and boots it. The problem with 3.41 firmware is,
that SONY removed Linux System Manager from HV process 9. It's no
problem for me to store Linux bootloader on this VFLASH partition.
But there are 2 problems, first the VFLASH region where Linux is
stored is 0x40000 bytes large, so there is not much place for Linux
bootloader on VFLASH, so it should be compressed to make it smaller.
Second problem is, i have to patch HV process, insert my code which
loads it from VFLASH and decompresses Linux bootloader. And after
that we could boot Linux from HDD and it would have GameOS rights,
e.g. has access to Dispatcher Manager or run isolated SPUs.
要要修改HV,才有辦法讓GameOS與Linux 共容,還有一個問題就是VFLASH的空間
太小,塞不進 Linux的Bootloader。

http://xorloser.com/?p=297&cpage=22#comment-3248

I dumped now both decrypted and encrypted sectors of UFS2. And the
same plaintext is encrypted to the same ciphertext :-) Encryption is
independent of sector position.

And SONY uses 128-bit block cipher to encrypt the blocks within a
sector.
非常合邏輯的設計,以磁區(sector)為單位加密,用太大的單位加解密的話,會
耗用過多的系統資源,拖慢磁碟效率。

http://xorloser.com/?p=297&cpage=22#comment-3259

And i figured out that the size of VFLASH region where 3.15 stored
otheros.bld can be doubled and i will be able to store decompressed
Linux bootloader otheros.bld on this VFLASH region :-) It will
simplify HV patching immensely, i do not need now to decompress Linux
bootloader in HV. I will test it today and report back. There are
0x2000 extra unused sectors between the VFLASH region for otheros.bld
and the next VFLASH region, so i can use those sectors and increase
the size of VFLASH region for otheros.bld.

We could make a CFW by patching HV with dual boot option, either
GameOS or Linux could be booted from HDD.
水啦~過不了多久就能雙開機了。

--

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


--
Tags: 改機

All Comments

Caroline avatar
By Caroline
at 2011-01-31T23:16
格式化XDDDDDDDDD
Tristan Cohan avatar
By Tristan Cohan
at 2011-02-01T11:44
杯具....
Eden avatar
By Eden
at 2011-02-02T11:09
看來離完美htpc不遠了
Delia avatar
By Delia
at 2011-02-06T11:51
我也要HTPC!!!
Jack avatar
By Jack
at 2011-02-07T13:02
太屌了 !!

請問中壢哪裡可以改機

Harry avatar
By Harry
at 2011-01-31T13:28
我抽中一台黑色的WII 所以要改機... 請問中壢哪裡有可以改機? 有信用的 請問板上各位大大 改機要注意什麼?? 價錢大概多少? 感恩! - ...

玩戰場女乳神3嚴重LAG @@

Xanthe avatar
By Xanthe
at 2011-01-31T13:24
不好意思 小弟又來了 目前玩剛出的戰場女武神3會一直LAG CPU已經333 還是不停LAG 請問還有板友跟我有一樣的問題嗎 畢竟是滿新的遊戲 不知道會不會是當初抽ISO的時候出問題??? 記憶卡空間還有1.19G 應該不算低吧 但整個超LAG(動畫+遊戲時都LAG) 還是我的記憶卡真的該 ...

硬碟的問題

Carolina Franco avatar
By Carolina Franco
at 2011-01-31T10:46
哈囉~打擾各位!!! 我想問各位有買4G的玩家,有沒有人自己去買250G的硬碟來裝呢? 買原廠比較多還是副廠的比較多呢? 4G的主機很容易就會讀到你買的250G的硬碟嗎?一插上去就會讀到了嗎? 原廠硬碟跟副廠硬碟都保固3個月嗎? 副廠硬碟會很多人用嗎? 另請問4g~X360的主機有wifi嗎 ...

存檔修改教學

Connor avatar
By Connor
at 2011-01-31T07:02
簡易圖文版:http://roder.pixnet.net/blog/post/26474803 首先要準備兩套軟體 savegame-manager-gx http://code.google.com/p/savegame-manager-gx/ Fe100 Savegame-manager-gx是放在 ...

渡假勝地和fit plus設定問題

Daph Bay avatar
By Daph Bay
at 2011-01-31T00:47
正確解法 1.第一次遊玩必須開啟player.dol看M+的教學影片 2.看完之後調回預設值或main.dol 任何USB軟體都一定這樣解 但假如還是跳回頻道或黑頻死機 1.灌ios K大的文章裡有提到的都灌 2.開啟或關閉fix002 3.換另一款USB軟體 如果還是不行 那恭喜你和我一樣人品有點差 ...