TaszkSecLabs/xiaomi-c400-pwn PoC exploit and jailbreak for X...#2018
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
TaszkSecLabs/xiaomi-c400-pwn PoC exploit and jailbreak for X...#2018carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://github.com/TaszkSecLabs/xiaomi-c400-pwn Content Categories: Based on the analysis, this content was categorized under "Generic Hacking -> (new) IoT/Embedded devices provisioning attack surface OR Network Services Pentesting -> (new) Xiaomi/miIO UDP 54321 provisioning protocol; and/or Binary Exploitation -> ROP & JOP / ARM-specific ROP techniques (/proc/self/mem shellcode write)". 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
What this repo is
GitHub repository
TaszkSecLabs/xiaomi-c400-pwnprovides an exploit PoC plus a jailbreak for Xiaomi smart cameras, focusing on Xiaomi Smart Camera C400.The exploit is written against firmware 5.1.5_0379 and the author states the bug is still present on firmware 5.1.6_0423 (firmware images are referenced in the repo). No CVE is listed in the repository content.
High-level impact / severity
Wh...
🔧 Technical Details
Factory-provisioning attack surface on IoT setup AP: If a device exposes an onboarding Wi‑Fi AP, an attacker who can join it can often reach unauthenticated provisioning endpoints. Here the PoC assumes the camera is reachable at
192.168.14.1and speaks a miIO-like UDP service on54321/udp, using a hello packet to extract a per-sessiontokenand DID, then framing messages with a timestamp and an MD5 checksum over the declaredsent_len.Token-derived symmetric crypto (miIO-style): When a protocol derives AES-CBC key/IV solely from a transmitted token (e.g.,
key=MD5(token),iv=MD5(key+token)) and uses predictable framing, an attacker can fully encrypt/decrypt traffic after learning that token from an unauthenticated hello response, enabling full protocol interaction during onboarding.Provisioning auth bypass by skipping/forging MACs: If a provisioning method expects HMAC sign...
🤖 Agent Actions
Summary:
/proc/self/memand ARM Thumb jump detail.File updated:
src/binary-exploitation/rop-return-oriented-programing/README.mdNotes:
If you want me to also integrate the miIO provisioning/auth bypass/RNG/length-confusion overflow techniques, tell me which section you prefer and I’ll map them to the best existing HackTricks pages.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.