Mailing List Archive

Sorting By Authentication
In my organization we are audited several times a year and I would like
to have a *non standard* view into my Nessus vulnerabilities. As opposed
to ranking my findings "high to low" I would like to sort them from
"would an auditor see this the way they scan" or not. An auditor usually
will scan unauthenticated, while for our internal processes we use full
credentials. There is nothing inside a plugin that says flat out
"credentials required" so it takes a little more work to get to that
level. The only way that I have been (almost) able to get there is the
following:



Cmd Prompt

CD to C:\Program Files\Tenable\Nessus\plugins\scripts and run:

Findstr /C:"script_id" *.nasl >AllPlugins.txt

Findstr /C:"smb_func.inc" *.nasl >windowsauthreq.txt

Findstr /C:"ssh_func.inc" *.nasl >unixauthreq.txt



once I chug through all 25k plugins, I am left with 3 files: a
FullPlugin table, plugins requiring SMB (windows auth), and then the
same for Unix.



I then import these into Excel and use them as tables to bounce against
my vuln report.



There are obvious flaws in some of the logic and that is the help I am
looking for. I have 76 INC files in my installation. I know that there
are other INCs which call for windows/unix authentication. If I went
with SMB*.inc and SSH*.inc, would that be all inclusive? Or am I over
thinking this and there is a better way (other than doing to 2 separate
scans)?



With the massive amount of devices on our networks, if I could sort the
Plugins as opposed to doing multiple scans it would save days of time.



Sorry if this is the wrong list for this, but I figured that we are
dealing with NASL on the list and that is the data which I am using for
my ranking.



Any help is appreciated-



Jeremy
Re: Sorting By Authentication [ In reply to ]
On Thu, 11 Sep 2008 22:19:57 -0400
<Jeremy.Grainger@bcbssc.com> wrote:

> An auditor usually will scan unauthenticated

Odd. For me, audit = whitebox tests = with credentials.

> There is nothing inside a plugin that says flat out "credentials
> required"

There is no simple process to get that.
Most scripts (but not all of them) which requires credentials are in
the "local tests" families:
AIX Local Security Checks
CentOS Local Security Checks
Debian Local Security Checks
Fedora Local Security Checks
FreeBSD Local Security Checks
Gentoo Local Security Checks
HP-UX Local Security Checks
MacOS X Local Security Checks
Mandrake Local Security Checks
Red Hat Local Security Checks
Slackware Local Security Checks
Solaris Local Security Checks
SuSE Local Security Checks
Ubuntu Local Security Checks
Windows : Microsoft Bulletins

Plus, if I am not mistaken:
Policy Compliance
Windows : User management

_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
Re: Sorting By Authentication [ In reply to ]
this is a test as I've never responded to this list.

I have a question regarding authentication using a nessus .audit file. I'm
testing the commerical nessus against a few servers before going live. I'd
like to run just the .audit file against the box without any of the nasl
files. I know how to deselect those and I know where to include the
.audit file. However, I'm not sure about how to establish authentication
so I can check the inside of the box using the .audit file and where to
set up the authentication. Also do I need to have administrator access?

My question regarding where to set up the authentication is in the .audit
file or in the nessus client and if in the nessus client where exactly? In
the client under "advanced" the pull down menu for login confguration asks
for various account information but no SSH accounts. Just asking.

Also I'm testing linux boxes. The only Compliance checks are for Unix
under the nessus client. What difference would it be to run a linux check
under the unix compliance checks?

Thanks for your help.

Frank Kenisky IV, CISSP, CISA, CISM
Information Technical Security Specialist
(210) 301-6433 - (210) 887-6985
Re: Sorting By Authentication [ In reply to ]
Hi Frank,

In Nessus, you want to select the "Credentials" tab and then "SSH settings" from the drop down. There you can enter your credentials and choose
various items including ssh login creds, public/private key, su/sudo authentication, etc. The actual audit file doesn't store credentials for
running your compliance check.

Since many audit items require administrative system access, you'll want to make sure that your user has root privileges. Also, the Unix
compliance checks work fine for any Unix variant (Linux, AIX, Solaris, HPUX, etc.)

Paul



Frank_Kenisky@psc.uscourts.gov wrote:
>
> this is a test as I've never responded to this list.
>
> I have a question regarding authentication using a nessus .audit file.
> I'm testing the commerical nessus against a few servers before going
> live. I'd like to run just the .audit file against the box without any
> of the nasl files. I know how to deselect those and I know where to
> include the .audit file. However, I'm not sure about how to establish
> authentication so I can check the inside of the box using the .audit
> file and where to set up the authentication. Also do I need to have
> administrator access?
>
> My question regarding where to set up the authentication is in the
> .audit file or in the nessus client and if in the nessus client where
> exactly? In the client under "advanced" the pull down menu for login
> confguration asks for various account information but no SSH accounts.
> Just asking.
>
> Also I'm testing linux boxes. The only Compliance checks are for Unix
> under the nessus client. What difference would it be to run a linux
> check under the unix compliance checks?
>
> Thanks for your help.
>
> Frank Kenisky IV, CISSP, CISA, CISM
> Information Technical Security Specialist
> (210) 301-6433 - (210) 887-6985
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Plugins-writers mailing list
> Plugins-writers@list.nessus.org
> http://mail.nessus.org/mailman/listinfo/plugins-writers

--
Best Regards,

Paul Davis
Research Engineer
Tenable Network Security Inc
Phone: 410.872.0555
www.tenablesecurity.com

Is your network TENABLE?
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers