- Mastering Kali Linux for Advanced Penetration Testing(Second Edition)
- Vijay Kumar Velu
- 241字
- 2021-07-02 21:04:23
Fingerprinting the operating system
Determining the operating system of a remote system is conducted using two types of scans:
- Active fingerprinting: The attacker sends normal and malformed packets to the target and records its response pattern, referred to as the fingerprint. By comparing the fingerprint to a local database, the operating system can be determined.
- Passive fingerprinting: The attacker sniffs, or records and analyzes, the packet stream to determine the characteristics of the packets.
Active fingerprinting is faster and more accurate than passive fingerprinting. In Kali, the two primary active tools are nmap and xprobe2.
The nmap tool injects packets into the target network and analyzes the response that it receives. In the following screenshot, the -O flag commands nmap to determine the operating system:
nmap -sS -O target.com
A related program, xprobe2, uses different TCP, UDP, and ICMP packets to bypass firewalls and avoid detection by IDS/IPS systems. Xprobe2 also uses fuzzy pattern matching – the operating system is not identified as definitely being one type; instead, it is assigned the probability of being one of several possible variants:
root@kali:~# xprobe2www.target.com
Note that it is simple for the target system to hide the true operating system. Since fingerprinting software relies on packet setting, such as time-to-live or the initial windows size, changes to these values or other user-configurable settings can change the tool results. Some organizations actively change these values to make the final stages of reconnaissance more difficult.
- 多媒體CAI課件設(shè)計與制作導(dǎo)論(第二版)
- Python量化投資指南:基礎(chǔ)、數(shù)據(jù)與實戰(zhàn)
- Visual Basic程序設(shè)計(第3版):學(xué)習(xí)指導(dǎo)與練習(xí)
- NativeScript for Angular Mobile Development
- Java EE 7 Development with NetBeans 8
- 高級語言程序設(shè)計(C語言版):基于計算思維能力培養(yǎng)
- Linux:Embedded Development
- C語言程序設(shè)計
- 微信小程序開發(fā)與實戰(zhàn)(微課版)
- Building Dynamics CRM 2015 Dashboards with Power BI
- 網(wǎng)絡(luò)數(shù)據(jù)采集技術(shù):Java網(wǎng)絡(luò)爬蟲實戰(zhàn)
- 深入解析Java編譯器:源碼剖析與實例詳解
- 交互式程序設(shè)計(第2版)
- 深度實踐KVM:核心技術(shù)、管理運維、性能優(yōu)化與項目實施
- DB2SQL性能調(diào)優(yōu)秘笈