# Enumeration

### SMB Enumeration

### NetBIOS Enumeration

#### NbtStat

```
nbtscan -v -s : 192.168.1.0/24
```

```
nbtscan -v 0.0.0.0 or 0.0.0.0/24
```

If we find a share we can mount, use:

```
sudo smclient mounts.cifs //RMT_IP//C /media/our_folder user=,pass=
```

#### Enum4Linux

```
enum4linux 192.168.1.64
```

```
#enum4linux -a -v 0.0.0.0
```

```
#net view 0.0.0.0 (windows cli) 
#net use
#mount command (linux)
#dumpsec (auditing tool for netbios- windows)

#rpcclient -N -U “” 0.0.0.0
#nat.exe userlist passlist ip
```

### SNMP Enumeration

#### SNMPWalk

```
snmpwalk -c public -v1 0.0.0.0 hrSWInstalledName
snmpwalk -v 2c -c public 0.0.0.0 hrMemorySize
snmpwalk -v 2c -c public 0.0.0.0 system.sysContact
snmpset -v 2c -c public 0.0.0.0 system.syscontact s new@els.com
snmkwalk -v 2c -c public 0.0.0.0 system.sysContact
```

#### NMAP SNMP Scripts

```
• snmp-brute
• snmp-info
• snmp-interfaces

```

```
• snmp-netstat
• snmp-processes
• snmp-sysdescr
• snmp-win32-services
```


---

# Agent Instructions: 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:

```
GET https://ecpptv2-certification.certs-study.com/network-security/enumeration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
