{
	"id": "18041f52-1064-49d7-aa94-76c81e99b9d8",
	"created_at": "2026-04-06T00:21:48.323456Z",
	"updated_at": "2026-04-10T03:21:24.449372Z",
	"deleted_at": null,
	"sha1_hash": "8e2da839e23c416ff9e2c67369d7466a0807fef4",
	"title": "Netstat",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 53235,
	"plain_text": "Netstat\r\nArchived: 2026-04-05 16:00:04 UTC\r\nDisplays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table,\r\nIPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over\r\nIPv6, and UDP over IPv6 protocols). Used without parameters, netstat displays active TCP connections.\r\nSyntax\r\nnetstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]\r\nParameters\r\n-a   : Displays all active TCP connections and the TCP and UDP ports on which the computer is listening.\r\n-e   : Displays Ethernet statistics, such as the number of bytes and packets sent and received. This parameter can\r\nbe combined with -s.\r\n-n   : Displays active TCP connections, however, addresses and port numbers are expressed numerically and no\r\nattempt is made to determine names.\r\n-o   : Displays active TCP connections and includes the process ID (PID) for each connection. You can find the\r\napplication based on the PID on the Processes tab in Windows Task Manager. This parameter can be combined\r\nwith -a, -n, and -p.\r\n-p   Protocol   : Shows connections for the protocol specified by Protocol. In this case, the Protocol can be tcp,\r\nudp, tcpv6, or udpv6. If this parameter is used with -s to display statistics by protocol, Protocol can be tcp, udp,\r\nicmp, ip, tcpv6, udpv6, icmpv6, or ipv6.\r\n-s   : Displays statistics by protocol. By default, statistics are shown for the TCP, UDP, ICMP, and IP protocols. If\r\nthe IPv6 protocol for Windows XP is installed, statistics are shown for the TCP over IPv6, UDP over IPv6,\r\nICMPv6, and IPv6 protocols. The -p parameter can be used to specify a set of protocols.\r\n-r   : Displays the contents of the IP routing table. This is equivalent to the route print command.\r\nInterval   : Redisplays the selected information every Interval seconds. Press CTRL+C to stop the redisplay. If\r\nthis parameter is omitted, netstat prints the selected information only once.\r\n/?   : Displays help at the command prompt.\r\nParameters used with this command must be prefixed with a hyphen (-) rather than a slash (/).\r\nhttps://technet.microsoft.com/en-us/library/bb490947.aspx\r\nPage 1 of 3\n\nNetstat provides statistics for the following:\r\nProto\r\nThe name of the protocol (TCP or UDP).\r\nLocal Address\r\nThe IP address of the local computer and the port number being used. The name of the local\r\ncomputer that corresponds to the IP address and the name of the port is shown unless the -n\r\nparameter is specified. If the port is not yet established, the port number is shown as an asterisk (*).\r\nForeign Address\r\nThe IP address and port number of the remote computer to which the socket is connected. The\r\nnames that corresponds to the IP address and the port are shown unless the -n parameter is\r\nspecified. If the port is not yet established, the port number is shown as an asterisk (*).\r\n(state)\r\nIndicates the state of a TCP connection. The possible states are as follows:\r\nCLOSE_WAIT\r\nCLOSED\r\nESTABLISHED\r\nFIN_WAIT_1\r\nFIN_WAIT_2\r\nLAST_ACK\r\nLISTEN\r\nSYN_RECEIVED\r\nSYN_SEND\r\nTIMED_WAIT\r\nFor more information about the states of a TCP connection, see RFC 793.\r\nThis command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in\r\nthe properties of a network adapter in Network Connections\r\nExamples\r\nTo display both the Ethernet statistics and the statistics for all protocols, type the following command:\r\nhttps://technet.microsoft.com/en-us/library/bb490947.aspx\r\nPage 2 of 3\n\nnetstat -e -s\r\nTo display the statistics for only the TCP and UDP protocols, type the following command:\r\nnetstat -s -p tcp udp\r\nTo display active TCP connections and the process IDs every 5 seconds, type the following command:\r\nnbtstat -o 5\r\nTo display active TCP connections and the process IDs using numerical form, type the following command:\r\nnbtstat -n -o\r\nFormatting legend\r\nFormat Meaning\r\nItalic Information that the user must supply\r\nBold\r\nElements that the user must type exactly as\r\nshown\r\nEllipsis (...)\r\nParameter that can be repeated several times in a\r\ncommand line\r\nBetween brackets ([]) Optional items\r\nBetween braces ({}); choices separated by pipe (|).\r\nExample: {even|odd}\r\nSet of choices from which the user must choose\r\nonly one\r\nCourier font Code or program output\r\nCommand-line reference A-Z\r\nSource: https://technet.microsoft.com/en-us/library/bb490947.aspx\r\nhttps://technet.microsoft.com/en-us/library/bb490947.aspx\r\nPage 3 of 3",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://technet.microsoft.com/en-us/library/bb490947.aspx"
	],
	"report_names": [
		"bb490947.aspx"
	],
	"threat_actors": [],
	"ts_created_at": 1775434908,
	"ts_updated_at": 1775791284,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/8e2da839e23c416ff9e2c67369d7466a0807fef4.pdf",
		"text": "https://archive.orkl.eu/8e2da839e23c416ff9e2c67369d7466a0807fef4.txt",
		"img": "https://archive.orkl.eu/8e2da839e23c416ff9e2c67369d7466a0807fef4.jpg"
	}
}