搜索
查看: 1171|回复: 3

LaZagne 显示本地存储的密码

[复制链接]

1839

主题

2255

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
11913
发表于 2015-5-22 12:59:23 | 显示全部楼层 |阅读模式
Description
The LaZagne project is an open source application used to retrieve lots of passwords stored on a local computer. Each software stores its passwords using different techniques (plaintext, APIs, custom algorithms, databases, etc.). This tool has been developed for the purpose of finding these passwords for the most commonly-used software. At this moment, it supports 22 Programs on Microsoft Windows and 12 on a Linux/Unix-Like OS.
Usage
  • Launch all modules
    • cmd: laZagne.exe all
  • Launch only a specific module
    • cmd: laZagne.exe
    • example: laZagne.exe browsers
    • help: laZagne.exe -h
  • Launch only a specific software script
    • cmd: laZagne.exe
    • example: laZagne.exe browsers -f
    • help: laZagne.exe browsers -h
  • Write all passwords found into a file (-w options)
    • cmd: laZagne.exe all -w

Note: For wifi passwords \ Windows Secrets, launch it with administrator privileges (UAC Authentication / sudo)


Supported software


(*) used by many tools to store passwords: Chrome, Owncloud, Evolution, KMail, etc.


IE Browser history

Internet Explorer passwords (from IE7 and before Windows 8) can only be decrypted using the URL of the website. This one is used as an argument of the Win32CryptUnprotectData api. Thus, using the browsing history of ie will permit to decrypt many passwords. To do that, I used a dll written in C code (the code is in the "browser_history_dll" directory) and it is directly embedded to the Python code as a Base64 string (c.f. ie.py). Once launched, the dll is written on the disk, a wrapper is used to call dll functions and then the dll file is removed from the disk.


Windows hashes
To dump windows hashes and LSA Secrets, the impacket library has been used:https://github.com/CoreSecurity/impacket

Build your own password recovery script

It's possible to write your own script for the software of your choice. Building your own module has become extremely easy.
To do that, some code standards are to be met:
  • Create a class using the name of the software containing 2 importants functions:
    • init: used to define all arguments used to launch the class.
    • run: will be the main function
  • Add on the config.manageModules.py file your class name and your import
  • The output containing all passwords has to be send to the "print_output" function - ex: print_output(software_name, password_list)
    • password_list has to be an array of dictionnaries.
  • Optional: you could use the function "print_debug" to print your output
    • ex: print_debug("ERROR", "Failed to load ...")
  • Use an existing script to understand what I have said

If you want to improve this tool, you can send me your script and it will be added to this project (authors will be, of course, credited on each script ;)).

Requirements

To compile the source code, some external libraries are required.

Alessandro ZANNI
alessandro.zanni@bt.com
zanni.alessandro@gmail.com

https://github.com/AlessandroZ/LaZagne


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?Join BUC

x
过段时间可能会取消签到功能了
冰霜隐士 该用户已被删除
发表于 2015-5-22 20:56:59 | 显示全部楼层
小白表示看不懂{:soso_e134:}

1

主题

21

帖子

51

积分

我是新手

Rank: 1

积分
51
发表于 2016-8-28 11:38:46 | 显示全部楼层
我就想问需要ADMIN权限和能够 免杀吗。。。。。。
您需要登录后才可以回帖 登录 | Join BUC

本版积分规则

Powered by Discuz!

© 2012-2015 Baiker Union of China.

快速回复 返回顶部 返回列表