In today’s blog post, we will be going over how to create honey folders with no additional tooling.

Cyber Deception allows for the placement of traps with no business value, “normal” is defined as no interaction.

Its value lies in being probed, attacked, or compromised.

Any interaction is abnormal and thus actionable.

We will be leveraging a Desktop.ini file, which provides us with the ability to load icons from a remote location.

NOTE: To enable this feature, you have to create the value `”EnableShellShortcutIconRemotePath”=dword:00000001`

in the registry key `[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]`

 

STEPS:

1. Create the Desktop.ini file with the following content:

NOTE: Adjust the domain name to your use case; the domain does not have to exist.

You can encode information in the domain name such as an ID for the honey folder and client information using environment variables.

 

2. Give the folder and the Desktop.ini file the system attribute:

You might also want to make the Desktop.ini file hidden. In this case you would use the following command:

After completing these steps, every time someone opens the folder that contains the honey folder, a DNS request will be made.

To have the DNS request logged, you should include the following in your Sysmon configuration under Event ID 22.

After ingesting the Sysmon logs into your SIEM you have a high-fidelity detection mechanism, if implemented correctly, with almost zero false positives.

 

 

 

 

 

 

 

 

 

 

 

 

 

Author

<a href="https://blackcell.io/peter-szollosi/" target="_blank">Péter Szöllősi</a>

Péter Szöllősi

OFFENSIVE SECURITY MANAGER

Peter has been the Head of Offensive Security at Black Cell for five years, where he manages the pentester team responsible for providing high-quality ethical hacking services to clients to enhance their security posture. He also contributes to the maintenance and improvement of Black Cell’s security posture with internal and external audits.

Related Posts

Share This