A method for fuzz testing stateful network protocols
By building an initial test case library and using the exp3 algorithm to select important states, combined with a genetic algorithm to evaluate the fitness of test cases, the inefficiency of state selection and case selection in traditional fuzz testing is solved, achieving more efficient fuzz testing and vulnerability discovery.
Patent Information
- Application Number
- CN202410981966.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Traditional stateful network protocol fuzz testing methods suffer from inefficiency and insufficient vulnerability discovery capabilities in the state selection, test case selection, and retention processes, mainly due to the single evaluation state information, the lack of an effective state selection algorithm, and over-reliance on code coverage.
A state selection algorithm is used to construct the initial test case library. Important states are selected through a customized exponential weight algorithm (exp3). The test case fitness is evaluated in combination with a genetic algorithm. The state coverage, code coverage and number of state transitions are comprehensively considered to guide the fuzz testing process.
The efficiency and vulnerability mining capabilities of fuzz testing are improved. By evaluating states and test cases in multiple dimensions, state selection and case retention are optimized, redundancy is reduced, and the effectiveness and efficiency of testing are improved.