Detecting presence Of Malicious Hub in MIMI Protocol for Cross-Platform Messaging Interoperability

dc.contributor.authorSarvaiya, Harditya Ketanen
dc.contributor.committeechairBurger, Eric Williamen
dc.contributor.committeememberMeng, Naen
dc.contributor.committeememberCameron, Melissaen
dc.contributor.departmentComputer Science and#38; Applicationsen
dc.date.accessioned2025-07-30T08:00:21Zen
dc.date.available2025-07-30T08:00:21Zen
dc.date.issued2025-07-29en
dc.description.abstractThe More Instant Messaging Interoperability (MIMI) protocol enables interoperable group messaging across otherwise isolated services such as WhatsApp, Signal, and Telegram. It routes every Messaging Layer Security (MLS) ciphertext through a central hub that timestamps the message and broadcasts it to all group participants. If the hub is compromised, it can silently drop, delay, or reorder messages, undermining order integrity while leaving end-to-end encryption intact. We introduce a lightweight, Merkle-tree-based audit layer that allows clients to detect such misbehavior. Each client stores every received message together with its hub-assigned timestamp in an ordered list. Clients periodically generate a Merkle proof from this list and broadcast it by embedding the proof in an encrypted application message. Because the hub cannot predict which messages carry proofs, it cannot selectively discard them. Upon receiving a proof, other clients verify it and broadcast their own proofs. Any inconsistency is then propagated to the entire room, creating a non-repudiable record of hub misconduct. A Rust prototype built on OpenMLS was evaluated on a 100-node emulated network. With a client sampling rate of 5%, and a hub attack probability of 10%, the scheme detected 95% of message-drop or reordering attacks within the first 40 messages, consumed only 3 kB of additional memory per client, and required less than 1 ms of client-side processing per proof. The audit's memory requirement grows linearly with room size and requires no changes to the hub protocol, providing a practical, low-overhead path to verifiable message-order integrity in large interoperable messaging systems.en
dc.description.abstractgeneralToday's messaging apps like WhatsApp, Signal, and Telegram don't talk to each other, forcing users to stick to a single platform. The new MIMI protocol, developed by the IETF, is changing that by enabling secure group chats across these different services. But there's a catch: MIMI relies on a central hub to forward messages to group members. If that hub is compromised, it can quietly drop, delay, or rearrange messages—even though end-to-end encryption keeps the content safe. Our work tackles this problem by adding a lightweight audit system that helps users detect if the hub misbehaves. Each person in a group keeps a private, tamper-evident log of messages and timestamps using a data structure called a Merkle tree. Occasionally, users send a short encrypted "proof" that reflects their message history. Since these proofs are sent at random times and hidden inside regular messages, a malicious hub can't predict or block them without getting caught. If anyone detects a mismatch, they alert the group, exposing the problem. We tested our approach in a simulated network of 100 users. Even when the hub was acting maliciously 10% of the time, our system detected most problems quickly—with almost no impact on speed or memory use. This makes it a practical tool for improving trust in cross-platform messaging, especially in high-stakes settings like emergency response where reliable communication is critical.en
dc.description.degreeMaster of Scienceen
dc.format.mediumETDen
dc.identifier.othervt_gsexam:44394en
dc.identifier.urihttps://hdl.handle.net/10919/136926en
dc.language.isoenen
dc.publisherVirginia Techen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectSecurityen
dc.subjectPrivacyen
dc.subjectMIMIen
dc.subjectMLSen
dc.subjectMerkle-treeen
dc.subjectmessage-order integrityen
dc.titleDetecting presence Of Malicious Hub in MIMI Protocol for Cross-Platform Messaging Interoperabilityen
dc.typeThesisen
thesis.degree.disciplineComputer Science & Applicationsen
thesis.degree.grantorVirginia Polytechnic Institute and State Universityen
thesis.degree.levelmastersen
thesis.degree.nameMaster of Scienceen

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Sarvaiya_HK_T_2025.pdf
Size:
2.19 MB
Format:
Adobe Portable Document Format

Collections