Skip to content

This is a logon script used to detect the theft of credentials by tools such as Mimikatz

Notifications You must be signed in to change notification settings

SMAPPER/MimikatzHoneyToken

Repository files navigation

MimikatzHoneyToken

This is a logon script used to detect the theft of credentials by tools such as Mimikatz. This script is an AutoIT logon script that launches cmd.exe as a fake user account. It is intended to be ran as a logon script on windows systems.

Concept for using runas with /netonly came from Mark Baggett's blog on "Detecting Mimikatz Use On Your Network" found at https://isc.sans.edu/diary/Detecting+Mimikatz+Use+On+Your+Network/19311.

When an attacker runs a tool such as Mimikatz against a system running this script they will see the fake account and hopefully attempt to use it to gain access to other machines on the network. This enables defenders to catch this attempt by looking for the fake account with an IDS or looking for failed log on attempts in Windows event logs.

Recommendations:

  • Create IDS rules looking for traffic using the fake user and password. Also, consider creating IDS rules looking for the NTLM hash of the fake user.
  • Create log alarms looking for failed log on attempts from this user account.
  • Use something similar to powershell script (found in repository) to send email alerts

Check out the wiki for more information on how to use: https://github.com/SMAPPER/MimikatzHoneyToken/wiki

This solution would work great if you setup alerts on Event ID 4625.

Example, forward event ID 4625 to a Windows Server and use powershell to look for the "fake" account. If found, email or kick of some action.

About

This is a logon script used to detect the theft of credentials by tools such as Mimikatz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages