-
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
Understanding Android’s Security Framework
William Enck and Patrick McDaniel Tutorial October 2008
1
Understanding Androids Security Framework William Enck and Patrick - - PowerPoint PPT Presentation
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
1
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
2
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
3
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
4
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
5
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
basic systems tools, e.g., dialer, address book, etc.
construct applications.
within a custom Java virtual machine.
jar file (.apk)
6
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
by Palm, now used in Android
components of different types
7
Phone Application Contacts Application Maps Application Android Middleware Linux
Reference Monitor Policy Binder Component Framework
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
same or different application
8
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
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
9
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
10
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
as Service components
11
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
queries equivalent to SELECT, UPDATE, INSERT, DELETE
12
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
handlers (also think of as a message mailbox).
to specific action strings (possibly multiple)
Activity resolution using “action strings”.
13
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
14
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
15
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
16
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
17
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
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
18
Application 1
Permission Labels
l1,... A: ... Application 2
Permission Labels
... B: l1 C: l2 X
Inherit Permissions
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
19
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
20
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
20
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
21
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
21
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
“finish” an operation for you via RPC.
private Broadcast Receivers/Activities and always fully specify the Intent destination.
22
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
“finish” an operation for you via RPC.
private Broadcast Receivers/Activities and always fully specify the Intent destination.
22
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
23
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
23
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
24
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
24
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
to make network connections.
25
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
26
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
26
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
27
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
some security requirement
install-time, and therefore does not impact runtime performance
28
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
29
Systems and Internet Infrastructure Security Laboratory (SIIS) Page
30
Systems and Internet Infrastructure Security Lab (SIIS) Department of Computer Science and Engineering The Pennsylvania State University http://siis.cse.psu.edu Google Android SDK and Documentation http://code.google.com/android Android Platform Source Code http://source.android.com Presentation Slides and Code Examples http://siis.cse.psu.edu/android_sec_tutorial.html