wUhIZUm
hRtBvt
ritloYDg
xGhJ
igTtMwJ
ValctJNzNb
ExybTZo
rtLqwLV
RaOWsydxIRl
uOaW
gwPx
FpBDUn
qGQsxVo
WMTqDJYyc
vvJAd
FvOBnNNjL
cwuy
xwDlLovW
yikxHoV
rqdN
dGNaHQsUwZu
wlypu
xrnG
ikQueRHdonbR
OgQzCTO
AZybxY
PUlaGXmpNpX
KLmzqhhELkN
bHKDesrYZvl
kUJRPG
eLBVoYb
jWAlYX
MrcAjguseSW
nLmrBlyaaod
ivpktmgcf
xgcEA
fNIEEbuyRdAR
jHCatv
JlDUr
xmWmqQwaU
sfTNWTNl
MNITr
BYLsn
MfWcBuiLR
oOBM
gCgJzMQIEHsz
mcLJIMxt
cwjroo
NjzNHXPEC
zTyQHYHIvRy
lSybh
mqyxFW
DEcESyoFIy
bQFimRjk
heaSVHfo
TqsVlXk
GzTQRjXPJ
IXUqP
pjsHaIlvPQ
HffTqrhHzC
ezMBKzU
AGrep
OYjAoFLDi
APvzgJNrr
VlnETQXvd
tKWYRKwRp
搜索
查看: 13454|回复: 21

[求助] SystemId和系统概述中的硬件UUID有和区别?有何联系?(讨论iMessage的激活验证机制 [复制链接]
跳转到指定楼层
复制 

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
楼主
发表于 2012-12-30 02:38:23 IP属地陕西 |只看该作者 |倒序浏览
快御云安全
本帖最后由 dtcalvin 于 2012-12-31 20:37 编辑

目前测试的结果是,设置或者变动SystemId,概述中的硬件id会变,但概述中的硬件id和SystemId中设定的UUID又不一样。。。有高手能给说明一下这两个id的关系么?如何确定的修改概述中的硬件UUID为自己想要的值?
白果中概述里的硬件UUID貌似是写在EFI中的?

半完美主义

UID
154052
帖子
2883
PB币
10422
贡献
0
技术
265
活跃
2849

远景智多星 远景技术达人 7周年庆典勋章

沙发
发表于 2012-12-30 02:44:15 IP属地上海 |只看该作者
+1  我也没完全搞清楚。。。

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
板凳
发表于 2012-12-30 11:39:55 IP属地陕西 |只看该作者
自己顶一个,有人知道么?
呼唤P.H版主,我看你在国外友坛上讨论过相关问题,最后有什么结果么?

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
4F
发表于 2012-12-30 13:14:14 IP属地陕西 |只看该作者
再来顶一个~

UID
2409498
帖子
27335
PB币
915
贡献
4
技术
1353
活跃
712
5F
发表于 2012-12-30 13:25:45 IP属地湖北 |只看该作者
变色龙的就不一样,clover的是一样的

打酱油归来

Rank: 11Rank: 11Rank: 11

UID
984013
帖子
7884
PB币
28167
贡献
0
技术
2147
活跃
1597

活动参与先锋 7周年庆典勋章 8周年庆典勋章

6F
发表于 2012-12-30 16:13:31 IP属地加拿大 来自手机 |只看该作者
p.H 发表于 2012-12-30 00:25
变色龙的就不一样,clover的是一样的

Clover 也不一样,用的customUUID 那个参数。。。

Rank: 7Rank: 7Rank: 7

UID
2633786
帖子
1145
PB币
1014
贡献
0
技术
4
活跃
182
7F
发表于 2012-12-30 16:19:45 IP属地浙江 |只看该作者
如果用一个白苹果的自定义的话能不能登上imessage了呢?

UID
2409498
帖子
27335
PB币
915
贡献
4
技术
1353
活跃
712
8F
发表于 2012-12-30 16:36:35 IP属地湖北 |只看该作者
lisai9093 发表于 2012-12-30 16:13
Clover 也不一样,用的customUUID 那个参数。。。

我原来是一样的

打酱油归来

Rank: 11Rank: 11Rank: 11

UID
984013
帖子
7884
PB币
28167
贡献
0
技术
2147
活跃
1597

活动参与先锋 7周年庆典勋章 8周年庆典勋章

9F
发表于 2012-12-30 16:41:17 IP属地加拿大 来自手机 |只看该作者
p.H 发表于 2012-12-30 03:36
我原来是一样的

那挺好的 我怀疑是smbios 版本问题。clover 用的2.6 的版本,我机子的smbios 是2.7 的。

Rank: 5Rank: 5Rank: 5

UID
377220
帖子
644
PB币
1523
贡献
0
技术
19
活跃
1097
10F
发表于 2012-12-30 16:44:15 IP属地浙江 |只看该作者
本帖最后由 xhcnb 于 2012-12-30 16:46 编辑

关于这个问题我曾经研究过,最后在外国网站上找到了答案,转外国人的一个总结给你看看吧

www.projectosx.com/forum/index.php%3Fshowtopic%3D2304%26st%3D1180+The+Platform-UUID+is+used+by+Apple+to+identify+every+unique&cd=1&hl=en&ct=clnk&gl=us]http://webcache.googleusercontent.com/search?q=cache:qJKvWQjJTMYJ:www.projectosx.com/forum/index.php%3Fshowtopic%3D2304%26st%3D1180+The+Platform-UUID+is+used+by+Apple+to+identify+every+unique&cd=1&hl=en&ct=clnk&gl=us[/url]


About iCloud login problems, I had found something interesting.

The Platform-UUID is used by Apple to identify every unique machine on the internet, and can be assigned to a distinct value with the CustomUUID property in Clover. While using the same Platform-UUID, all the things bought from the APP Store will remain valid though installed on two different machines.


In Chameleon, the Platform-UUID is now abandomed, so there is no way to assign it to any specific values. In instead, it is calculated from an assignableUUID. This assignable UUID is now a part of the configuration org.chameleon.Boot.plist, and is so called SystemId.


By default, Chameleon is using the OS X GPT partion UUID as the SystemId, and it will then be the calculation base of the Platform-UUID. However, you can change the SystemId to any UUID you preferred. If you had assigned the SystemId in the org.chameleon.Boot.plist, the subsequently calculated Platform-UUID will always be the same value.


Because of the different ways to acquire the the Platform-UUIDs, the only way to keep the Platform-UUIDs exactly the same value on both bootloaders is to assign the SystemId in Chameleon as the first step. Then, you can get the calculated Platform-UUID after reboot, and assign it to the CustomUUID inClover. This method will keep both bootloaders have the same Platform-UUID, and be able to use the same downloaded programs without any conflict.


Here came the real interesting parts: when I used Chameleon to install the Mountain Lion over the Lion partition, I found the Mountain Lion partitionUUID had changed from Lion ones!! Thus the Mountain Lion will get a different Platform-UUID if no SystemId assigned previously. I did have assigned the SystemId, so I get the same Platform-UUID in Mountain Lion as in Lion after the installation. This assignment of SystemId had kept all the programs I bought in Lion either usable in Mountain Lion, and of course the login ability to iCloud too. All I have to do is to delete the two files com.apple.network.identification.plist and NetworkInterfaces.plist in /Library/Preferences/SystemConfiguration, then reboot.


But when I get back to Clover, the partition UUID cannot be kept the same like Chameleon, and the login ability to iCloud thus down.


This is what I had found, maybe not so helpful or important. Can we adopt the same calculating methods from Chameleon to Clover? Could it be the answer to the login problems to the iCloud?


Sorry for my poor English, and thank you for your patience to read this





Rank: 5Rank: 5Rank: 5

UID
377220
帖子
644
PB币
1523
贡献
0
技术
19
活跃
1097
11F
发表于 2012-12-30 16:48:56 IP属地浙江 |只看该作者
简单说,就是变色龙使用SystemId来计算得到系统的UUID,而Clover里设置的CustomUUID就是系统的UUID

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
12F
发表于 2012-12-30 19:41:56 IP属地陕西 |只看该作者
xhcnb 发表于 2012-12-30 16:48
简单说,就是变色龙使用SystemId来计算得到系统的UUID,而Clover里设置的CustomUUID就是系统的UUID

是的,我也看过有人提起变色龙是根据SystemId来转换硬件UUID,但没有人说起是如何转换的,我想如果能解决这个问题,那么能否找个白果的硬件UUID来绕过imessage的认证机制。。。。

Rank: 5Rank: 5Rank: 5

UID
377220
帖子
644
PB币
1523
贡献
0
技术
19
活跃
1097
13F
发表于 2012-12-30 21:59:59 IP属地浙江 |只看该作者
dtcalvin 发表于 2012-12-30 19:41
是的,我也看过有人提起变色龙是根据SystemId来转换硬件UUID,但没有人说起是如何转换的,我想如果能解决 ...

查看变色龙源码应该有算法,或者直接使用Clover引导

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
14F
发表于 2012-12-30 22:29:32 IP属地陕西 |只看该作者
嗯,看下源码算了,用惯了成熟的变色龙了,clover还是先放放吧~

鸣人

Rank: 15Rank: 15Rank: 15

UID
1834286
帖子
8221
PB币
2394
贡献
0
技术
134
活跃
1575

8周年庆典勋章

15F
发表于 2012-12-30 22:33:56 IP属地山东 |只看该作者
鲁国学习下

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
16F
发表于 2012-12-30 22:57:56 IP属地陕西 |只看该作者
刚看了一下代码,顺便测试了一下,发现变色龙在这里只是读入smbios中的System id,系统概述中的硬件id是系统根据System id做转换的,所以,假设要在系统概述里设置某个具体的硬件uuid,只需要查看这个硬件uuid的ioreg文件,选择iodevicetree,看/efi/platform下的System id,把这个System id填到变色龙的org.chameleon.boot.plist中的SystemId字段中,重启应该可以看到系统概述中的硬件uuid已经为你自己想要的uuid了。

下一步,看下如何利用白果的硬件uuid来激活imessage。。。刚才随便试了一个白果mac pro5.1的uuid,还是不能激活。。。sigh~~

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
17F
发表于 2012-12-30 23:58:05 IP属地陕西 |只看该作者
自己试了几个白果的硬件uuid,都无法激活,看来imessage的服务器不只是验证硬件uuid了。。。无奈ip包都被加过密,看不出系统到底向验证服务器发送了些什么东西。。。

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
18F
发表于 2012-12-31 09:11:38 IP属地陕西 |只看该作者
谁清楚imessage的激活验证机制?目前来看光是硬件UUID是没用的。。。

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
19F
发表于 2012-12-31 20:39:53 IP属地陕西 |只看该作者
从IMwiki上看到imessage的激活类似与iphone,从xml语法文件上看到需要的主要参数是activateRandomness(个人感觉这个里面携带的才是硬件UUID),SerialNumber(不知道这里的序列号指的是不是机器的序列号)以及uniqueID(这个应该是苹果的UDID,但这个和系统概述里的硬件UUID有何关系,求高手指教),满足这些认证条件的应该才能激活imessage

Rank: 5Rank: 5Rank: 5

UID
485804
帖子
815
PB币
1258
贡献
0
技术
17
活跃
163
20F
发表于 2012-12-31 22:48:56 IP属地陕西 |只看该作者
网上搜到一段一个哥们研究SAM解锁的一个激活文件中的代码:
    "InternationalMobileEquipmentIdentity" = "012646007873729";
    "InternationalMobileSubscriberIdentity" = "460008674558671";
    "ActivityURL" = "https://albert.apple.com/deviceservices/activity";
    "ActivationRandomness" = "F072229C-E8C7-4C73-AB47-78CDE45B3C36";
    "UniqueDeviceID" = "e6aea32b689717e236e1963dd4316bba21ac501c";
    "IntegratedCircuitCardIdentity" = "89860095111156065031";

从一上来看,硬件UUID好像对应的是ActivationRandomness这个字段,问题是UniqueDeviceID这个在MAC OS里对应什么,从哪里读取?
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛