Previous article we learned setup proxy with device and perform dynamic analysis on the WP8 Applications. In this article we are going to learn analysis of Isolated storage or local file system using Windows power tool.
In case you haven't rooted your device and wants to analysis dynamically local storage of the application, then this article will help you to check local storage of the application. You can able to check local storage or isolated storage for only developer signed apps using Unlocked device. If you haven't Unlocked your device yet then I recommend you to unlock your device using my part 1 article.
So next we need one developer signed application for our demo purpose right. In my previous article I mention found youtube developer signed app from XDA forum. You can also download this application for your learning purpose from here.
Isolated storage
All I/O operations are restricted to isolated storage and do not have direct access to the underlying OS file system, which helps to provide security and prevents unauthorized access and data corruption from other apps. If you want to share data between two applications, you will need some kind of cloud-based service that can share that data for you.
Microsoft has provided two way to store data locally for their developers. The first way is to collection of name/value pairs call IsolatedStorageSetting and other way is through the creation of actual files and folders called IsolatedStorageFile. We will check this later while doing static or reverse engineering analysis.
Windows Phone power Tool
Fig 5. Youtube login form.
Isolated Storage Explorer
Isolated Storage Explorer (ISETool.exe)
ISETool.exe <cmd[:param]> <target-device[:param]> <product-id> [<desktop-path>] <cmd[:param]> - Specifies the command to be executed (one of the following) ts -(takesnapshot) to download the contents of isolated store from <target-device> to desktop rs -(restoresnapshot) to upload the contents of isolated store from desktop to <target-device> dir - lists the contents of the device folder. EnumerateDevices - lists the valid device targets along with their device indices. <target-device[:param]> - Specifies the target device (one of the following) xd - default emulator de - Windows Phone device connected to the desktop deviceindex:n - device listed at index n. To get the list of devices use the following command "ISETool EnumerateDevices" <product-id> - Specifies the GUID of the product. This is located in WMAppManifest.xml file of the project <desktop-path> - desktop path for download and upload
If you want to get application Product ID or GUID of the product which is located in WMAppManifest.xml. In order to get manifest file you have change application extension .xap to .zip and extract the file. (Only this is for developer signed applications)
Conclusion :
In this article we learned about Isolated Storage, tools and technique to inspect isolated files and folders. You can analysis the data of application and how/which data storing inside isolated storage. Later will learn more about the file and their functionality in terms of security.
Super!!! Thanks For Sharing!! finding windows testing guide since long!!
ReplyDeleteThanks for your valuable Comment. Hope you will enjoy my upcoming blog posts.
DeleteHi Anand Tiwari,
ReplyDeleteIs this windows power tool supports to test on Win 10 mobile applications
Yes, it would I believe.
DeleteThe theme is very interesting to me see, with the information in here could make me greater insight, nice post.
ReplyDeleteiphone apps development
great blog Vendorzapp Compnay provides Mobile apps for small business, Ecommerce android apps India, iOS ecommerce apps, Ecommerce website Pune, Ready ecommerce website and apps. Android ecommerce apps then visit now Ecommerce android apps India, iOS ecommerce apps, ecommerce website for small business call us +91-9850889625
ReplyDeleteAmazing blog!! Getting a blog about windows mobile application security testing is not so easy now a days because of the android , so thanks for sharing this with us.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThank you for sharing. This article is very helpful and Inspirational. Excellent!
ReplyDeleteMobile App Developer
I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
ReplyDeleteLow Cost Mobile Applications Company In India
You wrote an excellent article thank you for sharing...
ReplyDeletelow cost mobile application development in hyderabad
ReplyDeleteThat is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
Best Mobile Applications Company In Hyderabad