Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Patient Tools

Read, save, and share this guide

Use these quick tools to make this medical article easier to read, print, save, or share with a family member.

On this page14 sections

Article Summary

Imagine you have a jar of honey in your backyard to attract bears, so you can observe them or keep them away from your house. In the world of cybersecurity, this jar of honey is called a honeypot. Simply put, it's a fake computer system designed to trick hackers. It looks genuine and contains fake data, so when hackers try to break into it, security...

Key Takeaways

  • This article explains Types of Honeypots in simple medical language.
  • This article explains Addressing Security Threats with Honeypots in simple medical language.
  • This article explains Spotting Recon Activity for a HoneyHash in simple medical language.
  • This article explains Collecting Additional Forensics with Sysmon in simple medical language.
Before reading

RX Patient Tools

Use these quick guides before reading the article, or return to them when you need help preparing questions for a doctor.

Start here Choose the right pathway for symptoms, reports, medicines, or urgent warning signs. Disease article roadmap Read this topic step by step: meaning, symptoms, warning signs, diagnosis, treatment, prevention, and follow-up. Treatment planner Prepare questions about treatment choices, benefits, risks, side effects, and follow-up. Family & caregiver guide Organize symptoms, reports, medicines, questions, and follow-up safely. Nutrition & diet guide Prepare food, hydration, supplement, and medicine-timing questions safely. Prevention guide Organize risk factors, protective habits, screening, and warning signs. Recovery guide Prepare a safe plan for activity, rehabilitation, warning signs, and follow-up.
Educational health guideWritten for patient understanding and clinical awareness.
Reviewed content workflowUse writer and reviewer profiles for stronger trust.
Emergency safety firstUrgent warning signs are highlighted below.
Definition

Imagine you have a jar of honey in your backyard to attract bears, so you can observe them or keep them away from your house. In the world of cybersecurity, this jar of honey is called a honeypot. Simply put, it’s a fake computer system designed to trick hackers. It looks genuine and contains fake data, so when hackers try to break into it, security experts can watch, learn, and hopefully catch them.

Why Use Honeypots?

  1. Learn from Hackers: By watching how hackers interact with the honeypot, security experts can understand their techniques and prepare better defenses.
  2. Distract Hackers: While hackers are busy with the honeypot, they might leave the real systems alone.
  3. Gather Evidence: If there’s a legal case, the honeypot can provide evidence of malicious activity.

What is a Pass-the-Hash Attack?

Now, before we dive deeper, let’s talk about a technique hackers use called a Pass-the-Hash attack. Think of this as a thief stealing a master key. Instead of guessing the password, the hacker steals the ‘hash’ (a scrambled version of the password) and uses it to access secure areas. This is sneaky because they’re not actually figuring out the password; they’re just using its hashed version to fool the system.

How Can Honeypots Detect Pass-the-Hash Attacks?

  1. Fake Hashes: Honeypots can be set up with fake password hashes. If a hacker tries to use these, it’s a clear sign of an attempted Pass-the-Hash attack.
  2. Monitor and Alert: Honeypots can be designed to send alerts when someone tries to use a hash to login. This provides immediate knowledge of the attack.
  3. Track Behavior: By watching how hackers use stolen hashes in the honeypot, security teams can get insights into their methods and tools.

Making the Most of Honeypots:

  1. Place Strategically: Just like you’d place the jar of honey where you suspect bears might come, place honeypots where you think hackers might target.
  2. Keep Them Updated: Honeypots should look genuine. Regularly updating the software and fake data can keep them convincing.
  3. Analyze Data: The information collected from honeypots is gold. It can reveal patterns, tools, or even identities of attackers.

Types of Honeypots

Production Honeypots

production honeypot is used to defend a production network against cyberattacks by redirecting threat actors away from critical systems. It is typically deployed alongside other security tools and controls, such as a firewall, intrusion detection system (IDS) or anti-malware software.

Research Honeypots

research honeypot is deployed in a controlled environment like a research lab to capture and analyze suspicious traffic activity to uncover new and emerging threats. Research honeypots can also be used to help evaluate the effectiveness of various security tools and protection technologies in combatting new attacks.

Interaction Honeypots

Interaction honeypots are designed to attract threat actors to interact with some type of digital asset. They often simulate a vulnerable system, server or application that attackers commonly seek to exploit.  Interaction honeypots come in two categories.

  • Low interaction honeypots emulate the most common and vulnerable services and protocols. They are used only for basic detection and purposes and can be easily deployed due to their simplicity and small size.
  • High interaction honeypots simulate complete operating systems or complex application environments. Rather than an individual service or protocol, they emulate all system resources and components, including the kernel, drivers, services and applications. Due to their complexity, they are more challenging to deploy and maintain. Interpreting their findings may require some expertise as well.

Honeypot-as-a-Service

While honeypots can be deployed as an appliance or software application within an on-prem network, there are also many cloud solutions available today. A honeypot-as-a-service offering enables organizations to outsource the deployment and support of a honeypot solution to a third-party provider. A honeypot service provider has support personnel and cybersecurity experts that are highly trained and know how to fully leverage collected intelligence. They can also help customers with their incident response strategy.

Addressing Security Threats with Honeypots

Let’s see how honeypots can help address a common threat: Pass-the-Hash (PtH) attacks. PtH is a technique that attackers use to gain unauthorized access to a computer system by capturing the hashed password of a user and using it to authenticate using a tool like Mimikatz — without ever knowing the plaintext password.

Detecting Credential Theft with HoneyHash

To identify adversaries attempting Pass-the-Hash attacks, we will use a technique called HoneyHash. It involves planting credentials for a fictional account in LSASS memory on endpoints. If an adversary tries to misuse the credentials for a PtH attack, the event will be logged for analysis.

Using a Script to Roll out a Honeyhash

Let’s look at a possible ways to deploy honeyhashes across your environment using a script.

Step 1. Create the script.

To ensure that our HoneyHash will always be implanted in LSASS while a computer is running, we will create a computer startup script. It needs to do several key tasks:

  • Create a unique user ID for each endpoint — So that we can determine where an attack happened, we need to have the  script create a unique user ID each time it runs:
Honeypots and Their Role in Detecting Pass-the-Hash Attacks
  • Create a password — The script also needs to create a password that appears to be legitimate. We do this by hashing the name of the computer on which the script is run:
Honeypots and Their Role in Detecting Pass-the-Hash Attacks
  • Register the credentials — The script also needs to grab the domain and register the HoneyHash credentials:
Honeypots and Their Role in Detecting Pass-the-Hash Attacks
  • Log the HoneyHash credentials — Each time an endpoint starts up, the script will run, generating a new HoneyHash username and password, and we need to track those credentials so we can pinpoint attempts to steal them. The following code will register a new event source called HoneyHash, and put information about new HoneyHash credentials in the Windows event log:
Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Step 2. Push out the script to all desired endpoints and run it locally.

Once we have our script, there are multiple options for deploying it across the environment, including Group Policy and Intune.

At each startup, it will generate a unique HoneyHash user ID and password for that endpoint, and the log will detail the creation of the HoneyHash, including when it was implanted in memory:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Step 3. Analyze the data to spot attacks.

Now we need to collect and analyze the data. First, we need to identify when an attacker attempts to use the stolen credentials. Whether the attacker attempts a Pass-the-Hash attack or an interactive login, their action will result in a failed authentication event (Event ID 4625) that contains the user ID of our HoneyHash account, so it is easy to tie the event to the HoneyHash.

Here’s an event ID 4625 showing a failed logon attempt using the HoneyHash user ID Ad.Admin:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

This event shows the source computer and IP address where the authentication attempt originated from:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Spotting Recon Activity for a HoneyHash

However, some attacker are smart enough to not attempt to use credentials until they do some basic investigation through LDAP reconnaissance. For example, the attacker might check which groups the user account is a member of using the following command:

([ADSISearcher]"(samaccountname=AD.Admin)").FindOne().GetDirectoryEntry().memberOf

They would quickly see that the HoneyHash account is not a real account and therefore would not attempt to use it in a Pass-the-Hash attack:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Unfortunately, there is no easy way to detect this recon activity natively, and approaches such as network monitoring can be expensive. But Netwrix StealthINTERCEPT makes it easy to monitor for LDAP reconnaissance. The activity shows up on the dashboard like this:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

We can see who issued the LDAP query, and when and where it originated:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

We have caught the intruder even though they never tried to used the HoneyHash account in a PtH attack!

Collecting Additional Forensics with Sysmon

Knowing that an attacker stole our honeypot credentials is great, but to effectively respond to the attack we need to know more.  We may want to know what tool was used by the attacker to retrieve the credentials from LSASS memory.

To extend your data collection to better spot signs of attacks, you can build custom configuration files for Sysmon. Let’s create a config file that will detect two things:

  • Use of hacking tools that read the memory contents of processes like Lsass.exe
  • Process creation in PowerShell and Mimikatz (identifying the individual actor)

Here is the configuration file:

<Sysmon schemaversion="4.10"> <!-- Capture all hashes --> <HashAlgorithms>*</HashAlgorithms> <EventFiltering> <!-- Event ID 1 == Process Creation. --> <ProcessCreate onmatch="include"> <Image condition="end with">powershell.exe</Image> <Image condition="end with">mimikatz.exe</Image> </ProcessCreate> <!-- Event ID 5 == ProcessTerminate. --> <ProcessTerminate onmatch="include"/> <!-- Event ID 10 == ProcessAccess. --> <ProcessAccess onmatch="include"> <TargetImage condition="is">C:Windowssystem32lsass.exe</TargetImage> </ProcessAccess> <ProcessAccess onmatch="exclude"> <TargetImage condition="is">C:Windowssystem32svchost.exe</TargetImage> </ProcessAccess> <!-- Event ID 11 == FileCreate. --> <FileCreate onmatch="include"/> <!-- Event ID 12,13,14 == RegObject added/deleted, RegValue Set, RegObject Renamed. --> <RegistryEvent onmatch="include"/> <!-- Event ID 15 == FileStream Created. --> <FileCreateStreamHash onmatch="include"/> <!-- Event ID 17 == PipeEvent. --> <PipeEvent onmatch="include"/> </EventFiltering> </Sysmon>

All you need to do for the monitoring to kick in is import that configuration file into Sysmon, as follows:

.Sysmon64.exe -c .sysmon_config.xml

Then you will see events show up in your Windows Event Log (Applications and Services Logs/Microsoft/Windows/Sysmon/Operational). For example, here is an event with Event ID 10, which indicates access to LSASS memory:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

We can see that the tool used was Mimikatz, but not the user who launched the process. To find this critical detail, we can look at Event ID 1, which shows that the Michael.Bluth account performed the credential extraction:

Honeypots and Their Role in Detecting Pass-the-Hash Attacks

How Netwrix Can Help

The Netwrix Active Directory security solution is a comprehensive security solution for your Active Directory environment. It provides multiple features, including real-time auditing, user behavior analytics and permission analysis, that work together to help protect your organization’s critical assets against unauthorized access, including Pass-the-Hash attacks.

In particular, the following component products can help you defend against PtH attacks.

Netwrix StealthDEFEND offers two powerful techniques for  detect Pass-the-Hash attacks:

  • Honey tokens — You can inject fake credentials into LSASS memory on target machines and monitor for their use to spot adversaries attempting lateral movement.
  • Abnormal behavior detection — Baselining normal user behavior helps you spot anomalous use of accounts indicative of Pass-the-Hash and other lateral movement attacks. Behavior to look for includes:
    • An account is used from a host it never authenticated from before.
    • An account is used to access a host it never accessed before.
    • An account accesses a large number of hosts across the network in a way that contradicts its normal access patterns.

Netwrix StealthAUDIT helps mitigate the risk of Pass-the-Hash attacks being launched in the first place by empowering you to:

  • Minimize administrative rights on servers and desktops.
    • Monitor for suspicious PowerShell commands that can be used for performing credential extraction and Pass-the-Hash attacks.
    • Restrict highly privileged accounts from logging into lower privileged systems.
    • Ensure that LSA Protection is enabled on critical systems to make it more difficult to extract credentials from LSASS.
Doctor visit helper

Prepare before seeing a doctor

A simple rural-patient checklist to help you explain symptoms clearly, ask better questions, and avoid unsafe self-treatment.

Safety note: This is not a prescription or diagnosis. For severe symptoms, pregnancy danger signs, children with serious illness, chest pain, breathing difficulty, stroke-like weakness, or major injury, seek urgent care.

Which doctor may help?

Start with a registered doctor or the nearest qualified health center.

What to tell the doctor

  • Write when the problem started and how it changed.
  • Bring old prescriptions, investigation reports, and current medicines.
  • Write allergies, pregnancy status, diabetes, kidney/liver disease, and major past illnesses.
  • Bring one family member if the patient is weak, elderly, confused, or a child.

Questions to ask

  • What is the most likely cause of my symptoms?
  • Which danger signs mean I should go to hospital quickly?
  • Which tests are necessary now, and which can wait?
  • How should I take medicines safely and what side effects should I watch for?
  • When should I come for follow-up?

Tests to discuss

  • Vital signs: temperature, pulse, blood pressure, oxygen saturation
  • Basic physical examination by a clinician
  • CBC, urine test, blood sugar, or imaging only when clinically needed

Avoid these mistakes

  • Do not use antibiotics, steroid tablets/injections, or strong painkillers without proper medical advice.
  • Do not hide pregnancy, kidney disease, ulcer, allergy, or blood thinner use.
  • Do not delay emergency care when danger signs are present.

Medicine safety and first-aid guide

This section is for patient education only. It does not replace a doctor, pharmacist, or emergency care.

Safe first steps

  • Rest, drink safe water, and observe symptoms carefully.
  • Keep a written note of symptoms, duration, temperature, medicines already taken, and allergy history.
  • Seek medical care quickly if symptoms are severe, worsening, or unusual for the patient.

OTC medicine safety

  • For mild pain or fever, ask a registered pharmacist or doctor before using common over-the-counter pain/fever medicines.
  • Do not combine multiple pain medicines without advice, especially if you have kidney disease, liver disease, stomach ulcer, asthma, pregnancy, or take blood thinners.
  • Do not give adult medicines to children unless a qualified clinician advises it.

Avoid these mistakes

  • Do not start antibiotics without a proper medical decision.
  • Do not use steroid tablets or injections casually for quick relief.
  • Do not delay emergency care because of home remedies.

Get urgent help if

  • Severe symptoms, confusion, fainting, breathing difficulty, chest pain, severe dehydration, or sudden weakness need urgent medical care.
Medicine names, dose, and timing must be decided by a qualified clinician or pharmacist after checking age, pregnancy, allergy, other diseases, and current medicines.

For rural patients and family caregivers

Patient health record and symptom diary

Write your symptoms, medicines already taken, test results, and questions before visiting a doctor. This note stays on your device unless you print or copy it.

Doctor to discuss: Doctor / qualified healthcare provider
Tests to discuss with doctor
  • Basic vital signs: temperature, pulse, blood pressure, oxygen level if needed
  • Relevant blood, urine, imaging, or specialist tests only after clinical assessment
Questions to ask
  • What is the most likely cause of my symptoms?
  • Which warning signs mean I should go to emergency care?
  • Which tests are really needed now?
  • Which medicines are safe for my age, pregnancy status, allergy, kidney/liver/stomach condition, and current medicines?

Emergency warning signs such as chest pain, severe breathing difficulty, sudden weakness, confusion, severe dehydration, major injury, or loss of bladder/bowel control need urgent medical care. Do not wait for online information.

Safe pathway to proper treatment

Care roadmap for: Honeypots and Their Role in Detecting Pass-the-Hash Attacks

Use this simple roadmap to understand the next safe steps. It is educational and does not replace examination by a doctor.

Go to emergency care if you notice:
  • Severe or rapidly worsening symptoms
  • Breathing difficulty, chest pain, fainting, confusion, severe weakness, major injury, or severe dehydration
Doctor / service to discuss: Qualified healthcare provider; specialist depends on symptoms and examination.
  1. Step 1

    Check danger signs first

    If danger signs are present, seek emergency care and do not wait for online information.

  2. Step 2

    Record the symptom story

    Write when symptoms started, severity, medicines already taken, allergies, pregnancy status, and test results.

  3. Step 3

    Visit a qualified clinician

    A doctor, nurse, or qualified healthcare provider can examine you and decide which tests or treatment are needed.

  4. Step 4

    Do only useful tests

    Do tests after clinical assessment. Avoid unnecessary tests, random antibiotics, or repeated medicines without diagnosis.

  5. Step 5

    Follow up and return early if worse

    If symptoms worsen, new warning signs appear, or treatment is not helping, return for review quickly.

Rural patient practical tips
  • Take a written symptom diary and all previous prescriptions/test reports.
  • Do not hide medicines already taken, even herbal or over-the-counter medicines.
  • Ask which warning signs mean urgent referral to hospital.

This roadmap is for education. A real diagnosis and treatment plan requires history, examination, and clinical judgment.