> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/hacking-tools/exploitation/metasploit/metasploit-enumeration-services.md).

# Service Enumeration with Metasploit

Metasploit auxiliary module workflow for enumerating FTP, SMB, HTTP, MySQL, SSH, SMTP, and other exposed services.

#### Assessment Methodology: Enumeration

1. **FTP Version Scan**
   * Search: `search type:auxiliary name:FTP`
   * Use: `auxiliary/scanner/ftp/ftp_version`
2. **FTP Credential Brute Force**
   * Use: `auxiliary/scanner/ftp/ftp_login`
3. **Checking the existence of the user "anonymous"**
   * Use: `auxiliary/scanner/ftp/anonymous`
4. **SMB Enumeration**
   * Search: `search type:auxiliary name:SMB`
   * **Version SMB**
     * Use: `auxiliary/scanner/smb/smb_version`
   * **SMB User Enumeration**
     * Use: `auxiliary/scanner/smb/smb_enumusers`
   * **SMB Share Enumeration**
     * Use: `auxiliary/scanner/smb/smb_enumshares`
   * **SMB Credential Brute Force**
     * Use: `auxiliary/scanner/smb/smb_login`
5. **HTTP Enumeration**
   * Search: `search type:auxiliary name:HTTP`
   * **Version HTTP**
     * Use: `auxiliary/scanner/http/http_version`
   * **Analysis of HTTP headers**
     * Use: `auxiliary/scanner/http/http_header`
   * **Brute force of HTTP directories**
     * Use: `auxiliary/scanner/http/dir_scanner`
   * **HTTP File Brute Force**
     * Use: `auxiliary/scanner/http/files_dir`
   * **HTTP Credential Brute Force**
     * Use: `auxiliary/scanner/http/http_login`
6. **MySQL**
   * **MySQL Version Scan**
     * Use: `auxiliary/scanner/mysql/mysql_version`
   * **MySQL Credential Brute Force**
     * Use: `auxiliary/scanner/mysql/mysql_login`
   * **MySQL Enumeration**
     * Use: `auxiliary/scanner/mysql/mysql_enum`
   * **SQL queries on MySQL tables**
     * Use: `auxiliary/scanner/mysql/mysql_sql`
   * **Dump the MySQL schema**
     * Use: `auxiliary/scanner/mysql/mysql_schemadump`
7. **SSH**
   * **SSH Version Scan**
     * Use: `auxiliary/scanner/ssh/ssh_version`
   * **SSH Credential Brute Force**
     * Use: `auxiliary/scanner/ssh/ssh_login`
   * **SSH User Enumeration**
     * Use: `auxiliary/scanner/ssh/ssh_enumusers`
8. **SMTP**
   * **SMTP Version Scan**
     * Use: `auxiliary/scanner/smtp/smtp_version`
   * **SMTP User Enumeration**
     * Use: `auxiliary/scanner/smtp/smtp_enum`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/hacking-tools/exploitation/metasploit/metasploit-enumeration-services.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
