NC State -- Department of Computer Science Page
CSC591-006 Smartphone OS Security Introduction
Spring 2012
- Prof. William Enck
1
CSC591-006 Smartphone OS Security Introduction Spring 2012 Prof. - - PowerPoint PPT Presentation
CSC591-006 Smartphone OS Security Introduction Spring 2012 Prof. William Enck NC State -- Department of Computer Science Page 1 Why Study Smartphone Security? New platform / theyre popular / its a buzzword Resource constrained
NC State -- Department of Computer Science Page
1
NC State -- Department of Computer Science Page
2
NC State -- Department of Computer Science Page
3
NC State -- Department of Computer Science Page
4
NC State -- Department of Computer Science Page
5
NC State -- Department of Computer Science Page
6
NC State -- Department of Computer Science Page
7
NC State -- Department of Computer Science Page
8
NC State -- Department of Computer Science Page
9
NC State -- Department of Computer Science Page
10
NC State -- Department of Computer Science Page
11
NC State -- Department of Computer Science Page
12
NC State -- Department of Computer Science Page
13
NC State -- Department of Computer Science Page
basic systems tools, e.g., dialer, address book, etc.
construct applications.
within a custom Java virtual machine.
jar file (.apk)
14
NC State -- Department of Computer Science Page
by Palm, now used in Android
components of different types
15
Phone Application Contacts Application Maps Application Android Middleware Linux
Reference Monitor Policy Binder Component Framework
NC State -- Department of Computer Science Page
same or different application
16
Starting an Activity for a Result Activity Activity start return Communicating with a Service Activity callback Service call start/stop/bind Querying a Content Provider Activity Read/Write Query return Content Provider Receiving an Intent Broadcast System Activity Service Broadcast Receiver Send Intent
NC State -- Department of Computer Science Page
17
NC State -- Department of Computer Science Page
18
NC State -- Department of Computer Science Page
as Service components
19
NC State -- Department of Computer Science Page
queries equivalent to SELECT, UPDATE, INSERT, DELETE
20
NC State -- Department of Computer Science Page
handlers (also think of as a message mailbox).
to specific action strings (possibly multiple)
Activity resolution using “action strings”.
21
NC State -- Department of Computer Science Page
22
NC State -- Department of Computer Science Page
23
NC State -- Department of Computer Science Page
24
NC State -- Department of Computer Science Page
25
FriendTracker Application
FriendProvider BootReceiver FriendTracker Control FriendTracker
FriendViewer Application
FriendViewer FriendMap FriendReceiver
System Server
System Service
Contacts Application
ViewContact start/stop start read,write Broadcast Intent Broadcast Intent read read start start
NC State -- Department of Computer Science Page
26
Application 1
Permission Labels
l1,... A: ... Application 2
Permission Labels
... B: l1 C: l2 X
Inherit Permissions
NC State -- Department of Computer Science Page
27
NC State -- Department of Computer Science Page
28
NC State -- Department of Computer Science Page
28
NC State -- Department of Computer Science Page
29
NC State -- Department of Computer Science Page
29
NC State -- Department of Computer Science Page
“finish” an operation for you via RPC.
private Broadcast Receivers/Activities and always fully specify the Intent destination.
30
NC State -- Department of Computer Science Page
“finish” an operation for you via RPC.
private Broadcast Receivers/Activities and always fully specify the Intent destination.
30
NC State -- Department of Computer Science Page
31
NC State -- Department of Computer Science Page
31
NC State -- Department of Computer Science Page
32
NC State -- Department of Computer Science Page
32
NC State -- Department of Computer Science Page
to make network connections.
33
NC State -- Department of Computer Science Page
34
NC State -- Department of Computer Science Page
34