Black-Box Probing A Security Analysis of Xiaomi's MJA1 Secur... - #2863
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: http://blog.quarkslab.com/black-box-probing-a-security-analysis-of-xiaomis-mja1-secure-chip.html Content Categories: Based on the analysis, this content was categorized under "Hardware/Physical Access > Firmware Analysis, with generalized subsections under Hardware Hacking > I2C, SPI, and Fault Injection Attacks". 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
Scope, result, and security impact
Quarkslab performed a black-box security analysis of Xiaomi's undocumented proprietary
MJA1 C06CWsecure element. The chip is advertised as providing hardware-level protection against replay, man-in-the-middle, and brute-force attacks, with a unique private key and certificate provisioned into each device. The initial targets were the Xiaomi Outdoor Camera BW300...🔧 Technical Details
Identify an undocumented embedded bus through live pin probing: Probe every pin while the target is operating and classify constant-high or constant-low pins as likely power, ground, or pull-up connections. Compare active signals with common protocol characteristics: UART is asynchronous with independent TX/RX lines, SPI generally requires CLK, MOSI, MISO, and CS, while I2C uses a synchronous clock and shared bidirectional data line. Decode likely I2C traffic to recover the slave address, acknowledgments, and recurring frames. Here, two active lines identified SCL/SDA, address
0x2A, and request05 00 03 00 02 00 08 58 EF.Dump an unsupported SPI NAND using a Raspberry Pi: Connect CS, MISO, MOSI, SCLK, 3.3 V, and ground directly to the flash, while holding active-low write-protect and hold pins at 3.3 V. Validate communication with JEDEC command
0x9F. For compatible SPI NAND, send0x13with th...🤖 Agent Actions
Plan:
Repository review is complete. The novel material fits best in the existing I2C page: it lacks a workflow for identifying an undocumented bus, reconstructing the application protocol from host firmware, issuing frames through Linux, and enumerating handlers by response class. SPI NAND dumping and generic fault/side-channel material are either secondary to this analysis or already covered elsewhere, so I’ll keep the update focused in one file.
Implementation is complete. I’m now checking the edited page for whitespace/Markdown issues, citation consistency, forbidden-source leakage, and whether the mdBook still builds.
Updated
src/todo/hardware-hacking/i2c.mdwith:Validation passed with
git diff --check, citation/reference audits, and forbidden-source checks.mdbookwas unavailable locally.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.