![]() |
![]() "All warfare is based on deception." -Sun TzuIt's friday afternoon and i find myself mesmerized by the flurry of activity taking place on one of my computers connected to the Internet; it must be a slow evening in Russia. Someone has decided to play with a seemingly innocent Linux box. I've configured this host to appear as if it offers FTP and telnet services, although it actually offers no services at all – it's a Windows XP system that pretends to be a Linux host. Right now, someone from Russia is scanning this sweet host looking for open ports; they are even trying to log in to the fake FTP services. Unbeknownst to them, that sweet host is performing a reverse reconnaissance process on them—from port scanning to reverse DNS querying to trace routing. This host is one of our "honeypots." While they poke around and try to access services on that host, our honeypot software logs their activities providing us with a clear view of their intentions—what fun! A honeypot is a system that is set up as a target—often configured to track all access and pretend to offer services so it appears more enticing. If someone performs a reconnaissance scan or attack on the network and they hit the honeypot along the way, the honeypot may be configured to log this information, send you an alert that a scan is underway, and even perform a reverse reconnaissance operation to learn more about the scanning system. Honeypots can be quite deceptive, appearing to offer a variety of services that may interest the scanner. Typically, honeypot software should be installed on a system that will be dedicated to being a honeypot. After installation comes the most important step in setting up a honeypot: defining the configuration.
If your honeypot sits in the middle of a group of Linux-based servers, it would make sense to configure your honeypot to emulate a Linux host.
The Face of a Honeypot Your honeypot should blend in with the network, not stick out like a sore thumb. If you are placing your honeypot in the middle of your server farm, ensure the honeypot has a name that matches your server naming process. For example, if your servers are named SVR1BLG1, SVR2BLG1 and SVR3BLG1, consider naming your honeypot SVR4BLG1. If your other servers are HTTP servers, then consider setting up your honeypot to offer HTTP services as well. With some honeypots you can even serve up a Web page that makes the honeypot appear to be a true Web server. Figure 1 shows the main window of Specter, one of my favorite honeypot software packages. As you can see, Specter offers numerous configuration options to build a customized honeypot that fits right in with your network. In this example, my honeypot's system name is "SVR4BLG1"— it sits in a server farm where most of the servers are named by server and building number. This honeypot offers FTP, SMTP and HTTP services and appears to be a Linux system when OS fingerprinting is run against it. This configuration performs a series of reconnaissance probes against a scanner/attacker as seen in the Intelligence section. Many honeypots can be configured to scan back against the intruder and log their findings. When started, this honeypot will also trap any traffic sent to the SUN RPC, SSH, SUB-7, Back Orifice 2000 and Blaster ports. All hits will be saved in an event log. Deception ToolKit (DTK) is a honeypot solution that runs with a GUI interface on top of White Glove (available at www.all.net), a bootable version of Linux (also available at www.all.net). DTK offers numerous configuration options and can even pretend to use multiple IP addresses. For more information, see Honeypots and Honeynets. Figure 2 shows the DTK honeypot interface. Simply click buttons to configure the honeypot to match its network surroundings. As you compare Figures 1 and 2, you may notice some similarities between Specter and DTK. Most honeypots offer the option to select an operating system to spoof, the services that should be visible, the system name and the logging method. Let's take a quick look at some of the standard elements of a honeypot configuration. I'll give you some suggestions on how to configure a honeypot on your network. Operating System hon.ey.pot* By luring a hacker into a system, a honeypot serves several purposes:
* as defined by www.webopedia.com/TERM/h/honeypot.html I've been disappointed with this feature in most honeypots. For example, I may configure a Specter honeypot to pretend to be a Linux host even though I'm running Specter on a Windows 2000 host. The true OS of the box can be revealed using one of the better vulnerability scanners, such as LANguard Network Security Scanner (www.gfi.com). If someone scans my honeypot and gets an FTP banner that clearly indicates the honeypot is a Linux box, but a vulnerability scanner reveals the system to be a Windows box, then the deception is faulty and the honeypot is exposed as a fake. To test this on your network, set up your honeypot on one operating system and configure it to emulate a different operating system. Scan your honeypot with NMap (www.insecure.org), LANguard Network Security Scanner, NetScanTools Pro (www.netscantools.com) or Retina (www.eeye.com). See if your honeypot fools these vulnerability scanners.
A honeypot is a system that is set up as a target—often configured to track all access and pretend to offer services so it appears more enticing.
NOTE I stay away from configurations that cause the honeypot to constantly change its "face." For example, on Specter you can configure the operating system as Random. It may seem quite obvious you've hit a honeypot if your OS fingerprinting results indicate the OS of a target is changing. Character My favorite Specter character is Aggressive. In this mode, the Specter honeypot will perform a reverse reconnaissance on the attacker in order to gather as much information as possible. Services
If someone breaks into the POP service, your honeypot could allow access to a decoy e-mail. These added deceptions
may provide more information on the attacker or possibly reveal the honeypot to the attacker.
When a TCP connection is attempted to these services, the honeypot responds with the appropriate packet to allow the connection. Some honeypots allow you to customize services as well. For example, your honeypot could display a Web page when someone connects to it on port 80. If someone breaks into the POP service, your honeypot could allow access to a decoy e-mail. These added deceptions may provide more information on the attacker or possibly reveal the honeypot to the attacker. Intelligence Traps
Sticky Sweet Treats
Test drive these honeypot packages to see which one fits best on your network. Specter Honeypot Deception ToolKit Decoy Server Password Type Notification
You can mix and match physical honeypots and virtual honeynets as well.
Other Configuration Options MARKERS: Specter offers a questionable feature called "markers" that provides an executable file to the attacker. When the executable file is launched, it performs an examination of the attacker's drive and maintains the results on the local drive. Specter's marking ability was designed to enable law enforcement officers to create a correlation between an attacker's hard drive and a Specter log file. I recommend that you consult a legal representative before enabling Specter markers. USERS: In order to make the honeypot appear more realistic as a network host, consider creating accounts on the honeypot. These users may appear to be logged in to the honeypot for a more convincing deception. Figure 4 shows a Specter user configuration window that lists seven custom user accounts. REMOTE MANAGEMENT: Some honeypots can be managed remotely. This is particularly helpful when you have several honeypots scattered around your network. Now that we have covered the general characteristics and features of honeypots, it is time to determine the best place to put the honeypot. Placing the Bait HINT Be certain that no communication is allowed inside the network from the honeypot in the DMZ. You don't want someone to "bounce" off the honeypot to access the inside network. Consider these other honeypot placement options: PROXIMITY DECOY: Place the honeypot near existing servers and configure the server to look similar to the other servers surrounding it. STANDALONE: Place the honeypot all alone on a network segment to locate anyone trying to run discovery throughout the network. MINE FIELD: Load up a network segment with only honeypots; no other servers should reside on this segment. Sometimes just one honeypot isn't enough. You may want to create a deception that includes several systems. In that case, you need a honeynet. Honeypots and Honeynets The answer to this problem is a virtual honeynet, consisting of multiple virtual honeypots loaded on a single computer. Virtual honeynets have the advantage of requiring less hardware. If you want to build a honeynet with 50 computers in it, you could do this all on a single computer. So how do you create a virtual honeynet? There are many options. You could load a honeypot software that advertises multiple "personalities" on the network. One example of this type of software is Symantec's Decoy Server (www.symantec.com). Decoy Server (formerly called ManTrap) emulates multiple systems on a single physical machine. Another option uses VMWare (www.vmware.com) to load multiple virtual hosts on a single physical machine. By loading different honeypot software on separate operating systems, you can create a virtual honeynet on the one physical machine. The Honeypot Buzz OS-Based Virtual Host Aggressive Target of Opportunity Zero-day Attack Session Playback Host-based Attacks Network-based Attacks Sacrificial Lamb Proximity Decoys Redirection Shield You can mix and match physical honeypots and virtual honeynets as well. Figure 5 shows a network that contains one honeypot (10.1.3.31) and a virtual honeynet that consists of three honeypot images (10.1.3.1, 10.1.3.11, and 10.1.3.21). If attackers begin scanning around on this network, they are likely to hit one or more of the honeypots within this honeynet. The log files should provide some indication of the scanning method used. Legalities of Honeypot Use We seem to be such a litigious society—it seems obvious that it's only a matter of time before we have a honeypot-related case in the courts. I always recommend that you talk with legal counsel before deploying a honeypot. The primary contact to keep up on the legal issues of honeypot use within the U.S. is Richard Salgado. His presentation on honeypot legalities is online at http://project.honeynet.org. For More Information... Well, it is now creeping into Friday night. Time to head out of the office and join the real world. By Monday morning we should have some really nice log files from all those folks who came to play over the weekend. LAura is a Sr. Protocol/Security Analyst at the Protocol Analysis Institute, LLC.
(www.packet-level.com;
www.podbooks.com) |
||||||
![]() |