OSCP Learning Notes - Enumeration(3)

 

 

SMB Enumeration

1. Set the smb configurations.

locate smb.conf

OSCP Learning Notes - Enumeration(3)

vim /etc/samba/smb.conf

OSCP Learning Notes - Enumeration(3)

Insert the global settings to the configuration file.

client use spnego = no
client ntlmv2 auth = no

OSCP Learning Notes - Enumeration(3)

 

2. Enumerate the target computer and find some interestring things.

enum4linux 10.0.0.20

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

3. Exploit the target using Metasploit.

OSCP Learning Notes - Enumeration(3)

Detecte the SMB version.

search smb

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

Set the rhosts.

OSCP Learning Notes - Enumeration(3)

Identity the samba version is 2.2.1a.

OSCP Learning Notes - Enumeration(3)

4. Search the vulnerabilities locally and on the Internet.

OSCP Learning Notes - Enumeration(3)

OSCP Learning Notes - Enumeration(3)

5. Scan the exploite the target computer.

nbtscan 10.0.0.20

OSCP Learning Notes - Enumeration(3)

smbclient -L 10.0.0.20

OSCP Learning Notes - Enumeration(3)

smbclient -L "\\\\10.0.0.20\IPC$"

OSCP Learning Notes - Enumeration(3)

smbclient "\\\\10.0.0.20\IPC$"

OSCP Learning Notes - Enumeration(3)

 

上一篇:Android Studio 在安装中遇gradle-4.6-all.zip下载问题


下一篇:Android Studio编译报错“java.lang.OutOfMemoryError: GC overhead limit exceeded