Alert icon Keyboard navigation enabled.
Alert icon TAB or Shift+TAB to navigate across. Down ↓ to open menu. ESC to close menu.
Alert icon Down ↓ to select section. Right → to activate. Up ↑ / Down ↓ / Tab to traverse all. ESC to exit.
BeyondTrust
Skip to content Use space or enter to skip.

What can we help you find today?

Instant Results
  • Website Results
  • Technical Documentation

Filter Options

Focus your search

Filtering by

Your recent searches:

Contact Us Chat with Sales Get Support
  • English
  • Deutsch
  • français
  • español
  • 한국어
  • português
  • Home
  • Resources
  • Blog
  • Protecting Passwords with Least Privilege Security current page
Link copied

Protecting Passwords with Least Privilege Security

Oct 20, 2017
Author:
Russell Smith Bio Pic 2021 Square
Russell Smith
IT Consultant & Security MVP
Blog banner default
Protecting Passwords with Least Privilege Security
Russell Smith Bio Pic 2021 Square
Russell Smith
IT Consultant & Security MVP

Least privilege security and application allow listing are all about protecting systems from unwanted change, but are also critical when it comes to protecting users’ credentials and domain admin passwords. While preventing key logging software from getting onto your systems is the most evident way these defenses might stop account credentials from being compromised, there are some less obvious advantages too.

Passwords are not stored in clear text but as encrypted strings, otherwise known as hashes. When a user enters their password for authentication, it’s used to generate a hash and compared with the password hash stored for the user in the service or application’s security database. If the two hashes match then the user is successfully authenticated to the system. While the password isn’t revealed during this exchange, if a hacker obtains the hash, they can use it to log on as the user.

NT Lan Manager (NTLM) is a legacy authentication protocol developed by Microsoft and is still widely used, with the hash being exposed every time a user needs to authenticate to a service or resource. Kerberos authentication takes a more secure approach by only exposing the user’s password hash once every 8 hours to request a Ticket Granting Ticket (TGT) from the Authentication Service (AS). Thereafter, when the user needs to authenticate to a particular resource, a service ticket is generated by the Ticket Granting Service (TGS) using the TGT, and passed between the two systems instead of exposing password hashes. Kerberos is used for domain authentication duties in Windows 2000 and later, but despite being more secure than NTLMv2, it isn’t immune to password hash attacks.

Despite the less than ideal way Windows uses password hashes, an attacker would need administrative privileges to access hashes stored in memory or the local Security Accounts Manager (SAM) database, so standard user accounts give a greater level of assurance for secondary logons.

To help protect domain admin credentials from being compromised use them only when necessary and against a domain controller. You can designate specially secured PCs, which have no Internet connection and are not used for any other purpose, for managing domain controllers. To further protect credentials, reboot management PCs after each use to clear password hashes from memory; or if using a VM, reset it to a known base configuration.

NTLM can be disabled in Windows 7 and Windows Server 2008 R2 (and later) via Group Policy, but is usually impractical because there are so many legacy applications that still rely on it. However, there are Group Policy settings that allow you to enable NTLM auditing so you can understand how the protocol is being used on your network.

In addition to least privilege security, application allow listing andendpoint protection software you should:

  • Use passphrases instead of passwords (15 characters or longer) to ensure insecure LM hashes are not cached in memory.
  • Avoid interactive logons, i.e. the desktop or runas command, when managing sensitive systems. Remote management tools, such as the Computer Management MMC, use network logons that don’t cache NT hashes in memory.
Latest Posts
  • Hooked on Identity (Part 2): Abusing OAuth Trust Boundaries in Okta
    Jun 12, 2026 Hooked on Identity (Part 2): Abusing OAuth Trust Boundaries in Okta
    Blog
    7m
  • Hooked on Identity: Abusing SAML Assertion Inline Hooks in Okta
    Jun 9, 2026 Hooked on Identity: Abusing SAML Assertion Inline Hooks in Okta
    Blog
    6m
  • Joining Project Glasswing: Securing the Privilege Backbone of the AI Era
    Jun 8, 2026 Joining Project Glasswing: Securing the Privilege Backbone of the AI Era
    Blog
    5m
  • The Most Common & Most Dangerous Types of Shadow IT
    Jun 5, 2026 The Most Common & Most Dangerous Types of Shadow IT
    Blog
    19m
  • 14 Password Management Best Practices
    May 28, 2026 14 Password Management Best Practices
    Blog
    12m
Related
  • BeyondTrust and Jamf – Enhancing Security Across Your Apple Fleet
    Apr 18, 2023 BeyondTrust and Jamf – Enhancing Security Across Your Apple Fleet
    Blog
    1m
  • TrickBot Attack Chain: Deconstructed & Mitigated
    Sep 30, 2021 TrickBot Attack Chain: Deconstructed & Mitigated
    Blog
    1m
Share this Article
  • Link
Stay up to Date
Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

Keep up with BeyondTrust

Customer Support Get Started
  • LinkedIn
  • X
  • Facebook
  • Instagram
  • Add BeyondTrust as a preferred source on Google
  • Privacy
  • Security
  • Manage Cookies
  • Do Not Sell My Data
  • WEEE Compliance

Copyright © 2003 — 2026 BeyondTrust Corporation. All rights reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust Corporation is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.

Prefers reduced motion setting detected. Animations will now be reduced as a result.