Quote:
Originally posted by jparker
OK.. here we go witha little lesson on sniffing:
A) It's not detectable from a remote network source (by any method that I have heard of) This is because the packets are never modified only looked at. So, unless you're on the local machine, or, you put this sniffer on a machine that someone can find the running pid, then you're OK.
B) As for logging the binary data? Sure you can, why you would is beyond me because of the fact that every packet that is read by your sniffer is going to be a the form of a "packet frame". A "bundle" with a specific format that it's wrapped in to be sent across the network. Logging this raw data will corrupt the binary. It's the job of the TCP/IP or whatever network stack to correctly maintain the binary data structure.
You could log plaintext information form your sniffer, but then, that would just be unethical.
You can get caugth by a computer on the same lan as you. Just imagine that you send a forged ethernet packet with random MAC address, your IP address and ICMP echo-request.