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
- 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
- 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
📎 Detailed content (full examples / references / data tables) has been split into reference.md in the same directory; use Read to load the relevant section on demand.
1---2name: performing-credential-access-with-lazagne3description: "Extract stored credentials from compromised endpoints using LaZagne. Signals: local credentials, browser stealing, chrome passwords."4zh-signals: "Extract stored credentials from compromised endpoints using the LaZagne 信号:本地凭据,浏览器窃取,chrome密码,账号密码。"5when-to-use: Extract stored credentials from compromised endpoints using the LaZagne6 post-exploitation tool to recover passwords from browsers, databases, system vaults,7 and applications during authorized red team operations.8domain: cybersecurity9subdomain: red-teaming10tags:11- red-team12- credential-access13- lazagne14- post-exploitation15- password-recovery16- credential-dumping17- lateral-movement18version: '1.0'19author: mahipal20license: Apache-2.021d3fend_techniques:22- File Metadata Consistency Validation23- Content Format Conversion24- File Content Analysis25- Platform Hardening26- File Format Verification27nist_csf:28- ID.RA-0129- GV.OV-0230- DE.AE-0731mitre_attack:32- T159533- T119034- T105935- T107836- T102137mitre_f3:38 version: '1.1'39 tactics:40 - reconnaissance41 - positioning42 - initial-access43 techniques:44 - id: T155545 name: Credentials from Password Stores46 tactic: reconnaissance47 source: attack48 - id: T1555.00349 name: 'Credentials from Password Stores: Credentials from Web Browsers'50 tactic: reconnaissance51 source: attack52 - id: T1555.00553 name: 'Credentials from Password Stores: Password Managers'54 tactic: reconnaissance55 source: attack56 - id: T153957 name: Steal Web Session Cookie58 tactic: positioning59 source: attack60 - id: F1006.00261 name: 'Account Takeover: Exposed Login Credential'62 tactic: initial-access63 source: f364 - id: F100665 name: Account Takeover66 tactic: initial-access67 source: f368metadata:69 source: https://skillmd.com/skills/dangeroussong/performing-credential-access-with-lazagne70---7172# Performing Credential Access with LaZagne7374## Overview7576LaZagne 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.777879## When to Use8081- When conducting security assessments that involve performing credential access with lazagne82- When following incident response procedures for related security events83- When performing scheduled security testing or auditing activities84- When validating security controls through hands-on testing8586## Prerequisites8788- Familiarity with red teaming concepts and tools89- Access to a test or lab environment for safe execution90- Python 3.8+ with required dependencies installed91- Appropriate authorization for any testing activities9293## Objectives9495- Deploy LaZagne on compromised Windows, Linux, or macOS endpoints96- Extract credentials from all supported password stores97- Parse and prioritize recovered credentials for lateral movement98- Identify high-value credentials (domain admin, service accounts, cloud access)99- Document credential harvesting results with appropriate evidence handling100- Correlate recovered credentials with BloodHound attack paths101102## MITRE ATT&CK Mapping103104- **T1555** - Credentials from Password Stores105- **T1555.003** - Credentials from Password Stores: Credentials from Web Browsers106- **T1555.004** - Credentials from Password Stores: Windows Credential Manager107- **T1552.001** - Unsecured Credentials: Credentials In Files108- **T1552.002** - Unsecured Credentials: Credentials in Registry109- **T1003.004** - OS Credential Dumping: LSA Secrets110- **T1539** - Steal Web Session Cookie111112## Workflow113114### Phase 1: LaZagne Deployment1151. Transfer LaZagne to the compromised host:116 ```powershell117 # Pre-compiled executable (Windows)118 # Transfer lazagne.exe via C2 channel or file upload119120 # Python version (requires Python on target)121 git clone https://github.com/AlessandroZ/LaZagne.git122 cd LaZagne123 pip install -r requirements.txt124 ```1252. Verify execution capability and privileges:126 ```powershell127 # Check current user context128 whoami /priv129130 # LaZagne works with standard user privileges for user-level stores131 # SYSTEM/Admin privileges needed for DPAPI master keys, LSA secrets, SAM132 ```133134> 📎 Detailed content (full examples / references / data tables) has been split into `reference.md` in the same directory; use Read to load the relevant section on demand.