Skip to content

Mertangy/SMB-Vulnerabilities-with-enum4linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

SMB-Vulnerabilities-with-enum4linux

Poorly secured and managed Windows server networks are a huge security risk. Penetration testers must uncover any vulnerabilities in file and print-sharing functions that can leave an organization vulnerable to attack. In this activity, we will explore the capabilities of the enum4linux tool to enumerate user and file-sharing information from Samba servers. Finally, we will use the smbclient utility to transfer files between systems.

enum4linux requires root privileges. To get help on different options:

image

List configured users on the target using the below command:

image

Get a list of file shares configured using the command <enum4linux -Sv target>:

image

You can use < enum4linux -P target> to get a list of the password policies on the target system. This will help in brute force attacks to obtain login credentials:

image

Smbclient is a component of Samba that can store and retrieve files, similar to an FTP client. You can use smbclient to transfer a file to the target system. This simulates exploiting a network host with malware through an SMB vulnerability.

image

About

Scanning SMB vulnerabilities with enum$linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published