Identifying Weak Credentials in a Directory

The system uses Bloom filters on a directory server to identify weak credentials locally, addressing security and compliance issues by analyzing user hashes without external transmission, ensuring privacy and real-time detection of weak credentials.

US20260377516A1Pending Publication Date: 2026-11-26ZSCALER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/261755
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-22
Filing Date
2025-07-07
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing directory systems face challenges in identifying weak or compromised user credentials without exposing sensitive information, which poses security risks and violates compliance requirements when transmitting hashes to external systems for comparison.

Method used

A system deploying a local agent on a directory server uses Bloom filters to analyze user credential hashes, identifying weak credentials through probabilistic testing without transmitting sensitive data externally, leveraging known weak hashes, keyboard patterns, and adversary cracking methodologies.

Benefits of technology

Enables secure, efficient, and compliant detection of weak credentials within the enterprise network, maintaining privacy and adhering to security policies while providing real-time proactive security management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377516A1-D00000_ABST
    Figure US20260377516A1-D00000_ABST
Patent Text Reader

Abstract

Systems and methods include deploying an agent on a directory server, wherein the agent is configured to access user credential hashes stored in the directory server; receiving, at the agent deployed on the directory server, a plurality of Bloom filters generated by a weak credential identification system, each Bloom filter representing a respective subset of weak credential hashes; performing, by the agent and for each of the user credential hashes, a test against the plurality of Bloom filters; and classifying a user credential hash as weak in response to determining that the user credential hash is present in at least one of the plurality of Bloom filters during the test.
Need to check novelty before this filing date? Find Prior Art

Description

FIELD OF THE DISCLOSURE

[0001] The present disclosure relates generally to network security and credential management. More particularly, the present disclosure relates to systems and methods for identifying weak credential hashes in a directory.BACKGROUND OF THE DISCLOSURE

[0002] Directory services play an important role in enterprise identity and access management by storing and authenticating user credentials across distributed enterprise environments. These directory systems typically store user credential hashes which are used during authentication without exposing the underlying plaintext passwords. However, as credential-based attacks have become increasingly sophisticated, enterprises are under heightened pressure to proactively identify weak credentials, such as those leaked in public breaches, generated via predictable patterns, or reused across accounts, before such credentials are exploited by adversaries. Traditional approaches to identifying weak or compromised passwords often involve transmitting user credentials or credential hashes to an external system or vendor for comparison against known breach data or dictionaries of weak passwords. However, such approaches pose significant security and privacy concerns, such as hash cracking vulnerabilities or interception risks. Transmitting sensitive user credential information outside of the enterprise boundary, even in hashed or tokenized form, creates potential attack surfaces and increases the risk of exposure. Additionally, such external scanning approaches may conflict with compliance requirements that prohibit the transfer of authentication data outside an enterprise-controlled environment. Enterprises need a privacy-preserving and locally executable solution that can detect weak credential hashes without ever exposing or transmitting such hashes beyond their internal systems. Accordingly, there is a need for a system that enables secure, local identification of weak credential hashes within enterprise directory services without compromising user privacy.BRIEF SUMMARY OF THE DISCLOSURE

[0003] In an embodiment, a method, instructions in a non-transitory computer-readable storage medium, and a weak credential identification system are presented to perform steps. The steps include deploying an agent on a directory server, wherein the agent is configured to access user credential hashes stored in the directory server, receiving, at the agent deployed on the directory server, a plurality of Bloom filters generated by the weak credential identification system, each Bloom filter representing a respective subset of weak credential hashes, performing, by the agent and for each of the user credential hashes, a test against the plurality of Bloom filters, and classifying a user credential hash as weak in response to determining that the user credential hash is present in at least one of the plurality of Bloom filters during the test.

[0004] The steps can further include transmitting, by the agent, result data generated for each user credential hash classified as weak to the weak credential identification system. The generating of the plurality of Bloom filters can include sorting a plurality of weak credential hashes, grouping a predetermined number of weak credentials from the plurality of sorted weak credential hashes into a subset, and creating a Bloom filter for each subset. The generating of the plurality of Bloom filters can include collecting credentials leaked from public data breaches and incorporating the collected credentials as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include generating keyboard walk passwords using predefined key-adjacency patterns and incorporating hashes of the keyboard walk passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include emulating adversary password cracking methodologies to generate candidate passwords and incorporating hashes of the candidate passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include identifying historical password reuse patterns across password reset events and incorporating hashes of previously used passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include identifying user credential hashes that are shared across multiple accounts in the directory server and incorporating the shared user credential hashes as weak credential hashes into the plurality of Bloom filters. The test performed by the agent against the plurality of Bloom filters can be executed without transmitting the user credential hashes outside the directory server. The result data generated for each user credential hash classified as weak can include a weakness type. The weakness type can include a leaked credential, a keyboard pattern password, a crackable password, a reused password, and a shared password.BRIEF DESCRIPTION OF THE DRAWINGS

[0005] The present disclosure is illustrated and described herein with reference to the various drawings, in which like reference numbers are used to denote like system components / method steps, as appropriate, and in which:

[0006] FIG. 1 is a network diagram of a weak credential identification system offering security as a service;

[0007] FIG. 2 is a block diagram of a server that may be used in the weak credential identification system;

[0008] FIG. 3 is a block diagram of a user device that may be used with the weak credential identification system;

[0009] FIG. 4 is a network diagram of an enterprise utilizing the weak credential identification system;

[0010] FIG. 5 is a network diagram illustrating deployment of an agent on a directory server by the weak credential identification system;

[0011] FIG. 6 is a flow diagram illustrating identification of weak user credential hashes by the weak credential identification system; and

[0012] FIG. 7 is a flow chart of a process for identifying the weak user credential hashes.DETAILED DESCRIPTION OF THE DISCLOSURE

[0013] Again, the present disclosure relates to identifying weak credential hashes within an enterprise environment. Various embodiments focus on performing secure, local identification of weak user credential hashes, enabling proactive security management without transmitting sensitive credential data outside of the enterprise infrastructure. The disclosed system facilitates continuous, efficient, and compliant credential scanning within enterprise directory servers, ensuring that sensitive credential information remains protected while complying with enterprise security and privacy policies.

[0014] As described herein, an agent is deployed on a directory server, such as an Active Directory domain controller. The agent manages and coordinates the receipt and utilization of Bloom filters generated by a weak credential identification system, enabling scalable and secure detection of weak credential hashes. An enterprise can utilize predefined Bloom filter configurations to efficiently detect weak credentials, ensuring compliance with organizational security requirements and preventing unauthorized credential usage.

[0015] Moreover, the present disclosure relates to systems and methods for performing localized weak credential identification within an enterprise network. By deploying a dedicated agent within the enterprise’s directory server, the system ensures that credential hashes are analyzed in a secure and isolated manner. As described herein, the disclosed system leverages Bloom filters containing known weak credential hashes, enabling secure local testing without external transmission of sensitive data, thus adhering to data privacy and sovereignty requirements.

[0016] The present disclosure also relates to techniques for handling the results of weak credential identification. As described herein, the system generates result data indicative of weak credential hashes identified during local tests. This result data, containing relevant metadata without the actual credential hashes, is then securely transmitted back to the weak credential identification system for further analysis. The collected metadata aids in tracking credential strength, detecting patterns of credential weakness, and providing actionable insights to strengthen the overall security posture of the enterprise.

[0017] The disclosed system provides robust security capabilities through continuous and proactive credential monitoring and reporting. The credential scanning mechanisms include multiple strategies, such as leveraging leaked credential datasets, keyboard walk patterns, adversary cracking methodologies, historical password reuse detection, and shared credential identification, emphasizing comprehensive security coverage. By employing local agents and Bloom filters, the system performs secure, efficient, and scalable credential analysis, enhancing the enterprise’s ability to maintain a robust security posture without relying on external credential validation services.

[0018] Bloom filters are probabilistic data structures designed for efficient membership testing, allowing rapid checks to determine whether an element is likely part of a set. They use multiple hash functions to map data items into a compact bit array. A Bloom filter can definitively indicate if an element is not present; however, it may produce false positives, indicating an element might be present when it actually is not. Due to their compact size and computational efficiency, Bloom filters are particularly well-suited for securely checking large datasets of sensitive information, such as credential hashes, without exposing the actual underlying data.Example Weak Credential Identification System Architecture

[0019] FIG. 1 is a network diagram of a weak credential identification system 100 offering security as a service. Specifically, the weak credential identification system 100 provides credential security management to various users 102. For illustration purposes, the users 102 of the weak credential identification system 100 can include a mobile device 106, a headquarters (HQ) 108 with an associated data center (DC) 110, Internet of Things (IoT) devices 112, a branch office 114, etc., and each includes one or more user devices (an example user device 300 is illustrated in FIG. 3). The devices 106, 112, and the locations 108, 110, 114 are shown for illustrative purposes, and those skilled in the art will recognize there are various access scenarios and other users 102 for the weak credential identification system 100, all of which are contemplated herein. The users 102 can be associated with a tenant, which may include an enterprise, a corporation, an organization, etc. That is, a tenant is a group of users who share a common access with specific privileges to the service provided by the weak credential identification system 100. In an embodiment, the headquarters 108 can include an enterprise’s network with resources in the data center 110. The mobile device 106 can be a so-called road warrior, i.e., users that are off-site, on-the-road, etc. These entities communicate with the weak credential identification system 100 through a communication network 104, which may include public networks like the Internet, private intranets, Local Area Networks (LANs), Wide Area Networks (WANs), Virtual Private Networks (VPNs), or a combination thereof.

[0020] Further, the weak credential identification system can be multi-tenant, with each tenant having its own users 102 and configuration, policy, rules, etc. One advantage of the multi-tenancy and a large volume of users is the zero-day / zero-hour protection in that a new vulnerability can be detected and then instantly remediated across the entire weak credential identification system 100. The same applies to policy, rule, configuration, etc. changes – they are instantly remediated across the entire weak credential identification system 100. As well, new features in the weak credential identification system 100 can also be rolled up simultaneously across the user base, as opposed to selective and time-consuming upgrades on every device at the locations 108, 110, 114, and the devices 106, 112.

[0021] The weak credential identification system 100 receives a plurality of weak credential hashes from various sources such as public data breaches, known dictionaries, and predefined key-adjacency patterns through the communication network 104. The public data breaches, for example, may include sources such as the Have I Been Pwned (HIBP) database, which publicly provides hashes of approximately one billion known compromised passwords. The known dictionaries utilized by the weak credential identification system 100 include well-established leaked dictionaries frequently used by adversaries, and the predefined key-adjacency patterns encompass sequences such as keyboard walks (e.g., "qwerty," "asdfgh," or "1qaz@wsx3edc"). Furthermore, custom dictionaries can be generated based on user-supplied keywords which are processed using predefined rules such as appending numerical sequences, symbols, or performing common character substitutions.

[0022] Once received, the weak credential identification system 100 sorts the plurality of weak credential hashes to facilitate efficient processing and management. The weak credential identification system 100 further organizes the sorted weak credential hashes by grouping a predetermined number of weak credentials into subsets. For example, in one embodiment, the predetermined number of weak credential hashes per subset can be approximately 50 million. In other embodiments, the predetermined number of weak credential hashes per subset can be greater or lesser than 50 million, as will be appreciated by those of ordinary skill in the art, depending upon implementation‑specific considerations. Each of these subsets is utilized by the weak credential identification system 100 to create a respective Bloom filter. These Bloom filters enable efficient and privacy-preserving local detection of weak user credential hashes within the enterprise environments without necessitating the transmission of sensitive user credential hashes outside of the local environment.

[0023] By employing this approach, the weak credential identification system 100 significantly enhances the security posture of the users 102 by proactively identifying and addressing weak user credentials. This system ensures continuous security monitoring while maintaining compliance with data protection and privacy regulations by avoiding unnecessary exposure of sensitive credential data.Example Server Architecture

[0024] FIG. 2 is a block diagram of a server 200, which may be used in the weak credential identification system 100, in other systems, or standalone. The server 200 may be a digital computer that, in terms of hardware architecture, generally includes a processor 202, input / output (I / O) interfaces 204, a network interface 206, a data store 208, and memory 210. It should be appreciated by those of ordinary skill in the art that FIG. 2 depicts the server 200 in an oversimplified manner, and a practical embodiment may include additional components and suitably configured processing logic to support known or conventional operating features that are not described in detail herein. The components (202, 204, 206, 208, and 210) are communicatively coupled via a local interface 212. The local interface 212 may be, for example, but not limited to, one or more buses or other wired or wireless connections, as is known in the art. The local interface 212 may have additional elements, which are omitted for simplicity, such as controllers, buffers (caches), drivers, repeaters, and receivers, among many others, to enable communications. Further, the local interface 212 may include address, control, and / or data connections to enable appropriate communications among the aforementioned components.

[0025] The processor 202 is a hardware device for executing software instructions. The processor 202 may be any custom made or commercially available processor, a Central Processing Unit (CPU), an auxiliary processor among several processors associated with the server 200, a semiconductor-based microprocessor (in the form of a microchip or chipset), or generally any device for executing software instructions. When the server 200 is in operation, the processor 202 is configured to execute software stored within the memory 210, to communicate data to and from the memory 210, and to generally control operations of the server 200 pursuant to the software instructions. The I / O interfaces 204 may be used to receive user input from and / or for providing system output to one or more devices or components.

[0026] The network interface 206 may be used to enable the server 200 to communicate on a network, such as the communication network 104. The network interface 206 may include, for example, an Ethernet card or adapter or a Wireless Local Area Network (WLAN) card or adapter. The network interface 206 may include address, control, and / or data connections to enable appropriate communications on the network. A data store 208 may be used to store data. The data store 208 may include any of volatile memory elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, and the like)), nonvolatile memory elements (e.g., ROM, hard drive, tape, CDROM, and the like), and combinations thereof. Moreover, the data store 208 may incorporate electronic, magnetic, optical, and / or other types of storage media. In one example, the data store 208 may be located internal to the server 200, such as, for example, an internal hard drive connected to the local interface 212 in the server 200. Additionally, in another embodiment, the data store 208 may be located external to the server 200 such as, for example, an external hard drive connected to the I / O interfaces 204 (e.g., SCSI or USB connection). In a further embodiment, the data store 208 may be connected to the server 200 through a network, such as, for example, a network-attached file server.

[0027] The memory 210 may include any of volatile memory elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, etc.)), nonvolatile memory elements (e.g., ROM, hard drive, tape, CDROM, etc.), and combinations thereof. Moreover, the memory 210 may incorporate electronic, magnetic, optical, and / or other types of storage media. Note that the memory 210 may have a distributed architecture, where various components are situated remotely from one another but can be accessed by the processor 202. The software in memory 210 may include one or more software programs, each of which includes an ordered listing of executable instructions for implementing logical functions. The software in the memory 210 includes a suitable Operating System (O / S) 214 and one or more programs 216. The operating system 214 essentially controls the execution of other computer programs, such as the programs 216, and provides scheduling, input-output control, file and data management, memory management, and communication control and related services. The one or more programs 216 may be configured to implement the various processes, algorithms, methods, techniques, etc. described herein.Example User Device Architecture

[0028] FIG. 3 is a block diagram of the user device 300, which may be used with the weak credential identification system 100 or the like. Specifically, the user device 300 can form a device used by one of the users 102, and this may include common devices such as laptops, smartphones, tablets, netbooks, personal digital assistants, MP3 players, cell phones, e-book readers, IoT devices, servers, desktops, printers, televisions, streaming media devices, and the like. The user device 300 can be a digital device that, in terms of hardware architecture, generally includes a processor 302, I / O interfaces 304, a network interface 306, a data store 308, and memory 310. It should be appreciated by those of ordinary skill in the art that FIG. 3 depicts the user device 300 in an oversimplified manner, and a practical embodiment may include additional components and suitably configured processing logic to support known or conventional operating features that are not described in detail herein. The components (302, 304, 306, 308, and 310) are communicatively coupled via a local interface 312. The local interface 312 can be, for example, but not limited to, one or more buses or other wired or wireless connections, as is known in the art. The local interface 312 can have additional elements, which are omitted for simplicity, such as controllers, buffers (caches), drivers, repeaters, and receivers, among many others, to enable communications. Further, the local interface 312 may include address, control, and / or data connections to enable appropriate communications among the aforementioned components.

[0029] The processor 302 is a hardware device for executing software instructions. The processor 302 can be any custom made or commercially available processor, a CPU, an auxiliary processor among several processors associated with the user device 300, a semiconductor-based microprocessor (in the form of a microchip or chipset), or generally any device for executing software instructions. When the user device 300 is in operation, the processor 302 is configured to execute software stored within the memory 310, to communicate data to and from the memory 310, and to generally control operations of the user device 300 pursuant to the software instructions. In an embodiment, the processor 302 may include a mobile-optimized processor such as optimized for power consumption and mobile applications. The I / O interfaces 304 can be used to receive user input from and / or for providing system output. User input can be provided via, for example, a keypad, a touch screen, a scroll ball, a scroll bar, buttons, a barcode scanner, and the like. System output can be provided via a display device such as a Liquid Crystal Display (LCD), touch screen, and the like.

[0030] The network interface 306 enables wireless communication to an external access device or network. Any number of suitable wireless data communication protocols, techniques, or methodologies can be supported by the network interface 306, including any protocols for wireless communication. The data store 308 may be used to store data. The data store 308 may include any of volatile memory elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, and the like)), nonvolatile memory elements (e.g., ROM, hard drive, tape, CDROM, and the like), and combinations thereof. Moreover, the data store 308 may incorporate electronic, magnetic, optical, and / or other types of storage media.

[0031] The memory 310 may include any of volatile memory elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, etc.)), nonvolatile memory elements (e.g., ROM, hard drive, etc.), and combinations thereof. Moreover, the memory 310 may incorporate electronic, magnetic, optical, and / or other types of storage media. Note that the memory 310 may have a distributed architecture, where various components are situated remotely from one another, but can be accessed by the processor 302. The software in memory 310 can include one or more software programs, each of which includes an ordered listing of executable instructions for implementing logical functions. In the example of FIG. 3, the software in the memory 310 includes a suitable operating system 314 and programs 316. The operating system 314 essentially controls the execution of other computer programs and provides scheduling, input-output control, file and data management, memory management, and communication control and related services. The programs 316 may include various applications, add-ons, etc. configured to provide end-user functionality with the user device 300. For example, example programs 316 may include, but not limited to, a web browser, social networking applications, streaming media applications, games, mapping and location applications, electronic mail applications, financial applications, and the like. In a typical example, the end-user typically uses one or more of the programs 316 along with a network such as the weak credential identification system 100.Exemplary Enterprise Environment Utilizing Weak Credential Identification System

[0032] FIG. 4 is a network diagram of an enterprise 400 utilizing the weak credential identification system 100. Specifically, the enterprise 400 can represent a corporate, organizational, or institutional network that employs secure methods for credential management. The enterprise 400 may include various computing devices such as laptops, desktops, tablets, smartphones, and other user-centric equipment. These computing devices, represented as user devices 300A and 300B, are operated by corresponding users 102A and 102B, which can be either local or remote users accessing the enterprise 400.

[0033] In an illustrated example, the user device 300A represents a local computing device, such as a laptop or desktop, physically located within the enterprise 400. The local user 102A interacts with various enterprise resources through the user device 300A, accessing internal applications and services. The enterprise 400 also supports remote access capabilities, as exemplified by the user device 300B, which may be a smartphone, tablet, or other mobile device. The remote user 102B can securely connect to the enterprise network from external locations through secure protocols, ensuring continuous productivity regardless of geographic constraints.

[0034] The enterprise 400 includes a directory server 402, an essential component within an enterprise infrastructure for managing authentication and authorization. In an embodiment, the directory server 402 may be an Active Directory domain controller (ADDC), widely recognized as the centralized repository for user identities, credentials, and access permissions within enterprise environments. The ADDC facilitates secure user logins, resource access controls, and ensures compliance with internal security policies.

[0035] While the ADDC is a common implementation, the directory server 402 may alternatively include other identity management servers such as Lightweight Directory Access Protocol (LDAP) servers, Red Hat Directory Server, Oracle Directory Server Enterprise Edition (DSEE), Apache Directory Server, or cloud-based directory services like Azure Active Directory or AWS Directory Service. These directory servers similarly provide centralized credential management, authentication, and authorization capabilities tailored to specific organizational needs.

[0036] The directory server 402 includes a data store 406, which is configured to securely store and manage credential data used within the enterprise 400. The data store 406 can include any appropriate data storage solution, such as relational databases, NoSQL databases, file-based storage systems, or hybrid cloud storage solutions, based on the specific scalability and performance requirements of the enterprise 400. Specifically, the data store 406 maintains user credential hashes 408, representing cryptographically secured representations of user passwords. The user credential hashes 408 may typically include NT LAN Manager (NTLM) hashes, Secure Hash Algorithm (SHA)-based hashes, bcrypt hashes, or other cryptographic hash functions compliant with industry security standards. The hashing ensures that plaintext passwords are never stored or transmitted, substantially reducing the risk associated with credential leakage.

[0037] Hashing algorithms such as NT LAN Manager (NTLM), SHA-1, and SHA-256 are specifically referenced due to their prevalent use in enterprise directory environments and varying degrees of security strength. Although some algorithms, notably SHA-1 and NTLM, are widely considered deprecated or insecure by current industry standards due to vulnerabilities, they continue to be used in legacy systems for backward compatibility and interoperability with older authentication protocols or services. SHA-256 represents a more robust, currently recommended hashing algorithm offering improved cryptographic security. The inclusion and handling of multiple hashing algorithms enable comprehensive analysis and accommodate diverse enterprise deployments, especially those transitioning from legacy authentication methods to modern, secure standards.

[0038] According to various embodiments, the user credential hashes 408 stored within the data store 406 may also include historical credential hashes, preserving password history according to enterprise password policies. Such historical credential hashes facilitate checks against password reuse, ensuring users do not cycle through previously used passwords, thus enforcing stringent password policies within the enterprise 400.

[0039] Additionally, the weak credential identification system 100 supports multi-tenancy configurations, where multiple independent enterprises or organizational units can simultaneously utilize the weak credential identification system 100. Each tenant enterprise can independently configure policies, rules, and settings, ensuring a tailored security experience aligned with organizational security requirements and compliance frameworks. In some embodiments, the enterprise 400 may incorporate multiple directory servers 402, supporting high availability, redundancy, load balancing, and geographic distribution. Multiple directory servers 402 provide scalability to accommodate a large number of users 102 and resource requests, while also enhancing the resiliency and continuity of credential management operations within the enterprise 400.

[0040] The user credential hashes 408 stored in the data store 406 are systematically categorized and managed based on their characteristics, such as hash algorithm used, timestamp of hash generation, associated user accounts, and relevant metadata. This structured categorization facilitates efficient retrieval and utilization during credential validation and security monitoring processes. Credential hashing policies within the enterprise 400 may be periodically reviewed and updated, reflecting changes in cryptographic standards and threat landscapes. Regular updates to hashing policies ensure continuous alignment with industry best practices, maintaining a robust security posture against evolving credential threats. By maintaining centralized management of the user credential hashes 408, the directory server 402 simplifies administrative overhead associated with user authentication and authorization tasks. Centralized credential storage streamlines security auditing, facilitates rapid incident response, and ensures consistent enforcement of credential security policies across the enterprise 400.Agent Deployment by Weak Credential Identification System

[0041] FIG. 5 is a network diagram illustrating deployment of an agent 500 on the directory server 402 by the weak credential identification system 100. The deployment of the agent 500 is triggered by an enterprise's requirement to proactively identify and mitigate weak user credentials stored within their directory server 402, thereby significantly enhancing their internal security posture. The deployment can be initiated by an enterprise administrator. Once deployed, the agent 500 resides on the directory server 402, continuously operational to facilitate credential security management without interruption.

[0042] The agent 500, as illustrated in FIG. 5, is specifically deployed to operate locally on the directory server 402 to preserve privacy and ensure sensitive credential hashes remain within confines of the enterprise 400. The local operational characteristic of the agent 500 addresses enterprises' reluctance to transmit critical credential hashes externally, thus enhancing trust and compliance with enterprise data privacy policies. This local deployment is essential in mitigating risks associated with credential exposure and unauthorized access, further supported by eliminating the necessity of transmitting sensitive information beyond the enterprise network.

[0043] Upon deployment, the agent 500 receives a plurality of Bloom filters 502 from the weak credential identification system 100 through the communication network 104. The Bloom filters 502 are created by the weak credential identification system 100 and contain known weak credential hashes derived from sources such as the public data breaches, commonly used password dictionaries, and the predefined key-adjacency patterns. Each Bloom filter 502 efficiently encapsulates a substantial dataset, allowing rapid, secure, and privacy-preserving detection of weak credential hashes without significant computational overhead.

[0044] Specifically, the Bloom filters 502 received by the agent 500 may include hashed credentials from publicly accessible sources, such as the Have I Been Pwned (HIBP) database, which contains over one billion compromised credential hashes from the public data breaches. The collected credentials are incorporated as weak credential hashes into the plurality of Bloom filters 502. Additional sources incorporated into the Bloom filters 502 encompass the leaked dictionaries widely utilized by the adversaries, and the predefined key-adjacency patterns or keyboard walks such as “qwerty,”“asdfgh,” and “1qaz@wsx3edc.” The Bloom filters 502 can also include dynamically generated credential lists based on the user-supplied keywords provided by enterprise administrators, ensuring customized and comprehensive security coverage tailored to individual enterprise requirements.

[0045] The agent 500 performs a test to process the Bloom filters 502 to analyze the user credential hashes 408 stored in the data store 406 of the directory server 402. Specifically, the agent 500 performs local checks to identify if any user credential hashes 408 correspond with entries contained within the received Bloom filters 502. The test executed by the agent 500 rapidly determines the presence of potentially weak credentials without revealing or transmitting the underlying credential hashes externally.

[0046] Bloom filters inherently produce false positives due to their probabilistic nature, as multiple hash functions map different inputs onto a shared bit array. When multiple hashes overlap within the same bits, a Bloom filter may incorrectly indicate membership for items not originally included. The acceptable false-positive rate—such as approximately 0.1% as described herein—is chosen to balance accuracy with computational efficiency and memory usage. To mitigate the impact of these false positives, credentials flagged by the Bloom filter are typically subjected to secondary verification steps, such as detailed manual review, additional cryptographic checks, or integration with other security mechanisms. This two-stage approach ensures robust credential analysis while maintaining efficiency and privacy.

[0047] During the test performed by agent 500, any user credential hash 408 identified as weak or compromised is flagged with appropriate metadata for subsequent review and remediation. The agent 500 maintains efficiency and privacy using the Bloom filters 502, which significantly reduce the data footprint and computational demands associated with evaluating extensive credential hash datasets. Thus, the agent 500 provides near-real-time detection capabilities, for proactive security management within the enterprise 400. It is important to note that the Bloom filters 502 are probabilistic data structures; thus, there is a possibility of false-positive identification. However, the accuracy of Bloom filters 502 in the present embodiment has been optimized, achieving a false positive rate of approximately 0.1%, thereby ensuring a high level of reliability and effectiveness in credential security management.

[0048] Upon identifying the weak user credential hashes, the agent 500 compiles metadata indicative of detected weak credentials, including details such as associated user identifiers, timestamp of detection, and categories or types of weaknesses identified (e.g., keyboard walks, leaked passwords, or easily crackable passwords). This metadata, importantly excluding actual credential hashes, is securely transmitted to the weak credential identification system 100 through encrypted channels, preserving enterprise confidentiality and compliance requirements.

[0049] The types of weaknesses can include:

[0050] (1) Leaked Credential: Credentials previously exposed in public breaches or leaks (e.g., passwords found in databases such as "Have I Been Pwned").

[0051] (2) Keyboard Pattern Password: Passwords created using predictable keyboard sequences or adjacent keys (e.g., "qwerty," "123456," "1qaz2wsx").

[0052] (3) Crackable Password: Passwords easily guessable by automated password-cracking techniques or simple modifications of common passwords (e.g., "password123," "admin!," "summer2024").

[0053] (4) Reused Password: Passwords previously used by the same user across multiple password resets or different accounts (e.g., using "MyPass123" repeatedly after resets).

[0054] (5) Shared Password: Password hashes found duplicated across multiple user accounts within the directory, indicating users sharing identical passwords (e.g., two different user accounts both using the password "Company2024!").

[0055] In addition to real-time identification of the weak credential hashes, the agent 500 supports detection of insecure password practices prevalent within the enterprise 400, such as password reuse and rotation among historical passwords. The agent 500 accesses the historical credential hashes stored in the data store 406, systematically evaluating these historical credential hashes against the Bloom filters 502 to identify patterns indicative of insecure password practices, thus further strengthening enterprise credential policies.

[0056] To address scalability and performance requirements within large enterprise environments, the agent 500 supports concurrent processing of multiple Bloom filters 502, efficiently managing high volumes of credential data without adversely impacting performance of the directory server. The capability to handle multiple concurrent Bloom filters 502 ensures that credential evaluation remains responsive and effective, irrespective of the enterprise's size and complexity. Additionally, the agent 500 maintains audit logs detailing credential evaluation activities, which serve as an important documentation for compliance reporting and internal security audits. The audit logs generated by the agent 500 include comprehensive records of credential checks, identified weak credentials, timestamps, and actions taken, thus enabling enterprise administrators to maintain transparency and accountability in their credential security management practices.

[0057] The agent 500 further accommodates periodic updates of the Bloom filters 502, reflecting evolving threat landscapes and emerging credential compromise events. Updates to the Bloom filters 502 are seamlessly deployed to the agent 500 by the weak credential identification system 100 via the communication network 104, ensuring continuous and adaptive security coverage against the latest credential-related threats. By integrating the agent 500 within the directory server 402, the enterprise 400 can significantly streamline its credential security operations, reducing administrative overhead associated with credential monitoring and remediation activities. The localized operational approach provided by the agent 500 eliminates external dependency and latency issues commonly associated with remote credential validation services, delivering enhanced operational efficiency and security effectiveness.

[0058] The agent 500 further ensures that no sensitive user credential hashes 408 leave the directory server 402 during analysis or testing, thereby protecting against any Adversary-in-the-middle (AiTM) scenarios. Since the user credential hashes 408 are tested locally and not transmitted externally, the AiTM cannot infer or record sensitive credential information. Even if the Bloom filters 502 are intercepted during transmission over compromised communication channels, they do not reveal specific hashes, ensuring the privacy and security of the enterprise’s credential data.

[0059] In various embodiments, the weak credential identification system 100 further incorporates a Crackable‑Password Generation that programmatically expands corpus of the weak credential hashes beyond credentials leaked from the public data breaches. The Crackable‑Password Generation emulates adversary password cracking methodologies, such as best64 and dive Hashcat rule families, against well‑known leaked dictionaries (e.g., Seclists compilations) to derive additional candidate passwords that are highly susceptible to the adversary password cracking methodologies. Each candidate password is hashed using same algorithms employed by the directory server 402 (e.g., NTLM, SHA‑1, SHA‑256) and the resulting hashes are appended to the weak credential hashes prior to generating the Bloom filters 502.

[0060] The weak credential identification system 100 also relies on the user-supplied keywords supplied by the enterprise administrators (for example, “zscaler,”“zerotrust,” or an internal product name). The weak credential identification system 100 applies same Hashcat rule families to each supplied keyword, adding common prefixes, suffixes, l33t substitutions, and numeric sequences, to generate a bespoke dictionary that reflects enterprise‑specific password‑selection bias. Hashes derived from this bespoke dictionary are likewise incorporated into the plurality of weak credential hashes and ultimately embedded in the Bloom filters 502 delivered to the agent 500.

[0061] Before generating Bloom filters, the weak credential identification system 100 removes duplicates from the weak credential hashes in a defined priority order: Static List → Keyboard Walk → HIBP → Dynamic List (user-specific keywords) → Rule Set (crackable passwords). For example, if a password appears in multiple categories, it will be retained only in the earliest category according to this order. The static list mainly includes well known password list and leaked passwords.

[0062] The weak credential identification system 100 also performs password policy compliance checks. Specifically, credentials must meet default Active Directory password policy requirements, such as including three of the following criteria: an uppercase character, a lowercase character, a number, or a special character. The credentials failing the password policy compliance checks are automatically categorized under the static list.

[0063] Specifically, credentials are checked against default Active Directory password complexity rules, which typically require passwords to be at least eight characters long and include characters from at least three of the following categories: uppercase letters (A–Z), lowercase letters (a–z), digits (0–9), and special characters (e.g., !, $, #, %). Credentials that fail to satisfy these minimum complexity requirements are automatically categorized under the static list, ensuring alignment with common enterprise password policies and industry best practices.

[0064] FIG. 6 is a flow diagram illustrating the identification of the weak user credential hashes by the weak credential identification system 100. Initially, the weak credential identification system 100 transmits the plurality of Bloom filters 502 via the communication network 104 to the directory server 402. The directory server 402 hosts the agent 500 configured to locally store and process the Bloom filters 502. Subsequently, the agent 500 executes a local test against the user credential hashes 408 using the received Bloom filters 502. This test identifies the weak user credential hashes present within the directory server 402 without transmitting sensitive credential data outside the enterprise network.

[0065] Upon identifying the weak user credential hashes, the agent 500 generates result data indicating the detection of the weak user credential hashes. The agent 500 securely transmits the result data to the weak credential identification system 100 via the communication network 104. The transmitted result data includes relevant metadata such as user identifiers, timestamps, identified weakness types, and source categories, but does not include the actual user credential hashes, ensuring the enterprise's credential security and privacy. The enterprise 400 may visualize password reuse and overlap through dashboard elements, displaying metrics like the overall password overlap percentage and privileged account overlap percentage.Process for Identifying Weak User Credential Hashes

[0066] FIG. 7 is a flow chart of a process 700 for identifying the weak user credential hashes. In various embodiments, the process 700 can be contemplated as a method having steps, a processing device configured to implement the steps, the weak credential identification system 100 configured to implement the steps, and as a non-transitory computer-readable medium storing instructions for programming one or more processors to execute the steps. The process 700 includes deploying an agent on a directory server, wherein the agent is configured to access user credential hashes stored in the directory server (step 702); receiving, at the agent deployed on the directory server, a plurality of Bloom filters generated by the weak credential identification system, each Bloom filter representing a respective subset of weak credential hashes (step 704); performing, by the agent and for each of the user credential hashes, a test against the plurality of Bloom filters (step 706); and classifying a user credential hash as weak in response to determining that the user credential hash is present in at least one of the plurality of Bloom filters during the test (step 708).

[0067] The process 700 can further include transmitting, by the agent, result data generated for each user credential hash classified as weak to the weak credential identification system. The generating of the plurality of Bloom filters can include sorting a plurality of weak credential hashes, grouping a predetermined number of weak credentials from the plurality of sorted weak credential hashes into a subset, and creating a Bloom filter for each subset. The generating of the plurality of Bloom filters can include collecting credentials leaked from public data breaches and incorporating the collected credentials as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include generating keyboard walk passwords using predefined key-adjacency patterns and incorporating hashes of the keyboard walk passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include emulating adversary password cracking methodologies to generate candidate passwords and incorporating hashes of the candidate passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include identifying historical password reuse patterns across password reset events and incorporating hashes of previously used passwords as weak credential hashes into the plurality of Bloom filters. The generating of the plurality of Bloom filters can include identifying user credential hashes that are shared across multiple accounts in the directory server and incorporating the shared user credential hashes as weak credential hashes into the plurality of Bloom filters. The test performed by the agent against the plurality of Bloom filters can be executed without transmitting the user credential hashes outside the directory server. The result data generated for each user credential hash classified as weak can include a weakness type. The weakness type can include a leaked credential, a keyboard pattern password, a crackable password, a reused password, and a shared password.Processing Circuitry and Non-transitory Computer-readable Mediums

[0068] Those skilled in the art will recognize that the various embodiments may include processing circuitry of various types. The processing circuitry might include, but are not limited to, general-purpose microprocessors; central processing units (CPUs); digital signal processors (DSPs); specialized processors such as network processors (NPs) or network processing units (NPUs), graphics processing units (GPUs); field programmable gate arrays (FPGAs); programmable logic device (PLD), tensor processing units (TPUs), or similar devices. The processing circuitry may operate under the control of unique program instructions stored in their memory (software and / or firmware) to execute, in combination with certain non-processor circuits, either a portion or the entirety of the functionalities described for the methods and / or systems herein. Alternatively, these functions might be executed by a state machine devoid of stored program instructions, or through one or more application-specific integrated circuits (ASICs), where each function or a combination of functions is realized through dedicated logic or circuit designs. Naturally, a hybrid approach combining these methodologies may be employed. For certain disclosed embodiments, a hardware device, possibly integrated with software, firmware, or both, might be denominated as circuitry, logic, or circuits "configured to" or "adapted to" execute a series of operations, steps, methods, processes, algorithms, functions, or techniques as described herein for various implementations.

[0069] Additionally, some embodiments may incorporate a non-transitory computer-readable storage medium that stores computer-readable instructions for programming any combination of a computer, server, appliance, device, module, processor, or circuit (collectively “system”), each equipped with processing circuitry. These instructions, when executed, enable the system to perform the functions as delineated and claimed in this document. Such non-transitory computer-readable storage mediums can include, but are not limited to, hard disks, optical storage devices, magnetic storage devices, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, etc. The software, once stored on these mediums, includes executable instructions that, upon execution by one or more processors or any programmable circuitry, instruct the processor or circuitry to undertake a series of operations, steps, methods, processes, algorithms, functions, or techniques as detailed herein for the various embodiments.Conclusion

[0070] In this disclosure, including the claims, the phrases “at least one of” or “one or more of,” when referring to a list of items, encompass any combination of those items, including any single item. For example, the expressions “at least one of A, B, or C,”“at least one of A, B, and C,”“one or more of A, B, or C,” and “one or more of A, B, and C” cover the possibilities of only A, only B, only C, any combination of A and B, A and C, B and C, or all three (A, B, and C). This also includes scenarios involving more or fewer elements than A, B, and C. Additionally, the terms “comprise,”“comprises,”“comprising,”“include,”“includes,” and “including” are intended to be open-ended and non-limiting, specifying essential elements or steps without excluding additional elements or steps—even where a claim or multiple claims contain more than one such term.

[0071] It should be understood that the drawings, descriptions, and examples provided herein merely illustrate various aspects and embodiments of the disclosure. Numerous modifications, changes, or arrangements may be made without departing from the spirit and scope of the disclosure. Although certain steps, operations, instructions, blocks, or similar elements (collectively referred to as “steps”) are depicted or described in a specific order, such ordering is not necessarily required unless explicitly stated. Nor does it imply that all depicted steps are essential to achieve the desired results. Extra steps may be performed before, after, concurrently, or interspersed with the illustrated or described steps. Multitasking, parallel processing, and other types of concurrent execution are also contemplated. Further, the separation of system components or steps described should not be interpreted as mandatory in all implementations; such components, steps, or elements may be integrated into a single configuration or distributed across multiple ones.

[0072] While this disclosure has been shown and described through specific embodiments and examples, those skilled in the art will recognize that many variations and modifications can provide equivalent functionality or yield comparable results. Such alternative embodiments and variations, even if not explicitly mentioned here, fall within the spirit and scope of this disclosure if they achieve the stated objectives and adhere to the underlying principles. Accordingly, they are envisioned and encompassed by the disclosure and protected by the associated claims. In other words, the present disclosure anticipates combinations and permutations of the described elements, operations, steps, methods, processes, algorithms, functions, techniques, modules, and circuits in any feasible sequence or arrangement—whether collectively, separately, or in subsets—thereby broadening the range of potential embodiments.

Claims

1. A method implemented by a weak credential identification system, the method comprising steps of:deploying an agent on a directory server, wherein the agent is configured to access user credential hashes stored in the directory server;receiving, at the agent deployed on the directory server, a plurality of Bloom filters generated by the weak credential identification system, each Bloom filter representing a respective subset of weak credential hashes;performing, by the agent and for each of the user credential hashes, a test against the plurality of Bloom filters; andclassifying a user credential hash as weak in response to determining that the user credential hash is present in at least one of the plurality of Bloom filters during the test.

2. The method of claim 1, wherein the steps further include transmitting, by the agent, result data generated for each user credential hash classified as weak to the weak credential identification system.

3. The method of claim 1, wherein generating the plurality of Bloom filters includes:sorting a plurality of weak credential hashes;grouping a predetermined number of weak credentials from the plurality of sorted weak credential hashes into a subset; andcreating, for each subset, a Bloom filter.

4. The method of claim 1, wherein generating the plurality of Bloom filters includes:collecting credentials leaked from public data breaches; andincorporating the collected credentials as weak credential hashes into the plurality of Bloom filters.

5. The method of claim 1, wherein generating the plurality of Bloom filters includes:generating keyboard walk passwords using predefined key-adjacency patterns; andincorporating hashes of the keyboard walk passwords as weak credential hashes into the plurality of Bloom filters.

6. The method of claim 1, wherein generating the plurality of Bloom filters includes:emulating adversary password cracking methodologies to generate candidate passwords; andincorporating hashes of the candidate passwords as weak credential hashes into the plurality of Bloom filters.

7. The method of claim 1, wherein generating the plurality of Bloom filters includes:identifying historical password reuse patterns across password reset events; andincorporating hashes of previously used passwords as weak credential hashes into the plurality of Bloom filters.

8. The method of claim 1, wherein generating the plurality of Bloom filters includes:identifying user credential hashes that are shared across multiple accounts in the directory server; andincorporating the shared user credential hashes as weak credential hashes into the plurality of Bloom filters.

9. The method of claim 1, wherein the test performed by the agent against the plurality of Bloom filters is executed without transmitting the user credential hashes outside the directory server.

10. The method of claim 2, wherein the result data generated for each user credential hash classified as weak includes a weakness type, wherein the weakness type includes a leaked credential, a keyboard pattern password, a crackable password, a reused password, and a shared password.

11. A non-transitory computer-readable storage medium having computer-readable code stored thereon for programming one or more processors of a weak credential identification system to perform steps of:deploying an agent on a directory server, wherein the agent is configured to access user credential hashes stored in the directory server;receiving, at the agent deployed on the directory server, a plurality of Bloom filters generated by the weak credential identification system, each Bloom filter representing a respective subset of weak credential hashes;performing, by the agent and for each of the user credential hashes, a test against the plurality of Bloom filters; andclassifying a user credential hash as weak in response to determining that the user credential hash is present in at least one of the plurality of Bloom filters during the test.

12. The non-transitory computer-readable storage medium of claim 11, wherein the steps further include transmitting, by the agent, result data generated for each user credential hash classified as weak to the weak credential identification system.

13. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:sorting a plurality of weak credential hashes;grouping a predetermined number of weak credentials from the plurality of sorted weak credential hashes into a subset; andcreating, for each subset, a Bloom filter.

14. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:collecting credentials leaked from public data breaches; andincorporating the collected credentials as weak credential hashes into the plurality of Bloom filters.

15. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:generating keyboard walk passwords using predefined key-adjacency patterns; andincorporating hashes of the keyboard walk passwords as weak credential hashes into the plurality of Bloom filters.

16. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:emulating adversary password cracking methodologies to generate candidate passwords; andincorporating hashes of the candidate passwords as weak credential hashes into the plurality of Bloom filters.

17. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:identifying historical password reuse patterns across password reset events; andincorporating hashes of previously used passwords as weak credential hashes into the plurality of Bloom filters.

18. The non-transitory computer-readable storage medium of claim 11, wherein generating the plurality of Bloom filters includes:identifying user credential hashes that are shared across multiple accounts in the directory server; andincorporating the shared user credential hashes as weak credential hashes into the plurality of Bloom filters.

19. The non-transitory computer-readable storage medium of claim 11, wherein the test performed by the agent against the plurality of Bloom filters is executed without transmitting the user credential hashes outside the directory server.

20. The non-transitory computer-readable storage medium of claim 12, wherein the result data generated for each user credential hash classified as weak includes a weakness type, wherein the weakness type includes a leaked credential, a keyboard pattern password, a crackable password, a reused password, and a shared password.