You find that a host (192.168.1.4) being used on one of your client's networks has been compromised with a backdoor program listening on port 31337. Your client requests a list of originating IP addresses connecting to that port. Using a Linux workstation as traffic analyzer, which of the following commands would gather the data requested by the client?

A.

tcpdump host 192.168.1.4 and port 31337 -w out

B.

nmap host 192.168.1.4:31337

C.

arpwatch -n 192.168.1.4/32 -p 31337 < capture

D.

pcap -d 192.168.1.4:31337

E.

ipwatch --syn 192.168.1.4 -p 31337 --1og=out

题解

地址解析协定(ARP, Address Resolution Protocol)可用 IP 地址来查找对应到的 MAC 地址。

选项 A,「tcpdump」指令可以用来显示网络界面的封包。为正确答案。

选项 B,「nmap」指令可以用来探测及扫描网络。

选项 C,「arpwatch」指令可以监听与记录局域网路中的 ARP 封包,同时将变化报告利用 E-mail 来寄送。

选项 D,没有「pcap」指令。

选项 E,没有「ipwatch」指令。