LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-04-2004, 02:56 PM   #1
tour
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
Chkrootkit : ppp0: not promisc and no PF_PACKET sockets


Greetings,

When I run chkrootkit with my internet connection (ppp0) up, I get the following:
Code:
<snip>
Checking `sniffer'... ppp0: not promisc and no PF_PACKET sockets
<snip>
With the internet connection down, I get the normal output:

Code:
<snip>
Checking `sniffer'... Checking `w55808'... not infected
<snip>
I did a google search, but the only hits I got were not helpful.

Now, this has happened ever since I had installed Azuerus and opened port 6881. I'm using Guarddog firewall, btw, and if I reboot, port 6881 is always stealthed until I open up Guarddog and simply hit the apply button and exit. Then port 6881 will open and can get remote connections/faster speeds.

So, I'm wondering, has my box been compromised? Has a sniffer been installed? If that might be the case, where can I look to check besides /var/log/...? What procedure(s) should I take? I did not install a system integrity prog after installing the os, so other than a complete re-install, is there any other way to find out why I get the "Checking `sniffer'...ppp0: not promisc and no PF_PACKET sockets"? Am I just worrying about nothing?

Nothing unusual shows up in last, lastlog, ps, top, w, who, etc. I haven't seen anything out of the ordinary when my connection is up...only just some light random traffic, which I believe is normal.
 
Old 08-04-2004, 10:04 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
The "not promisc and no PF_PACKET sockets" message is normal. The first part of the message is saying "There are no interfaces in promiscuous mode (aka sniffing network traffic)". The second part of the message tells you "no PF_PACKET sockets are listening for traffic". Ok so what's a PF_PACKET socket? A PF_PACKET socket is a special type of networking socket that bypasses the usually tcp/ip networking stack and interacts directly with the network device driver. Most normal applications should use standard PF_INET sockets, so seeing a PF_PACKET socket isn't entirely normal (though certain things like dhcp clients will use them and generate a false alarm). So in this case, the message is telling you that everything is normal and it isn't seeing anything odd.
 
Old 08-04-2004, 10:54 PM   #3
tour
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your reply. You're explanation was much eaiser to understand than what I had found earlier...you have set my mind at ease.

One thing that I'm still curious about is, why would I get this message from chkrootkit all of a sudden, when I never got it before?
 
Old 08-04-2004, 11:19 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Not sure about that one. Were you doing something different, like running chkrootkit with networking down or the ppp0 interface not activated? You can probably even test it by running chkrootkit with ppp0 up and then with it down and compare the results.
 
Old 08-05-2004, 04:45 AM   #5
tour
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Capt_Caveman
Were you doing something different, like running chkrootkit with networking down or the ppp0 interface not activated?
No, I have always ran chkrootkit with networking up, and ppp0 either up or down, and never have seen the "not promisc and no PF_PACKET sockets" message until just recently after installing Azureus. So, that's where my concern came from. Having always seen the message "Checking `sniffer'... Checking `w55808'... not infected", then seeing another message, had me thinking that someone was sniffing my packets for malicious use.

Quote:
Originally posted by Capt_Caveman
You can probably even test it by running chkrootkit with ppp0 up and then with it down and compare the results.
Yes, I have done that, as I mentioned in the first post. I still do get different results. "...not infected" with ppp0 down and "not promisc..." with it up. I guess I'm not understanding why/what the reason the message has changed all of a sudden.
 
Old 08-05-2004, 10:51 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
If you are concerned, try running rootkit hunter instead. It has a test for promiscuous interfaces as well.

Also out of my own curiousity, try just running the ifpromisc helper app by itself and see if it still does the same thing. Btw, what linux distro/version are you using and what verision of chkrootkit are you running?
 
Old 08-06-2004, 12:48 PM   #7
tour
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the recommendation of rootkit hunter. I've installed and ran it and everything checks out ok.

If I turn promisc on for ppp0 (# ip link set dev ppp0 promisc on), run chkrootkit, I get a different message:
Code:
Checking `sniffer'... ppp0: PROMISC
So, all seems well...for now.

Oh, I'm running Mandrake cooker and the verision of chkrootkit installed is 0.43-1.

Thanks again for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth1 and ppp0, need to send UDP packets through ppp0 smhs Linux - Networking 2 07-12-2005 08:54 AM
ADSL-STATUS: linked to ppp0 but ppp0 seems to be down. mikkime23 Linux - Networking 1 01-01-2005 11:00 AM
unbound PF_PACKET Peterius Programming 0 11-10-2004 12:38 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-20-2004 11:04 PM
send eth pkt directly to datalink(PF_PACKET) milod Programming 6 10-29-2003 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration