CrowdShare
Secure Resource Sharing in Mobile Crowds
                                     Stanislaus Stelle
                                 CASED / TU Darmstadt
                            8th of March 2013 on Moosecon
                                    Joined work with
Alexandra Dmitrienko | Ahmad-Reza Sadeghi | Elena Reshetova | Thomas Schneider | N. Asokan




                                                                                         1
Motivation




             2
Motivation
             Resource Sharing




                         3
Motivation
              Resource Sharing
             Collaborative work




                           4
Motivation
              Resource Sharing
             Collaborative work
               Social Networks




                           5
Motivation
              Resource Sharing
             Collaborative work
               Social Networks
                  Mobile




                             6
Depends on
  Carrier
             7
4.6 billions without
      Internet




                       8
4.6 billions without
      Internet




                Focus on Internet
                   Availability


                              9
What can we


do about it

              10
Existing Technology: Tethering




                       Participant




                                     Participant




        Access Point




                                                   11
Existing Technology: Tethering

                                                   Range



                       Participant




                                     Participant




        Access Point




                                                       12
Existing Technology: Tethering

                                                             Range
                                                             Password
                                                             Distribution
   Password                  Participant




                                           Participant




              Access Point

                                                  Password


                                                                   13
Solution: Multihop Resource
          Sharing             14
How should
this work?


        15
Mesh Network Routing: BATMAN
                               16
What about
security?


        17
Link Security
Link Security   Access Control
Anonymity


Link Security   Access Control
                                 20
Liability

                Anonymity


Link Security   Access Control
                                        21
Implementation
        for Android

Link Security – SSL/VPN
Anonymity – Registration with Certs.
Liability – Signed Resource Requests
Access Control – FoF Service
And what
about
liability?

             23
Liability




                                             Internet



Wants to tether    Has Internet Connection
                                                  24
Liability




            25
Liability




            26
Liability




            27
Bound to phone number   Liability
                           Destination IP, Protocol, Port, Timestamp




                                                                28
Liability




            29
Liability




            30
Liability




            31
Liability




            32
Liability




            33
Liability




            34
And what
about
access
control?

           35
Friend of Friend Service



  Simple alternative

      Fancy alternative
                       36
Simple alternative


 register




               37
Simple alternative
       sync




               38
Simple alternative


 Transmit
 Whitelists




               39
Fancy alternative
              40
Challenges
   WiFi and 3G at the same time
     WiFi in Ad-Hoc mode
  Dynamic Access Control
WiFi and 3G at the same time

     Android prohibits both to be activated
insmod /system/lib/modules/bcm4329
firmware_path=/system/vendor/firmware/fw_bcm4329.bin
WiFi in Ad-Hoc mode

     No System option in Android

iwconfig eth0 channel 11 essid Mesh mode ad-hoc
ifconfig eth0 10.0.0.1 netmask 255.0.0.0 up
Dynamic Access Control


  Friend of Friend Service
               Liability Feature
Conclusion
1)   Design of CrowdShare service for secure resource sharing

     a. Allows arbitrary people to establish mesh and share resources

     b. Enables users to decide what and with whom to share

     c. Ensures anonymity, liability, confidentiality, authenticity

2)   Implementation for Internet sharing on Android devices

     a. Extends Serval

     b. Enables internet sharing

     c. Brings in a security layer

     d. Addresses a number of technical challenges
T ha n
          k y ou

Ques
     ti   ons?
Stanislaus Stelle
    Freelancer

stas.stelle@gmail.com

Crowdshare, Secure Resource Sharing in Mobile Crowds