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: Check Current Shell

What is your current shell ?

Java: Free Online Courses

The Java™ Tutorials by Oracle The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails". https://docs.oracle.com/javase/tutorial/ Learn to Program in Java at edX.ogr Get started on the path to becoming a software engineer by learning core coding skills in Java—one of the most popular programming languages. https://www.edx.org/course/learn-to-program-in-java-0 Java Tutorial by javapoint.com https://www.javatpoint.com/java-tutorial Java Tutorial by SoloLearn.com I love SoloLearn because I can learn Java - and other popular programming languages - anywhere, any time on your mobile devices. https://www.sololearn.com/Course/Java/ Java on Azure https://docs.microsoft.com/en-us/learn/paths/java-on-azure/

Powershell: Get-ChildItem

List, search/find files and directories with Get-ChildItem cmdlet.