Skip to content
Adam Omar Saleh

H7CTF 2026 placeholder badge (unofficial)H7CTF 2026AI / Reverse Engineering

LoRA Expert Router

Title unconfirmed

PEFT adapters / matrices / low-rank update combination

Competition
H7CTF 2026 placeholder badge (unofficial)H7CTF 2026
Category
AI / Reverse EngineeringMedium · estimated
Analysis status
Flag extracted locally
Document
Original PDF

01Challenge analysis

The problem

The puzzle fragmented a message across four low-rank adaptation (LoRA) modules identified as expert_router vendors. Individual adapters appeared unhelpful, but combining the intended updates canceled the noise.

02Exploit or recovery path

How I solved it

  1. 01

    I identified the relevant expert_router LoRA adapters in vendor-02, vendor-03, vendor-05 and vendor-07.

  2. 02

    I inspected their lora_A and lora_B matrices and noticed that lora_A played an identity-like role.

  3. 03

    I reconstructed each low-rank update as B @ A and summed the four intended deltas.

  4. 04

    The combined values canceled the masking components and exposed ASCII characters, which yielded the H7CTF flag.

Result

RECOVERED FLAG

H7CTF{0ddc42ef683b6bd1be9f}

Flag extracted locally

Local Verification
Recovered in the September 26 solution conversation.
Evidence Limitation
The exact model dimensions and tensor dumps are not in the retained context; no fabricated matrix values are supplied.

Original document

Original PDF

The writeup as I first documented it.