Active Fingerprinting and Passive Fingerprinting
If you take the Security+ exam, you may come across the terms active fingerprinting and passive fingerprinting. It’s worthwhile knowing the differences between the two. It’s also important to realize that fingerprinting in this context is not referring to the biometric method of authentication.
As an example, here’s a practice test question that tests your knowledge of this information.
Active Fingerprinting and Passive Fingerprinting Question
Q. You are monitoring traffic through a mirrored port on a switch. By analyzing this traffic, you are able to determine the operating system of each device connected to the switch. What does this describe?
A. Active fingerprinting
B. Passive fingerprinting
C. Port scanning
D. Vulnerability scanning
Answer at end of this blog
CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide
Fingerprinting and Reconnaissance
In this context, fingerprinting refers to identifying specific information about a system. It is often part of a larger reconnaissance attack. Reconnaissance provides a big-picture view of a network or servers in a DMZ. It identfies the IP addresses used in the target network using a method such as an ICMP sweep or a host enumeration sweep. Ping scanners are sometimes used for this step.
Fingeprinting then homes in on individual systems to provide details of each of them. For example, a fingerprinting attack can identify the operating system of the target and in many cases, it can identify the service pack and patches that have been installed. It can also identify the protocols and services that are running on a system and the likely role of the server based on these services. For example, if a server is listening on port 80, it is running the HTTP protocol and is very likely a web server.
When fingerprinting any system, it’s useful to know many of the commonly used well-known ports.
Passive Fingerprinting
Passive fingerprinting uses a sniffer (such as Wireshark) to capture traffic sent from a system. It analyzes this traffic to determine what the server is doing. A key point is that passive fingerprinting does not send any traffic to the target system but instead just collects the traffic. With this in mind, passive fingerprinting cannot be done from remote attackers. It can only be done with a sniffer installed in the network.
Available for the Kindle with flash cards to reinforce key testable material
Free Kindle apps from Amazon to run Kindle books on your PC, iPad, or other platforms
Active Fingerprinting
Active fingerpringinting uses active techniques to identify the role of a server. Chapters 7 and 8 of the CompTIA Security+: Get Certified Get Ahead: SY0-301 Study Guide covered several methods used with active fingerprinting. They include:
- Xmas attack. This is a specific type of scan that sends specailly crafted packets to a system. By analyzing the return packets, the scanner can determine the operating system of the target.
- Port scanning. A port scanner sends queries on specific ports. If the server answers a query on a port, it indicates it is listening on this port. For example, if a system answers a query on port 25, it indicates it is running SMTP and is likely an email server. Additional queries can be sent to the system to verify it is an email server.
These methods are useful for attackers trying to determine the role of remote servers.
Available through Learnzapp on your mobile phone
Active Fingerprinting and Passive Fingerprinting Answer
Q. You are monitoring traffic through a mirrored port on a switch. By analyzing this traffic, you are able to determine the operating system of each device connected to the switch. What does this describe?
A. Active fingerprinting
B. Passive fingerprinting
C. Port scanning
D. Vulnerability scanning
Answer at end of this blog
Answer: B is correct. Fingerprinting a system refers to identifying specific information about a system and passive fingerprinting does this by capturing and analyzing traffic. Passive fingerprinting never sends traffic to a system but instead only passively captures the traffic.
A is incorrect. Active fingerprinting sends traffic to a system and analyzes the responses. In this scenario, traffic is sent to a mirrored port on a switch. You can configure a switch to send a copy of all traffic through the switch to a mirrored port, but this port is only used for monitoring traffic. In other words, you would not be able to send traffic through the mirrored port.
C is incorrect. Port scanning is active and sends traffic to a system to determine what ports are open.
D is incorrect. Vulnerability scanning checks for vulnerabilities. It may include active or passive fingerprinting but it does more than just determine operating systems.
Objective: 3.7 Implement assessment tools and techniques to discover security threats and vulnerabilities
Summary
Fingerprinting is used to get details on a specific target. It is often used as part of a larger reconnaissance attack.
The difference between active fingerprinting and passive fingerprinting is that active fingerprinting will send queries to the target and analyze the response. Passive fingerprinting only uses a sniffer to capture and analyze traffic, but never sends traffic to the target.
Here are some links to more resources to help you pass the Security+ exam the first time you take it.