arXiv Science⌕ Search

arXiv subjects

Junqiang Li

Publications and source records attributed to Junqiang Li.

4 recordsLinked to original sources

Beyond Automation: How LLMs Change Human Penetration Testing

The integration of large language models (LLMs) into penetration testing (PT) presents new opportunities to enhance testing through human--AI collaboration. However, How LLMs change human penetration testing remains underexplored. To address this gap, we combine a community survey of 167 respondents with a controlled PT study involving 40 participants in 20 matched pairs, complemented by analysis of Human--LLM interactions and execution traces. Our survey reveals widespread LLM use across PT activities, alongside recurring problems and continued human intervention and output verification. Even assuming sufficient technical capability for autonomous PT, 85% of respondents consider human involvement necessary. In the controlled PT study, LLM-assisted participants produce more valid findings and achieve broader penetration, while out-of-scope testing also becomes more prevalent. We further examine interaction and execution traces to understand how human--LLM collaboration shapes attack progression and finding formation. Our findings show that LLMs amplify human PT capabilities while increasing demands for evidence validation and scope control. Our study highlights the changing role of human expertise as LLMs expand practical PT capabilities. We discuss implications for coordinating human and LLM contributions, allocating decision authority, and developing verification and control mechanisms to support effective human--LLM collaboration.

cs.CR↗

From Assistant to Agent: Understanding Failures in LLM-Based Systems for Penetration Testing

Large language models (LLMs) have enabled a new generation of systems for penetration testing, yet their practical capability boundaries remain poorly understood. Existing evaluations often emphasize successful end-to-end cases or aggregate completion rates, leaving intermediate exploit progress, failure processes, and the validity of reported successes insufficiently examined. We construct a controlled benchmark of 20 known-CVE exploitation tasks, each with explicit objectives, reference exploit milestones, and evidence-based success criteria. We evaluate three representative systems across two backbone models, manually auditing 360 complete execution trajectories to verify outcomes and measure intermediate progress. The systems report 132 successes, while only 69 satisfy the criteria. Even the best configuration solves just 50\% of tasks within three attempts. To explain these outcomes, we trace where exploitation attempts stall and develop a taxonomy of four failure modes and nine root causes through open coding. Multi-label analysis captures recurring and co-occurring causes within individual trajectories, revealing limitations in exploit construction, path control, environment modeling, and verification. Failure profiles vary across systems, and backbone upgrades yield uneven improvements. Our findings motivate explicit exploit state, reliable execution interfaces, actionable memory, and independent evidence-based verification.

cs.CR↗

A Survey of Network Protocol Fuzzing: Model, Techniques and Directions

As one of the most successful and effective software testing techniques in recent years, fuzz testing has uncovered numerous bugs and vulnerabilities in modern software, including network protocol software. In contrast to other fuzzing targets, network protocol software exhibits its distinct characteristics and challenges, introducing a plethora of research questions that need to be addressed in the design and implementation of network protocol fuzzers. While some research work has evaluated and systematized the knowledge of general fuzzing techniques at a high level, there is a lack of similar analysis and summarization for fuzzing research specific to network protocols. This paper offers a comprehensive exposition of network protocol software's fuzzing-related features and conducts a systematic review of some representative advancements in network protocol fuzzing since its inception. We summarize state-of-the-art strategies and solutions in various aspects, propose a unified protocol fuzzing process model, and introduce the techniques involved in each stage of the model. At the same time, this paper also summarizes the promising research directions in the landscape of protocol fuzzing to foster exploration within the community for more efficient and intelligent modern network protocol fuzzing techniques.

cs.NI↗

SNPSFuzzer: A Fast Greybox Fuzzer for Stateful Network Protocols using Snapshots

Greybox fuzzing has been widely used in stateless programs and has achieved great success. However, most state-of-the-art greybox fuzzers generally have the problems of slow speed and shallow state depth coverage in the process of fuzzing stateful network protocol programs which are able to remember and store details of the interactions. The existing greybox fuzzers for network protocol programs send a series of well-defined prefix sequences of input messages first and then send mutated messages to test the target state of a stateful network protocol. The process mentioned above causes a high time cost. In this paper, we propose SNPSFuzzer, a fast greybox fuzzer for stateful network protocol using snapshots. SNPSFuzzer dumps the context information when the network protocol program is under a specific state and restores it when the state needs to be fuzzed. Furthermore, we design a message chain analysis algorithm to explore more and deeper network protocol states. Our evaluation shows that, compared with the state-of-the-art network protocol greybox fuzzer AFLNET, SNPSFuzzer increases the speed of network protocol fuzzing by 112.0%-168.9% and improves path coverage by 21.4%-27.5% within 24 hours. Moreover, SNPSFuzzer exposes a previously unreported vulnerability in program Tinydtls.

cs.CR↗