Attacking Kerberos: Kicking the Guard Dog of Hades ©2014 ......Attacking Kerberos: Kicking the Guard Dog of Hades –©2014 Tim Medin - @timmedin 10 Here is some stuff I can't read,

Post on 18-Apr-2020

7 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 1

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 2

Slides:

https://www.dropbox.com/s/d7xpwdu8cvq

149s/Kerberoastv2.pdf?dl=0

Code:

https://github.com/nidem/kerberoast

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 3

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 4

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 5

Leve

l o

f A

cce

ss

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 6

Full Domain

Compromise

Initial

Compromise

No Access

Golden Ticket

Kerberoast Cracking

Ticket RewritingKerberoast/Mimikatz

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 7

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 8

I'm Tim, and I need to

authenticate to something. Here

is a request encrypted using my

password hash

I can decrypt your

communication using

your NTLM hash. Here is

a TGT encrypted with

your NTLM Hash

KDC

Key Distribution Center(Windows Domain Controller)

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 9

I need to authenticate to a

service via Kerberos. Can

I get a ticket for another

service. Here is my TGT to

verify my identity

Sure, here it is. I don't check

if you have permissions on

the target service. I leave

that up to the service. I have

enough to do.

KDC

Key Distribution Center(Windows Domain Controller)

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 10

Here is some stuff I

can't read, but the

KDC says this should

verify me.

I can decrypt this ticket and

the HMAC signature using my

hash as the key is good. I see

your user info in this ticket, but

before I authorize you I may*

need to verify the details

Other Server

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 11

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 12

I need to talk to the

mail server on

cliff.medin.local

KDC

Before I can send

a ticket I need to

encrypt it using

the target

server's hash Service Account

MAIL/cliff.medin.local mailsvc

HTTP/charlotte.medin.local websvc

MSSQL/db01.medin.local sqlengine

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 13

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 14

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 15

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 16

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 17

18

Here is my TGT,

Can I get a ST for

Sql01

Web01

Mail01

Sure thing! Your TGT

looks good. The

services will authorize

you, not me. I can't

keep track of all that

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 19

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 20

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 21

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 22

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 23

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 24

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 25

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 26

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 27

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 28

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 29

Service's Hash

Inject Straight into RAM (hidden feature)

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 30

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 31

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 32

Attacking Kerberos: Kicking the Guard Dog of Hades – ©2014 Tim Medin - @timmedin 33

top related