首页
论坛
课程
招聘
[原创]360freewifi逆向分析
2017-7-6 10:17 11382

[原创]360freewifi逆向分析

2017-7-6 10:17
11382

很早之前逆的360freewifi,没想到现在还可以用。发出来给大家玩吧。


1、发送与接收数据包内容

360wifiPOST包的内容:

POST /intf.php?check_update_key=&full=1&qid=0&devtype=android&nettype=mobile&manufacturer=Xiaomi&model=MI+4LTE&os=4.4.4&channel=100000&v=321&m2=b435f8072334d321f228f0a31f948470&nance=1436435681663&inviter_qid=0&method=Wifi.password&lld=pIoapfB9u%2FA%3D&tp=1&sign=49464fdf8dec35a6dadc17b0e361a741 HTTP/1.1

User-agent: 360freewifi

Cookie: Q=;T=;

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

Host: api.free.wifi.360.cn

Connection: Keep-Alive

Accept-Encoding: gzip

Content-Length: 6401

 

 

params=tbbHjdXr5vccAGLquHZpEYz3U10ZJ9e1SsFq3ruzvWDTKCfyJ3cFyfMBLHc9NNZcBUOA4q6H6G5Qa%2FgVM7RtR2acVXaTbR9soTQp2hAQvkfynmKVDC1lwNYX3spHor%2Fer321ElamrfqDWQcdvumwYYelpzbN%2FYF3jPdTXRkn17VKwWreu7O9YNMoJ%2FIndwXJ8wEsdz001lxTtRoU9CPHj8hiv%2BcKEGKIQqKhMd6rKHOhNCnaEBC%2BR%2FKeYpUMLWXA1hfeykeiv96vfbUSVqat%2BoNZBx2%2B6bBhbPghYabO4JjmlqmIm%2FFOGtPZs343tUP%2Brfftjk3UBIwqjRmCyEblJakG4z%2FdOAaz1FLIze4Mhlg86R2xggZxHjbyfXL11aPeVsXBi0YcNVf%2Fe2r21rfRKPuJF%2FhwB73q7J5f6QEfdcmIs%2FG3vUbu1BoSrjDlJydQnecXQODv%2Fo5HgcJZrzwNAKsBK4wf8pktgabryWztp6I0YiFw7wN12u40RyUSijfXUaBn%2BM64m8fqPGwIzpiqpce%2FGQZ3wlSCekeCwwDebe5EFIUvJoIkZT4lfXehD%2FicGKUYyUMxLECTKTzvXcu70tM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tZcDWF97KR6K%2F3q99tRJWpq36g1kHHb7psGEDAKD0UJ7MtXa%2FTF4ZU5slcdVljpWL4Omt9%2B2OTdQEjCqNGYLIRuUlnSgiky6Z71RZuwdVbETTZv2DXQ5PD4gNNvJ9cvXVo95WxcGLRhw1V%2F97avbWt9Eo%2B4kX%2BHAHversnl%2FpAR91yaB4jU4Xm6iJoMAwNTUUcOUcuP49OsuT9egVyoFrQ5EHZSUenAdeahKt9%2B2OTdQEjCqNGYLIRuUlaB4IDV0eFlw2kunCGrRyiJZx3sken%2BN6NvJ9cvXVo95WxcGLRhw1V%2F97avbWt9Eo%2B4kX%2BHAHvepWSFTyqmTmgg%3D%3D

 

服务器返回包的内容:

HTTP/1.1 200 OK

Server: nginx/1.2.9

Date: Thu, 09 Jul 2015 09:54:41 GMT

Content-Type: application/json

Transfer-Encoding: chunked

Connection: close

Cache-Control: no-store

SIP: 10.139.95.11

 

 

2654

{"errno":0,"errmsg":"","data":{"list":"rnEKQgTYxrVgB0osQMHNsiEcIyEkbdt\/tz1hEeJzJc5VzV1RcPHXh47SFUZt8SrvBnZOgsRuMkNP8WILWh8fhPt5F0UcWZ+\/LIYOBAtGMxhBPTx+6Ms2YJBa42MHlX7J1wZt7K1d4tZSjVaq0Et5njsjNJJeDw6Dea\/SeCRnKy9Tn0fD4LNHjMecNm4XXm+O1poqcRPb\/Yfa47qd6hu1eU8ml0UG0zZBqgwngDKpp35w86T770g9rrWTjvjR\/duBFzdJex8JEHtnGnRletVuqs0vawIqeKhf1yveGkqnIYtGXmM3MMk0Vi1l+3URHfTPiwRVBF+gbN0+3\/KBKHATa+xjDCmrrIN94jLVq7GdiqltN1EK137CCuE+TEwb8l3DEq7EMAFcPwZQkjJLyya\/ME9KYcQXJxnu\/TGV19lUr0EQcu+ynY6ZUAOS8POeWJhR0Vs\/Jz+enmsQzsQ9\/IyHK5ShnqDAKooOcwpil6q4BHY9kdd6U5yvQRj0z6cA22FhvOYUABFIszBsMIzw3tO+q8CBWLrk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Aqig5zCmKXqrgEdj2R13pTnK9BGPTPpwDbYWHaVwX98xgepVMh\/8+mhgrQ05\/01nIieOYvz8drLWw2AiLWwQnOWJ6IMfxP+E4x+8gGdk6CxG4yQ0\/xYgtaHx+E+3kXRRxZn7+MbOO6pDUy+vFiqcpwzraRkFrjYweVfsl0WmnN69LcK1KNVqrQS3meOyM0kl4PDoN5r9J4JGcrL1OfR8Pgs0eMx5w2bhdeb47WmipxE9v9h9rjup3qG7V5TyaXRQbTNkGqDCeAMqmnfnDzpPvvSD2utZOO+NH924HdDhKuYtl3QBaKlu8bX8GAIAecdIDYHHTXK94aSqchi2FIgyYN7TsMnyxHkd0bAmqR6m\/0EgsuuFAZV38hfxr08p5ilQwtZcDH7GbvwaHqi\/zq19PTEBDaN4nMMapP3LmPiK3rAT6VIlDHv3CRAkGMoeU2Bo5c1d\/efl5GzluZ4HeADnSw8skmEM7EPfyMhyt\/Pt4WXu\/9+CFcc0c5rjPBt6Cu9qbLeDk6NduPpIowvDkOYYNdU46jVdRzsQRUPs4=","check_update_key":"df5c6a0b7627abcb9ad31c4acdf40646"}}

0

2、数据包的构造

1、构造POST包中params明文数据为:

[{"lng":"0.000000","alt":"0.0","ssid":"CMCC","signal":82,"mac":"9c:d2:1e:fe:24:df","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"CMCM_5G","signal":82,"mac":"64:09:80:44:70:45","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"fate_ever","signal":82,"mac":"60:d8:19:c5:09:ad","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"appstore","signal":82,"mac":"18:cf:5e:00:38:97","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"CMCM","signal":82,"mac":"64:09:80:44:70:44","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"Test5","signal":82,"mac":"7c:e9:d3:23:6e:0c","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"ssssssssss","signal":82,"mac":"26:8e:8f:2d:8c:29","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"SCP_AP","signal":82,"mac":"50:bd:5f:3d:d7:41","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"360鍏嶈垂WiFi-0J","signal":82,"mac":"5e:c5:d4:d3:87:5e","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"lei","signal":82,"mac":"a4:db:30:a5:3a:bd","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"csh","signal":82,"mac":"18:cf:5e:00:4f:5b","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"PC-SYT","signal":82,"mac":"18:cf:5e:00:41:ef","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"360鍏嶈垂WiFi-9T","signal":82,"mac":"ea:b1:fc:ac:03:2d","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"zhaoritian2015","signal":82,"mac":"b0:75:d5:5f:96:fa","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"leijingyu","signal":82,"mac":"0c:82:68:1b:ff:37","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"浣犲拫鍝簡","signal":82,"mac":"5e:c5:d4:d4:20:fb","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"laomotou","signal":82,"mac":"62:57:18:b0:5c:d4","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"c525","signal":82,"mac":"5e:c5:d4:d2:cf:76","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"XJDMG","signal":82,"mac":"48:5a:b6:93:7a:57","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"KFC-Wlan","signal":82,"mac":"5e:c5:d4:b5:b1:48","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"TP-LINK_FFB8","signal":82,"mac":"14:75:90:13:ff:b8","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"360鍏嶈垂WiFi-6P","signal":82,"mac":"48:5a:b6:2f:83:21","lat":"0.000000"},{"lng":"0.000000","alt":"0.0","ssid":"TP-LINK_201","signal":82,"mac":"e4:d3:32:1a:b0:e4","lat":"0.000000"}]

使用密钥:565aa7cf07b1d69764a57180c02446f1

及加密算法:DESede/ECB/PKCS5Padding

进行加密,加密后在进行base64编码,加密结果为:

GOCwIOCdjqA55BJF90QtxMrhwO4vK728NIUR6zu/VdzW2QgP+VstsHZOVeyzlKer7dAQkKWt3mW3v2qaI50wLkSLAD9sDgYoNXPotNzcOv4VEzvPhkWxIT/AQoPrUlqyk1EamOh0FAyjyNB5iHdeDG8TQgMT2ZQ3WdK/BRp1J3HW4zYljVux2xPyWFTfxdNkKlsQZjNRqmjL1POfVOtSWQOpmy6E+WK5Y+w1WaTf6Hc4zV3etLpOY9Xt+HxsDHjGOeQSRfdELcQiKuUbbUTZ0jQclMN8nBDPMhS+Bfg11pKEzQuzTRACZxRRyu6kT3Vo8LSU3IvT/veVqP3TaTvHB+3QEJClrd5lt79qmiOdMC7PwDyhTQfslT6cNi/AOKsUThhlkpNc2EA/wEKD61JaspNRGpjodBQMo8jQeYh3XgxvE0IDE9mUN1nSvwUadSdx1uM2JY1bsduw62vDHZXabC2b7xOFn4hw7dAQkKWt3mW3v2qaI50wLkhWf4q11yjN6l6p3DabOAwhTOm4gq1GJD/AQoPrUlqyk1EamOh0FAyjyNB5iHdeDG8TQgMT2ZQ3WdK/BRp1J3HW4zYljVux24NMLI17lI9nU2aEemp/orR28UCTTisPvaaMi+4KDMtk3ihGU3T8v+rpD13JX/kM0O9KwWLGoG9nxSQkanH7/Ol7J8dGg1on8TnkEkX3RC3EyuHA7i8rvbw0hRHrO79V3EHKsyviYOOKsf3g6WyRPDsTTjsOKlYgpTZX8yJkxO25g+u1/KadanOXfN6GCSuumZsxuCHv9iqDwH2PNaSlOGPeslFVsM53qNU199yjAB9eG07WltEVCjCs05BCTKg/wJkxM2ZLpiaiNrG1TvUbKX3aqgWZTs6JC4Z3fiS/hC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mUN1nSvwUadSdx1uM2JY1bsduPH/CCR3Mf7sGnH5TYq9+CU2aEemp/orR28UCTTisPvRM4SbybbSlHW+FvL7ZRV2BXdXBC1MHAW+9KwWLGoG9nxSQkanH7/Ol7J8dGg1on8TnkEkX3RC3EyuHA7i8rvbw0hRHrO79V3Gq2VecP9/shGWA46QoVnKDoLO/1uTcV9QqZzirP2bpDy9Tzn1TrUlkW/1Gm2M8eoVZjh/y76sTYOvcKkhaYwkHV7fh8bAx4xjnkEkX3RC3EIirlG21E2dI0HJTDfJwQzzIUvgX4NdaShM0Ls00QAmcUUcrupE91aOO4dxiO6/d0CpOFw7h+mLco4CNmzpCKk1OLheQjGDp0xCJZeShp2UA0GIRBMruKfCuWYoHCwI+GS+ItZH575BFnIAxyi/gDKQ==

将其填入parasm字段。

2POST  URL的构造

这是一个已构造好的包

http://api.free.wifi.360.cn/intf.php?check_update_key=&qid=0&devtype=android&nettype=WIFI&manufacturer=HTC&model=HTC+X920e&os=4.1.1&channel=100001&v=234&m2=69ca5da81eb4fcf774d90ecbec93dba2&nance=1438833714091&inviter_qid=0&method=Wifi.password&sign=ad15c262ef5803747c0e0bea454ae284

红色标出部分为可以变内容,其他部分保持一致即可

nance字段是一个时间戳。传入系统当前时间。

Sign字段为数据包的校验字段:

具体计算方法如下:

将构造的包按如下排列后

channel=100001&check_update_key=&devtype=android&inviter_qid=0&m2=69ca5da81eb4fcf774d90ecbec93dba2&manufacturer=HTC&method=Wifi.password&model=HTC%20X920e&nance=1438675105843&nettype=WIFI&os=4.1.1&qid=0&v=234

进行转换,转换后内容为

AhMnAeM=A0M0A1McAeMkAuMdAtM_AeM=AdMvAyMeAaMdAoMdAiMvAtMrAqMdA0MmA=M9AaMdA8MeA4McA7M4A9MeAbMcA3MbA2MmAnMfAcMuAeM=ATM&AeMhAdMWAfM.AaMsAoMdAmMdAlMHACM2AXM2AeMnAnMeA1M3A6M5A0M8A3MnAtMyAeMWAFM&AsM4A1M1AqMdA0MvA2M4

将第1357911 。。。字符分别用AM替换如:

channel=100001替换为AhMnAeM=A0M0A1

算法如下:

int nlen=strlen(data);
for(int i=0;i<nlen;++i)
{
   if(i<<30)
   {
       if(!(i&1))
           data[i]='M';
   }
   else
   {
       data[i]='A';
   }
}

替换之后再在后面添加key (“565aa7cf07b1d69764a57180c02446f1”);

结果为:

AhMnAeM=A0M0A1McAeMkAuMdAtM_AeM=AdMvAyMeAaMdAoMdAiMvAtMrAqMdA0MmA=M9AaMdA8MeA4McA7M4A9MeAbMcA3MbA2MmAnMfAcMuAeM=ATM&AeMhAdMWAfM.AaMsAoMdAmMdAlMHACM2AXM2AeMnAnMeA1M3A6M5A0M8A3MnAtMyAeMWAFM&AsM4A1M1AqMdA0MvA2M4565aa7cf07b1d69764a57180c02446f1

将该字符串进行MD5

结果为:39f08c0f48892929b712b20d24fbd1f7

写入sign字段 sign=39f08c0f48892929b712b20d24fbd1f7

至此POST包,构造完毕。发送试试吧。

3、服务器返回包的解析

对服务器返回的list中内容

先进行base64解码

使用密钥:565aa7cf07b1d69764a57180c02446f1

及加密算法:DESede/ECB/PKCS5Padding

 

{"mac":"9c:d2:1e:fe:24:df","ssid":"CMCC","pwd":"","avgspeed":"0","lat":"39.978874","lng":"116.368395","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"64:09:80:44:70:45","ssid":"CMCM_5G","pwd":"","avgspeed":"0","lat":"40.060761","lng":"116.493479","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"60:d8:19:c5:09:ad","ssid":"fate_ever","pwd":"","avgspeed":"0","lat":"39.978808","lng":"116.36876436842","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"18:cf:5e:00:38:97","ssid":"appstore","pwd":"12345678","avgspeed":"0","lat":"39.978898","lng":"116.368831","hot":"3","status":"0","is_safe":1,"display_name":"","display_icon":"","priority":0},{"mac":"64:09:80:44:70:44","ssid":"CMCM","pwd":"","avgspeed":"0","lat":"39.978869","lng":"116.368771","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"26:8e:8f:2d:8c:29","ssid":"ssssssssss","pwd":"","avgspeed":"0","lat":"39.978963","lng":"116.368328","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"50:bd:5f:3d:d7:41","ssid":"SCP_AP","pwd":"","avgspeed":"0","lat":"39.968664","lng":"116.389091","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"a4:db:30:a5:3a:bd","ssid":"lei","pwd":"","avgspeed":"0","lat":"40.060761","lng":"116.493479","hot":"1","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"18:cf:5e:00:4f:5b","ssid":"csh","pwd":"","avgspeed":"0","lat":"39.979181","lng":"116.368491","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"18:cf:5e:00:41:ef","ssid":"PC-SYT","pwd":"","avgspeed":"0","lat":"40.060761","lng":"116.493479","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"b0:75:d5:5f:96:fa","ssid":"zhaoritian2015","pwd":"","avgspeed":"0","lat":"39.972871","lng":"116.395978","hot":"1","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"0c:82:68:1b:ff:37","ssid":"leijingyu","pwd":"","avgspeed":"0","lat":"39.978977","lng":"116.368346","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"62:57:18:b0:5c:d4","ssid":"laomotou","pwd":"","avgspeed":"0","lat":"39.978898","lng":"116.368831","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"5e:c5:d4:d2:cf:76","ssid":"c525","pwd":"","avgspeed":"0","lat":"39.970746","lng":"116.317119","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"48:5a:b6:93:7a:57","ssid":"XJDMG","pwd":"","avgspeed":"0","lat":"39.978807814815","lng":"116.36876781481","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"5e:c5:d4:b5:b1:48","ssid":"KFC-Wlan","pwd":"","avgspeed":"0","lat":"39.978963","lng":"116.368328","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0},{"mac":"14:75:90:13:ff:b8","ssid":"TP-LINK_FFB8","pwd":"","avgspeed":"0","lat":"39.9686296","lng":"116.3901284","hot":"0","status":"3","is_safe":0,"display_name":"","display_icon":"","priority":0}

其中pwd就是我们想要的密码字段,红色部分为查找到的含有密码的wifi信息。


我已经将android代码转为java。可在PC运行,只需构造ssid和mac地址传入即可去360wifi服务器获取wifi信息。




[2022冬季班]《安卓高级研修班(网课)》月薪两万班招生中~

上传的附件:
收藏
点赞0
打赏
分享
最新回复 (10)
雪    币: 238
活跃值: 活跃值 (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
SnowAce 活跃值 2017-7-6 10:23
2
0
赞一个,学习了
雪    币: 569
活跃值: 活跃值 (639)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
wooyunking 活跃值 2017-7-6 11:24
3
0
这个屌啊,撸主是直接动态分析还静态分析代码的?
雪    币: 1327
活跃值: 活跃值 (937)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
gtict 活跃值 2017-7-6 11:55
4
0
问下channel的值怎么来的
雪    币: 2807
活跃值: 活跃值 (821)
能力值: ( LV12,RANK:215 )
在线值:
发帖
回帖
粉丝
scxc 活跃值 3 2017-7-6 12:01
5
0




wooyunking

这个屌啊,撸主是直接动态分析还静态分析代码的?

静态分析,+抓包

说错了,是抓包+静态分析

雪    币: 2807
活跃值: 活跃值 (821)
能力值: ( LV12,RANK:215 )
在线值:
发帖
回帖
粉丝
scxc 活跃值 3 2017-7-6 12:01
6
0
gtict 问下channel的值怎么来的
抓包获取的 
雪    币: 1327
活跃值: 活跃值 (937)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
gtict 活跃值 2017-7-6 15:51
7
0
scxc 抓包获取的
channel对应的值100001  也是抓包得到的?
雪    币: 2807
活跃值: 活跃值 (821)
能力值: ( LV12,RANK:215 )
在线值:
发帖
回帖
粉丝
scxc 活跃值 3 2017-7-6 16:08
8
0
是啊这个值应该不用关心啊
雪    币: 38
活跃值: 活跃值 (31)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
怪兽没有魔法 活跃值 2017-7-6 16:37
9
0
楼主,我看key是从so里生成的,想问楼主是动态分析得到的还是静态分析的
雪    币: 2807
活跃值: 活跃值 (821)
能力值: ( LV12,RANK:215 )
在线值:
发帖
回帖
粉丝
scxc 活跃值 3 2017-7-6 16:39
10
0
怪兽没有魔法 楼主,我看key是从so里生成的,想问楼主是动态分析得到的还是静态分析的
忘记了。。两年前的事了。。
雪    币: 3771
活跃值: 活跃值 (626)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
MsScotch 活跃值 2017-7-7 10:47
11
0
好闻  好算法,
游客
登录 | 注册 方可回帖
返回