The TCPVCon feature allows the user to collect process-to-port mapping data used for dependency mapping on Windows 2000, XP & 2003 endpoints. These legacy systems lack modern commands/options (i.e. netstat -o
) required to support this dependency mapping generation. This Enabling option can be configured on a Scan-job so that
- either an alternative command is located on the target and run
- or a new command executable file is deployed to the target and run
Currently applicable to O/S: Only Windows targets.
Usage
Navigate to the Scan Job you wish to enable Scanning on. Open the configuration menu.
Select the tab “Scan Details“ tab. From the Enablings drop-down options select “TCPVCON“.
Press the “Save Changes” button to persist the new Scan Job configuration. Run the updated Scan Job as normal to collect process to port mapping for legacy windows Targets in the generated scope.
Output
A successful scan of legacy Targets should now create appropriate dependency maps.
How It Works
To discover TCP/UDP connections and get the process mapping, the netstat
command supporting the "-o" argument has to be present on the Windows computer system. On Windows 2000 and the early versions of Windows 2003/XP, netstat
does not support the "-o" argument.
The above enabling TCPVCON can be configured within the Illuminate 360 appliance server to facilitate these situations.
- Illuminate 360 will always check if the
netstat
command available supports the "-o" argument. - Alternatively, Illuminate 360 will check for the availability of the
tcpvcon
command version 2.34 - Where this is not available (or if the version is higher than 2.34) and the TCPVCON option has been enabled on the scan job, the following additional strategies will be used to gather the information:
- check for the existence of the
tcpvcon 2.34
in the windowstemp
directory - copy the
tcpvcon 2.34
to the Windows temp directory, if not already available - execute the command from this temp directory and gather the process output.
- check for the existence of the
TCPVCON command
TCPVCon is the command-line version of TCPView. tcpvcon
command is an alternative command tonetstat
and is used to get the TCP/UDP connections and the process mapping. It was developed by Sysinternals and was acquired by Microsoft in July 2006. Like netstat
, TCPVCon simply displays connected TCP endpoints when you run it without specifying any command-line arguments, or it displays all endpoints when you include the -a option.