- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
dns_resolve
Cause the sensor to do a network resolution.
Mainly used for internal purposes.
Platforms: Windows, Linux, MacOS, Chrome
usage: dns_resolve [-h] domain
positional arguments:
domain domain name to resolve
netstat
List network connections and sockets listening.
Platforms:
usage: netstat [-h]
Output:
{
"FRIENDLY": 0,
"NETWORK_ACTIVITY": [
{
"DESTINATION": {
"IP_ADDRESS": "0.0.0.0",
"PORT": 0
},
"PROCESS_ID": 716,
"PROTOCOL": "tcp4",
"SOURCE": {
"IP_ADDRESS": "0.0.0.0",
"PORT": 135
},
"STATE": 2
},
{
...
}
]
}
Netstat STATE
fields can be mapped via the Windows MIB_TCP_STATE
table, found here.
State | Value |
---|---|
1 | CLOSED |
2 | LISTEN |
3 | SYN-SENT |
4 | SYN-RECEIVED |
5 | ESTABLISHED |
6 | FIN-WAIT-1 |
7 | FIN-WAIT-2 |
8 | CLOSE-WAIT |
9 | CLOSING |
10 | LAST-ACK |
11 | TIME-WAIT |
12 | DELETE TCB |
pcap_ifaces
List the network interfaces available for capture on a host.
Was this article helpful?