A9VG电玩部落论坛

 找回密码
 注册
搜索
楼主: 811221

[破解] [破解]全球首款Wii平台中文化游戏【内附视频】

[复制链接]

精华
0
帖子
265
威望
0 点
积分
498 点
种子
5 点
注册时间
2007-12-6
最后登录
2022-4-13
发表于 2008-5-29 22:26  ·  北京 | 显示全部楼层
全体都没猜中,体力每人+5

精华
2
帖子
4942
威望
7 点
积分
6124 点
种子
0 点
注册时间
2007-4-8
最后登录
2024-3-12
发表于 2008-5-29 22:39  ·  北京 | 显示全部楼层
下面是引用aim于2008-05-29 21:58发表的:

+1

等分解汉化后的WAD

.......

问个问题:

To obtain the title key, simply decrypt it using the master key and the given IV (last eight bytes zero, first eight bytes supplied).

这个 master key 从那里来啊?有了master key , 和 IV组合 用RSA-2048算法反算解密得到title key是吗?
aim

精华
2
帖子
5433
威望
7 点
积分
6041 点
种子
5 点
注册时间
2005-7-12
最后登录
2020-11-17
发表于 2008-5-29 22:52  ·  广东 | 显示全部楼层
下面是引用silenceburn于2008-05-29 22:39发表的:


问个问题:

To obtain the title key, simply decrypt it using the master key and the given IV (last eight bytes zero, first eight bytes supplied).
.......
http://wiibrew.org/index.php?title=Ticket

To get the title key decrypt the 16 bytes at offset 0x1bf with the master key using the Title ID (offset 0x1dc) as the initialization vector (the last 8 bytes of the IV should be zero).

master key 是不trucha用的那个common-key?
http://dowlare.uubox.net/self.u/ ... ols/common-key.bin/

联动:
master AES key
http://wiibrew.org/index.php?title=Wii_Security

精华
2
帖子
4942
威望
7 点
积分
6124 点
种子
0 点
注册时间
2007-4-8
最后登录
2024-3-12
发表于 2008-5-29 23:19  ·  北京 | 显示全部楼层
下面是引用aim于2008-05-29 22:52发表的:

http://wiibrew.org/index.php?title=Ticket

To get the title key decrypt the 16 bytes at offset 0x1bf with the master key using the Title ID (offset 0x1dc) as the initialization vector (the last 8 bytes of the IV should be zero).

.......

应该就是这东西了,google了半天,原来AES-CBC加密涉及两个概念
主密码:master key
初始向量:initialization vector  (IV)

现在我手头有了master key 和 IV ,也有了密文的title key ,如何解出title key 呢? (原理上已经是可解密了,只是不知道需要用什么工具或者代码来解开)

解出title key ,然后
initialization vector The files are located after the file table, with their starts aligned to a 64 byte boundary. To read a file, skip bytes until the next 64 byte boundary (unless already at one), read the File size bytes rounded to the next 16 bytes (the AES block size), decrypt using AES (using the title key and the IV in the file table entry plus 14 zero bytes), and take filesize bytes from the result to create the output file. The SHA-1 sum of this should match the one in the file table.
应该就可以解开.des文件的加密了吧



自己研究中 +  期待 加解密方面达人。
PS:为什么国际友人们没有发布解密.des文件的工具呢?很奇怪啊。。难道我完全猜错了,至今仍认为.des加密了的飘过·
aim

精华
2
帖子
5433
威望
7 点
积分
6041 点
种子
5 点
注册时间
2005-7-12
最后登录
2020-11-17
发表于 2008-5-29 23:45  ·  广东 | 显示全部楼层
下面是引用silenceburn于2008-05-29 23:19发表的:


应该就是这东西了,google了半天,原来AES-CBC加密涉及两个概念
主密码:master key
初始向量:initialization vector  (IV)
.......
工具是有,但是好像下载的地方很少。我上次说到的自己修改banner的资料,里面就要用到类似的工具,但是没提供下载……

PS:记得我好像见到过的,Wiibrew里面应该就有,不过好像有些是只有源代码,需要编译……
aim

精华
2
帖子
5433
威望
7 点
积分
6041 点
种子
5 点
注册时间
2005-7-12
最后登录
2020-11-17
发表于 2008-5-30 00:20  ·  广东 | 显示全部楼层
看了一下,说是 Wii 用的是AES-128-CBC算法,解密用得代码或者程序应该很容易找到的。

猜想解出 title key 之后,再用 title key 解 WAD(应该还是AES-128-CBC,但是IV不同了) ,然后得到的就是 des 文件了,然后得到的 des 文件要解开,应该要用到LZ77算法。

http://wiibrew.org/index.php?title=LZ77

精华
2
帖子
4942
威望
7 点
积分
6124 点
种子
0 点
注册时间
2007-4-8
最后登录
2024-3-12
发表于 2008-5-30 00:31  ·  北京 | 显示全部楼层
下面是引用aim于2008-05-30 00:20发表的:
看了一下,说是 Wii 用的是AES-128-CBC算法,解密用得代码或者程序应该很容易找到的。

猜想解出 title key 之后,再用 title key 解 WAD(应该还是AES-128-CBC,但是IV不同了) ,然后得到的就是 des 文件了,然后得到的 des 文件要解开,应该要用到LZ77算法。

http://wiibrew.org/index.php?title=LZ77

这个很靠谱啊哈哈。。。多谢aim大大。。。
原来一直以为.des是移位填充加密(因为可以看到明文),
我还一直纳闷为什么到了这一步反而要用如此简单的加密了,看来只是一种移位压缩算法

明天用python把.des排山倒海一下看看会出来什么东西

精华
0
帖子
633
威望
0 点
积分
657 点
种子
5 点
注册时间
2007-12-7
最后登录
2018-5-18
发表于 2008-5-30 00:32  ·  广东 | 显示全部楼层
哇,这个实在是太爽了,中文看起来真亲切啊
aim

精华
2
帖子
5433
威望
7 点
积分
6041 点
种子
5 点
注册时间
2005-7-12
最后登录
2020-11-17
发表于 2008-5-30 00:45  ·  广东 | 显示全部楼层
下面是引用silenceburn于2008-05-30 00:31发表的:


这个很靠谱啊哈哈。。。多谢aim大大。。。
原来一直以为.des是移位填充加密(因为可以看到明文),
我还一直纳闷为什么到了这一步反而要用如此简单的加密了,看来只是一种移位压缩算法
.......
祝贺 VIP 申请成功

偷偷给我加点浮云意思一下

精华
0
帖子
252
威望
0 点
积分
310 点
种子
0 点
注册时间
2007-4-21
最后登录
2011-2-7
发表于 2008-5-30 01:32  ·  台湾 | 显示全部楼层

Re:[破解]全球首款Wii平台中文化遊戲【內附視頻】

不管怎說  第一個出現漢化就是好消息啊!!!!!!!!!!

再次獻上無比的感謝!!!  漢化組的各位辛苦了!!!!!!!!!!!!!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|A9VG电玩部落 川公网安备 51019002005286号

GMT+8, 2025-2-2 01:50 , Processed in 0.196041 second(s), 16 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部