SoK: Lessons Learned From Android Security Research For Appified Software Platforms

SoK: Lessons Learned From Android Security Research
For Appified Software Platforms

Acar et al. Oakland'16

Systematization of Knowledge (SoK) papers evaluate, systematize, and contextualize existing knowledge. IEEE Symposium on Security and Privacy has a track of such papers. This paper in last year's Oakland is by the most prominent security researchers in Android security, but for not only the security community. Software engineering community can also benefit a lot, especially for people like me who are seeking for breakthroughs and want to broaden their research topics.

With a quick search on Google, we can find the definition of appification:

The replacement of Websites and Web pages with programs that run on mobile operating systems and mobile devises. With appification instead of the Web being a user’s primary user interface, it becomes an underlying service layer for apps, which become the new user interface.

Since the occurrence of "modern" smartphones, such appified platforms have been of the highest interest by researchers. With iOS is the most profitable appified platform, Android is the most widely spread. This paper focuses on Android, and tries to draw lessons and provide suggestions.

INTRODUCTION

Apps are encouraged to share features through inter-component communication, while risks are communicated to users via permission dialogs.

One of the challenges is that specific attacker models are by default designed for security solutions. However, in Android research, this attacker model has been only implicitly expressed.

The actors in the appified ecosystem are non-traditional. They provide different challenges as well as opportunities.

The focus of our systematization is on security issues and challenges in the context of appification and the app market ecosystem.

PROBLEM AND RESEARCH AREAS

Android differs from conventional software ecosystems in many aspects.

  1. Access to resources:
    a. System security principals: All apps have their own UID.
    b. Reference monitor: Not only in OS for low-level access control, but also in user-space processes (Exposed IPC interfaces enforce access control on calling processes).
    c. Security policy: A clearer distinction between system and third-party apps.
  2. Sharing functionalities: ICC and libraries.
  3. Software distribution:
  4. Software engineering:
  5. Programming errors: Misuse of programming APIs.
  6. Webification
  7. Software Update Mechanisms: many Android devices do not receive OS updates at all. In contrast, app updates are straightforward and fast, as centralized app stores push updates immediately to their users.

ANDROID/APPIFIED ECOSYSTEM

This paper distinguish app publisher from app market.

If app signing is delegated to the app publishers, they could also surreptitiously insert malicious code.

Global Attacker Model

The authors introduced 6 attacker capabilities:

  1. Dangerous permissions
  2. Multiple apps
  3. Piggybacking apps: repackaging
  4. Native code
  5. Dynamic code loading
  6. Network attacks

SoK

Permission evolution

Dynamic permission requesting is designed to provide more contextual information to help end users to make decisions. However, this desired contextual integrity is not necessarily provided by dynamic permissions and runtime con- sent dialogs.

Although Android’s security design incorporates important lessons learned from prior operating system security research, the fact that it allows and even encourages differently privileged apps to communicate with each other has piqued the security research community’s interest in how this can be exploited by unprivileged apps to escalate their privileges

Permission Revolution

Challenges:

  1. Missing Privilege Separation: libs have same permissions as apps
  2. Ineffective Security Apps: anti-virus apps have same permissions as regular apps
  3. Lack of Support for Mandatory Access Control

Two main directions for adding access control to Android: Alternative Access Control Models and Inlined Reference Monitoring.

Webification

Foremost, the two-way interaction between a host app and its embedded web content requires app developers to relax the WebView sandboxing. This enables app-to-web and web-to- app attacks.
In app-to-web attacks, malicious apps can inject JavaScript into hosted WebViews to extract sensitive user information and use the WebView APIs to navigate the WebView to untrusted websites. In web-to-app attacks, untrusted web content (possibly also injected into an insecure HTTP/S connection) can leverage the JavaScript bridge to the host app to escalate its privileges to the level of its hosting app’s process to access local system resources.

Programming-induced Leaks

Software Distribution

  1. App Piracy and Malware Incentives: Repacking can be done with low effort.

Although all studies found trojan-like malware in the markets, the vast majority of re-packaged apps have been modified to siphon ad revenue from the original app authors (e.g., by exchanging the ad lib or ad identifier), thus suggesting that plagiarists of apps are fiscally motivated.

  1. Application Signing Issues: Centralized app markets can be the threat to end users, i.e., they themselves could cheat end users by withholding apps or updates. Bad practices of signing apps are also a threat:

For instance, Android allows developers to define permissions that are only available to apps with the same origin (i.e., signing key) in order to establish secure ICC.

In particular, app publishers
and generators as a strongly emerging pattern for software
distribution [7] have not yet received any attention, although
their influence on the ecosystem can be considerable. It is
unclear to which extent publishers and app generators are
trustworthy or are harming the security of apps (e.g., following
security best practices) and the privacy of users (e.g., adding
tracking code).

Vendor Customization/Fragmentation Fragmentation

As of today no research has been conducted to investigate countermeasures to challenges that stem from fragmented appified ecosystems.

Software Update Mechanism

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 214,029评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 91,238评论 3 388
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 159,576评论 0 349
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 57,214评论 1 287
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,324评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,392评论 1 292
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,416评论 3 412
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,196评论 0 269
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,631评论 1 306
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,919评论 2 328
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,090评论 1 342
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,767评论 4 337
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,410评论 3 322
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,090评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,328评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,952评论 2 365
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,979评论 2 351

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,459评论 5 6
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,417评论 2 45
  • 作为还没有手绘入门的小白,昨天开始了第一节课,老师从最基础的常用图形开始教授。最基础的一笔画图形你画过吗? 通过自...
    悠然榛子阅读 2,247评论 2 3
  • 每一天的景色都是相同的,每一天的景色都是不同的,喜鹊站在窝沿上做早操。太阳是我的好朋友,偷偷从楼隙间探出头...
    一颗娃娃菜阅读 155评论 0 0
  • 今天去看周云蓬,他是中国最具诗人气息的音乐人。上帝没有给他光明,但给了他另外一双独一无二的眼睛,在那个视角,他真的...
    我开始写影评了阅读 143评论 0 0