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 11-25-2011, 07:18 PM   #1
Tommyy
LQ Newbie
 
Registered: Aug 2011
Posts: 15

Rep: Reputation: Disabled
Chkrootkit found a "sniffer" I think.


Code:
Checking `sniffer'... wlan0: PF_PACKET(/usr/sbin/wpa_supplicant)
I have decided to run Chkrootkit since I haven't ran it in a couple weeks and that came up, it wasn't there before though so I am a bit worried.

Do any of you have any ideas if this is malware or not?
 
Old 11-26-2011, 05:32 AM   #2
War3zWad|0
Member
 
Registered: Sep 2011
Location: Houston, TX
Distribution: openSuSE, Fedora, CentOS, Debian,, and others
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by Tommyy View Post
Code:
Checking `sniffer'... wlan0: PF_PACKET(/usr/sbin/wpa_supplicant)
I have decided to run Chkrootkit since I haven't ran it in a couple weeks and that came up, it wasn't there before though so I am a bit worried.

Do any of you have any ideas if this is malware or not?
Are you sure that file was not there?

The reason I ask is I have that exact file on my openSuSE Laptop with both my KDE and GNOME installs.

If you have a wireless card or have installed a wireless NIC then yeah I am pretty sure you should have that file.

Now the question becomes have you updated your system since the last time your ran Chkrootkit and now? The next question is a security minded question... directly after installing your OS did you create a checksum file of your system files to ensure they have not been modified by so sort of malware or virus?
 
1 members found this post helpful.
Old 11-26-2011, 10:48 AM   #3
Tommyy
LQ Newbie
 
Registered: Aug 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Well I am not sure if it was there before or not. Yeah I have a wireless card. I check for updates on my system everyday. No I didn't create a checksum.
 
Old 11-26-2011, 01:37 PM   #4
War3zWad|0
Member
 
Registered: Sep 2011
Location: Houston, TX
Distribution: openSuSE, Fedora, CentOS, Debian,, and others
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by Tommyy View Post
Well I am not sure if it was there before or not. Yeah I have a wireless card. I check for updates on my system everyday. No I didn't create a checksum.
Well seeing how you have a wireless card installed then yes that file should be there. Now when you first ran chkrootkit did you modify the configuration files for your system? I cannot recall right off hand as I personally use rkhunter and I know it requires modification or "configuration" for the system it is running on. Now wpa_supplicant if I recall correctly is how your WIFI card can handle wpa encrypted networks correctly, but I could be wrong.

The reason I ask about updating your system is if you configured chkrootkit for your system then updated and the wpa_supplicant file changed in any way then it would be seen as a problem by chkrootkit as the file has changed since it first saw the file.

Most likely you don't have a problem but a great test is to "re-install" and see if that file is installed and is the same as it currently is on your system. Outside of that I am thinking you have nothing to worry about but there are many factors to consider.
 
1 members found this post helpful.
Old 11-26-2011, 02:53 PM   #5
Tommyy
LQ Newbie
 
Registered: Aug 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks War3zWad|0. That answered a lot of my questions. Also no I didn't configure it for my system and probably should next time before I run it again.
 
Old 11-26-2011, 05:52 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

if you are going to re-install can I suggest you have a package of rootkit hunter downloaded and install it at the same time with no net so you can use its features to check for system file changes?

good luck

http://sourceforge.net/apps/trac/rkh...MPRKH#Contents
 
Old 11-27-2011, 04:47 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Tommyy View Post
Do any of you have any ideas if this is malware or not?
If you don't run Wireless then there exists a probability of a process disguising itself as a process with a seemingly legitimate name. (That would be easy to find out comparing hashes, time stamps, access rights and ownership information with the file from a remote and trusted repo.) OTOH if you do then the PF_PACKET message (see 'man 7 packet') is an indication of either a network sniffer or, more commonly, an application that requires raw sockets like a DHCP client would.

* The deeper meaning behind the PF_PACKET message is to provide a warning as a sniffer does not necessarily need to have the interface enter promiscuous mode (Google for IFF_PROMISC, MR_PACKET_PROMISC). Example: 'ifconfig eth0 promisc && tcpdump -p -i any 2>&1>/dev/null &'. Chkrootkit, having always relied on using 'ifpromisc', doesn't detect what for instance 'ip' (from the iproute package) can and so I manually patch it in since version 0.41. (Come to think of it the reason why you're seeing the likes of /sbin/ip, skdet and unhide in Rootkit Hunter is that I suggested them back then to Nelson, the main Chkrootkit developer, but he wouldn't hear of external dependencies ;-p Come to think of it, has anyone seen an update of Chkrootkit since 2009?..)
 
  


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
[SOLVED] When I type "sudo grub" it says "command not found" in Ubuntu 9.10 Live CD. msbstar Linux - Newbie 10 04-01-2020 11:54 PM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
automount 5.0.3 with auto.smb script yields "key "<name>" not found in map" rbergen Linux - Software 0 01-01-2010 12:27 PM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM

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

All times are GMT -5. The time now is 09:43 AM.

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