好友
阅读权限10
听众
最后登录1970-1-1
|
赤座灯里
发表于 2020-6-19 16:15
本帖最后由 赤座灯里 于 2020-6-19 19:14 编辑
单击按钮后做了下面几件事:
Log.d显示进入,取自身签名的SHA1同6D F2 47 A8 E0 C8 3A B3 DE 58 85 1E 17 C3 A9 50 D6 97 26 1D做比较;
相等后将"这是计算密钥用的seed"与“检测到你改签名了,你得把这个过了,不然就不让你继续。随便加个salt香不香”连接后getBytes作为seed,接着调用new Random(151)后调用200次Random.nextInt(131),得到[130,86,73,2,29,28,73,50,49,64,2,84,27,97,51,113,19,83,129,107,85,58,22,12,72,33,0,23,92,83,67,89,98,42,20,129,38,85,44,60,7,53,48,19,122,36,62,113,106,45,121,78,30,52,24,102,84,102,114,53,40,15,60,76,56,95,93,2,20,115,122,74,123,35,128,43,127,61,104,36,62,30,71,75,124,66,89,74,12,35,104,5,3,126,18,0,84,55,73,29,39,40,114,0,90,110,22,2,33,36,123,127,40,83,41,65,55,92,7,89,61,81,40,4,74,101,93,66,53,53,112,87,21,29,47,7,4,70,71,12,69,69,58,46,122,86,86,56,17,86,22,43,73,69,22,1,50,130,91,114,47,9,23,72,3,88,60,95,103,65,22,33,80,59,95,128,32,122,37,22,129,120,68,32,113,33,114,41,37,86,25,42,113,18,67,34,101,123,70,109];
然后将[-35,-23,38,-28,-24,102,-24,35,-95,-115,-82,-105,-34,-81,-122,99,-110,-67,-95,127,-28,-30,-68,-117,-83,109,101,-25,-28,-35,88,-26,-90,53,47,100,57,12,-27,-23,-104,54,53,58,-105,9,126,-25,-124,-24,-80,-118,-70,24,-116,74,110,-96,-27,-126,-86,-115,-17,-118,4,3,30,-27,-12,48,-28,112,-39,47,-69,77,-82,-68,-68,-28,-66,-58,-25,-13,-28,-101,52,45,-1,-95,-66,84,56,-34,-28,-25,-96,94,-71,-89,-25,-26,0,3,-81,-126,-66,-2,-113,54,-102,-65,-79,-124,-65,51,-72,-86,115,97,-70,-116,107,125,-103,-28,-36,-40,-12,108,23]SHA1后得到[-72,-14,-64,27,-14,-52,-103,-19,95,-111,0,18,-58,84,-53,47,58,-124,105,98];
再调用32次Random.nextInt()得到[654260868,752202743,1478391953,-1586311135,-850411868,-795878730,144626626,1978867538,-1005435504,1809817001,602787105,95462921,-1482050371,-1952043110,-1475246216,-196176518,1900131464,-773566430,-1854065732,100205251,1887858059,-1098948496,-2074935165,-997584045,-1500887247,-725843895,-1785656141,1605045129,-1640989812,-1595803825,-1207021188,-1817893989,1284281445,-1313902971,1980217223,259016377,840181140,90291730,1867303791,1254891633,360798354,704598852,1092535664,-753787819,1209670988,553022168,-1362372515,2134195162,-1980165063,921099127,-197395497,-1823545726,-919435858,1980009604,1833149883,-530180035,427883120,739882260,820258524,1074827788,952781195,2030702397,-571957519,862187751,-1467535519,-803591277,-909526063]。
剩下的应该就是一些变换和比较了,交给别人玩吧
并不算真正的vmp,感觉就是Dex2C后加了ollvm |
|