Skip to content

Instantly share code, notes, and snippets.

@adfoster-r7
Last active January 27, 2023 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adfoster-r7/2b52461d3103ff2cd748c00f3a9e4ad2 to your computer and use it in GitHub Desktop.
Save adfoster-r7/2b52461d3103ff2cd748c00f3a9e4ad2 to your computer and use it in GitHub Desktop.
flowchart RL
  subgraph legend ["Legend"]
    subgraph legendEdges [" "]
        start1[ ] -.->|Existing support| stop1[ ]
        start2[ ] -->|New in Metasploit 6.3| stop2[ ]
    end
    subgraph legendNodes [" "]
        NODE1[What you have]
        NODE2((Service))
    end
  end

  style authenticationMethods fill:transparent,stroke:transparent
  style legendEdges fill:transparent,stroke:transparent
  style legendNodes fill:transparent,stroke:transparent

  subgraph authenticationMethods ["Metasploit's Authentication Methods"]
    PT[Plaintext\nCredentials] -.->|"Via MD4()"| NTLM[NTLM Hash]
    PT -->|Via KDC| TGT["Kerberos\nTicket-Granting-Ticket\n(TGT)"]
    PT -.->|Via\nSimple\nBind| LDAP
    PT -.->|Via\nBasic\nAuth| HTTP

    subgraph New Metasploit 6.3 Authorization Workflows
      KRBTGT[krbtgt\nAccount\nSecrets] -->|Via Golden Ticket| TGT
      TGT -->|Via KDC| TGS["Kerberos\nTicket-Granting-Service\n(TGS)"]
      KRBSVC[Service\nAccount\nSecrets] -->|Via Silver Ticket| TGS
      KRBMCN[Machine\nAccount\nSecrets] -->|Via Silver Ticket| TGS
      CERT -->|Via PKINIT| TGT
    end

    NTLM -->|Via AD CS| CERT[Certificate]
    NTLM  -.-> HTTP((HTTP))
    NTLM  --> LDAP((LDAP))
    NTLM  -.-> MSSQL((MSSQL))
    NTLM  -.-> SMB((SMB))
    NTLM  -.-> WinRM((WinRM))
    NTLM  --> TGT
    TGS --> HTTP
    TGS --> LDAP
    TGS --> MSSQL
    TGS --> SMB
    TGS --> WinRM

    subgraph Windows Services
      HTTP
      LDAP
      MSSQL
      SMB
      WinRM
    end
  end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment