Skip to main content

enum4linux: Notes

enum4linux.pl: written in Perl.

Source: https://github.com/CiscoCXSecurity/enum4linux

Get info

# apt info enum4linux -a
Package: enum4linux
Version: 0.8.9-1kali4
Priority: optional
Section: utils
Maintainer: Kali Developers <devel@kali.org>
Installed-Size: 55.3 kB
Depends: perl:any, samba, smbclient, polenum, ldap-utils
Homepage: https://labs.portcullis.co.uk/application/enum4linux/
Download-Size: 13.6 kB
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: Enumerates info from Windows and Samba systems
 Enum4linux is a tool for enumerating information from Windows and Samba
 systems. It attempts to offer similar functionality to enum.exe formerly
 available from www.bindview.com.
 .
 It is written in PERL and is basically a wrapper around the Samba tools
 smbclient, rpclient, net and nmblookup. The samba package is therefore a
 dependency.
 .
 Features include:
 .
     RID Cycling (When RestrictAnonymous is set to 1 on Windows 2000)
     User Listing (When RestrictAnonymous is set to 0 on Windows 2000)
     Listing of Group Membership Information
     Share Enumeration
     Detecting if host is in a Workgroup or a Domain
     Identifying the remote Operating System
     Password Policy Retrieval (using polenum)

Package: enum4linux
Version: 0.8.9-1kali3
Status: install ok installed
Priority: optional
Section: utils
Maintainer: Kali Developers <devel@kali.org>
Installed-Size: 55.3 kB
Depends: perl:any, samba, smbclient, polenum, ldap-utils
Homepage: https://labs.portcullis.co.uk/application/enum4linux/
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Enumerates info from Windows and Samba systems
 Enum4linux is a tool for enumerating information from Windows and Samba
 systems. It attempts to offer similar functionality to enum.exe formerly
 available from www.bindview.com.
 .
 It is written in PERL and is basically a wrapper around the Samba tools
 smbclient, rpclient, net and nmblookup. The samba package is therefore a
 dependency.
 .
 Features include:
 .
     RID Cycling (When RestrictAnonymous is set to 1 on Windows 2000)
     User Listing (When RestrictAnonymous is set to 0 on Windows 2000)
     Listing of Group Membership Information
     Share Enumeration
     Detecting if host is in a Workgroup or a Domain
     Identifying the remote Operating System
     Password Policy Retrieval (using polenum)

#

Install enum4linux

# apt install enum4linux
# which enum4linux
/usr/bin/enum4linux
# enum4linux -h
enum4linux v0.8.9 (http://labs.portcullis.co.uk/application/enum4linux/)
Copyright (C) 2011 Mark Lowe (mrl@portcullis-security.com)

Simple wrapper around the tools in the samba package to provide similar
functionality to enum.exe (formerly from www.bindview.com).  Some additional
features such as RID cycling have also been added for convenience.

Usage: ./enum4linux.pl [options] ip

Options are (like "enum"):
    -U        get userlist
    -M        get machine list*
    -S        get sharelist
    -P        get password policy information
    -G        get group and member list
    -d        be detailed, applies to -U and -S
    -u user   specify username to use (default "")
    -p pass   specify password to use (default "")

The following options from enum.exe aren't implemented: -L, -N, -D, -f

Practice

>>> THM | Network Services

>>> THM | 25 Days of Cyber Security - Day 10

>>> THM | Anonymous

>>> THM | Enterprise

Popular posts from this blog

Linux command: lspci

Linux command: lspci - list pci devices tuyendq@ubuntu001:~$ man lspci NAME        lspci - list all PCI devices SYNOPSIS        lspci [options] DESCRIPTION        lspci is a utility for displaying information about PCI buses in the system and devices connected to them.        By  default,  it  shows a brief list of devices. Use the options described below to request either a more verbose output or output intended for parsing by        other programs.        If you are going to report bugs in PCI device drivers or in lspci itself, please include output of "lspci -vvx" or even better  "lspci  -vvxxx"  (however,        see below for possible caveats).        Some  parts of the output, especially in the highly verbose modes, are probably intelligible only to experienced PCI hac...

Microsoft AI Shell: Notes

AI Shell

Vagrant: Notes

Vagrant is a tool for building and managing virtual machine environments in a single workflow. Download the latest version of Vagrant for your operating system at https://www.vagrantup.com/downloads.html