- Mastering Kali Linux for Advanced Penetration Testing(Second Edition)
- Vijay Kumar Velu
- 259字
- 2021-07-02 21:04:23
Determining active services
The final goal of the enumeration portion of reconnaissance is to identify the services and applications that are operational on the target system. If possible, the attacker would want to know the service type, vendor, and version to facilitate the identification of any vulnerability.
The following are some of the techniques used to determine active services:
- Identify default ports and services: If the remote system is identified as having a Microsoft operating system with port 80 open (the WWW service), an attacker may assume that a default installation of Microsoft IIS is installed. Additional testing will be used to verify this assumption (nmap).
- Banner grabbing: This is done using tools such as a map, netcat, nmap, and Telnet.
- Review default web pages: Some applications install with default administration, error, or other pages. If attackers access these, they will provide guidance on installed applications that may be vulnerable to attack. In the following screenshot, the attacker can easily identify the version of Apache Tomcat that has been installed on the target system.
- Review source code: Poorly configured web-based applications may respond to certain HTTP requests such as HEAD or OPTIONS with a response that includes the web server software version and, possibly, the base operating system or the scripting environment in use. In the following screenshot, netcat is launched from the command line and is used to send raw HEAD packets to a particular website. This request generates an error message (404 not found); however, it also identifies that the server is running Microsoft IIS, Version 7.5:

推薦閱讀
- 極簡算法史:從數學到機器的故事
- 深入理解Django:框架內幕與實現原理
- 名師講壇:Java微服務架構實戰(SpringBoot+SpringCloud+Docker+RabbitMQ)
- Scala謎題
- C程序設計實踐教程
- C語言開發基礎教程(Dev-C++)(第2版)
- ActionScript 3.0從入門到精通(視頻實戰版)
- 遠方:兩位持續創業者的點滴思考
- Web前端開發技術:HTML、CSS、JavaScript
- 你真的會寫代碼嗎
- After Effects CC技術大全
- JavaScript Concurrency
- Scratch 3.0少兒積木式編程(6~10歲)
- 深入淺出Rust
- 數據預處理從入門到實戰:基于SQL、R、Python