arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12601cs.CRcs.AI
收藏

基于LLM的提示进化用于密码猜测

LLM-Guided Prompt Evolution for Password Guessing

Applied AI Center(应用人工智能中心);MTUCI(莫斯科国立大学)

Vladimir A. Mazin, Mikhail A. Zorin, Dmitrii S. Korzh, Elvir Z. Karimov, Dmitrii A. Bolokhov, Oleg Y. Rogov

AI总结:

本文利用LLM驱动的进化计算优化密码猜测框架的提示,通过OpenEvolve系统提升破解率,验证了自动提示进化在增强LLM密码审计中的有效性。

摘要:

密码仍是主流认证方法,但其安全性常被可预测的用户选择和大规模凭证泄露所破坏。自动密码猜测是压力测试密码策略和建模攻击行为的关键工具。本文将LLM驱动的进化计算应用于自动优化密码猜测框架的提示。使用OpenEvolve系统,结合MAP-Elites质量-多样性搜索与岛屿种群模型,我们进化出在RockYou衍生测试集上最大化破解率的提示。我们评估了三种配置:本地设置中的Qwen3 8B、单个紧凑型云模型Gemini-2.5 Flash以及前沿LLM的双模型集合。该方法将破解率从2.02%提升至8.48%。字符分布分析进一步证实了进化提示如何产生统计上更真实的密码。自动提示进化是一种低门槛但有效的加强LLM密码审计的方法,并揭示了攻击管道通过自动改进表现出的倾向。

英文摘要:

Passwords still remain a dominant authentication method, yet their security is routinely subverted by predictable user choices and large-scale credential leaks. Automated password guessing is a key tool for stress-testing password policies and modeling attacker behavior. This paper applies LLM-driven evolutionary computation to automatically optimize prompts for the LLM password guessing framework. Using OpenEvolve, an open-source system combining MAP-Elites quality-diversity search with an island population model we evolve prompts that maximize cracking rate on a RockYou-derived test set. We evaluate three configurations: a local setup with Qwen3 8B, a single compact cloud model Gemini-2.5 Flash, and a two-model ensemble of frontier LLMs. The approach raises the cracking rates from 2.02\% to 8.48\%. Character distribution analysis further confirms how evolved prompts produce statistically more realistic passwords. Automated prompt evolution is a low-barrier yet effective way to strengthen LLM-based password auditing and underlining how attack pipelines show tendency via automated improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑