Location Based Services
→ Exploiting Vulnerabilities

	
  
	
  
	
  
	
  
+

SOFTWARE DEVELOPMENT DONE RIGHT
Netherlands | USA | India | France | UK

www.xebia.in; Blog :http://.xebee.xebia.in
What are Location Based Services ?
→ A service that depends on the network knowing your location

	
  

LBS allow consumers to receive services and advertising based on
their geographic location.
Location Based Services
	
  
Location Based Services Can be basically divided into 4 Broad
Categories1. Location Based Search Information
2. Location Based Commerce
3. Navigation Services
4. Tracking Applications
Location Based Information
Location Based Commerce
 
	
  

Location Based Navigation
	
  
	
  
	
  
	
  
 
	
  

Location Based Tracking
	
  
	
  
	
  
	
  
Loca&on	
  and	
  Constella&ons	
  	
  
Loca&on	
  and	
  Constella&ons	
  	
  
A	
  New	
  Man	
  Made	
  Constella&on	
  
Loca&on	
  Acquisi&on	
  Methods	
  
1.GPS
2.Assisted GPS
3.Cell Towers
4.Cell-ID
Loca&on	
  Accuracy	
  and	
  Usage	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Precise	
  Loca+on	
  Acquisi+on	
  

GPS (Global Positioning System)

•  24 satellites in orbit. Typically 5 to 8 are
visible from any one place
•  Distance calculated by time it takes for signal
to travel from satellite to receiver. Calculating
the time it takes from 4 satellites provides an
accurate fix.
Loca&on	
  Accuracy	
  and	
  Usage	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Precise	
  Loca+on	
  Acquisi+on	
  
Assisted -GPS
•  GPS has a slow time to
fix unless it is
permanently tracking
satellites

•  Assisted GPS is based
upon providing GPS
satellite information to
the handset, via the
cellular network

•  Assisted GPS gives
improvements in
Time to First Fix
NO	
  Loca+on	
  Verifica+on	
  
•  99 % of Applications Providing Location Based
Services lack Location Verification Mechanism.

	
  	
  	
  	
  	
  This	
  Leaves	
  all	
  these	
  Applica+ons	
  
	
  	
  	
  	
  	
  Vulnerable	
  to	
  Loca+on	
  Spoofing	
  A=acks	
  
Loca+on	
  Spoofing	
  

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Injec+ng	
  Fake	
  Loca+ons	
  
Loca+on	
  Spoofers	
  
Results	
  of	
  Loca+on	
  Spoofing	
  
•  Commercial	
  
applica+ons	
  can	
  
be	
  fooled	
  by	
  
Checking	
  in	
  with	
  
spoofed	
  
Loca+ons.	
  
	
  
•  Rewards,	
  Offers,	
  
Deals	
  on	
  Specific	
  
Loca+ons	
  Can	
  be	
  
Availed	
  ☺	
  
Results	
  of	
  Loca+on	
  Spoofing	
  
•  Tracking	
  Applica+ons	
  
can	
  be	
  fooled	
  by	
  fixing	
  a	
  
fake	
  loca+on	
  or	
  
Randomly	
  changing	
  	
  
Loca+on.	
  
	
  
•  Incase	
  of	
  Con+nuous	
  	
  
Fleet	
  tracking,	
  Pre-­‐
Designed	
  Routes	
  can	
  be	
  
Simulated	
  to	
  spoof	
  
con+nuous	
  Loca+on	
  
Solu+ons	
  to	
  Loca+on	
  Spoofing	
  
	
  Client	
  side	
  valida+ons	
  
	
  
	
  

•  Hourly	
  loca+on	
  
•  Cell	
  towers	
  triangula+on	
  

Server	
  side	
  Valida+ons	
  
• 
• 
• 
• 
• 
• 
• 

Date	
  of	
  Registra+on	
  
RapidFire	
  Check-­‐ins	
  
Previous	
  Check-­‐ins,	
  History	
  	
  
Distance	
  Algorithims	
  
Traffic	
  updates.	
  
Speed	
  and	
  stops	
  
Loca+ons	
  in	
  other	
  Applica+ons	
  
Spoofing	
  GPS	
  Constella+on	
  
Spoofing	
  GPS	
  Constella+on	
  

GPS Signal Simulators / Signal Spoofer
Spoofing	
  GPS	
  Constella+on	
  

Possible Solutions ????????????
Spoofing	
  GPS	
  Constella+on	
  
Happy Spoofing :)

Thank You !
Thank You
Agile Testing

Current Competencies
Mobile Testing: Appium, Calabash
Performance Testing Tools: JMeter, LoadUI

Automation Frameworks in place
-  Selenium/Webdriver keyword driven
-  SoapUI

ATDD Tools: Cucumber, Fitnesse, JBehave, Geb
Language Proficiencies: Java, Ruby, Groovy, Python
Functional automation Tools: Selenium/Webdriver, AUTO IT, SoapUI, QTP
Knowledge Sharing: Speakers in national and international conferences
Contact us @

Websites

www.xebia.in
www.xebia.com
www.xebia.fr

Xebia India

infoindia@xebia.com

Thought Leadership

Htto://xebee.xebia.in
http://blog.xebia.com
http://podcast.xebia.com

Exploiting vulnerabilities in location based commerce

  • 1.
    Location Based Services →Exploiting Vulnerabilities        
  • 2.
    + SOFTWARE DEVELOPMENT DONERIGHT Netherlands | USA | India | France | UK www.xebia.in; Blog :http://.xebee.xebia.in
  • 3.
    What are LocationBased Services ? → A service that depends on the network knowing your location   LBS allow consumers to receive services and advertising based on their geographic location.
  • 4.
    Location Based Services   Location Based Services Can be basically divided into 4 Broad Categories1. Location Based Search Information 2. Location Based Commerce 3. Navigation Services 4. Tracking Applications
  • 5.
  • 6.
  • 7.
        Location BasedNavigation        
  • 8.
        Location BasedTracking        
  • 9.
  • 10.
  • 11.
    A  New  Man  Made  Constella&on  
  • 12.
    Loca&on  Acquisi&on  Methods   1.GPS 2.Assisted GPS 3.Cell Towers 4.Cell-ID
  • 13.
    Loca&on  Accuracy  and  Usage                        Precise  Loca+on  Acquisi+on   GPS (Global Positioning System) •  24 satellites in orbit. Typically 5 to 8 are visible from any one place •  Distance calculated by time it takes for signal to travel from satellite to receiver. Calculating the time it takes from 4 satellites provides an accurate fix.
  • 14.
    Loca&on  Accuracy  and  Usage                        Precise  Loca+on  Acquisi+on   Assisted -GPS •  GPS has a slow time to fix unless it is permanently tracking satellites •  Assisted GPS is based upon providing GPS satellite information to the handset, via the cellular network •  Assisted GPS gives improvements in Time to First Fix
  • 15.
    NO  Loca+on  Verifica+on   •  99 % of Applications Providing Location Based Services lack Location Verification Mechanism.          This  Leaves  all  these  Applica+ons            Vulnerable  to  Loca+on  Spoofing  A=acks  
  • 16.
    Loca+on  Spoofing                        Injec+ng  Fake  Loca+ons  
  • 17.
  • 18.
    Results  of  Loca+on  Spoofing   •  Commercial   applica+ons  can   be  fooled  by   Checking  in  with   spoofed   Loca+ons.     •  Rewards,  Offers,   Deals  on  Specific   Loca+ons  Can  be   Availed  ☺  
  • 19.
    Results  of  Loca+on  Spoofing   •  Tracking  Applica+ons   can  be  fooled  by  fixing  a   fake  loca+on  or   Randomly  changing     Loca+on.     •  Incase  of  Con+nuous     Fleet  tracking,  Pre-­‐ Designed  Routes  can  be   Simulated  to  spoof   con+nuous  Loca+on  
  • 20.
    Solu+ons  to  Loca+on  Spoofing    Client  side  valida+ons       •  Hourly  loca+on   •  Cell  towers  triangula+on   Server  side  Valida+ons   •  •  •  •  •  •  •  Date  of  Registra+on   RapidFire  Check-­‐ins   Previous  Check-­‐ins,  History     Distance  Algorithims   Traffic  updates.   Speed  and  stops   Loca+ons  in  other  Applica+ons  
  • 21.
  • 22.
    Spoofing  GPS  Constella+on   GPS Signal Simulators / Signal Spoofer
  • 23.
    Spoofing  GPS  Constella+on   Possible Solutions ????????????
  • 24.
    Spoofing  GPS  Constella+on   Happy Spoofing :) Thank You ! Thank You
  • 25.
    Agile Testing Current Competencies MobileTesting: Appium, Calabash Performance Testing Tools: JMeter, LoadUI Automation Frameworks in place -  Selenium/Webdriver keyword driven -  SoapUI ATDD Tools: Cucumber, Fitnesse, JBehave, Geb Language Proficiencies: Java, Ruby, Groovy, Python Functional automation Tools: Selenium/Webdriver, AUTO IT, SoapUI, QTP Knowledge Sharing: Speakers in national and international conferences
  • 26.
    Contact us @ Websites www.xebia.in www.xebia.com www.xebia.fr XebiaIndia infoindia@xebia.com Thought Leadership Htto://xebee.xebia.in http://blog.xebia.com http://podcast.xebia.com