Incremental Fingerprinting in an Open World
Loes Kruger, Paul Kobialka, Andrea Pferscher, Einar Broch Johnsen, Sebastian Junges, Jurriaan Rot
TL;DR
The paper tackles open-world network protocol fingerprinting, where not all implementations are known a priori, by integrating fingerprinting with adaptive active automata learning. It introduces Infernal, an incremental fingerprinting framework that first matches implementations to previously learned models and only learns a new model when necessary, using adaptive learning to minimize interactions. The authors prove correctness and analyze asymptotic complexity, showing improvements over naive baselines, and demonstrate substantial reductions in misclassifications across TLS, SSH, BLE, MQTT, and related protocols. The approach enables robust, scalable identification of black-box protocol implementations in realistic open-world settings, with potential for automatic model maintenance and vulnerability analysis. Overall, the work advances practical open-world fingerprinting by fusing closed-world fingerprints with learning to maintain a growing, accurate reference set.
Abstract
Network protocol fingerprinting is used to identify a protocol implementation by analyzing its input-output behavior. Traditionally, fingerprinting operates under a closed-world assumption, where models of all implementations are assumed to be available. However, this assumption is unrealistic in practice. When this assumption does not hold, fingerprinting results in numerous misclassifications without indicating that a model for an implementation is missing. Therefore, we introduce an open-world variant of the fingerprinting problem, where not all models are known in advance. We propose an incremental fingerprinting approach to solve the problem by combining active automata learning with closed-world fingerprinting. Our approach quickly determines whether the implementation under consideration matches an available model using fingerprinting and conformance checking. If no match is found, it learns a new model by exploiting the structure of available models. We prove the correctness of our approach and improvements in asymptotic complexity compared to naive baselines. Moreover, experimental results on a variety of protocols demonstrate a significant reduction in misclassifications and interactions with these black-boxes.
