MB.22.31°N · 73.18°E

Software engineer · Security researcher

  1. 01Calibrating orbit loom
  2. 02Weaving glass ribbons
  3. 03Loading case studies & writeups
  4. 04Signal locked

000%

Skip to content
MB.
Back to Research
Technical note// Technical report · Capture-the-flag post-event analysis

Breaking Seven Challenges: Methods from BSides Mumbai CTF7

A technical report on forensics, reverse-engineering and cryptography techniques used by Team Megnetar

Authors
Maher Bhatt, Team Megnetar
Date
Sep 2026
Context
BSides Mumbai CTF7 — post-event report

Key findings

  • ✓Forensics: data hid in ICMP echo payloads and in the ordering of near-identical images — structure, not just bytes, can carry a message.
  • ✓Reverse engineering: an AES-256 stage fell because its key was derived from values the program itself revealed.
  • ✓A Game Boy ROM's misleading display was bypassed entirely with static analysis and single-byte XOR.
  • ✓Cryptography: a smooth group order made a Chebyshev key exchange a Pohlig–Hellman exercise; SHAttered prefixes broke a SHA-1 verifier; LLL recovered a noisy common divisor.

Abstract

Team Megnetar solved 10 of 25 challenges (2,250 of 9,950 points) at BSides Mumbai CTF7 in September 2026. This report consolidates the techniques behind seven documented solutions across three categories: covert-channel and image forensics, static reverse engineering of multi-stage binaries and a Game Boy ROM, and cryptanalysis of a Chebyshev-polynomial key exchange, a SHA-1 collision verifier and an Approximate Common Divisor instance. Each case states the weakness, the method that exploited it and the defensive lesson. Flags are withheld.

Overview

BSides Mumbai CTF7 ran 25 challenges across web, forensics, reverse engineering and cryptography. Team Megnetar finished with 10 solves and 2,250 points. The seven solutions documented here are the ones with complete, reproducible methods; full walkthroughs are published as individual writeups.

Forensics: covert channels and structure

High Wi-Fi Latency hid data in ICMP echo payloads: filtering to ICMP, ordering fragments by sequence number and decoding them recovered the message. Phishy GTA VI Game Files encoded information in the ordering and repetition of near-identical JPEGs rather than in any single file.

Lesson: protocols that are usually ignored are classic exfiltration channels, and a dataset's structure can be the payload.

Reverse engineering: trust the artefact

tijori arrived as a hex dump of nested GZIP archives wrapping a five-stage vault binary: XOR with 0xAB, a byte-table lookup and AES-256-CBC with a key derived from the SHA-256 of earlier fragments — recoverable offline because every input was revealed. The Game That Lies shipped a Game Boy ROM with a deliberately unreliable display; static string analysis and a single-byte XOR key (0x55) exposed the hidden region.

Lesson: encryption with a derivable key is a formality, and when the runtime misleads, read the binary.

Cryptography: when the parameters fail

Chebyshev's Revenge used the composition property T_a(T_b(x)) = T_ab(x) for key exchange; mapping it into the order-(p+1) subgroup of F_{p²} and exploiting a smooth group order reduced it to Pohlig–Hellman. FIGureeee1tout required two different inputs with the same SHA-1 digest — the public SHAttered 320-byte prefixes — before AES-CBC decryption. GCD but it's ACD gave ten noisy multiples of a secret prime; an LLL lattice anchored on one exact sample recovered it, with all errors confirmed below 2⁵².

Lesson: exotic constructions don't add security over a weak underlying problem, and broken primitives (SHA-1) and small noise relative to the modulus are exploitable in practice.

Disclosure

This report was written after the event closed. Flag values, challenge files and credentials are withheld.

Keywords

CTFdigital forensicsreverse engineeringcryptanalysislattice reductionSHA-1 collisiondiscrete logarithm

Cite this work

Maher Bhatt, Team Megnetar (2026). Breaking Seven Challenges: Methods from BSides Mumbai CTF7. BSides Mumbai CTF7 — post-event report. https://maherbhatt.me/research/bsides-mumbai-ctf7-report

bibtex
1@techreport{bhatt2026bsides,2  title  = {Breaking Seven Challenges: Methods from BSides Mumbai CTF7},3  author = {Maher Bhatt and Team Megnetar},4  year   = {2026},5  institution = {BSides Mumbai CTF7 — post-event report},6  url    = {https://maherbhatt.me/research/bsides-mumbai-ctf7-report}7}