Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
LaZagneForensic — 从转储文件中解密 Windows 密码 | Kitploit
工具/GitHubGitHub/alessandroz/lazagneforensic
密码破解加密/解密工具取证分析数字取证
GitHubalessandroz/lazagneforensic

LaZagneForensic

从转储文件中解密 Windows 密码

查看仓库
5201133年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

LaZagne项目 !!!

描述

LaZagne项目 又回来了 !!!

LaZagne 使用一个名为 CryptUnprotectData 的Windows内部函数来解密用户密码。这个API应该在受害者用户会话中调用,否则无法正常工作。如果计算机尚未启动(在离线挂载磁盘上进行分析时),或者我们不想在远程主机上放置二进制文件,则无法检索到任何密码。

LaZagneForensic 是为了解决这个问题而创建的。这项工作主要受 Jean-Michel Picod 和 Elie Bursztein 为 DPAPICK 所做的出色工作,以及 Francesco Picasso 为 Windows DPAPI 实验室 所做的工作的启发。

注意: 主要问题是,要解密这些密码,需要用户的Windows密码。

安装

  • 需要 python2(不兼容 python3)
  • 需要 pip2: 如果未安装,请执行以下命令:
    root@kitploit:~
    sudo wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
    sudo python2 ./get-pip.py
    
root@kitploit:~
sudo apt install python2-dev
pip2 install markerlib
pip2 install distribute
pip2 install -r requirements.txt

使用方法

第一种方式 - 从远程主机转储配置文件

  • 使用 powershell 脚本
root@kitploit:~
PS C:\Users\test\Desktop> Import-Module .\dump.ps1
PS C:\Users\test\Desktop> Dump
文件夹 dump 创建成功!
  • 使用 python 脚本
root@kitploit:~
python dump.py
  • 已知道密码时使用Lazagne
root@kitploit:~
python laZagneForensic.py all -remote /tmp/dump -password 'ZapataVive'
  • 不知道密码时使用Lazagne
root@kitploit:~
python laZagneForensic.py all -remote /tmp/dump

第二种方式 - 在文件系统中挂载磁盘

  • 文件需要挂载到你的文件系统上
root@kitploit:~
test:~$ ls /tmp/disk/
总用量 769M
drwxr-xr-x 2 root root    0 Feb  1 14:05 ProgramData
-rwxr-xr-x 1 root root 256M Feb  1 14:05 swapfile.sys
-rwxr-xr-x 1 root root 512M Feb  1 14:05 pagefile.sys
drwxr-xr-x 2 root root    0 Jan 31 00:35 System Volume Information
dr-xr-xr-x 2 root root    0 Jan 26 10:17 Program Files (x86)
dr-xr-xr-x 2 root root    0 Jan 25 18:13 Program Files
drwxr-xr-x 2 root root    0 Jan 19 10:09 Windows
drwxr-xr-x 2 root root    0 Jan 16 15:52 Homeware
drwxr-xr-x 2 root root    0 Jan  9 17:33 PerfLogs
drwxr-xr-x 2 root root    0 Nov 22 20:37 Recovery
drwxr-xr-x 2 root root 4.0K Nov 22 20:31 Documents and Settings
dr-xr-xr-x 2 root root    0 Nov 22 20:31 Users
  • 已知道密码时使用Lazagne
root@kitploit:~
python laZagneForensic.py all -local /tmp/disk -password 'ZapataVive'
  • 不知道密码时使用Lazagne
root@kitploit:~
python laZagneForensic.py all -local /tmp/disk

注意: 使用 -v 来启用详细模式,使用 -vv 来启用调试模式。

支持的软件

注意: 查看下图以了解哪些密码可以在不需要用户Windows密码的情况下解密。所有找到的凭据都将作为Windows密码进行测试,以防用户重复使用相同的密码。

LaZagne项目

捐赠

请随时通过捐赠支持我的工作,我将非常感激:

  • 通过BTC: 16zJ9wTXU4f1qfMLiWvdY3woUHtEBxyriu

特别感谢

  • Jean-Michel Picod 和 Elie Bursztein 为 DPAPICK
  • Francesco Picasso 为 Windows DPAPI 实验室
  • Synacktiv团队的 Jean-Christophe Delaunay - Jiss/Fist0urs 为他们的 工作

与DPAPI相关的推荐文章

  • 愉快的DPAPI!
  • 重新保险库!解密与机会
  • Windows重新保险库
  • 渗透测试中的DPAPI利用与密码破解

Alessandro ZANNI
[email protected]
下载工具