Hello, This is regarding Message 3 "OpenVAS hostnames are not listed in Asset Management" in Vol 92, issue 28
I saw Dr. Wagner's response, checked, and verified that under Asset Management > Host Details > Host Identification, there is no information, other than the IP and mac address. Thank you, Ryan On Fri, Sep 19, 2014 at 2:05 AM, < [email protected]> wrote: > Send Openvas-discuss mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Openvas-discuss digest..." > > > Today's Topics: > > 1. Re: Credentialed Scans - Not Working (Turner, Jonas) > 2. Re: Unable to add target with credentials using OMP > (Matthew Mundell) > 3. OpenVAS hostnames are not listed in Asset Management (Ryan Jones) > 4. Re: Unable to add target with credentials using OMP (openvas: > message 2 of 20) (John Lammers) > 5. Re: Unable to add target with credentials using OMP (openvas: > message 4 of 20) (John Lammers) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 18 Sep 2014 20:01:44 +0000 > From: "Turner, Jonas" <[email protected]> > To: "Jan-Oliver Wagner" <[email protected]>, > "[email protected]" > <[email protected]> > Subject: Re: [Openvas-discuss] Credentialed Scans - Not Working > Message-ID: > < > 45fd60a02147b14ea3684c69316bd812399ec...@pexmb03.hcr-manorcare.com> > Content-Type: text/plain; charset=utf-8 > > When you refer to "report"...do you mean a log file? If so, do you know of > the location? > > If you mean report from within the GSAD interface, I haven't look if it's > there. > > Thanks for replying btw! > > -----Original Message----- > From: Openvas-discuss [mailto:[email protected]] > On Behalf Of Jan-Oliver Wagner > Sent: Thursday, September 18, 2014 3:53 PM > To: [email protected] > Subject: Re: [Openvas-discuss] Credentialed Scans - Not Working > > Am Dienstag, 16. September 2014, 17:39:24 schrieb Turner, Jonas: > > Does anyone else have WORKING credential scans? I still can?t seem to > > get mine to work. :/ > > well, sure, thats daily business over here ;-) > > What does the log result about SMB authentication say in your report? > > my wild guess is that your credential encryption is damaged somehow and > that the scanner thus can not send a password for authentication. > > -- > Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/ > Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabr?ck | AG Osnabr?ck, > HR B > 202460 > Gesch?ftsf?hrer: Lukas Grunwald, Dr. Jan-Oliver Wagner > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > > ------------------------------ > > Message: 2 > Date: 18 Sep 2014 22:10:16 +0100 > From: Matthew Mundell <[email protected]> > To: [email protected] > Cc: [email protected] > Subject: Re: [Openvas-discuss] Unable to add target with credentials > using OMP > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > > Sending to manager: > > <create_target> > > <name>Johns Test VM</name> > > <hosts>10.0.1.17</hosts> > > <ssh_lsc_credential id=?d50da9b2-58a3-4c19-8194-a3d1d5d7ca14?> > > The UTF-8 quotation marks here seem to be the problem. Try with a regular > ". > > > <port>22</port> > > </ssh_lsc_credential> > > </create_target> > > lib xml-Message: Error: Error on line 1 char 1: Document was empty > or > > contained only whitespace > > (omp:3776): lib xml-WARNING **: End error: Error on line 1 char 1: > > Document was empty or contained only whitespace > > Failed to read response. > > -- > Greenbone Networks GmbH > Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 > Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner > > > ------------------------------ > > Message: 3 > Date: Thu, 18 Sep 2014 10:52:03 -0400 > From: Ryan Jones <[email protected]> > To: [email protected] > Subject: [Openvas-discuss] OpenVAS hostnames are not listed in Asset > Management > Message-ID: > < > ca+oy0pqn8cd5a2a3mvkaqsblpg1fhcwi6rynr0rbsen9sxc...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I've got an openvas installation on centos 6.5. I've scanned the vlan on > which this server resides, and have gotten only one hostname back, from an > alfresco ubuntu server that has cifs enabled. I found in the results table > in the sqlite3 database, that it was found through the netbios name. > > I've monitored our dns server, and I can see the openvas server performing > reverse DNS lookups successfully. What's more, in the results table in > tasks.db, I can see Nikto scans that have fqdn for various servers. > > For whatever reason, in Greenbone, these hostnames are not displayed, or > are not available. I can't see anything useful in the openvassd.log, .dump, > or openvasmd.log files. > > Any help would be appreciated. > > Ryan > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20140918/a2797740/attachment.html > > > > ------------------------------ > > Message: 4 > Date: Thu, 18 Sep 2014 10:59:30 -0400 > From: John Lammers <[email protected]> > To: "[email protected]" > <openvas.jel.06f3f67e71.matthew.mundell#[email protected]> > Cc: [email protected], [email protected] > Subject: Re: [Openvas-discuss] Unable to add target with credentials > using OMP (openvas: message 2 of 20) > Message-ID: > <CAJ2aXk0pSSndqHQr= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Thanks Matthew. I added -v and replaced all 127's with 128's. > Oddly, trying to add the target only produced 3 debug messages. > > Here's the last 30 lines of openvasmd.log > > event lsc_credential:MESSAGE:2014-09-16 22h28.42 UTC:7176: LSC Credential > 8d8897ba-1aec-493c-b9eb-ba671703a36d has been created by admin > lib rer:WARNING:2014-09-16 22h28.55 UTC:7203: Target source configuration > could not be loaded. > lib auth: INFO:2014-09-17 14h59.53 utc:2026: Authentication configuration > not found. > event lsc_credential:MESSAGE:2014-09-17 18h12.50 UTC:17279: LSC Credential > 8d8897ba-1aec-493c-b9eb-ba671703a36d has been modified by admin > lib rer:WARNING:2014-09-17 18h13.39 UTC:17299: Target source > configuration could not be loaded. > event lsc_credential:MESSAGE:2014-09-17 20h16.11 UTC:17849: LSC Credential > 8d8897ba-1aec-493c-b9eb-ba671703a36d has been deleted by admin > base gpgme:MESSAGE:2014-09-17 20h17.36 UTC:17864: Setting GnuPG homedir to > '/usr/local/var/lib/openvas/gnupg' > base gpgme:MESSAGE:2014-09-17 20h17.36 UTC:17864: Using OpenPGP engine > version '1.4.12' > event lsc_credential:MESSAGE:2014-09-17 20h17.36 UTC:17864: LSC Credential > d50da9b2-58a3-4c19-8194-a3d1d5d7ca14 has been created by admin > event report:MESSAGE:2014-09-17 20h32.10 UTC:17936: Report > 581aaa3b-50b2-452d-9049-5a8e8feac34e has been deleted by admin > lib rer:WARNING:2014-09-17 20h32.23 UTC:17946: Target source > configuration could not be loaded. > event lsc_credential:MESSAGE:2014-09-17 20h33.04 UTC:17958: LSC Credential > d50da9b2-58a3-4c19-8194-a3d1d5d7ca14 has been modified by admin > lib rer:WARNING:2014-09-17 20h37.05 UTC:17985: Target source > configuration could not be loaded. > lib rer:WARNING:2014-09-17 20h37.11 UTC:17988: Target source > configuration could not be loaded. > event target:MESSAGE:2014-09-17 20h37.19 UTC:17991: Target > f59262d8-cb92-4200-93f7-7b1277b89663 has been modified by admin > event target:MESSAGE:2014-09-17 20h37.44 UTC:18001: Target > f59262d8-cb92-4200-93f7-7b1277b89663 has been modified by admin > event lsc_credential:MESSAGE:2014-09-17 21h04.59 UTC:18206: LSC Credential > d50da9b2-58a3-4c19-8194-a3d1d5d7ca14 has been modified by admin > event task:MESSAGE:2014-09-17 21h18.22 UTC:18282: Status of task > (94daaefb-89ec-401d-bdaa-096f3f744a48) has changed to New > event task:MESSAGE:2014-09-17 21h18.22 UTC:18282: Task > 94daaefb-89ec-401d-bdaa-096f3f744a48 has been created by admin > event task:MESSAGE:2014-09-17 21h18.47 UTC:18287: Status of task Scan Johns > Test VM (94daaefb-89ec-401d-bdaa-096f3f744a48) has changed to Requested > event task:MESSAGE:2014-09-17 21h18.47 UTC:18287: Task > 94daaefb-89ec-401d-bdaa-096f3f744a48 has been requested to start by admin > lib serv:WARNING:2014-09-17 21h18.47 UTC:18287: Failed to gnutls_bye: > Error in the push function. > event task:MESSAGE:2014-09-17 21h18.48 UTC:18289: Status of task Scan Johns > Test VM (94daaefb-89ec-401d-bdaa-096f3f744a48) has changed to Running > event task:MESSAGE:2014-09-17 21h28.09 UTC:18289: Status of task Scan Johns > Test VM (94daaefb-89ec-401d-bdaa-096f3f744a48) has changed to Done > md main:WARNING:2014-09-17 21h28.09 UTC:18289: sql_giveup: cannot start a > transaction within a transaction > lib auth: INFO:2014-09-18 14h12.44 utc:2120: Authentication configuration > not found. > lib auth: INFO:2014-09-18 14h29.48 utc:4103: Authentication configuration > not found. > lib serv: DEBUG:2014-09-18 14h32.03 utc:4176: Shook hands with peer. > lib serv: DEBUG:2014-09-18 14h32.03 utc:4176: Connected to server on > socket 10. > lib serv: DEBUG:2014-09-18 14h32.04 utc:4176: Shook hands with peer. > > > On Thu, Sep 18, 2014 at 3:55 AM, Matthew Mundell - > [email protected] < > openvas.jel.06f3f67e71.matthew.mundell#[email protected]> wrote: > > > > Any help would be much appreciated! > > > > The Manager logs (var/log/openvas/openvasmd.log) may indicate why the > > CREATE_TARGET is failing. To enable logging: add -v to openvasmd, and > > replace 127 with 128 in etc/openvas/openvasmd_log.conf. > > > > -- > > Greenbone Networks GmbH > > Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 > > Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner > > > > > > On Thu, Sep 18, 2014 at 3:55 AM, Matthew Mundell - > [email protected] < > openvas.jel.06f3f67e71.matthew.mundell#[email protected]> wrote: > > > > Any help would be much appreciated! > > > > The Manager logs (var/log/openvas/openvasmd.log) may indicate why the > > CREATE_TARGET is failing. To enable logging: add -v to openvasmd, and > > replace 127 with 128 in etc/openvas/openvasmd_log.conf. > > > > -- > > Greenbone Networks GmbH > > Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 > > Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20140918/55610f9e/attachment.html > > > > ------------------------------ > > Message: 5 > Date: Thu, 18 Sep 2014 16:46:12 -0400 > From: John Lammers <[email protected]> > To: "[email protected]" > <openvas.jel.06f3f67e71.matthew.mundell#[email protected]> > Cc: [email protected] > Subject: Re: [Openvas-discuss] Unable to add target with credentials > using OMP (openvas: message 4 of 20) > Message-ID: > <CAJ2aXk1QNjwTEx-cZy39Kfu8SyvD4RdAbB2= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Thanks Matt, that was it. > > The bad double quotes came from copying and pasting from > > http://elastic-security.com/2013/07/18/automation-of-vulnerability-assessments-with-openvas/ > > Much appreciated. > > By the way, I'm now rolling with the OpenVAS DEMO Virtual Appliance > *Version > 2.0*, released just this morning. > > --John > > > On Thu, Sep 18, 2014 at 5:10 PM, Matthew Mundell - > [email protected] < > openvas.jel.06f3f67e71.matthew.mundell#[email protected]> wrote: > > > > Sending to manager: > > > <create_target> > > > <name>Johns Test VM</name> > > > <hosts>10.0.1.17</hosts> > > > <ssh_lsc_credential id=?d50da9b2-58a3-4c19-8194-a3d1d5d7ca14?> > > > > The UTF-8 quotation marks here seem to be the problem. Try with a > regular > > ". > > > > > <port>22</port> > > > </ssh_lsc_credential> > > > </create_target> > > > lib xml-Message: Error: Error on line 1 char 1: Document was empty > > or > > > contained only whitespace > > > (omp:3776): lib xml-WARNING **: End error: Error on line 1 char 1: > > > Document was empty or contained only whitespace > > > Failed to read response. > > > > -- > > Greenbone Networks GmbH > > Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 > > Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20140918/0f67bc32/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > > ------------------------------ > > End of Openvas-discuss Digest, Vol 92, Issue 28 > *********************************************** >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
