Tìm kiếm theo tiêu đề

Tin tức cộng đồng

[MỜI HỢP TÁC] Các kỳ thi Olympic Quốc tế 2026 (IMO - IEO - ISO)

Kính gửi Quý Lãnh đạo, Ban Giám hiệu và Quý Thầy/Cô, FermatTech (Đối tác Google tại VN) phối hợp cùng SCO Ấn Độ trân trọng kính mời tham gia 3 kỳ thi uy tín dành cho HS từ lớp 1 - 12: - IMO: Olympic Toán Quốc tế. - IEO: Olympic Tiếng Anh Quốc tế. - ISO: Olympic Khoa học...
Xem tiếp

Tin tức thư viện

Chức năng Dừng xem quảng cáo trên violet.vn

12087057 Kính chào các thầy, cô! Hiện tại, kinh phí duy trì hệ thống dựa chủ yếu vào việc đặt quảng cáo trên hệ thống. Tuy nhiên, đôi khi có gây một số trở ngại đối với thầy, cô khi truy cập. Vì vậy, để thuận tiện trong việc sử dụng thư viện hệ thống đã cung cấp chức năng...
Xem tiếp

Hỗ trợ kĩ thuật

  • (024) 62 930 536
  • 0919 124 899
  • hotro@violet.vn

Liên hệ quảng cáo

  • (024) 66 745 632
  • 096 181 2005
  • contact@bachkim.vn

Android Passing Message

Wait
  • Begin_button
  • Prev_button
  • Play_button
  • Stop_button
  • Next_button
  • End_button
  • 0 / 0
  • Loading_status
Nhấn vào đây để tải về
Báo tài liệu có sai sót
Nhắn tin cho tác giả
(Tài liệu chưa được thẩm định)
Nguồn: Internet
Người gửi: Nguyễn Tuấn Kiệt
Ngày gửi: 10h:23' 30-12-2013
Dung lượng: 1.4 MB
Số lượt tải: 11
Số lượt thích: 0 người
Analyzing Inter-Application Communication in Android
Erika Chin
Adrienne Porter Felt
Kate Greenwood
David Wagner
University of California Berkeley
MobiSys 2011
Outline
Introduction
Android Overview
Intent-based Attack Surfaces
ComDroid
Evaluation
Other mobile Platforms
Introduction
Introduction
Android’s message passing system can become an attack surface if used incorrectly
Intent
Intents can be used for both intra- and inter-application communication
ComDroid
A tool analyzes Android applications to detect potential instances of vulnerabilities
Personal data loss, corruption, phishing…

Android Overview
Android Overview
Android’s security model differs significantly from the standard desktop security model
The complexity of Android’s message passing system implies it has the largest attack surface
Android Overview
Threat Model
Isolation (mem, file..)
Isolation (mem, file..)
Android Overview
Activity
Activity
Activity
Service
BroadcastReceiver
Service
BroadcastReceiver
Service
BroadcastReceiver
Intent
Intent
Intent
System Intent
Malicious Intent
Fake System Intent
Android Overview
Activity
www.bank.com
attacker.com
?
Android Overview
This paper do not consider attacks on the OS
Just focus on securing applications from each other
Android Overview
Intents [link]
System broadcast Intents
Only can be sent by the OS
Explicit or implicit
Explicit Intents
12
Yelp
Map
App
Name: MapActivity
To: MapActivity
Only the specified destination receives this message
Implicit Intents

13
Yelp
Clock
App
Map
App
Handles Action: VIEW
Handles Action: DISPLAYTIME
Implicit Intent
Action: VIEW
Implicit Intents

14
Yelp
Browser
App
Map
App
Handles Action: VIEW
Handles Action: VIEW
Implicit Intent
Action: VIEW
Android Overview
Activities
Services
Broadcast Receivers
Content Providers
Android Overview
Activity
Display on screen
2009/12/8
Advanced Defense Laboratory
16
Android Overview
Service
Background process
2009/12/8
Advanced Defense Laboratory
17
Android Overview
Broadcast Receiver
Asynchronous event notification
2009/12/8
Advanced Defense Laboratory
18
Android Overview
Content Provider
Share data between applications
Do not use Intents
Use URI (Uniform Resource Identifier)
2009/12/8
Advanced Defense Laboratory
19
Android Overview
Component Declaration
AndroidManifest.xml

To receive Intents…
Service and Activity must be declared in the manifest
Broadcast Receivers can be declared at runtime or in the manifest
Android Overview
Exported Components
EXPORTED flag (in AndroidManifest.xml)
Includes at least one Intent filter



Intent filter
Action, category, data, extra data…
Android Overview
A sender can assign any action, type, or category (certain actions that it only the system can send)
Android Overview
Permission
Normal
Dangerous
Signature
SignatureOrSystem
Intent-based Attack Surfaces
Common Developer Pattern:
Unique Action Strings
25
Showtime
Search
Results UI
IMDb App
Handles Actions: willUpdateShowtimes,
showtimesNoLocationError
Implicit Intent
Action: willUpdateShowtimes
26
Common Developer Pattern:
Unique Action Strings
27
Showtime
Search
Results UI
IMDb App
Handles Actions: willUpdateShowtimes,
showtimesNoLocationError
Implicit Intent
Action: willUpdateShowtimes
ATTACK #1: Eavesdropping
28
Showtime
Search
Malicious Receiver
IMDb App
Handles Action: willUpdateShowtimes,
showtimesNoLocationError
Implicit Intent
Action: willUpdateShowtimes
Eavesdropping App
Sending Implicit Intents makes communication public
ATTACK #2: Intent Spoofing
29
Malicious Component
Results UI
IMDb App
Handles Action: willUpdateShowtimes,
showtimesNoLocationError
Action: showtimesNoLocationError
Malicious Injection App
Receiving Implicit Intents makes the component public
30
Typical case
Attack case
ATTACK #3: Man in the Middle
31
Showtime
Search
Results UI
IMDb App
Handles Action: willUpdateShowtimes,
showtimesNoLocation Error
Malicious Receiver
Handles Action: willUpdateShowtimes,
showtimesNoLocationError
Man-in-the-Middle App
Action: willUpdateShowtimes
Action: showtimesNoLocation
Error
ATTACK #4: System Intent Spoofing
Background – System Broadcast
Event notifications sent by the system
Some can only be sent by the system

Receivers become accessible to all applications when listening for system broadcast
32
System Broadcast
33
Component
App 1
Handles Action: BootCompleted
Component
App 2
Handles Action: BootCompleted
Component
App 3
Handles Action: BootCompleted
System
Notifier
Action:
BootCompleted
System Intent Spoofing: Failed Attack
34
Handles Action: BootCompleted
Malicious
Component
Malicious App
Action: BootCompleted
Component
App 1
System Intent Spoofing: Successful Attack
35
Handles Action: BootCompleted
Malicious
Component
Malicious App
Component
App 1
To: App1.Component
Real World Example: ICE App
ICE App: Allows doctors access to medical information on phones

Contains a component that listens for the BootCompleted system broadcast

On receipt of the Intent, it exits the application and locks the screen
36
Real World Example: ICE
37
ComDroid
ComDroid
Disassemble application DEX files using Dedexer tool
Parses the disassembled output and logs potential component and Intent vulnerabilities
ComDroid
ComDroid
Permission
Normal and Dangerous
Intent Analysis
Intents, IntentFilters, registers, sinks (e.g., sendBroadcast(), startActivity(), etc.) and components
ComDroid
Intent
Whether it has been made explicit
Whether it has an action
Whether it has any flags set
Whether it has any extra data
Sinks
Implicit or not?
ComDroid
Component Analysis
Public or not?
Main, launching Activity is public but is less likely to be attackable
registerReceiver()
With data / without data
System broadcast
Intent.getAction()
Misuse
ComDroid
Limitation and discussion
Do not distinguish between paths through if and switch statements
False negatives
Pending Intent
Future work
Evaluation
Evaluation
Evaluation
Evaluation
Evaluation
Evaluation
 
Gửi ý kiến