leave me alone app level protection against runtime
play

Leave Me Alone: App-level Protection Against Runtime Information - PowerPoint PPT Presentation

Leave Me Alone: App-level Protection Against Runtime Information Gathering on Android Nan Zhang, Kan Yuan, Muhammad Naveed, Xiaoyong Zhou and XiaoFeng Wang Presented by Hitakshi Annayya 1 Wayne State University CSC 6991


  1. Leave Me Alone: App-level Protection Against Runtime Information Gathering on Android Nan Zhang, Kan Yuan, Muhammad Naveed, Xiaoyong Zhou and XiaoFeng Wang Presented by Hitakshi Annayya 1 ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡

  2. Contents 1. RIG Attacks 2. Android-Based IoT 3. Previous Works 4. App Guardian 5. Evaluation and Analysis 6. Conclusion 7. References Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 2 ¡

  3. RIG Attacks Runtime-Information-Gathering (RIG) - Collect runtime information from target app (the victim) - Directly steal or indirectly infer sensitive user information 1) Design weaknesses of the OS shared communication channels such as Bluetooth 2) Side channels memory and network-data usages Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 3 ¡

  4. Android Permission Issues A malicious app needs to run side-by-side with the target app (the victim) to collect its runtime information. A ¡malicious ¡app ¡can ¡abuse ¡the ¡permission ¡it ¡gets ¡“to ¡directly ¡collect ¡sensiAve ¡data ¡from ¡the ¡ target ¡app ¡running ¡in ¡the ¡foreground.” ¡ ¡ ¡ RIG ¡aHacks ¡exploit ¡apps ¡to ¡obtain ¡sensiAve ¡user ¡data ¡“ranging ¡from ¡phone ¡conversaAons ¡to ¡ health ¡informaAon;” ¡ ¡ ¡ A ¡game ¡app ¡with ¡the ¡Bluetooth ¡permission ¡for ¡connecAng ¡to ¡its ¡playpad ¡can ¡also ¡download ¡ paAent ¡data ¡from ¡a ¡Bluetooth ¡glucose ¡meter.” ¡ ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 4 ¡

  5. Android-based Internet of Things (IoT) 1. Belkin NetCam Wi-Fi Camera with Night Vision Designed for home surveillance and motion detection Report to the house owner remotely 2. Nest Protect Shipped 440,000 of its smoke alarms in the United States between Nov. 2013 and Apr. 2014 Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 5 ¡

  6. NetCam Communication Model Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 6 ¡

  7. NetCam Attacks Ø Utilize two side channels • Traffic statistics: tcp_snd and tcp_rcv • CPU usage: /proc/<pid>/stat Motion Detection Three steps • Infer if anybody is at home • Mute alarm • Infer anybody is watching surveillance https://sites.google.com/site/appguaridan/ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 7 ¡

  8. How ¡ ¡to ¡ ¡Protect ¡ ¡from ¡ m ¡RIG ¡ ¡a0ack ¡ ¡? Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 8 ¡

  9. Previous Works Ø Enhancing access control causes compatibility issues + Prevent information leaks during security-critical operations such as phone calls + Remove public resources that could be used for a side-channel analysis - Inevitably make the system less usable - Cause compatibility issues Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 9 ¡

  10. Previous Works Ø Modify OS Complicated and painful (Android OS ecosystem: fragmentation ) - New protection takes a long time before it can reach Android devices worldwide; - New RIG attacks continue to be brought to the spotlight; - It is less clear what an app can do by itself to control its information exposed by the OS. Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 10 ¡

  11. Researchers proposed solution App Guardian Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 11 ¡

  12. App Guardian 1. IntroducAon ¡ 1. Information Gathering 2. Network ¡Architecture ¡ - Permissions, side-channels 3. EvaluaAon ¡ 2. Install / Run time features 4. Conclusion ¡ 5. References ¡ 3. Report suspicious apps 4. kill suspicious app 5. Principal finished 6. Resume suspicious app Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 12 ¡

  13. Grant Guardian a set of permissions • KILL_BACKGROUND_PROCESSES ¡– ¡for ¡closing ¡other ¡third-­‑party ¡apps ¡ • SYSTEM_ALERT_WINDOW ¡-­‑ ¡for ¡popping ¡up ¡an ¡alert ¡to ¡the ¡user ¡ • INTERNET ¡– ¡to ¡access ¡internet ¡ • GET_TASK ¡-­‑ ¡for ¡ge_ng ¡top ¡acAvity ¡ • BIND_NOTIFICATION_LISTENER_SERVICE ¡-­‑ ¡for ¡controlling ¡noAficaAons ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 13 ¡

  14. Life cycle of Guardian Protection Normal ¡Mode Ward ¡Mode Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 14 ¡

  15. Monitoring Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 15 ¡

  16. Entering the ward Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 16 ¡

  17. Entering the ward oom_adj ¡score ¡(-­‑17 ¡~ ¡15) (typically) ¡9 ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ 2 ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 17 ¡

  18. Exiting the ward Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 18 ¡

  19. Impacts on Performance • Close ¡an ¡app ¡which ¡might ¡be ¡restarted ¡later ¡ ¡ ¡ ¡+ ¡App ¡states ¡are ¡well ¡preserved ¡ ¡ ¡ ¡-­‑ ¡Take ¡longer ¡Ame ¡than ¡Switch ¡to ¡foreground Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 19 ¡

  20. Finding suspicious App • Use malicious app’s side channel Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 20 ¡

  21. Finding suspicious App (Cont.) Data ¡Stealing ¡A7acks ¡ 1. ¡RECORD_AUDIO ¡permission ¡ 2. ¡Start ¡Audioin_X ¡process ¡to ¡record ¡audio ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡(/proc/<pid>/task/<Ad>/status) ¡ Side-­‑channel ¡A7acks How ¡frequently ¡app ¡uses ¡the ¡CPU ¡resources ¡ • Number ¡of ¡Ames ¡schedule ¡to ¡use ¡CPU • Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 21 ¡

  22. Behavior change ¡ ¡ ¡ ¡ ¡ • Challenge: ¡ ¡ ¡-­‑ ¡ ¡keep ¡low ¡profile ¡before ¡the ¡principal ¡show ¡up ¡ ¡ ¡-­‑ ¡ ¡act ¡aggressively ¡anerwards ¡ ¡ • Solu<on: ¡ ¡ ¡ ¡ ¡Pearson ¡correlaAon ¡coefficient ¡(r) ¡ ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 22 ¡

  23. Collusion • ¡Challenge: ¡ ¡ ¡ ¡ ¡MulAple ¡apps ¡sample ¡at ¡a ¡lower ¡rate ¡but ¡sAll ¡collect ¡sufficient ¡informaAon ¡ • ¡Solu<on: ¡ Ø ¡ ¡ ¡Grouping ¡apps ¡with ¡same ¡signature ¡ Ø ¡ ¡ ¡Detect ¡link-­‑installed ¡apps ¡ Ø ¡ ¡ ¡Ask ¡user ¡if ¡less ¡obvious ¡recommenendaAon ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 23 ¡

  24. Self ¡Protec6on ¡ • Use ¡startForceground ¡to ¡start ¡a ¡service ¡ ¡ ¡ ¡ ¡ ¡Prevent ¡it ¡from ¡killed ¡by ¡ ¡ ¡ ¡ ¡ ¡ ¡KILL_BACKGROUND_PROCESSES ¡ Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 24 ¡

  25. Evaluation and analysis Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 25 ¡

  26. Effectiveness • Defeat all 12 RIG Attacks Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 26 ¡

  27. Utility Impacts and Performance • 475 popular Apps from 27 categories on Google Play Store - 92 apps (19.3%) apps potentially needs to be closed - 8 apps (1.68%) may affect phone users’ experience Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 27 ¡

  28. Overhead • CPU & Memory usage Two Nexus5 phones with 250 apps installed on each - In ward mode, 5% CPU Resource, 40MB Memory - Out of ward mode, < 1% CPU • Battery Usage Two Nexus5 phones with 50 apps installed on each - In ward mode, 0.12% ~ 0.18% per hour - Out of ward mode, 0.75% ~ 1.05% per day - Estimate a day, 0.84~ 1.18% per day Wayne ¡State ¡University ¡ CSC ¡6991 ¡Advanced ¡Computer ¡Security ¡ 28 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend