> 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/pt-br/hacking-tools/enumeration/nessus-scan-network-and-system.md).

# Varredura de rede e sistema com Nessus

## **Escanear com o Nessus:**

{% hint style="info" %}
O Nessus é uma ferramenta poderosa de varredura de vulnerabilidades que realiza análises aprofundadas para detectar vulnerabilidades de segurança em uma rede ou infraestrutura de TI.
{% endhint %}

{% embed url="<https://www.tenable.com/downloads/nessus?loginAttempted=true>" %}

* **Porta de escuta**: A varredura do Nessus será armazenada em `127.0.0.1:8834`.

<figure><img src="/files/97e86ff0d68c7032cb31852b09e08fce404c6b82" alt=""><figcaption></figcaption></figure>

* **Opções de varredura:**

O Nessus oferece uma ampla gama de opções de varredura configuráveis, permitindo que você direcione especificamente vulnerabilidades presentes em hosts, serviços, aplicações ou até mesmo sistemas operacionais. Essas opções podem ser ajustadas de acordo com as necessidades do teste de penetração ou da auditoria de segurança.

<figure><img src="/files/a4342d9a9e96f14d6ce35aab87c3d148625b3eba" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/acef4b9feb7c81fde5a0365aae49c7afbf9f33a2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5a5e0aaef429a7ac201c20993e4f649dc2dab813" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/02f12fbeb0147f064b2a70a74cad6449eb20d162" alt=""><figcaption></figcaption></figure>

### Exportar resultados para o Metasploit

Após a conclusão da varredura do Nessus, é possível exportar os resultados para análise e exploração no Metasploit, um framework popular para exploração de vulnerabilidades.

<figure><img src="/files/b5c988ae415ce6ee08afbb60ca7f8a7200537c98" alt=""><figcaption></figcaption></figure>

Para exportar a varredura do Nessus para o Metasploit, siga estas etapas:

* **Exportar varredura:** Salve o arquivo de resultados da varredura do Nessus (geralmente no `.nessus` formato).
* **Importar para o Metasploit:** Use o seguinte comando para importar o arquivo do Nessus para o banco de dados do Metasploit:

```bash
db_import /home/jordan/Desktop/scan.nessus
```

**Ver informações do host:** Depois que os resultados forem importados, você pode obter informações sobre os hosts escaneados com o seguinte comando:

```
host 
```

<figure><img src="/files/8eb302da2693629601f7e8bd747760fd71ab365a" alt=""><figcaption></figcaption></figure>

**Listar serviços detectados:** Para ver os serviços vulneráveis encontrados nos hosts, use o comando:

```
services
```

<figure><img src="/files/c421203a11f81bdea435bd09af26abd2adb20d5c" alt=""><figcaption></figcaption></figure>

**Ver vulnerabilidades:** Você pode listar todas as vulnerabilidades descobertas usando o comando:

```
vulnerabilities
```

<figure><img src="/files/f033db686013b69cc8797cb5a1632fecfec0b350" alt=""><figcaption></figcaption></figure>

**Filtrar vulnerabilidades por porta específica:** Para pesquisar vulnerabilidades em uma porta específica (por exemplo, a porta 445 para SMB), use o comando:

<pre class="language-bash"><code class="lang-bash"><strong>vulns -p 445
</strong></code></pre>

<figure><img src="/files/c0c3891895e63cfc9381d2e392dcc1d9104e7ace" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/pt-br/hacking-tools/enumeration/nessus-scan-network-and-system.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
