How to Limit Nessus plugins to checking a single port or a short list of explicit ports.

Posted on 2006-03-29
Medium Priority
Last Modified: 2013-11-18
Some firewalls have a real-time countermeasure blacklisting the source IP of a scan after it hits 3 or so ports.   If I know that 443 or 8080 are open and I want Nessus to check for vulnerabilities on those ports without tripping the blacklist, how can I limit Nessus to 443 and/or 8080.  Limiting the "Scanning" built into Nessus does not seem limit the ports checked by the plugins.  Other than setting up some external outbound packet filtering, is there a way to limit the Nessus plugins to a single port.  
Question by:swbruce21

Expert Comment

ID: 16324805
Nessus may be a free utility but I imagine that its specific to whatever the software was originally intended to do.  Unless there are particular switches built into the application, you may need to contact the creator of this software.

Expert Comment

ID: 16324967
I don't have my laptop in front of me... that is my hacking rig....
but, there is a file in nessus that details the default ports to scan... I believe it is called nessus-services.
I bet if you edit that file to only include what you want to scan, you would be good to go.
You could also use the user rules to only allow a certain nessus user to scan certain ports...
Most people never setup user rules, my self included, so you would have to research the exact rule syntax yourself....
but for sure nessus can do what you want.

Author Comment

ID: 16328065
I will do a test again but the scan setting only seems to control the preliminary scans, not the plugins.

Accepted Solution

tnapolitano earned 1500 total points
ID: 16335346
There are 2 portions to a Nessus scan: portscanning and vulnerability checks.

You can limit ports scanned by going to the Scan Options tab, and entering the desired ports in Port Range (ex: 80,443,8080). To limit vulnerability check to those ports, either choose plugins for services   that run on the selected port or modify the plugins (at your own risk).  


Author Comment

ID: 16374565
I guess there isn't a good answer to this question.   The plugins test ports based on their own hard-wired design,  so there is no simple way to confine all activity to a single port on the target.   ( that's my conclusion at this time - it could be wrong )

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question