码迷,mamicode.com
首页 > 移动开发 > 详细

App forensics

时间:2017-04-08 23:53:59      阅读:659      评论:0      收藏:0      [点我收藏+]

标签:name   diff   reg   tran   order   ons   cert   err   nbsp   

A friend of mine claimed that someone stole her personal data via hacking certain App. She installed that App several months ago and registered an account. The user information including name,phone number,birth date,address and e-mail address etc. Recently she got lots of spam e-mails, and guess what???  She saw her personal data in those e-mails. What an coincidence~

 

She asked me to conduct an forensic on that App to see if it is secure or not. I took a look at that App "X". "X" is the leading chain seafood restaurant company. Pretty good user interface and fancy advertisements. To my surprise "X" use HTTP protocol rather than HTTPs. Let me show you what I got as below. As you see the username and password in plain text format. That‘s too ridiculous~

技术分享

 

 

 

Furthermore I could hijack the user token in order to gain access to other user‘s personal data. Let‘s say an user Sherry logged in that App "X". "X" collected the device_uuid. It‘s exactly IMEI. Most Apps do the same thing to collect the unique data of device for sales and advertising purposes. Also you could see the user_access_token as below.

技术分享

 

 Another use Judy loggined in to the App "X". Of course she got a different user_access_token.

技术分享

 

Sherry could conduct an MITM attack toward Judy to hijack Judy‘s user_access_token. Once done all Sherry needed to do was to replace the user_access_token. As you could see that Judy‘s personal data showed up as below.

技术分享

 

"X" should use HTTPs and "Certificate Pinning" for securing the channel in a hostile environment where actors could be malicious.  "X" should encrypt those confidential data when transfering between devices and servers. Also those confidential data stored in the xml/plist/database on the device should be encrypted. "X" should take its responsibility and spare no effores to keep user‘s data safe and sound. If some App you use may not protect your privacy well enough, my suggestion is uninstalling that App immediately.

 

App forensics

标签:name   diff   reg   tran   order   ons   cert   err   nbsp   

原文地址:http://www.cnblogs.com/pieces0310/p/6683445.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!