Update README

This commit is contained in:
Sylvain Heiniger
2021-07-01 17:02:06 +02:00
committed by GitHub
parent 7e03f0c59d
commit 60ce4dcc75
+21 -2
View File
@@ -14,9 +14,9 @@ The script causes WerFault.exe to dump lsass.exe process memory to disk for cred
- 1 - Call CreateRemoteThread with RtlSilentProcessExit on LSASS
### DumpPath
- Path wherer the dumpfile shall be stored
- Path where the dumpfile shall be stored
### Demo
## Demo
The following demo shows the dumping:
@@ -26,6 +26,25 @@ The following demo shows the dumping:
At the time of writing, we could not get the DumpMode 1 (using CreateRemoteThread) to work.
The powershell.exe process gets dumped along with lsass using the DumpMode 0, hence any pointers to get the other method working is welcome!
## Monitoring Guidance
The (original article)[https://www.deepinstinct.com/2021/02/16/lsass-memory-dumps-are-stealthier-than-ever-before-part-2/] provides some pointers on how to detect this technique. From our point of view, the following two techniques are best to detect our script being run:
### Monitoring Registry
Monitor the following keys for creation and modification:
```
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\lsass.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\lsass.exe
```
### Monitoring PowerShell
The following article is a good resource: https://devblogs.microsoft.com/powershell/powershell-the-blue-team/
## Authors
- Ville Koch ([Twitter](https://twitter.com/vegvisir87))