arXiv Science⌕ Search

arXiv subjects

Weihong Han

Publications and source records attributed to Weihong Han.

3 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↗

Exploring Advanced Methodologies in Security Evaluation for LLMs

Large Language Models (LLMs) represent an advanced evolution of earlier, simpler language models. They boast enhanced abilities to handle complex language patterns and generate coherent text, images, audios, and videos. Furthermore, they can be fine-tuned for specific tasks. This versatility has led to the proliferation and extensive use of numerous commercialized large models. However, the rapid expansion of LLMs has raised security and ethical concerns within the academic community. This emphasizes the need for ongoing research into security evaluation during their development and deployment. Over the past few years, a substantial body of research has been dedicated to the security evaluation of large-scale models. This article an in-depth review of the most recent advancements in this field, providing a comprehensive analysis of commonly used evaluation metrics, advanced evaluation frameworks, and the routine evaluation processes for LLMs. Furthermore, we also discuss the future directions for advancing the security evaluation of LLMs.

cs.CR↗