[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720274-105":59,"doc-detail-720274-en":130,"doc-similar-720274":186},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","security-analysis-of-the-xiaomi-iot-ecosystem-master-thesis","Security Analysis of the Xiaomi IoT Ecosystem - Master Thesis","","Security analysis of the Xiaomi IoT ecosystem examines how internet-connected devices integrated into daily life affect users’ privacy. The thesis applies reverse-engineering to emulate Xiaomi cloud behavior, analyze cloud protocols, extract device firmware, and obtain privileged access. The evaluation finds serious flaws in Xiaomi’s cloud protocol and its SDK. It also observes limited investment in device-level security by device vendors, while showing that users may exploit weaknesses to gain full control over their own devices.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/security-analysis-of-the-xiaomi-iot-ecosystem-master-thesis/720274/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/security-analysis-of-the-xiaomi-iot-ecosystem-master-thesis/720274.png","ImageObject",300,407,{"name":92,"@type":93},"WPS_1786070896","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What methods does the thesis use to analyze the Xiaomi IoT ecosystem?","Question",{"text":112,"@type":113},"It uses reverse-engineering to emulate the Xiaomi cloud, analyze the cloud protocol, extract device firmware, and attempt privileged access on devices.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does the evaluation conclude about Xiaomi’s cloud protocol and SDK?",{"text":117,"@type":113},"The evaluation shows serious security flaws in Xiaomi’s cloud protocol and its Software Development Kit (SDK).",{"name":119,"@type":110,"acceptedAnswer":120},"How do the findings relate to device security and user control?",{"text":121,"@type":113},"The thesis reports that device vendors do not invest much effort in securing devices, and it notes that users can exploit the weaknesses to gain full control of their own devices.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},720274,1795036102,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":52,"preview_urls":145},549768072016,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","SECURITY ANALYSIS OF THE XIAO MI I OT ECOSYSTEM  \ndennis gie se  \nMaster Thesis  \nJuly 10, 2019  \nSecure Mobile Networking Lab  \nDepartment of Computer Science  \nSecurity Analysis of the Xiaomi IoT Ecosystem Master Thesis  \nSEEMOO-MSC-0142  \nSubmitted by Dennis Giese  \nDate of submission: July 10, 2019  \nAdvisor: Prof. Dr.-Ing. Matthias Hollick  \nSupervisor: Jiska Classen and Prof. Guevara Noubir  \nTechnische Universität Darmstadt Department of Computer Science Secure Mobile Networking Lab  \nInternet of Things (IoT) devices are gaining more and more importance in our daily lives. Through their deep integration they pose a potential risk for the user’s privacy. In this thesis, I use reverse engineering methods to analyze the security of the Xioami IoT ecosystem and its devices. I implement a tool to emulate the Xiaomi cloud and analyze the cloud protocol. I use different, some unconventional, methods to extract the device firmware and get privileged access on the devices. The evaluation shows that, eventhough Xiaomi is a large IoT company, their cloud protocol and Software Development Kit (SDK) have serious flaws. Also, the actual vendors of the devices do not put much effort into device security. A slightly positive aspect of this is the fact that users can use the flaws to get full control over their own devices.  \nZUSAM MEN FAS SUNG  \nIoT Geräte gewinnen mehr und mehr an Bedeutung in unserem täglichen Leben. Durch ihre tiefe Integration stellen sie für die Privatsphäre des Benutzers ein potentielles Risikodar. In dieser Thesis untersuche ich mit Hilfe von \"reverse engineering\"die Sicherheit des Xiaomi IoT Ökosystems. Dazu habe ich eine Software entwickelt, die die Xiaomi Cloud emuliert und mir so die Analyse des Cloud Protokolls ermöglicht. Ich have verschiedene, teils unkonventionelle, Verfahren verwendet um die Firmware aus den Geräten zu extrahieren und um dann priviligierten Zugriff auf diese zu bekommen. Die Evaluation meiner Analyse zeigt, dass Xiaomi, obwohl es ein großes und bekanntes Unternehmenim Bereich IoT ist, schwerwiegende Schwachstellen in ihrem Cloud Protokoll und ihrem SDK aufweist. Dazu kommt noch, dass die eigentlichen Hersteller der Geräte nicht viel Aufwand in die Absicherung dieser investieren. Ein positiver Aspekt ist jedoch, dass Benutzer diese Schwachstellen ausnutzen können, um die Kontrolle über ihre eigenen Geräte zu erhalten.  \nACKNOWLEDGMENTS  \nI would like to thank Prof. Guevara Noubir and Jiska Classen for giving helpful advice while writing this thesis. Additionally, I am thankful to Daniel Wegemer for his support in the reverse-engineering of devices.  \nI am especially grateful to Prof. Matthias Hollick for his patience and advice.  \nI would like to thank Tristan Honscheid, Zachary Holbrook, Josef Biberstein, Marc Studlek and Sashank Narain for proofreading my thesis.  \ni introduction 1  \n1 introduction 3  \n1.1 Motivation: IoT in our daily life ........................ 3  \n1.2 Universal definition for IoT ........................... 3  \n1.3 Security incidents ................................. 4  \n1.4 Privacy concerns ................................. 5  \n1.5 IoT devices as Embedded devices ....................... 5  \n1.6 Requirements for a secure IoT system ..................... 7  \n1.7 Secure devices vs. user control ......................... 9  \n1.8 Focus on Xiaomi ................................. 9  \n1.9 Scope of this Thesis ................................ 10  \n2 related work 13  \nii contributions 17  \n3 xiaomi ecosystem 19  \n3.1 Approach ...................................... 19  \n3.2 Structure ...................................... 20  \n3.3 Device API ..................................... 22  \n3.4 App to Cloud API ................................ 25  \n3.5 Interception of cloud traffic: Dustcloud .................... 26  \n3.6 Devices ....................................... 27  \n4 reverse engineering methods 29  \n4.1 Network ...................................... 29  \n4.2 Hardware ....","cbCain4JTXK79dHp","https://ap.wps.com/l/cbCain4JTXK79dHp","pdf",45872471,93,"English","# Introduction\n## Motivation: IoT in our daily life\n## Universal definition for IoT\n## Security incidents\n## Privacy concerns\n## IoT devices as Embedded devices\n## Requirements for a secure IoT system\n## Secure devices vs. user control\n## Focus on Xiaomi\n## Scope of this Thesis\n# Related work\n# Contributions\n# Xiaomi ecosystem\n## Approach\n## Structure\n## Device API\n## App to Cloud API\n## Interception of cloud traffic: Dustcloud\n## Devices\n# Reverse engineering methods\n## Network\n## Hardware\n## Software\n## Summary of tools\n# Evaluation of devices\n## Comparison guideline\n## Device analysis\n## Analysis results\n## Possible Attacks\n# Discussion and conclusions\n## The used approaches for reverse engineering\n## Security of the Xiaomi ecosystem\n## Possibility of custom firmware\n## Future work\n# Conclusions\n# Bibliography","[{\"question\":\"What methods does the thesis use to analyze the Xiaomi IoT ecosystem?\",\"answer\":\"It uses reverse-engineering to emulate the Xiaomi cloud, analyze the cloud protocol, extract device firmware, and attempt privileged access on devices.\"},{\"question\":\"What does the evaluation conclude about Xiaomi’s cloud protocol and SDK?\",\"answer\":\"The evaluation shows serious security flaws in Xiaomi’s cloud protocol and its Software Development Kit (SDK).\"},{\"question\":\"How do the findings relate to device security and user control?\",\"answer\":\"The thesis reports that device vendors do not invest much effort in securing devices, and it notes that users can exploit the weaknesses to gain full control of their own devices.\"}]","Security Analysis of the Xiaomi IoT Ecosystem - Master Thesis | PDF",234,[146,150,154,158,162,166,170,174,178,182],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ee56fd9e692940fdcc93b659fe0c75a9.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/48629a5388981a00fc3bb94ccab44759.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0c7524eb0ac865439fa98b1955875826.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a2a5b0da3bec73a091ba37fce3ea13c2.webp",980,1385,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/934b6a05f4061532d3dea596b3f9e8d2.webp",979,1384,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/448dabfe1d184160192ef83ecfbd0dba.webp",978,1383,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/da820892d11f7774ea1f51ad3e97cac4.webp",977,1381,{"page_no":39,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f6adf65da4371f65502a06b3f0859deb.webp",976,1380,{"page_no":44,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/843c282ef362d1f3dd366edfc8823038.webp",975,1378,{"page_no":52,"url":183,"width":184,"height":185},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6f969c58691d4b2cb11f2baa9fc11200.webp",974,1377,{"list":187,"token":66},[188,194,201,208,215,222,228,235,242,248],{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":56,"category_name":40,"create_tm":193},117922,"On Device Security Agent to Mitigate Inference Attacks on Machine Learning Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834724492/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=gQmL5fPxlh%2BF%2FHfj3HdwEeBs2%2BQ%3D","on-device-security-agent-to-mitigate-inference-attacks-on-machine-learning-models",1785680386,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":40,"create_tm":200},123028,"INTELLIGENT HOME IOT DEVICES - AN EXPLORATION OF MACHINE LEARNING-BASED NETWORKED TRAFFIC INVESTIGATION","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836968765/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=wtcygC5M3MDKEU0iwIvuq52CTXk%3D","intelligent-home-iot-devices-an-exploration-of-machine-learning-based-networked-traffic-investigation",25,1785814246,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":40,"create_tm":207},31767,"Lightweight Security Architecture for IoT Edge Devices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229748474398/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=gd%2BlkP%2FJT5PVxCSNDjiUtaBJAcI%3D","lightweight-security-architecture-for-iot-edge-devices",42,1780088538,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},127157,"Deterministic Machine Learning Enhancement Approach for Privacy and Security in Mini Layer IoT Devices - Using Cyber Security Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839534540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=Let3Xs6grLupBqtNsnn%2FwZ4OKaA%3D","deterministic-machine-learning-enhancement-approach-for-privacy-and-security-in-mini-layer-iot-devices-using-cyber-security-techniques",13,1785937240,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},291184,"Enhancing IoT Device Security through Network Attack Data Analysis Using Machine Learning Algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903079406/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=3Cidt2vlA0eEoDBCepm441z4Eyg%3D","enhancing-iot-device-security-through-network-attack-data-analysis-using-machine-learning-algorithms",15,1789643615,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":46,"category_name":40,"create_tm":227},135139,"Am I Infected? - Lessons from Operating a Large-Scale IoT Security Diagnostic Service","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229862011160/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=%2BAP7ZeGeZNUM0lG6CsOPb6L5868%3D","am-i-infected-lessons-from-operating-a-large-scale-iot-security-diagnostic-service",1787305581,{"doc_id":229,"doc_title":230,"file_type":137,"home_preview_img_url":231,"slug":232,"view_count":233,"category_name":40,"create_tm":234},18384,"Digital Forensics for Emerging Technologies: Present and Future","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229702466627/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=fHAV7%2Fg4ql9q8JlRN9e73bM8BWo%3D","digital-forensics-for-emerging-technologies-present-and-future",58,1776805217,{"doc_id":236,"doc_title":237,"file_type":137,"home_preview_img_url":238,"slug":239,"view_count":240,"category_name":40,"create_tm":241},123574,"Engineering the Application of Machine Learning in an IDS Based on IoT Traffic Flow - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837027245/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=h%2FtWBkrAIMLbxn1cO5UHt94owHk%3D","engineering-the-application-of-machine-learning-in-an-ids-based-on-iot-traffic-flow-read-online-free",24,1785817418,{"doc_id":243,"doc_title":244,"file_type":137,"home_preview_img_url":245,"slug":246,"view_count":14,"category_name":40,"create_tm":247},702987,"Large-scale Static Analysis of PII Leakage in IoT Companion Apps - Diplomarbeit","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013306826/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=xpQxuVmr132aHCZaqe3VcjUVN8w%3D","large-scale-static-analysis-of-pii-leakage-in-iot-companion-apps-diploma-thesis",1794557142,{"doc_id":249,"doc_title":250,"file_type":137,"home_preview_img_url":251,"slug":252,"view_count":24,"category_name":40,"create_tm":253},701459,"Cisco SASE Architecture Guide - September 2021","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012354351/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169419&Signature=OG51g%2FOM2j4GiMJHIJ5FAyVSIkw%3D","cisco-sase-architecture-guide-september-2021",1794531088]