Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Scan aborting w/o log entry |
|---|---|
| Date: | Wed, 21 Sep 2005 12:11:36 -0400 |
Thanks for the pointer on strace... I have a failover system, which I brought on-line (identical scripted Nessus build) and launched the same scan with the same scripts and host file. The scan ran successfully. I copied the .rc configuration file back over to the problem system and it still does not initiate scanning. Thereby, I think, ruling out the possibility of a config file error. As an FYI, cmdline scans are launched as : nessus -c ./$config1 -T nbe -xq 127.0.0.1 1241 USER PASS ./$hostfile ./$outfile There are no entries stating that a scan is launched or a session is restored. There are no entries saying that the client disconnected. Command line client receives message (shown from strace): ioctl(3, FIONREAD, [0]) = 0 write(2, "Communication closed by server\n", 31) = 31 write(2, "nessus: nessusd abruptly shut the communication down - the test may be incomplete\n", 82) = 82 ---- nessusd.messages entries --- [Wed Sep 21 10:27:19 2005][9304] nessusd 2.2.5. started [Wed Sep 21 11:29:37 2005][9304] connection from 127.0.0.1 [Wed Sep 21 11:29:37 2005][9891] Client requested protocol version 12. [Wed Sep 21 11:29:37 2005][9891] successful login of USERNAME from 127.0.0.1 [Wed Sep 21 11:30:29 2005][9891] user USERNAME : session will be saved as /usr/local/var/nessus/users/USERNAME/sessions/20050921-113029-index [Wed Sep 21 11:31:35 2005][9304] connection from 127.0.0.1 [Wed Sep 21 11:32:39 2005][9304] connection from 127.0.0.1 [Wed Sep 21 11:32:39 2005][9924] Client requested protocol version 12. [Wed Sep 21 11:32:39 2005][9924] successful login of USERNAME from 127.0.0.1 [Wed Sep 21 11:33:34 2005][9924] user USERNAME : session will be saved as /usr/local/var/nessus/users/USERNAME/sessions/20050921-113334-index ---END OF nessusd.messages--- I've run strace both with and without the SSL (Thanks for the reminder to disable SSL, it made the output much easier to read :) I'm not seeing anything that I can attribute to the problem. I suspect I may just have to reload Nessus on that system, but I'd like to know what caused the problem to avoid the situation in the future. "George A. Theall" <theall@tenablesecurity.com> Sent by: nessus-bounces@list.nessus.org 09/20/2005 02:19 PM To Nessus@list.nessus.org cc Subject Re: Scan aborting w/o log entry On Tue, Sep 20, 2005 at 01:53:46PM -0400, mike.sleeper@srs.gov wrote:
Daily command line scans stopped working yesterday and I can find no entries that reference any problems. This is a scripted process and the only change (that I can think of or find) would be the plugins.
...
I suspect I've apparently screwed something up, but I cannot figure out what it is. Any suggestions on what else I can look for?
Try following the nessusd and its child processes with strace while launching a scan. Alternatively, it might be useful to reconfigure nessusd to not use SSL for communications (ie, set "ssl_version = NONE" in the client and server configs, restart server) and trace the NTP messages sent to the client.
nessusd.messages ====================
...
/usr/local/var/nessus/users/USERNAME/sessions/20050920-124431-index ........ repeated for each attempt (command line or gui with gui showing the actual IP address) ......
Do you see anything like: user USERNAME starts a new scan... user USERNAME restores a session... George -- theall@tenablesecurity.com _______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
_______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: some preferences not provided from the nessus daemon?, George A. Theall |
|---|---|
| Next by Date: | Re: Scan aborting w/o log entry, George A. Theall |
| Previous by Thread: | Re: Scan aborting w/o log entry, George A. Theall |
| Next by Thread: | Re: Scan aborting w/o log entry, George A. Theall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |