Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Active Directory Authentication methods: How do Kerberos and NTLM work

Posted on 11/04/202011/08/2026 Christian By Christian 2 Comments on Active Directory Authentication methods: How do Kerberos and NTLM work
  1. Home
  2. Windows Server
  3. Active Directory Authentication methods: How do Kerberos and NTLM work
Active Directory

In Active Directory (AD), two authentication protocols can be used, which are Kerberos and NTLM. At present, Kerberos is the default authentication protocol in Windows. NTLM is an authentication protocol and was the default protocol used in older versions of windows. In this article, we shall discuss “Active Directory Authentication methods: Kerberos and NTLM”. Please see how to install and configure Active Directory Certificate Services, how to set up Azure AD Tenant and methods for integrating Azure Active Directory with on-premise Active Directory.

The NTLM protocol is still used today and is supported in Windows Server. Kerberos was developed at the Massachusetts Institute of Technology and is currently the most widely used technology for Authentication and Authorization in computer networks

Here are some articles I have written relating to Active Directory; How to set up a Domain Controller, what is Active Directory Forest, Trees, Domain and Sites.

Active Directory Authentication methods

NT LAN Manager (NTLM)

This challenge-response authentication protocol was used before Kerberos became available. However, an organization may still have servers that use NTLM.

Kerberos

Kerberos is an authentication protocol. It’s the default authentication protocol on Windows versions since Windows 2000 replacing the NTLM authentication protocol. This protocol works on the basis of tickets and requires the presence of a trusted party. See this link for more information.

Before digging deep into the authentication process of both NTLM and Kerberos, the table below gives a comparison of both protocols.

Authentication methods

The below diagram is how the Kerberos authentication flow works. The three heads of Kerberos are represented in the protocol by a client seeking authentication, a server the client wants to access, and the key distribution center (KDC).

The KDC is the trusted third party that authenticates users and is the domain controller that AD is running on. Here are the step involved in Kerberos authentication: Both diagram 1 and diagram 2 should be able to drive down the points 🙂

Diagram 1

Note: Diagram 2 also shows the Kerberos Authentication steps as diagram 1

Diagram

Kerberos Authentication Steps explained

1: A user logs in to the client machine: The client does a plaintext request (TGT). The message contains: (ID of the user; the ID of the requested service (TGT); The Client Net address (IP); validation lifetime)

2: The Authentication Server will check if the user exists in the KDC database. If the user is found, it will randomly generate a key (session key) for use between the user and the Ticket Granting Server (TGS). The Authentication Server will then send two messages back to the client:

  • One is encrypted with the TGS secret key.
  • One is encrypted with the Client’s secret key.

Note: The TGS Session Key is the shared key between the client and the TGS. The Client secret key is the hash of the user credentials (username+password).

3: The client decrypts the key and can logon, caching it locally. It also stores the encrypted TGT in his cache. When accessing a network resource, the client sends a request to the TGS with the resource name he wants to access, the user ID/timestamp, and the cached TGT.

4 – The TGS decrypts the user information and provides a service ticket and a service session key for accessing the service and sends it back to the Client once encrypted.

5: The client sends the request to the server (encrypted with the service ticket and the session-key).

6: The server decrypts the request and if it is genuine, it provides service access.

Description of how NTLM authentication work

Due to the recent vulnerability discovered in ZOOM, please take a look at how to mitigate the issue. Here are the steps used in preventing windows from automatically sending your credentials to a remote server (when accessing a share). For more information, kindly see how to prevent NTLM credentials from being sent to a remote server.

1: A user accesses a client computer and provides a domain name, user name, and password.

The client computes a cryptographic hash of the password and discards the actual password. The client sends the user name to the server (in plaintext).

2: The server generates a 16-byte random number, called a challenge, and sends it back to the client.

3: The client encrypts this challenge with the hash of the user’s password and returns the result to the server. This is called the response.

4: Moreover, The server sends the following three items to the domain controller:

  • User Name
  • Challenge sent to the client and
  • Response received from the client

5: The domain controller uses the user name to retrieve the hash of the user’s password. It compares the encrypted challenge with the response by the client (in step 4). If they are identical, authentication is successful, and the domain controller notifies the server.

6: The server then sends the appropriate response back to the client.

FAQs

Is Kerberos more Secure than NTLM?

In NTLM authentication, the hashed user password is stored on the client, DC, and application server, making it vulnerable to tools like Mimikatz. An application server must directly validate access with the DC.

With Kerberos, the hash is stored in fewer places, so stealing the KRBTGT password requires access to the KDC on the DC to create a Golden Ticket.

What happens when a user password is stolen?

With Kerberos, attackers stealing a user’s password can only access what the user can. To gain more, they target the NTLM hash of the KRBTGT account.

This allows them to forge tickets. By executing a Golden Ticket attack, they can impersonate authentication and elevate access rights across the environment.

Who can create Golden Tickets?

Actually, anyone can. To create a Golden Ticket that grants full domain access, an attacker must obtain the domain’s FQDN, SID, target account username, and the KRBTGT NTLM hash. With this information, they can forge a valid Kerberos ticket. Without these elements, a forged ticket is useless, like a fake credit card without a correct account number.

Furthermore, despite the Active Directory domain policy for Kerberos ticket lifetime. The KDC trusts the TGT, so the custom ticket can include a custom ticket lifetime (even one that exceeds the domain kerberos policy).

Furthermore, I hope you found this blog post on “Active Directory Authentication methods: Kerberos and NTLM” helpful. However, Please let me know in the comment session if you have any questions.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Active Directory authentication Kerberos NTLM, Active Directory domain authentication process, AD authentication protocols explained, how Kerberos works Active Directory, how NTLM works Windows domain, Kerberos, Kerberos delegation explained, Kerberos KDC domain controller, Kerberos service ticket authentication, Kerberos ticket granting ticket TGT, Kerberos vs NTLM authentication, NTLM challenge response authentication, NTLM fallback Windows authentication, SPN Kerberos Active Directory, Windows 10, Windows Integrated Authentication, Windows Server 2016

Post navigation

Previous Post: How to change the speller and proofing language in PowerPoint
Next Post: Active Directory Forest – Trees and Domain and Sites

Related Posts

  • Keep personal files and apps
    Fix Keep personal files and apps option greyed out during Upgrade Windows Server
  • GitLab runner update and upgrade
    How to update Gitlab-runners on Windows Windows
  • RDS Architecture
    The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection Windows Server
  • 41592 3264bitw10
    What is the difference between 32-bit and 64-bit processors Windows Server
  • VMware Error Fix
    How to fix “The process cannot access the file because another process has locked a portion of the file” Virtualization
  • VMware workstation networking issues
    Network cable Unplugged: Fix VMware “Warning – Multiple default gateways are intended to provide redundancy to a single network Virtualization

More Related Articles

telnet Could not open a connection to the host, on the port, connect failed Windows Server
Netstat Network statistics: How to save netstat command output to a text Web Server
dfggg SimpleSAMLphp Setup on Windows Server [Part 1] Windows Server
Distributed File System DFS How to find Dfs Referral Path and clear Dfs referral Cache Storage
screenshot 2020 03 13 at 20.24.17 How to install additional packages via Cygwin Windows Server
Add or remove features fix dotnet framework issues Fix the request to add or remove features on the specified server failed Windows

Comments (2) on “Active Directory Authentication methods: How do Kerberos and NTLM work”

  1. Avatar photo bernie black says:
    09/12/2020 at 4:39 PM

    Nice post. Very informative.

    Log in to Reply
  2. Avatar photo Jack says:
    04/02/2021 at 2:38 PM

    Very nice article!!

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Command Prompt in Windows: Creating Volumes Guide Windows
  • login keyboard feature
    Sign-In Method Not Allowed: Contact Network Administrator Windows Server
  • Dockerize NodeJS Application
    Dockerizing a NodeJs Express Application Automation
  • his may be the server does not exist e1777492961650
    Fix unable to contact Server: This may be the server does not exist Windows Server
  • skype
    Stop Apps from running automatically on MAC Mac
  • install VRO license e1774527310993
    How to replace Veeam Recovery Orchestrator License Backup
  • Windows Server
    Migrate Roles and Features to Windows Server 2022 using WSMT Windows
  • Task Scheduler Error 0x2 1
    How to fix Windows Task Scheduler 0x2 Error Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.