Winfingerprint 0.6.2


Winfingerprint Homepage: http://winfingerprint.sourceforge.net
Written by : Kirby Kuehl 1999-2004 vacuum@users.sourceforge.net
Requirements: Windows NT, 2000, XP, or 2003. Winfingerprint will NOT run on Windows 95, 98, or ME.
WinPcap WinPcap 3.1 beta 4 or better is required for TCP SYN scans. If WinPcap is unavailable, winfingerprint will automatically utilize TCP non-blocking connect() calls for portscans.
You may have to download the Microsoft Platform SDK for the ADSI method to work although the Winfingerprint installer does include activeds.dll and adsldpc.dll.

Start Screen:

untitled

You can select Scan options:

untitled-1

Options Explained:

- Win32 OS Version

Determines the current configuration of each scanned host using an SMB (Server Message Block) Query. This includes OS Version (Major and Minor) as well as type of software.

- Null IPC$ Sessions

From a NULL session, it is possible to call APIs and use Remote Procedure calls to enumerate information. Example of how a null session would be manually established:
net use \\10.0.0.1\ipc$ “” /user:”"
Null IPC$ sessions are necessary to enumerate information on targets that are not part of the same domain or workgroup as the scanning host. Winfingerprint utilizes the WNetAddConnection3 API to establish null sessions. Upon the completion of the scan, the null session is disconnected using the WNetCancelConnection2 API.
NOTE: If Null Sessions cannot be established, it is probable that the target computer set restrictanyonymous to 1 or 2:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
“restrictanonymous”=dword:00000002

- NetBIOS Shares

Retrieves information about each shared resource on a server.

Share Name
Share Type
Optional Comment
Sample Output:

NetBIOS Shares:Name: IPC$ Remark: Remote IPCType: Interprocess communication (IPC)Name: ADMIN$ Remark: Remote AdminType: Special share reserved for interprocess communication (IPC$) or remote administration of the server (ADMIN$)Accessible without password.Name: C$ Remark: Default shareType: Special share reserved for interprocess communication (IPC$) or remote administration of the server (ADMIN$)Accessible without password.192.168.1.1 scanned in 2.25 seconds

NetBIOS shares are checked to see if they are accessible without password.
API: NetShareEnum Level 1 (No special group membership is required for level 1 calls).

- Date and Time

This option returns the time of day information from a specified server.

Sample Output:

Date and Time:[9/21/2004] — 07:50:48.15192.168.1.1 scanned in 0.02 seconds

API: NetRemoteTOD No special group membership is required to successfully execute the NetRemoteTOD function.

- Users - Network Type: NT DOMAIN

Returns user account information:

Username
Userid
Full Name
Comment
Login script executed
Account Disabled
Home directory is required
No password required
The user cannot change password
The account is locked
Password does not expire
The account is enabled for delegation
The user’s password is stored under reversible encryption in the Active Directory.
Requires the user to log on to the user account with a smart card.
Restrict this principal to use only Data Encryption Standard (DES) encryption types for keys.
This account does not require Kerberos preauthentication for logon.
The user’s password has expired.

Sample Output:

Users:
Administrator [500] “”
- Built-in account for administering the computer/domain
SID : S-1-5-21-778402230-1777874515-1923568549-500
- The logon script executed. This value must be set for LAN Manager 2.0 or Windows NT.
- Password does not expire. Guest [501] “”
SID : S-1-5-21-778402230-1777874515-1923568549-501
- Built-in account for guest access to the computer/domain
- The logon script executed. This value must be set for LAN Manager 2.0 or Windows NT.
- The user’s account is disabled.
- No password is required.
- Password does not expire.
vacuum [1004] “vacuum”
SID : S-1-5-21-778402230-1777874515-1923568549-1004
- The logon script executed. This value must be set for LAN Manager 2.0 or Windows NT.
- Password does not expire.

- Services - Network Type: NT DOMAIN

Enumerates services in the specified service control manager database. The name and status of each service are provided.

- Disks

Retrieves a list of disk drives on a server.

API: NetServerDiskEnum Only members of the Administrators or Account Operators local group can successfully execute the NetServerDiskEnum function on a remote computer.

- Groups - Network Type: NT DOMAIN

This option makes two different calls. NetLocalGroupEnum will return information on all local groups. NetQueryDisplayInformation (Level 3) will return global groups which is excellent against Domain Controllers.
Local Groups
Returns group account information:

Group Name
Comment
API: NetLocalGroupEnum Level 1 No special privileges are required to perform this command (NetLocalGroupEnum).
Global Groups
Returns group account information:

Group Name
Group Comment
Group ID

- Registry (Service Pack and Hotfix)

This option queries the remote registry and if successful, will report back the installed Service Pack as well as any hotfixes.

Sample Output:

Patch Level:
Q307869 Windows XP Hotfix (SP1) [See Q307869 for more information]
Q309521 Windows XP Hotfix (SP1) [See Q309521 for more information]
Q309691 Windows XP Hotfix (SP1) [See Q309691 for more information]

APIS: RegConnectRegistry, RegOpenKeyEx, RegEnumKeyEx,RegQueryValueKeyEx, RegCloseKey.

- NBT Information

Supplies information about transport protocols that are managed by the server.

Transport Name
Transport Address (MAC)

Sample Output:

Transports:
TEST-W2K Transport: \Device\NetBT_Tcpip_{4E93603E-0A88-42DA-B4F8-9C2AE2366268}
Network Address: 00096be057b3
TEST-W2K Transport: \Device\NetbiosSmb
Network Address: 000000000000

- Sessions - Network Type: NT DOMAIN

Provides information about sessions established on a server. A session is recorded when a user at a client successfully contacts a server. A successful session occurs when the two computers are on the same network, and the user has a user name and password that are accepted by the server. A user at a client has to have a session with a server before he or she can use the resources of the server, and a session is not established until a user at a client connects to a resource. A client and a server have only one session, but they can have many entry points, or connections, to resources.
Session Enumeration using Network Type NT Domain enumerates the following:

Computer Name
User Name
Seconds Active Time
Seconds Idle Time
API: NetSessionEnum Level 10

- Simple Network Management Protocol

system.sysDescr
system.sysObjectID
system.sysUpTime
system.sysName
system.sysLocation
ip.ipRouteTable.ipRouteEntry.ipRouteDest
interfaces.ifTable.ifEntry.ifDescr

- Security Event Log
Enumerates the security event log. For Example:

00 Event ID: 0×00000205 Time Generated: Fri Nov 29 10:05:31 2002
Time Written: Fri Nov 29 10:05:31 2002
Success Audit Event
SourceName: Security
ComputerName: TEST-W2K

- RPC Bindings Enumeration

The ncacn_nb_tcp keyword is used to identify TCP over NetBIOS as the protocol family for the endpoint.
The ncacn_np keyword identifies named pipes as the protocol family for the endpoint. On Microsoft?Windows 95/98, ncacn_np is supported only for client applications.
The ncacn_ip_tcp keyword identifies TCP/IP as the protocol family for the endpoint.
The ncadg_ip_udp keyword identifies the datagram version of TCP/IP as the protocol family for the endpoint.
The ncacn_http keyword identifies the Microsoft Internet Information Server (IIS) as the protocol family for the endpoint.
——————————————————————————————————-

Sources: WinfingerPrint 0.6.2 Help file. Only pictures are original.

Cheers,

pavs



Pstool - Psinfo


Pstools Homepage: http://www.microsoft.com/technet/sysinternals/Security/PsTools.mspx

Written by : Mark Russinovich Published: March 5, 2007

Introduction:
The Resource Kit comes with a utility, elogdump, that lets you dump the contents of an Event Log on the local or a remote computer. PsLogList is a clone of elogdump except that PsLogList lets you login to remote systems in situations your current set of security credentials would not permit access to the Event Log, and PsLogList retrieves message strings from the computer on which the event log you view resides.

 

psinfo

Usage
The default behavior of PsLogList is to show the contents of the System Event Log on the local computer, with visually-friendly formatting of Event Log records. Command line options let you view logs on different computers, use a different account to view a log, or to have the output formatted in a string-search friendly way.

usage: psloglist [- ] [\\computer[,computer[,...] | @file [-u username [-p password]]] [-s [-t delimiter]] [-m #|-n #|-h #|-d #|-w][-c][-x][-r][-a mm/dd/yy][-b mm/dd/yy][-f filter] [-i ID[,ID[,...] | -e ID[,ID[,...]]] [-o event source[,event source][,..]]] [-q event source[,event source][,..]]] [-l event log file] <eventlog>

@file

Execute the command on each of the computers listed in the file.

-a

Dump records timestamped after specified date.

-b

Dump records timestamped before specified date.

-c

Clear the event log after displaying.

-d

Only display records from previous n days.

-e

Exclude events with the specified ID or IDs (up to 10).

-f

Filter event types with filter string (e.g. “-f w” to filter warnings).

-h

Only display records from previous n hours.

-i

Show only events with the specified ID or IDs (up to 10).

-l

Dump records from the specified event log file.

-m

Only display records from previous n minutes.

-n

Only display the number of most recent entries specified.

-o

Show only records from the specified event source (e.g. \”-o cdrom\”).

-p

Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

-q

Omit records from the specified event source or sources (e.g. \”-q cdrom\”).

-r

Dump log from least recent to most recent.

-s

This switch has PsLogList print Event Log records one-per-line, with comma delimited fields. This format is convenient for text searches, e.g. psloglist | findstr /i text, and for importing the output into a spreadsheet.

-t

The default delimeter is a comma, but can be overriden with the specified character.

-u

Specifies optional user name for login to remote computer.

-w

Wait for new events, dumping them as they generate (local system only).

-x

Dump extended data.

eventlog

By default PsLogList shows the contents of the System Event Log. Specify a different event log by typing in the first few letters of the log name, application, system, or security.

How it Works
Like Win NT/2K’s built-in Event Viewer and the Resource Kit’s elogdump, PsLogList uses the Event Log API, which is documented in Windows Platform SDK. PsLogList loads message source modules on the system where the event log being viewed resides so that it correctly displays event log messages.

(Source)

Cheers,

pavs



Pstools - Psloglist


Pstools Homepage: http://www.microsoft.com/technet/sysinternals/Security/PsTools.mspx

Written by : Mark Russinovich Published: March 5, 2007

Introduction:
The Windows NT and Windows 2000 Resource Kits come with a number of command line tools that help you administer your Windows NT/2K systems. Over time, I’ve grown a collection of similar tools, including some not included in the Resource Kits. What sets these tools apart is that they all allow you to manage remote systems as well as the local one. The first tool in the suite was PsList, a tool that lets you view detailed information about processes, and the suite is continually growing. The “Ps” prefix in PsList relates to the fact that the standard UNIX process listing command-line tool is named “ps”, so I’ve adopted this prefix for all the tools in order to tie them together into a suite of tools named PsTools. (source)

psloglist

 

Usage

The default behavior of PsLogList is to show the contents of the System Event Log on the local computer, with visually-friendly formatting of Event Log records. Command line options let you view logs on different computers, use a different account to view a log, or to have the output formatted in a string-search friendly way.

usage: psloglist [-?] [\\computer[,computer[,...] | @file [-u username [-p password]]] [-s [-t delimiter]] [-m #|-n #|-h #|-d #|-w][-c][-x][-r][-a mm/dd/yy][-b mm/dd/yy][-f filter] [-i ID[,ID[,...] | -e ID[,ID[,...]]] [-o event source[,event source][,..]]] [-q event source[,event source][,..]]] [-l event log file] <eventlog>

@file
Execute the command on each of the computers listed in the file.

-a
Dump records timestamped after specified date.

-b
Dump records timestamped before specified date.

-c
Clear the event log after displaying.

-d
Only display records from previous n days.

-e
Exclude events with the specified ID or IDs (up to 10).

-f
Filter event types with filter string (e.g. “-f w” to filter warnings).

-g
Export an event log as an evt file. This can only be used with the -c switch (clear log).

-h
Only display records from previous n hours.

-i
Show only events with the specified ID or IDs (up to 10).

-l
Dump records from the specified event log file.

-m
Only display records from previous n minutes.

-n
Only display the number of most recent entries specified.

-o
Show only records from the specified event source (e.g. \”-o cdrom\”).

-p
Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

-q
Omit records from the specified event source or sources (e.g. \”-o cdrom\”).

-r
Dump log from least recent to most recent.

-s

This switch has PsLogList print Event Log records one-per-line, with comma delimited fields. This format is convenient for text searches, e.g. psloglist | findstr /i text, and for importing the output into a spreadsheet.

-t
The default delimeter is a comma, but can be overriden with the specified character.

-u
Specifies optional user name for login to remote computer.

-w
Wait for new events, dumping them as they generate.

-x
Dump extended data.

eventlog
By default PsLogList shows the contents of the System Event Log. Specify a different event log by typing in the first few letters of the log name, application, system, or security.

How it Works
Like Win NT/2K’s built-in Event Viewer and the Resource Kit’s elogdump, PsLogList uses the Event Log API, which is documented in Windows Platform SDK. PsLogList loads message source modules on the system where the event log being viewed resides so that it correctly displays event log messages.

(source)

Cheers,

pavs



Pages (17): « First ... « 12 13 14 [15] 16 17 »