SlideShare a Scribd company logo
BSIDES DFW 2014 
Into the Mobile DeepExploiting and Analyzing Microsoft SurfaceApplications
2 
Who am I? 
Wardell Motley 
Currently: Penetration Tester Veracode 
Previously 
Sr. Penetration Tester (Undisclosed) 
Systems Administrator: Walls Industries 
Network Administrator: CSI 
Other Security Related Stuff: 
Contributor: The Ethical Hacker.Net 
Contributor:Hakin9 Magazine 
…….Others
3 
•Why Bother? 
•Introduction to Microsoft Surface 
•App Supply Chain 
•Package Breakdown 
•Extraction and Analysis 
•Web Analysis 
Goals
4 
•Seems to be very little discussion surrounding Surface Platform Applications 
•Most People seem to be Fixated on IOS and Android Applications 
•More and More Surface devices appearing in the Enterprise environment due to BYOD 
•I’m tired of hearing about things everyone else already knows!! 
Why Bother?
5 
Surface Platform 
(More than just the tablets)
6 
Surface Platform 
Architecture 
OSKernel 
CPU 
Surface 
ARMv7 
WinRT 8.0 
NvidaTegra 
Surface2 
ARMv7 
WinRT8.1 
NvidaTegra 
SurfacePro 
x86/x64 
WinRT8.0 
IntelIvy Bridge 
SurfacePro 2 
x86/x64 
WinRT 8.0 
IntelHaswell 
SurfacePro 3 
x86/x64 
WinRT 8.1 
IntelHaswell
7 
Surface App Supply Chain 
Development 
Win32 and C++ .NET 
C# and XAML 
DirectX 
HTML/JavaScript 
Publish 
Windows Store 
Consumption 
Surface 
Surface 2 
Surface Pro 2
8 
Windows Runtime app packages 
.Appx 
AppX 
App Manifest 
App Block Map 
App Signature 
App Payload
9 
Windows Runtime app packages 
.Appx 
App Payload 
App Code files and assets 
Payload files are the code files and assets that you create when you actually create the App 
App Manifest 
The manifest declares the identity of the application. Basically what does this application do? 
App Block Map 
The block map files lists all of the applications files along with associated cryptographic hashes 
App Signature 
The app signature ensures that the contents of the Appx hasn’t been modified and they get 
signed
10 
Surface Apps: Distribution & Location 
Apps are distributed as .zip archives from the Microsoft Store 
3rdparty apps are stored inside C:Program FilesWindowsApps
11 
Directory Structure
12 
Surface Apps: Distribution & Location
13 
Surface Apps: Distribution & Location
14 
Surface Apps: Extraction & Analysis 
Unzip It!
15 
Surface Apps: Extraction & Analysis 
App packer (MakeAppx.exe) 
App Packer creates the app package from files on disk or extracts the files from the app package to disk 
-Requires Installation of Windows SDK 8.1
16 
Surface Apps: Extraction & Analysis 
Extract It! 
MakeAppx unpack /l /v /p application.appx/d “D:My Files
17 
Surface Apps: Extraction & Analysis 
Extract It!
18 
Surface Apps: Extraction & Analysis 
Unzip It!
19 
Surface Apps: Extraction & Analysis 
Goodies to be Found! 
Hard Coded Usernames and Passwords 
Database Files with Unmasked User data 
Active Test Licensing Keys 
Many others……
20 
Surface Apps: Web Analysis 
Proxying Surface Application traffic through Burp Suite 
Traditional Web Application Testing
21 
Surface Apps: Web Analysis 
You are already a Pro at this! 
Setup Secondary Interface Under Burp Suite Options Tab 
Install Burp Suite SSL Certificate in Trusted Store on Microsoft Store
22 
If you are not the web app guy you thought you were see references!
23 
If you are not the web app guy you thought you were see references! 
Setup Secondary Interface Under Burp Suite Options Tab 
Install Burp Suite SSL Certificate in Trusted Store on Microsoft Store
24 
Surface Apps: Web Analysis 
Goodies to be Found! 
OWASP Top 10 YadaYada 
Other Unencrypted Goodness
25 
Questions?
26 
Contact Information 
LinkedIn: Wardell Motley 
Twitter:Infowarrior0 
Email:infowarrior0@gmail.com 
Please Put “BsidesDFW 2014 in the Subject Line”
27 
App Packager Manager 
http://msdn.microsoft.com/en-us/library/windows/desktop/hh446767(v=vs.85).aspx 
Windows SDK for Windows 8.1 
http://dev.windows.com/en-us/develop/downloads 
XAML Decompiler (Convert XBF to XAML) 
http://xamldecompiler.codeplex.com/ 
Burp Suite Pro 
http://portswigger.net/burp/ 
Installing Burp Suite Pro SSL Certificates 
http://portswigger.net/burp/help/proxy_options_installingCAcert.html 
References:
28 
Proxying Traffic through Microsoft Surface 
http://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-device 
Burp Suite SSL Options 
http://portswigger.net/burp/help/options_ssl.html 
Windows Runtime Apps 
http://msdn.microsoft.com/en-us/library/windows/desktop/hh464929.aspx 
References: http://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-devicehttp://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-device

More Related Content

PPTX
Hacker Halted 2014 - Reverse Engineering the Android OS
PPTX
[Wroclaw #1] Android Security Workshop
PDF
09 Myths About Open Source Software
PDF
YuryMakedonov_TesTrek2013_AndroidTesting_12u_slides
PDF
Android Security & Penetration Testing
PDF
OWASP for iOS
PDF
Week11
PDF
Apple threat-landscape
Hacker Halted 2014 - Reverse Engineering the Android OS
[Wroclaw #1] Android Security Workshop
09 Myths About Open Source Software
YuryMakedonov_TesTrek2013_AndroidTesting_12u_slides
Android Security & Penetration Testing
OWASP for iOS
Week11
Apple threat-landscape

What's hot (16)

PPTX
Understanding android security model
PPT
Understanding Android Security
PDF
無題 1
PDF
Mobile application security tools
PDF
You installed what Thierry Sans
PPT
Web Application Testing for Today’s Biggest and Emerging Threats
PDF
(In)security in Open Source
PDF
Testing Android Security Codemotion Amsterdam edition
PDF
Compliance in the 2016 Future of Open Source
PPTX
Indie Game Development
PDF
The Evolution of the Fileless Click-Fraud Malware Poweliks
PPTX
100 effective software testing tools that boost your Testing
PDF
IRJET- Android Malware Detection System
PPT
I os note kenlai-2014 mar
PPTX
Open source software
PDF
Building Custom Android Malware BruCON 2013
Understanding android security model
Understanding Android Security
無題 1
Mobile application security tools
You installed what Thierry Sans
Web Application Testing for Today’s Biggest and Emerging Threats
(In)security in Open Source
Testing Android Security Codemotion Amsterdam edition
Compliance in the 2016 Future of Open Source
Indie Game Development
The Evolution of the Fileless Click-Fraud Malware Poweliks
100 effective software testing tools that boost your Testing
IRJET- Android Malware Detection System
I os note kenlai-2014 mar
Open source software
Building Custom Android Malware BruCON 2013
Ad

Similar to Exploiting and analyzing Microsoft Surface Applications (20)

PDF
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
PDF
Embedded Programming With Android Bringing Up An Android System From Scratch ...
PPTX
Mobile Application Penetration Testing - Android
PDF
Introduction to Android App Development
PPTX
Android Overview
PPTX
Mobile Web Apps and the Intel® XDK
PDF
Mobile Application Development-Lecture 03 & 04.pdf
PPTX
Crosswalk and the Intel XDK
PDF
Blackberry_runtime_for_android_apps
PDF
Android Part-1 - Hello Android
PPTX
Windows 10 UWP Development Overview
PPTX
Manish Chasta - Securing Android Applications
PPTX
Please, Please, PLEASE Defend Your Mobile Apps!
PPSX
Android..!!
PDF
Cookbook for Building An App
PPTX
Building Windows8 Metro Applications
PPT
PDF
Evolution of Android Operating System and it’s Versions
PDF
An brief introduction to android operating system
PDF
Software training report
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
Embedded Programming With Android Bringing Up An Android System From Scratch ...
Mobile Application Penetration Testing - Android
Introduction to Android App Development
Android Overview
Mobile Web Apps and the Intel® XDK
Mobile Application Development-Lecture 03 & 04.pdf
Crosswalk and the Intel XDK
Blackberry_runtime_for_android_apps
Android Part-1 - Hello Android
Windows 10 UWP Development Overview
Manish Chasta - Securing Android Applications
Please, Please, PLEASE Defend Your Mobile Apps!
Android..!!
Cookbook for Building An App
Building Windows8 Metro Applications
Evolution of Android Operating System and it’s Versions
An brief introduction to android operating system
Software training report
Ad

Recently uploaded (20)

PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
composite construction of structures.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Well-logging-methods_new................
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Digital Logic Computer Design lecture notes
Lesson 3_Tessellation.pptx finite Mathematics
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Structs to JSON How Go Powers REST APIs.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mechanical Engineering MATERIALS Selection
composite construction of structures.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Well-logging-methods_new................
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Digital Logic Computer Design lecture notes

Exploiting and analyzing Microsoft Surface Applications

  • 1. BSIDES DFW 2014 Into the Mobile DeepExploiting and Analyzing Microsoft SurfaceApplications
  • 2. 2 Who am I? Wardell Motley Currently: Penetration Tester Veracode Previously Sr. Penetration Tester (Undisclosed) Systems Administrator: Walls Industries Network Administrator: CSI Other Security Related Stuff: Contributor: The Ethical Hacker.Net Contributor:Hakin9 Magazine …….Others
  • 3. 3 •Why Bother? •Introduction to Microsoft Surface •App Supply Chain •Package Breakdown •Extraction and Analysis •Web Analysis Goals
  • 4. 4 •Seems to be very little discussion surrounding Surface Platform Applications •Most People seem to be Fixated on IOS and Android Applications •More and More Surface devices appearing in the Enterprise environment due to BYOD •I’m tired of hearing about things everyone else already knows!! Why Bother?
  • 5. 5 Surface Platform (More than just the tablets)
  • 6. 6 Surface Platform Architecture OSKernel CPU Surface ARMv7 WinRT 8.0 NvidaTegra Surface2 ARMv7 WinRT8.1 NvidaTegra SurfacePro x86/x64 WinRT8.0 IntelIvy Bridge SurfacePro 2 x86/x64 WinRT 8.0 IntelHaswell SurfacePro 3 x86/x64 WinRT 8.1 IntelHaswell
  • 7. 7 Surface App Supply Chain Development Win32 and C++ .NET C# and XAML DirectX HTML/JavaScript Publish Windows Store Consumption Surface Surface 2 Surface Pro 2
  • 8. 8 Windows Runtime app packages .Appx AppX App Manifest App Block Map App Signature App Payload
  • 9. 9 Windows Runtime app packages .Appx App Payload App Code files and assets Payload files are the code files and assets that you create when you actually create the App App Manifest The manifest declares the identity of the application. Basically what does this application do? App Block Map The block map files lists all of the applications files along with associated cryptographic hashes App Signature The app signature ensures that the contents of the Appx hasn’t been modified and they get signed
  • 10. 10 Surface Apps: Distribution & Location Apps are distributed as .zip archives from the Microsoft Store 3rdparty apps are stored inside C:Program FilesWindowsApps
  • 12. 12 Surface Apps: Distribution & Location
  • 13. 13 Surface Apps: Distribution & Location
  • 14. 14 Surface Apps: Extraction & Analysis Unzip It!
  • 15. 15 Surface Apps: Extraction & Analysis App packer (MakeAppx.exe) App Packer creates the app package from files on disk or extracts the files from the app package to disk -Requires Installation of Windows SDK 8.1
  • 16. 16 Surface Apps: Extraction & Analysis Extract It! MakeAppx unpack /l /v /p application.appx/d “D:My Files
  • 17. 17 Surface Apps: Extraction & Analysis Extract It!
  • 18. 18 Surface Apps: Extraction & Analysis Unzip It!
  • 19. 19 Surface Apps: Extraction & Analysis Goodies to be Found! Hard Coded Usernames and Passwords Database Files with Unmasked User data Active Test Licensing Keys Many others……
  • 20. 20 Surface Apps: Web Analysis Proxying Surface Application traffic through Burp Suite Traditional Web Application Testing
  • 21. 21 Surface Apps: Web Analysis You are already a Pro at this! Setup Secondary Interface Under Burp Suite Options Tab Install Burp Suite SSL Certificate in Trusted Store on Microsoft Store
  • 22. 22 If you are not the web app guy you thought you were see references!
  • 23. 23 If you are not the web app guy you thought you were see references! Setup Secondary Interface Under Burp Suite Options Tab Install Burp Suite SSL Certificate in Trusted Store on Microsoft Store
  • 24. 24 Surface Apps: Web Analysis Goodies to be Found! OWASP Top 10 YadaYada Other Unencrypted Goodness
  • 26. 26 Contact Information LinkedIn: Wardell Motley Twitter:Infowarrior0 Email:[email protected] Please Put “BsidesDFW 2014 in the Subject Line”
  • 27. 27 App Packager Manager http://msdn.microsoft.com/en-us/library/windows/desktop/hh446767(v=vs.85).aspx Windows SDK for Windows 8.1 http://dev.windows.com/en-us/develop/downloads XAML Decompiler (Convert XBF to XAML) http://xamldecompiler.codeplex.com/ Burp Suite Pro http://portswigger.net/burp/ Installing Burp Suite Pro SSL Certificates http://portswigger.net/burp/help/proxy_options_installingCAcert.html References:
  • 28. 28 Proxying Traffic through Microsoft Surface http://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-device Burp Suite SSL Options http://portswigger.net/burp/help/options_ssl.html Windows Runtime Apps http://msdn.microsoft.com/en-us/library/windows/desktop/hh464929.aspx References: http://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-devicehttp://www.7tutorials.com/how-set-proxy-server-windows-81-tablet-or-hybrid-device