Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Pentesting – Basic web recognition testing (fingerprinting/footprinting)

Leer en espanol
Pentesting – Basic web recognition testing (fingerprinting/footprinting)

Table of contents

The term footprinting refers to the technique of discovering and collecting as much information as possible regarding a target network, either because it has been published publicly. ===

Footprinting

The term footprinting refers to the technique of discovering and collecting as much information as possible regarding a target network, whether it has been published on purpose or due to ignorance. The objective is to extract relative information from the organization that includes, but is not limited to:

  • IP address ranges
  • Domain registrar information
  • Internal servers
  • User email accounts
  • Machine names
  • Type of firewall implemented
  • Types of remote access used (SSH or VPN)
  • Files (doc, xls, ppt, pdf, txt, etc.)
  • Metadata, etc.

DNSenum: It allows us to obtain information about the domain:

DNSenum1

Through Dmitry:  can obtain information about a server

Dmitry

Thehardvester: We will collect information about possible email addresses, names of employees, ports, etc.

In this example we have not obtained much information...

Theharvester

fingerprinting

This stage consists of collecting information directly from an organization's system, to learn more about its configuration and behavior. It is advisable to carry out this stage in an authorized audit, since supposedly the “attacker” has permission to carry out said action.

NMAP: allows us detect open ports and operating system:

Nmap1 Nmap2

To detect the operating system we can also do it using xprobe2, although in this case I don't think I was very right...

Xprobe2

Other tools to obtain information:

WhatWeb:

Whatweb

Scan using Nikto

Nikto is a web server scanning tool that is responsible for carrying out different types of activities such as detecting bad configurations and vulnerabilities on the target server, detecting files in default installations, listing the server structure, versions and dates of server updates, XSS vulnerability tests, brute force attacks by dictionary, reports in txt, csv, html formats, etc.

Nikto

Currently, different websites are usually programmed under CMS, therefore a good option to obtain information would be cmsmap or wpscan

CMSmap:

CMSmap

Since we have detected that it is a wordpress, we are going to proceed to perform a scan using WPScan:

Through WPScan we can obtain some information about bugs in the plugins or installed version of WordPress

Wpscan

With the information obtained we now have to look for whether the system, service or CMS that is installed has any vulnerability.

:wq!

Comments