A Honeypot is an information system resource whose value lies in unauthorized or illicit use of that resource. – Lance Spitzner

As you might have guessed, the traffic which is attracted – and then diverted away or studied more closely, depending on the purpose – is of the malicious sort; that which comes from hackers, malware, and viruses.

Why do you need a honeypot on your network?

The main reason you need a honeypot on your network is because of the information it yields; something that no intrusion detection or prevention system can provide you with. Armed with the information, and the alerts they register, network administrators will become aware of the sort of attacks they are targeted for and have the fore-knowledge to figure out what they need to do to strengthen their defenses.

With that being said, there are two types of honeypots:

Corporate honeypot – this is a honeypot that is set up in a production environment and serves as a tool for studying attacks with the purpose of using the knowledge to further strengthen the network’s security.

Research honeypot – this is a honeypot that is used by researchers and with the hopes of studying attack methodologies and other characteristics like motives for attacks. Then, for example, using the knowledge to create defense solutions (antiviruses, anti-malware, etc.) that can prevent similar attacks in the future.

The data types that honeypots capture from (or about) the attackers can include, but is not limited to:

  • The usernames, roles, and privileges that the attackers use
  • The IP addresses of the network or host that are being using for the attack
  • What data is being accessed, altered or deleted
  • The actual keystrokes the attackers type out, which lets administrators see exactly what they are doing

Honeypots also help with keeping the attention of hackers diverted from the main network, averting the full force of an attack, until the administrators are ready to put the appropriate counter-action in place.

Finally, we need to mention the pros and cons of using a honeypot on your network (here is one for each side):

Pros of using a honeypot network

It is a low-cost security measure that could yield high-value information about your attackers.

Cons of using a honeypot network

It is not easy to set up and configure and it would be pure insanity to try and do so without an expert on hand; it could backfire and expose a network to worse attacks.It goes without saying, though, that honeypots are arguably the best way to catch a hacker or an attack just as it is happening. It allows administrators to go through the whole process step-by-step, following it all in real-time with each alert.

Where to find honeypot installation instructions

In this article we will focus on the strategy needed to successfully implement a honeypot on your network rather than the actual step-by-step installation of the software solutions themselves. But, for those of you that do need to see the honeypot solutions being installed, there are some great sites and videos out there. Our recommendations would be:

  • Windows – for most of the world, this is the operating system (OS) of choice. And at Analytical Security, you get to set up a honeypot for this operating system and incorporate the cloud (Amazon AWS) in your network.
  • Linux – if you are the hands-on, Linux type of person who loves to go under the roof and tinker under the hood, here is a good site that shows how a honeypot is installed in that OS environment: Hacking Blogs.

Of course, in today’s world of YouTube tutorials, channels, and online digital communities like GitHub, it really isn’t that difficult to install a honeypot. It is the strategy and management that is truly the challenging part.

What are the best honeypot software solutions out there?

For anyone that is searching, there is a myriad of software solutions to choose from when it comes to honeypot solutions. Below, we have three of the more popular ones for you to choose from:

  • KF Sensor – this is a Windows-based honeypot that starts monitoring your network as soon as it has been set up. It is a full-fledged toolkit that was designed to mimic a honeypot – among many other useful features. But, the endearing character of this host-based Intrusion Detection System (IDS) is that it is highly configurable which makes it easier for administrators to defend their individual networks.
  • Glastopf – the best thing about this honeypot is that it is an open-source software solution which means that, like all collaborative solutions, it is the brainwork of many experts that will also continue to evolve and improve over time.

Glastopf is a Python web application honeypot that is a low-interaction network emulator. An interesting feature of this tool is that it can even emulate applications that are vulnerable to SQL injection attacks.

  • Ghost USB – what makes this honeypot stand out is that it specifically focuses its attention on malware that spreads via USB storage devices. This is a big deal considering that USB drives used by employees and authorized users continue to cause serious concerns.

Once installed, Ghost USB emulates a USB storage device and broadcasts itself over the network, with the intention of tricking any malware – that propagates using similar devices – into infecting it. Once detected, and secretly observed, it becomes easy for administrators to take the necessary steps and precautions.

Although these three honeypot solutions cover the majority of network security needs, you can find a more exhaustive list of solutions for various networking and security needs here.

Honeypot strategies

There are two types of honeypot implementation strategies you can adopt:

Low-interaction method

In this method you will be using fake data, folders, and databases as bait with the intent of monitoring attacks to see what would happen in a real-life data breaching scenario. Of course, they would have access to other peripheral information sets like IP addresses, usernames, and passwords – over which the administrators keep a keen eye. This is what you would want to do if you wanted to test some aspects of your network’s peripheral penetrability and the security of your authorization processes, for example.

High-interaction method

In this setup you would allow the attackers to interact with data, software (including OS), services, and hardware that appear to be as realistic as possible. The intent here is to gauge and capture the skills of the attackers. This setup is mostly used in research scenarios where the results of the studies are used to improve the defense capabilities of anti-viruses and anti-malware.

Take care!

Right, now let us look at some issues you will need to be aware of and careful about before you go about implementing your honeypot.

Legal issues

Whether it is to cover your behind in case you get sued by your clients for loss of their data or to make sure any charges you bring against intruders stick, you will need to have your legal wires untangled. While we are no legal entity we can still tell you that you will need to be aware of and careful with these three legal aspects:

  • Entrapment – the intruders can claim they didn’t know they weren’t supposed to access your network or the assets and data on it. They could counter-claim that you didn’t label it clearly enough and, taking it even farther, use the “entrapment” defense.
  • Privacyimplementing a honeypot needs to be done with extreme caution; this point cannot be stressed enough. One port left open by mistake or an administrator account that has been compromised could open the floodgates for attacks on your main network. This, in turn, could put the personal data of any of your clients in jeopardy. Should the attackers manage to share it with the world, you could find yourself the target of a lawsuit for breach of trust because the clients say they didn’t give you permission to share their data.
  • Liability – another way you could get yourself (or your network) in hot water is if the intruders decide to flip the crime right back at you by storing malicious content on your compromised servers and, even worse, guide traffic towards your IP addresses. Storing and distributing content like child pornography could make you see the inside of a courtroom real fast.

Word of advice: if you find any such incriminating content on your servers or being accessed via your network, the first thing you need to do is contact the authorities.

Being discovered – by the intruders

Setting up a honeypot requires anonymity for the real network that is behind it. Nothing would pose more of a risk to it than the intruders’ discovering that it is indeed a honeypot they are dealing with rather than the real deal.Because, with that realization, they could take it as a challenge to go on to find a way to breach the main network. And so, it becomes crucial that no telltale signs alert them to the fact that they are being monitored on a honeypot network. The common signs that usually give away the ploy – and should thus be avoided – are:

  • If the network is too easy to attack, or gain access to, it will make them suspicious or make them think it isn’t relevant enough to warrant their efforts.
  • If there are too many unnecessary services running, or one too many ports are open, it would be contrary to reality where normal Internet-facing devices are usually stripped of non-relevant services and only have the required ports open.
  • If the configurations of the running software solutions are still in their default settings, which almost never occurs in a live network.
  • If there is little-to-no traffic passing through the network indicating that there is nothing of interest on it and yet belongs to a major brand.
  • If too much effort has been put into making it look like they walked into a candy store with folders named “Passwords,” “Confidential,” or “Usernames.”
  • If the servers connected to the network appear to be empty or there is a lot of free diskspace it would show that they are of no value.

In short, your honeypot network and the devices on it should emulate a real-life connection, albeit with fake data and traffic. Put yourself in the attackers’ shoes and look at your network from their perspective.

Protect yourself well!

Don’t forget that you are stepping into the lion’s den when you opt for a honeypot setup. Therefore, here are a few points you need to always make sure are covered:

  • Never use real data – it doesn’t matter what sort it may be, create garbage data that looks real and use it as bait.
  • Never connect your honeypot to your main network – there should be no way that the attackers could hop on to your network via your honeypot; make sure it is isolated and keep it that way.
  • Use virtual machines – the safest hardware you can put on your honeypot is a virtual one; if you get hit, all you need to do is reboot and recreate it.
  • Firewalls and routers should be the only way to get to your honeypot – all incoming traffic should pass through them before they get on the fake network; configure ALL port numbers on them to point to the honeypot.
  • Usernames and roles should be unique to the honeypot – it would be insane to use the same ones that have access to your main network; create new credentials and use them for the honeypot only.
  • Always test, test, and test – never let a honeypot go live without throwing everything you have at it; in fact, invite experts to try to break through it and onto your main network before you let it face the Internet.

A good strategy to adopt here is to make sure no one except an administrator can access the honeypot and even then, they should use a dedicated login account that has zero privileges on the real network. Or, better yet, one that doesn’t exist on it at all.

Placement of the honeypot

Arguably, the ideal place to create your honeypot is in the demilitarized zone (DMZ). This is the area that is out of your main network, but still behind a router which faces the Internet.

Image attribution: en:User:Pbroks13 [Public domain], via Wikimedia Commons

Then again, you should know that not all attacks come from the Internet. In fact, studies have shown that the statistics on “insider threats” – those that come from behind your firewalls, and by people who are authorized to use your network – is quite scary at over 30 percent.This means it makes sense to also install an internal honeypot. This way, network administrators will have an insight into the malicious attempts – or the simple human errors causing them.The following video will help explain the purposes, advantages, and drawbacks of placing a honeypot in the various locations on a network:

Honeytokens

A good way to observe the tactics of an intruder is to place a honeytoken on a server or database. Honeytokens are files or data sets that would appear to be interesting to the attacker but are actually fake replicas of the real deal.

The honeytokens can also be embedded files or data sets in what would otherwise appear to be a legitimate server or database. It makes it easy for administrators to keep track of the data in case it is stolen – like whom it was stolen from and how it was stolen – as a different honeytoken is placed in each location.

Examples of this sort of honeytoken include email addresses and usernames or login IDs. If an attacker gains access to these pieces of information, it would be easy to know which database they have breached which would, in turn, help in figuring out how they managed to do it.

When used properly, and set up in a diverse number of ways, honeytokens and honeynets (two or more honeypots on the same network) can draw a pretty clear picture for the administrators.

Once the threats have occurred and then identified by the honeypot, alerts can be configured in response to attempts at access, modification, or deletion of the data or even when malicious packets and payloads have been discovered on the network.

Final thoughts on establishing a honeypot on your network

As we have seen, a honeypot will help you fight off attacks by drawing a clearer picture of your attackers and the methods they might use to attempt a breach. Placing it in the right position and configuring it well will help strengthen your network’s security, and any errors in doing so could lead to the demise of your main network.

And so,…

Always remember: a honeypot is, in itself, NOT a network security solution. It is in fact a tool that serves as a means to reach a secure network solution. Learn from it and tighten the screws using other network monitoring and protection solutions while making sure you have other live network security solutions as backups.