- 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:

推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- PWA入門與實踐
- Network Automation Cookbook
- PHP+MySQL網站開發項目式教程
- 前端HTML+CSS修煉之道(視頻同步+直播)
- C語言程序設計實驗指導 (第2版)
- Learning R for Geospatial Analysis
- C#程序設計教程(第3版)
- Building Serverless Web Applications
- C++程序設計教程
- MySQL 8從零開始學(視頻教學版)
- 視窗軟件設計和開發自動化:可視化D++語言
- 生成藝術:Processing視覺創意入門
- Java入門經典