Zero-Click File Drop on Xiaomi ShareMe (MiDrop) - #2637
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://blog.byterialab.com/zero-click-file-drop-on-xiaomi-shareme-midrop Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting > Android Applications Pentesting > Insecure Proximity/File-Transfer Protocols (BLE credential disclosure, optional cryptography bypass, remote consent-policy injection, and silent arbitrary file delivery)". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
The post documents an unauthenticated, zero-click silent file-drop chain in Xiaomi ShareMe/MiDrop (
com.xiaomi.midrop), an Android file-sharing application reportedly installed more than one billion times. No CVE identifier is provided. Once a victim opens Receive mode, an attacker within Bluetooth Low Energy range—approximately 30–50 meters, potentially farther with a directional antenna—can extract the receiver's WiFi Direct credentials, join its networ...🔧 Technical Details
BLE secret extraction: When auditing a proximity-based transfer protocol, inspect both custom BLE services and standard GATT characteristics. Applications may accidentally place SSIDs, passwords, addresses, ports, tokens, or discovery metadata inside readable characteristics such as Device Name
0x2a00. If the characteristic permits unauthenticated reads, any nearby client can recover the connection material without pairing. Extended advertising may require Android or dedicated BLE hardware even when desktop scanners such as macOS CoreBluetooth return no results.Optional-cryptography bypass: A protocol is not protected merely because it contains ECDH, RSA, or encryption-related messages. Test whether public keys are parsed and validated, whether an authenticated session state is established, and whether plaintext messages are rejected afterward. In this case, URL-encoded
{"pk":"test"}producessend_pk_ack...🤖 Agent Actions
Using repository/GitHub-style inspection workflow: I’ll read the Android/mobile docs structure and several candidate files first so I can place this in the single best page.
I’ve identified that this isn’t already covered as a single Android proximity/file-transfer protocol pattern. I’m now verifying the primary sources (the write-up and PoC repo) and then I’ll add a compact, technique-focused section to one Android pentesting page instead of duplicating content across several files.
Updated
src/mobile-pentesting/android-app-pentesting/README.md.Added a new “Insecure proximity / file-transfer protocols” section covering:
Also appended numbered references:
Verified the section, citations, and diff.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.