Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enumerate installed software via ssh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NiceGuy
Guru
Guru


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Mon May 26, 2008 9:29 pm    Post subject: Enumerate installed software via ssh Reply with quote

Hello,

Just ran a nessus scan on my Gentoo Server, and reports:
Code:
Family   General:
Nessus Plugin ID:   22869
Bugtraq ID   
CVE ID   

Description:

Synopsis :

It is possible to enumerate installed software on the remote host, via SSH.

Description :

This plugin lists the software installed on the remote host by calling the
appropriate command (rpm -qa on RPM-based Linux distributions, etc...)


Then the report goes on to list all the installed software on my remote Gentoo server ... I really do not like this, does anybody have a solution to prevent the retrieval of such information.

Additionally, Gentoo is not rpm based, so don't know what the whole "rpm -qa" is about.

Thanks
_________________
success is the ability to go from one failure to the next without any loss of enthusiasm
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Mon May 26, 2008 9:35 pm    Post subject: Reply with quote

rpm -qa lists all installed packages on a RPM based system (Redhat, Fedora, etc.)

On Gentoo, you can use qlist -I or equery list to do the same thing.
You can also use commands like find /var/db/pkg/ -type d.
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Tue May 27, 2008 2:24 am    Post subject: Reply with quote

Hi,

It seems nessus is using your ssh keys to log on to the remote server (since you must have set up ssh passwordless login for that server from the box on which you are running nessus). Here is the http://www.nessus.org/plugins/index.php?view=viewsrc&id=22869 to the source of that nessus plugin.

The rpm stuff it shows is just an example. In your case it must have executed qpkg-list. I don't think there is anything abnormal in this unless I am wrong about the assumption that you have configured password less login to your server.

To confirm, run nessus from a machine, from which you cannot log-on password less-ly to your server.

cheers,
--cyberjun
Back to top
View user's profile Send private message
NiceGuy
Guru
Guru


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Tue May 27, 2008 2:29 pm    Post subject: Reply with quote

Hello,

Thanks for the replies. Unfortunately, I do not/ nor have I ever set the Gentoo server up to allow for password-less logins. Additionally, my Gentoo system does not have the qlist or qpkg-list commands available. Somehow the installed package are being displayed.

Still trying to prevent this.
Thanks
_________________
success is the ability to go from one failure to the next without any loss of enthusiasm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum