Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SMAPPER/MimikatzHoneyToken
This is a logon script used to detect the theft of credentials by tools such as Mimikatz
https://github.com/SMAPPER/MimikatzHoneyToken
Last synced: 5 days ago
JSON representation
This is a logon script used to detect the theft of credentials by tools such as Mimikatz
- Host: GitHub
- URL: https://github.com/SMAPPER/MimikatzHoneyToken
- Owner: SMAPPER
- Created: 2015-05-05T21:39:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T18:55:15.000Z (over 9 years ago)
- Last Synced: 2024-08-03T12:15:43.244Z (3 months ago)
- Language: PowerShell
- Size: 574 KB
- Stars: 117
- Watchers: 15
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-csirt - MimikatzHoneyToken
README
# 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 alertsCheck 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.