Re: How to detect process using ICMP



Hi all,

Thanks to everyone who replied - they were very helpful.

Confirmed that it was indeed the Stacheldraht agent. Anyway here's
how I eventually got it:

- did tcpdump -i eth0 -n icmp on the Linux box. confirmed that
indeed it was doing ICMP
- did the following commands as suggested in the web sites:

- lsof -c ttymon. this confirmed ttymon process running
- lsof | grep raw. this confirmed that it was the ttymon process
sending out ICMPs
- strings /sbin/ttymon. this confirmed that the ttymon binary was
indeed the Stacheldraht agent.


Web sites:
http://xforce.iss.net/xforce/xfdb/3757
http://staff.washington.edu/dittrich/misc/stacheldraht.analysis



Best,
Tony



On Sat, Nov 21, 2009 at 8:08 AM, Jared Curtis <jared@xxxxxxxxxxxx> wrote:
I don't know how to find which process is sending ICMP but the netstat
command can show you which process is using which port and where it is
connected.

netstat -np, would be a good start.

On Wed, Nov 18, 2009 at 9:38 PM, Tony Raboza <tonyraboza@xxxxxxxxx> wrote:
Hi

I have a Linux server which I now is sending out strange ICMP traffic
to two hosts.  My IDS (snort) told me that its a stacheldraht-dos.  I
have checked on the server using tcpdump and indeed it is sending out
ICMP.  Now, how do I found out which process is doing this?  lsof so
far has not been successful.

Thanks.


Best,
Tony

------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------




------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------