{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,3]],"date-time":"2026-05-03T11:00:45Z","timestamp":1777806045633,"version":"3.51.4"},"reference-count":55,"publisher":"SAGE Publications","issue":"3","license":[{"start":{"date-parts":[[2018,3,30]],"date-time":"2018-03-30T00:00:00Z","timestamp":1522368000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Journal of Computer Security"],"published-print":{"date-parts":[[2018,4,9]]},"abstract":"<jats:p>Input Method Editor (IME) is an indispensable component on current smartphones. With its assistance, the number of key presses is reduced, and non-Latin characters could be inputted. Furthermore, modern IMEs integrate several personalized features like reordering suggestion lists and predicting the next words based on user\u2019s input history. Such optimization improves the user experience but turns the IME dictionary into a pool of user privacy. Previous works have discussed the privacy risks coming from malicious IMEs. Indeed, they could cause security and privacy issues if installed by common users, but their impact is limited as the majority of IMEs are well-behaved. However, whether legitimate IMEs are bullet-proof is not answered before.<\/jats:p>\n                  <jats:p>In this paper, we make the first attempt to study the security implications of IME personalization and the back-end infrastructure on Android devices. In the end, we identify a critical vulnerability lying under the Android KeyEvent processing framework, which can be exploited to launch cross-app KeyEvent injection (CAKI) attack and bypass the app-isolation mechanism. By abusing such design flaw, an adversary can harvest entries from the personalized user dictionary of IME through an ostensibly innocuous app only asking for common permissions. Our evaluation over a broad spectrum of Android OSes, devices, and IMEs suggests such issue should be fixed immediately. All Android versions we examined (from very old 2.3.4 to the latest 6.0.1) and most IME apps we surveyed (11 out of 18) are vulnerable. User\u2019s private information, like contact names, location, etc., can be easily exfiltrated. Up to hundreds of millions of mobile users are under this threat. To mitigate this security issue, we propose a practical defense mechanism which augments the existing KeyEvent processing framework without forcing any change to IME apps.<\/jats:p>","DOI":"10.3233\/jcs-16909","type":"journal-article","created":{"date-parts":[[2018,3,30]],"date-time":"2018-03-30T10:19:29Z","timestamp":1522405169000},"page":"283-309","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":1,"title":["Accessing mobile user\u2019s privacy based on IME personalization: Understanding and practical attacks"],"prefix":"10.1177","volume":"26","author":[{"given":"Wenrui","family":"Diao","sequence":"first","affiliation":[{"name":"Jinan University, Guangzhou, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rui","family":"Liu","sequence":"additional","affiliation":[{"name":"The University of Chicago, Chicago, IL, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiangyu","family":"Liu","sequence":"additional","affiliation":[{"name":"Alibaba Inc., Hangzhou, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhe","family":"Zhou","sequence":"additional","affiliation":[{"name":"Fudan University, Shanghai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhou","family":"Li","sequence":"additional","affiliation":[{"name":"ACM Member, Boston, MA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kehuan","family":"Zhang","sequence":"additional","affiliation":[{"name":"The Chinese University of Hong Kong, Hong Kong"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"179","published-online":{"date-parts":[[2018,3,30]]},"reference":[{"key":"ref001","unstructured":"Android Open Source Project, InputMethodManager.java. https:\/\/android.googlesource.com\/platform\/frameworks\/base\/+\/android-6.0.1_r67\/core\/java\/android\/view\/inputmethod\/InputMethodManager.java."},{"key":"ref002","unstructured":"Android Open Source Project, InputMethodManagerService.java. https:\/\/android.googlesource.com\/platform\/frameworks\/base\/+\/android-6.0.1_r67\/services\/core\/java\/com\/android\/server\/InputMethodManagerService.java."},{"key":"ref003","unstructured":"Android Open Source Project. android-6.0.1_r67. https:\/\/android.googlesource.com\/platform\/frameworks\/base\/+\/android-6.0.1_r67."},{"key":"ref004","unstructured":"Android Open Source Project, InputDispatcher.cpp. https:\/\/android.googlesource.com\/platform\/frameworks\/native\/+\/android-6.0.1_r67\/services\/inputflinger\/InputDispatcher.cpp."},{"key":"ref005","unstructured":"Android Open Source Project, PhoneWindowManager.java. https:\/\/android.googlesource.com\/platform\/frameworks\/base\/+\/android-6.0.1_r67\/services\/core\/java\/com\/android\/server\/policy\/PhoneWindowManager.java."},{"key":"ref006","doi-asserted-by":"crossref","unstructured":"A.J.\u00a0Aviv, B.\u00a0Sapp, M.\u00a0Blaze and J.M.\u00a0Smith, Practicality of accelerometer side channels on smartphones, in: Proceedings of the 28th Annual Computer Security Applications Conference (ACSAC), 2012.","DOI":"10.1145\/2420950.2420957"},{"key":"ref007","unstructured":"L.\u00a0Cai and H.\u00a0Chen, TouchLogger: Inferring keystrokes on touch screen from smartphone motion, in: Proceedings of the 6th USENIX Workshop on Hot Topics in Security (HotSec), 2011."},{"key":"ref008","doi-asserted-by":"crossref","unstructured":"X.\u00a0Cai, R.\u00a0Lale, X.C.\u00a0Zhang and R.\u00a0Johnson, Fixing races for good: Portable and reliable UNIX file-system race detection, in: Proceedings of the 10th ACM Symposium on Information, Computer and Communications Security (ASIACCS), 2015.","DOI":"10.1145\/2714576.2714581"},{"key":"ref009","unstructured":"A.\u00a0Carman, SwiftKey bug leaked emails and other personal information, 2016. http:\/\/www.theverge.com\/2016\/7\/29\/12326152\/swiftkey-bug-backup-sync-down-error-prediction."},{"key":"ref010","unstructured":"J.\u00a0Chen, H.\u00a0Chen, E.\u00a0Bauman, Z.\u00a0Lin, B.\u00a0Zang and H.\u00a0Guan, You shouldn\u2019t collect my secrets: Thwarting sensitive keystroke leakage in mobile IME apps, in: Proceedings of the 24th USENIX Security Symposium, 2015."},{"key":"ref011","doi-asserted-by":"crossref","unstructured":"J.\u00a0Cho, G.\u00a0Cho and H.\u00a0Kim, Keyboard or keylogger? A security analysis of third-party keyboards on Android, in: Proceedings of the 13th Annual Conference on Privacy, Security and Trust (PST), 2015.","DOI":"10.1109\/PST.2015.7232970"},{"key":"ref012","unstructured":"T.M.\u00a0Cover and J.A.\u00a0Thomas, Elements of Information Theory, 2nd edn, John Wiley & Sons, 2012."},{"key":"ref013","unstructured":"Creating an Input Method. http:\/\/developer.android.com\/guide\/topics\/text\/creating-input-method.html."},{"key":"ref014","doi-asserted-by":"crossref","unstructured":"W.\u00a0Diao, X.\u00a0Liu, Z.\u00a0Zhou and K.\u00a0Zhang, Your voice assistant is mine: How to abuse speakers to steal information and control your phone, in: Proceedings of the 4th ACM Workshop on Security and Privacy in Smartphones & Mobile Devices (SPSM), 2014.","DOI":"10.1145\/2666620.2666623"},{"key":"ref015","doi-asserted-by":"crossref","unstructured":"W.\u00a0Diao, X.\u00a0Liu, Z.\u00a0Zhou, K.\u00a0Zhang and Z.\u00a0Li, Mind-reading: Privacy attacks exploiting cross-app KeyEvent injections, in: Computer Security\u00a0\u2013 ESORICS 2015\u00a0\u2013 20th European Symposium on Research in Computer Security, Proceedings, Part II Vienna, Austria, September 21\u201325, 2015.","DOI":"10.1007\/978-3-319-24177-7_2"},{"key":"ref016","unstructured":"EditText. http:\/\/developer.android.com\/reference\/android\/widget\/EditText.html."},{"key":"ref017","unstructured":"T.\u00a0Fiebig, J.\u00a0Krissler and R.\u00a0H\u00e4nsch, Security impact of high resolution smartphone cameras, in: Proceedings of the 8th USENIX Workshop on Offensive Technologies (WOOT), 2014."},{"key":"ref018","unstructured":"InputMethodManager. http:\/\/developer.android.com\/reference\/android\/view\/inputmethod\/InputMethodManager.html."},{"key":"ref019","unstructured":"Instrumentation. http:\/\/developer.android.com\/reference\/android\/app\/Instrumentation.html."},{"key":"ref020","unstructured":"ISO 7098:1991 Romanization of Chinese,\n                      ISO\/TC 46 Information and Documentation\n                      (1991)."},{"key":"ref021","doi-asserted-by":"crossref","unstructured":"Y.\u00a0Jang, C.\u00a0Song, S.P.\u00a0Chung, T.\u00a0Wang and W.\u00a0Lee, A11y attacks: Exploiting accessibility in operating systems, in: Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security (CCS), 2014.","DOI":"10.1145\/2660267.2660295"},{"key":"ref022","unstructured":"KeyEvent. http:\/\/developer.android.com\/reference\/android\/view\/KeyEvent.html."},{"key":"ref023","doi-asserted-by":"crossref","unstructured":"M.\u00a0Li, Y.\u00a0Meng, J.\u00a0Liu, H.\u00a0Zhu, X.\u00a0Liang, Y.\u00a0Liu and N.\u00a0Ruan, When CSI meets public WiFi: Inferring your mobile phone password via WiFi signals, in: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS), 2016.","DOI":"10.1145\/2976749.2978397"},{"key":"ref024","doi-asserted-by":"crossref","unstructured":"X.\u00a0Liu, Z.\u00a0Zhou, W.\u00a0Diao, Z.\u00a0Li and K.\u00a0Zhang, When good becomes evil: Keystroke inference with smartwatch, in: Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security (CCS), 2015.","DOI":"10.1145\/2810103.2813668"},{"key":"ref025","doi-asserted-by":"crossref","unstructured":"E.\u00a0Miluzzo, A.\u00a0Varshavsky, S.\u00a0Balakrishnan and R.R.\u00a0Choudhury, Tapprints: Your finger taps have fingerprints, in: Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services (MobiSys), 2012.","DOI":"10.1145\/2307636.2307666"},{"key":"ref026","unstructured":"Ministry of Education of the People\u2019s Republic of China, The modern Chinese common words list (in Chinese). http:\/\/www.moe.edu.cn\/publicfiles\/business\/htmlfiles\/moe\/s230\/201001\/75598.html."},{"key":"ref027","doi-asserted-by":"crossref","unstructured":"F.\u00a0Mohsen and M.\u00a0Shehab, Android keylogging threat, in: Proceedings of the 9th IEEE International Conference on Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom), 2013.","DOI":"10.4108\/icst.collaboratecom.2013.254209"},{"key":"ref028","unstructured":"MotionEvent. https:\/\/developer.android.com\/reference\/android\/view\/MotionEvent.html."},{"key":"ref029","unstructured":"C.\u00a0Mulliner and B.\u00a0Mich\u00e9le, Read it twice! A mass-storage-based TOCTTOU attack, in: Proceedings of the 6th USENIX Workshop on Offensive Technologies (WOOT), 2012."},{"key":"ref030","doi-asserted-by":"crossref","unstructured":"S.\u00a0Narain, A.\u00a0Sanatinia and G.\u00a0Noubir, Single-stroke language-agnostic keylogging using stereo-microphones and domain specific machine learning, in: Proceedings of the 2014 ACM Conference on Security and Privacy in Wireless and Mobile Networks (WiSec), 2014.","DOI":"10.1145\/2627393.2627417"},{"key":"ref031","doi-asserted-by":"crossref","unstructured":"E.\u00a0Owusu, J.\u00a0Han, S.\u00a0Das, A.\u00a0Perrig and J.\u00a0Zhang, ACCessory: Password inference using accelerometers on smartphones, in: Proceedings of the 2012 Workshop on Mobile Computing Systems and Applications (HotMobile), 2012.","DOI":"10.1145\/2162081.2162095"},{"key":"ref032","doi-asserted-by":"crossref","unstructured":"D.\u00a0Ping, X.\u00a0Sun and B.\u00a0Mao, TextLogger: Inferring longer inputs on touch screen using motion sensors, in: Proceedings of the 8th ACM Conference on Security & Privacy in Wireless and Mobile Networks (WiSec), 2015.","DOI":"10.1145\/2766498.2766511"},{"key":"ref033","unstructured":"Pinyin. http:\/\/en.wikipedia.org\/wiki\/Pinyin."},{"key":"ref034","unstructured":"S.\u00a0Rodriguez, Your Keyboard App Is Hoarding Your Data, 2016. http:\/\/motherboard.vice.com\/read\/keyboard-apps-data-privacy."},{"key":"ref035","unstructured":"J.\u00a0Sanders, Japanese government warns Baidu IME is spying on users, 2014. http:\/\/www.techrepublic.com\/blog\/asian-technology\/japanese-government-warns-baidu-ime-is-spying-on-users\/."},{"key":"ref036","unstructured":"R.\u00a0Schlegel, K.\u00a0Zhang, X.\u00a0Zhou, M.\u00a0Intwala, A.\u00a0Kapadia and X.\u00a0Wang, Soundcomber: A stealthy and context-aware sound Trojan for smartphones, in: Proceedings of the 18th Network and Distributed System Security Symposium (NDSS), 2011."},{"key":"ref037","unstructured":"Settings.Secure. http:\/\/developer.android.com\/reference\/android\/provider\/Settings.Secure.html."},{"key":"ref038","doi-asserted-by":"crossref","unstructured":"L.\u00a0Simon and R.\u00a0Anderson, PIN skimmer: Inferring PINs through the camera and microphone, in: Proceedings of the Third ACM Workshop on Security and Privacy in Smartphones & Mobile Devices (SPSM), 2013.","DOI":"10.1145\/2516760.2516770"},{"key":"ref039","unstructured":"Sogou Mobile IME. https:\/\/play.google.com\/store\/apps\/details?id=com.sohu.inputmethod.sogou."},{"key":"ref040","doi-asserted-by":"crossref","unstructured":"R.\u00a0Spreitzer, PIN skimming: Exploiting the ambient-light sensor in mobile devices, in: Proceedings of the 4th ACM Workshop on Security and Privacy in Smartphones & Mobile Devices (SPSM), 2014.","DOI":"10.1145\/2666620.2666622"},{"key":"ref041","first-page":"6","author":"Suenaga M.","year":"2005","journal-title":"Virus Bulletin"},{"key":"ref042","unstructured":"SwiftKey Keyboard. https:\/\/play.google.com\/store\/apps\/details?id=com.touchtype.swiftkey."},{"key":"ref043","unstructured":"Top 1000 Verbs. http:\/\/www.talkenglish.com\/Vocabulary\/Top-1000-Verbs.aspx."},{"key":"ref044","unstructured":"Top 500 Apps in China by Monthly Active Users in Apr 2017. http:\/\/www.iresearchchina.com\/content\/details7_33344.html."},{"key":"ref045","unstructured":"TouchPal. https:\/\/play.google.com\/store\/apps\/details?id=com.cootek.smartinputv5."},{"key":"ref046","doi-asserted-by":"crossref","unstructured":"D.\u00a0Tsafrir, T.\u00a0Hertz, D.\u00a0Wagner and D.D.\u00a0Silva, Portably solving file TOCTTOU races with hardness amplification, in: Proceedings of the 6th USENIX Conference on File and Storage Technologies (FAST), 2008.","DOI":"10.1145\/1416944.1416948"},{"key":"ref047","unstructured":"UserDictionary. http:\/\/developer.android.com\/reference\/android\/provider\/UserDictionary.html."},{"key":"ref048","doi-asserted-by":"crossref","unstructured":"H.\u00a0Wang, T.T.\u00a0Lai and R.R.\u00a0Choudhury, MoLe: Motion leaks through smartwatch sensors, in: Proceedings of the 21st Annual International Conference on Mobile Computing and Networking (MobiCom), 2015.","DOI":"10.1145\/2789168.2790121"},{"key":"ref049","doi-asserted-by":"crossref","unstructured":"R.\u00a0Wang, L.\u00a0Xing, X.\u00a0Wang and S.\u00a0Chen, Unauthorized origin crossing on mobile platforms: Threats and mitigation, in: Proceedings of the 20th ACM Conference on Computer and Communications Security (CCS), 2013.","DOI":"10.1145\/2508859.2516727"},{"key":"ref050","unstructured":"J.\u00a0Wei and C.\u00a0Pu, TOCTTOU vulnerabilities in UNIX-style file systems: An anatomical study, in: Proceedings of the 4th Conference on File and Storage Technologies (FAST), 2005."},{"key":"ref051","unstructured":"R.\u00a0Welton, Remote Code Execution as System User on Samsung Phones Summary, 2015. https:\/\/www.nowsecure.com\/blog\/2015\/06\/16\/remote-code-execution-as-system-user-on-samsung-phones\/."},{"key":"ref052","unstructured":"WindowManager.LayoutParams. http:\/\/developer.android.com\/reference\/android\/view\/WindowManager.LayoutParams.html."},{"key":"ref053","unstructured":"Z.\u00a0Xu, Android Installer Hijacking Vulnerability Could Expose Android Users to Malware, 2015. http:\/\/researchcenter.paloaltonetworks.com\/2015\/03\/android-installer-hijacking-vulnerability-could-expose-android-users-to-malware\/."},{"key":"ref054","doi-asserted-by":"crossref","unstructured":"Z.\u00a0Xu, K.\u00a0Bai and S.\u00a0Zhu, TapLogger: Inferring user inputs on smartphone touchscreens using on-board motion sensors, in: Proceedings of the Fifth ACM Conference on Security and Privacy in Wireless and Mobile Networks (WiSec), 2012.","DOI":"10.1145\/2185448.2185465"},{"key":"ref055","unstructured":"J.\u00a0Yang, A.\u00a0Cui, S.J.\u00a0Stolfo and S.\u00a0Sethumadhavan, Concurrency attacks, in: Proceedings of the 4th USENIX Workshop on Hot Topics in Parallelism (HotPar), 2012."}],"container-title":["Journal of Computer Security"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-16909","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.3233\/JCS-16909","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-16909","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T20:45:11Z","timestamp":1777495511000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.3233\/JCS-16909"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,3,30]]},"references-count":55,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2018,4,9]]}},"alternative-id":["10.3233\/JCS-16909"],"URL":"https:\/\/doi.org\/10.3233\/jcs-16909","relation":{},"ISSN":["0926-227X","1875-8924"],"issn-type":[{"value":"0926-227X","type":"print"},{"value":"1875-8924","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,3,30]]}}}