Sniffing is a common way in gathering and intercepting network data, but malicious sniffing often does great harm to network security. The implement theory and operation mode of network sniffing under diiferent network environment are presented, and then a special discussion on how to detect, prevent and counterattack the malicious sniffing is given.