Flatdc: Automatic Schema Reverse Engineering of FlatBuffers


연구 분야: Analysis



학회: IFIP International Conference on ICT Systems Security and Privacy Protection


초록

Schema reverse engineering is critical for analyzing closed-source software, including malware. Extracting communication schemas is particularly challenging for binary protocols. This paper presents two approaches for automatically reverse-engineering FlatBuffer schemas, a binary serialization framework by Google that, if exposed, can lead to security vulnerabilities such as size explosion attacks. The first, the binary approach, exploits static analysis and instruction simulation to extract schemas directly from validation logic. The second, the on-the-wire approach, analyzes protocol messages to approximate schemas, effectively narrowing the possible data types per field to an average of 2.3. We evaluate both methods on self-compiled binaries and third-party FlatBuffer schemas. The binary approach consistently extracts full schemas, aiding in vulnerability detection. The on-the-wire approach, though less precise, remains language-agnostic and resilient to binary obfuscation, making it valuable for security-focused protocol analysis.


Author Profile
August See

University of Hamburg Hamburg Germany

Germany
Author Profile
Benedikt Ostendorf

University of Hamburg Hamburg Germany

Germany
Author Profile
Lilly Sell

University of Hamburg Hamburg Germany

Germany

📄 논문 정보

발행 연도 2025년
인용수 0
출판 국가 Germany
사이트 Springer
좋아요 수 0

연관 논문 목록 (285건)