|
|
|
||||||||||
|
|
||||||||||||
|
|
|
|
|
|
|||||
|
|||||
|
|
|||||
So, what have you learned from this chapter? Most important, there are very common ports and services that should be advertised on any emulated Windows honeypot, like RPC (port 135) and NetBIOS (ports 137 through 139 and 445). If you dont advertise them, the intruder might detect your honeypot as a decoy. On the other hand, you shouldnt
We also took a look at some of the banner text messages that your honeypot will need to respond with in order to make the honeypot seem real. If youre going to put up a server in a particular role, there are sets of ports that should be opened together to provide a realistic honeypot. Chapter 4 will discuss the details of installing a honeypot using a Microsoft Windows OS.
|
|
|||||
|
|||||
|
|
|||||
|
|
|
||||||||||
|
|
||||||||||||
|
|
|
|
|
|
|||||
|
|||||
|
|
|||||
A common honeypot choice for first-timers and
When choosing to use a
Do you really need a high-interaction honeypot?
Should you use a real OS or a VM?
Which Microsoft OS should you install?
Should you have a client or server OS?
Should you patch the OS or leave it without patches?
What support tools are available?
Which services and applications should you install?
Should you use Security Account Management (SAM) or Active Directory (AD)?
What OSs do hackers prefer?
What hardware will you need?
Lets look at whats involved in each of these decisions.
Do you really want all the hassles a high-interaction honeypot
The most critical issue is how to control hackers once they have compromised the honeypot system. In a very real sense, if the hacker is able to execute an unknown program or script on your system, you cant really trust the system anymore. System executables could be modified to hide the honeypots activity. Inband monitoring tools could be modified to hide the hackers real intent. You should be able to trust your external monitoring tools, but all data collected directly off the system should be
| Note |
Inband monitoring
refers to tools that
|
Another critical issue is how you will ensure that the hacker doesnt use your Windows honeypot to attack other production systems. Data control is the issue here, and, as discussed in previous chapters, mature solutions arent widely available in the Windows world.
In order for the honeypot to appear realistic, you will need to develop content to place on the computer. Potentially, you will need to develop a content update plan. How often will the content be updated? Who will update it? Will you need to log in to the machine and create normal-looking
Another choice is whether you want to run a real OS or host it using a virtual or emulated environment, like VMware or Virtual PC. As covered in previous chapters, a stand-alone OS is easier to deploy initially, but a VM environment allows quick redeployment, better data control, and centralized monitoring. However, if a hacker is looking for the specific clues, a VM environment can always be revealed. This chapter will discuss how to deploy both real OSs and VMs.
Microsoft offers more than a
Windows for Workgroups 3.11
Windows 95/Windows 95 OSR2
Windows 98/Windows 98 Second Edition (SE)
Windows Millennium Edition (Me)
Windows NT Server 3.51
Windows NT Workstation 4.0
Windows NT Server 4.0
Windows NT Server 4.0 Terminal Server Edition
Windows NT Server 4.0/4.5 Small Business Server Edition
Windows 2000 Professional
Windows 2000 Server
Windows XP Home Edition
Windows XP Professional Edition (32- and 64-bit versions available)
Windows Server 2003 (32- and 64-bit versions available)
Windows Small Business Server 2003
Longhorn (32- and 64-bit beta versions available)
This list doesnt include the less popular versions, such as other beta releases, embedded versions, and mobile platform choices like Windows CE or Pocket PC. There are even computers still actively running Microsoft MS-DOS.
Many of the base OS platforms are further divided into different editions. For instance, Windows Server 2003 comes in Web, Standard, Enterprise, and Datacenter editions. The Enterprise Edition is the version that the other editions should be compared against. The Web Edition is
Remember that a Windows honeypot requires a licensed copy of the OS, plus any necessary client access licenses (CALs). Most of the time, when you purchase the OS, you get at least five CALs with the base product. This should be fine for most honeypots. If you are using the honeypot to
| Note |
The licensing guidelines presented here are subject to change. Check with your authorized Microsoft distributor regarding licensing requirements. |
Longhorn is Microsofts
Figure 4-1:
A Microsoft Longhorn screen
| Note |
Microsofts software often changes features and
|
The 64-bit versions of Windows require 64-bit CPUs, like Intels Itanium or AMDs Opteron and Athlon processors. Although 64-bit versions of Windows have not been widely deployed, 64-bit malware is already in existence. The Rugrat virus (http://securityresponse.
Starting with Windows Server 2000, Terminal Server is available as an included installable application, and it no longer requires a separate version of the OS, as it did in Windows NT Server 4.0. Small Business Server editions contain Windows NT Server 4.0, 2000, or 2003, along with a set of common applications, including Exchange Server, Proxy Server (or Internet Security and Acceleration Server), SQL Server, IIS, Routing and Remote Access Server (RRAS), Shared Fax Services, and Microsoft Outlook.
Do you want to run a honeypot using a client or server OS? The vast majority of honeypots run server software, but there is an exciting learning
You can deploy a research honeypot using a client OS and wait to be
Should the OS you place on the honeypot be patched or left in an unpatched state? As stated in previous chapters, it depends on your goals. If the primary goal is to protect a production network, the honeypot should be patched to the level of the
Another factor that will impact which OS you will install on your honeypot is the availability of software support tools. Most of the better patch–management tools are available only for the
When choosing an OS, make sure the support tools you want to use are available. For example, the Windows Software Update Services (SUS) patching service works with only Windows 2000 and later Microsoft computer systems.
Production OSs never exist without running applications and updated content. Which applications and network services do you want to install?
A popular choice for honeypots is IIS. Hackers and automated malware love to attack Microsofts web server application. Other possibilities include Exchange Server, DNS, DHCP, Microsoft Office, Windows Media Services, WINS, .NET Framework, accessibility software (recently used in an announced exploit), FrontPage Server Extensions (a frequent hacker target on IIS servers), FTP, SQL Server, Certificate Services (and web enrollment), SharePoint, IAS, RRAS, Terminal Services, wireless services (802.11x networking), and so on. Of course, there is all that non-Microsoft software to consider. You need to install enough software to make the honeypot realistic.
If you are going to set up a complex application like IIS, SQL Server, or Exchange Server, do you have the expertise to install, configure, and analyze it? If you dont, youll end up doing more research, finding someone who does have the expertise, taking educational classes, or choosing not to run the application until you understand it better.
And heres another good question: How do you plan to keep the content updated? Automated malware doesnt care about updated content, but real hackers will. Unless you plan to pose your honeypot as a forgotten system, neglected by its operators, you will need some method of updating its content. I dont know of any automated tools or scripts for doing so, so updating the content will probably be a manual process.
In Windows NT and later, user security principal accounts (
It is probably
| Caution |
Never install a production Active Directory directory service on a honeypot! If hackers manage to compromise the honeypot, they can do significantly more damage using Active Directory user accounts than they can using local accounts. |
So, which OS and applications do hackers prefer? How can you make the most attractive honeypot? First, remember that 99.9% of the attacks against most honeypots come from automated malicious programs. This means that most attacks will
Windows NT Server 4.0, Service Pack 2 or earlier
Any version of Windows with weak or blank administrative passwords
Any unpatched version of IIS
IIS servers with Front Page Extensions installed
Any version of Windows with open,
Any version of Windows with port 135 (RPC) open to the Internet
Any Windows Server version with FTP actively running
SQL Server machines with blank SA passwords running on ports 1433 and 1434
Exchange Server machines with open relaying allowed or with anonymous authentication allowed
In order to attract malicious exploits and hackers, create a honeypot with unpatched software or applications, attach it to the Internet, and allow its ports to be probed. Most honeypot systems following these guidelines report malicious
What hardware should you use to support a honeypot running one of the Windows OSs? Table 4-1 lists the minimum and recommended CPU, RAM, and hard drive (HD) requirements for the most common OSs. Hard drive
|
OS |
Minimum |
Recommended |
||||
|---|---|---|---|---|---|---|
|
CPU |
RAM |
HD |
CPU |
RAM |
HD |
|
|
Windows for Workgroups 3.11 |
286 |
2MB |
30MB |
386SX |
4MB |
50MB |
|
Windows 95/Windows 95 OSR2 |
386DX |
4MB |
55MB |
486 |
8MB |
100MB |
|
Windows 98/Windows 98 SE |
486DX-66 |
16MB |
255MB |
Pentium |
24MB |
500MB |
|
Windows Me |
Pentium-150 |
32MB |
320MB |
Pentium II-300 |
64MB |
2GB |
|
Windows NT Workstation 4.0 |
Pentium |
16MB |
110MB |
Pentium |
64MB |
300MB |
|
Windows NT Server 4.0 |
Pentium |
32MB |
125MB |
Pentium |
64MB |
500MB |
|
Windows 2000 Professional/Server |
Pentium-133 |
64MB |
2GB |
Pentium-133 |
256MB |
2GB |
|
Windows XP |
Pentium-233 |
64MB |
1.5GB |
Pentium-300 |
128MB |
1.5GB |
|
Windows Server 2003 Enterprise |
Pentium-133 |
128MB |
1.5GB |
Pentium-733 |
256MB |
1.5GB |
|
Longhorn |
Pentium-IV |
512MB |
8GB |
Pentium-IV |
1GB |
10GB |
The values shown in Table 4-1 are the minimum and recommended requirements according to Microsoft. I use a more general rule of thumb. For honeypots, I recommend a computer with a relatively new CPU and the RAM and hard drive sizes listed in Table 4-2.
|
OS |
RAM |
HD |
|---|---|---|
|
Windows 9 x /Me |
64MB |
500MB |
|
Windows NT |
128MB |
2GB |
|
Windows 2000/XP128MB–256MB |
2GB |
|
|
Windows Server 2003 Enterprise |
256MB |
4GB |
|
Longhorn |
1GB |
8GB–10GB |
If you are planning to run your honeypot as a VM session, you will need enough RAM on the host computer to run the VM software, plus enough RAM and CPU power for each concurrently running virtual session. In my experience, you need at least 128MB to 256MB of RAM set aside for the VM host itself (
|
|
|||||
|
|||||
|
|
|||||