Recent advances in generative machine learning models rekindled research interest in the area of password guessing. Data-driven password guessing approaches based on GANs, language models and deep latent variable models have shown impressive generalization performance and offer compelling properties for the task of password guessing. In this paper, we propose PassFlow, a flow-based generative model approach to password guessing. Flow-based models allow for precise log-likelihood computation and optimization, which enables exact latent variable inference. Additionally, flow-based models provide meaningful latent space representation, which enables operations such as exploration of specific subspaces of the latent space and interpolation. We demonstrate the applicability of generative flows to the context of password guessing, departing from previous applications of flow-networks which are mainly limited to the continuous space of image generation. We show that PassFlow is able to outperform prior state-of-the-art GAN-based approaches in the password guessing task while using a training set that is orders of magnitudes smaller than that of previous art. Furthermore, a qualitative analysis of the generated samples shows that PassFlow can accurately model the distribution of the original passwords, with even non-matched samples closely resembling human-like passwords.
PassGAN: A Deep Learning Approach for Password Guessing
Stevens Institute of Technology(斯蒂文斯理工学院);New York Institute of Technology(纽约理工学院);Swiss Data Science Center, (ETH Zurich and EPFL)(瑞士数据科学中心(苏黎世联邦理工学院和洛桑联邦理工学院))
最先进的密码猜测工具,如HashCat和John the Ripper,使用户能够每秒根据密码散列检查数十亿个密码。除了执行直接的字典式攻击之外,这些工具还可以使用密码生成规则来扩展密码字典,例如单词的串联(例如,“Password 123456”)和Leet Speak(例如,“password”变为“p4 s5 w 0 rd”)。虽然这些规则在实践中运行良好,但扩展它们以模拟更多密码是一项艰巨的任务,需要专业知识。为了解决这个问题,在本文中,我们介绍PassGAN,一种新的方法,取代人类生成的密码规则与理论为基础的机器学习算法。PassGAN不依赖于手动密码分析,而是使用生成对抗网络(GAN)来自主学习实际密码泄漏中真实密码的分布,并生成高质量的密码猜测。我们的实验表明,这种方法是非常有前途的。当我们在两个大型密码数据集上评估PassGAN时,我们能够超越基于规则和最先进的机器学习密码猜测工具。然而,与其他工具相比,PassGAN在没有任何关于密码或常见密码结构的先验知识的情况下实现了这一结果。此外,当我们将PassGAN的输出与HashCat的输出相结合时,我们能够比单独使用HashCat多匹配51%-73%的密码。这是值得注意的,因为它表明PassGAN可以自主提取当前最先进的规则无法编码的大量密码属性。
PagPassGPT: Pattern Guided Password Guessing via Generative Pretrained Transformer
School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)
Universal Randomized Guessing Subjected to Distortion
在本文中,我们考虑的问题,猜测一个序列的失真约束。具体来说,我们假设Alice和Bob之间的博弈如下:Alice有一个长度为$n$的序列$\bx$。Bob希望猜测$\bx$,然而他满足于找到在来自$\bx$的给定失真$D$内的任何序列$\hat{\bx}$。因此,他连续地向爱丽丝提交查询,直到收到肯定的回答,说明他的猜测在所需的失真范围内。找到最小化猜测次数的猜测策略(\emph{guesswork}),并分析其属性(例如,其$ρ$ -第阶矩)在信息安全、信源和信道编码中具有若干应用。当考虑当代的生物统计安全系统时,受失真约束的猜测特别有用,其中保护数据的“密码”不是单个的固定向量,而是以某个$\bx$为中心的\emph{ball of feature vectors},并且球内的任何特征向量都导致接受。在\emph{four different setups}中,我们正式定义了失真条件下的猜测问题:无记忆信源、通过噪声信道猜测、有记忆信源和单个序列。我们建议一个随机猜测策略,这是渐近最佳的所有设置,是\emph{five--fold universal},因为它是独立的源统计,信道,时刻要优化,失真措施和失真水平。