Skip to content

Purp1eW0lf/AidensHoneyPot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

AidensHoneyPot

Aiden's honeypot!

Code borrowed and ammended from Jordan Borean (@jborean93)

How does it work under the hood

First, one has to replace some registry keys from Explorer.exe (basic Windows Desktop GUI) with the honepot script.

This means when an adversary signs in or RDPs into a machine, they will be met with our honeypot and not the usual Windows UI

This will NOT break the OS, but it will make it harder to use.

To administrate / attack the machine after doing this, open Task Manager via ctl+alt+delete and under file open a new task

#confirm you're in the right spot
get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' | select Shell

#replace the reg key
set-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -name 'Shell' -value 'powershell.exe -WindowStyle Hidden C:\ahp.ps1'

#confirm replacement
get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' | select Shell

image

Once active

Your honeypot machine won't load a normal GUI, but a login UI that wastes an adversary's time and potentially forces them to burn a few passwords they might have collected.

image

Change details

A google chat API can be given in the script, to alert when the honeypot is used and what credential was attempted. It is currently commented out.

image

You can change all text, including username here

image

Pick up the script here

Offsec use

You could use this maliciously. You could run this script if you have a shell on a target's machine, and have the GUI pop up and the user input their creds only for it be sent to a google webhook that you control.

Noisy to bring this on disk though AND have it exfil to an external location (google chat)

About

Aiden's honeypot!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published