Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NESSUS 7 scan fail #631

Open
BNYBLN030 opened this issue Dec 21, 2017 · 17 comments
Open

NESSUS 7 scan fail #631

BNYBLN030 opened this issue Dec 21, 2017 · 17 comments

Comments

@BNYBLN030
Copy link

@seccubus
In Nessus 7 the API is disable. I geht this message:

GET to https://10.0.2.15:8834/scans?
Server response : {"folders":[{"unread_count":null,"custom":0,"default_tag":0,"type":"trash","name":"Trash","id":2},{"unread_count":null,"custom":0,"default_tag":1,"type":"main","name":"My Scans","id":3}],"scans":[{"folder_id":3,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"benjamin","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":true,"name":"test","id":5}],"timestamp":1513847657}
Scan doesn't exist yet, creating
POST to https://10.0.2.15:8834/scans
Params:
$VAR1 = '{"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","settings":{"text_targets":"localhost\n","name":"seccubus.test.testneu","launch":"ON_DEMAND","description":"Seccubus automated scan"}}';
Server response : {"error":"API is not available"}
Nessus server returned error code: 412
Message: {"error":"API is not available"}
3 retries left
Sleeping for 30 seconds before retring
POST to https://10.0.2.15:8834/scans
Params:
$VAR1 = '{"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","settings":{"text_targets":"localhost\n","name":"seccubus.test.testneu","launch":"ON_DEMAND","description":"Seccubus automated scan"}}';
Server response : {"error":"API is not available"}
Nessus server returned error code: 412
Message: {"error":"API is not available"}
2 retries left
Sleeping for 30 seconds before retring
POST to https://10.0.2.15:8834/scans
Params:
$VAR1 = '{"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","settings":{"text_targets":"localhost\n","name":"seccubus.test.testneu","launch":"ON_DEMAND","description":"Seccubus automated scan"}}';
Server response : {"error":"API is not available"}
Nessus server returned error code: 412
Message: {"error":"API is not available"}
1 retries left
Sleeping for 30 seconds before retring
POST to https://10.0.2.15:8834/scans
Params:
$VAR1 = '{"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","settings":{"text_targets":"localhost\n","name":"seccubus.test.testneu","launch":"ON_DEMAND","description":"Seccubus automated scan"}}';
Server response : {"error":"API is not available"}
Nessus server returned error code: 412
Message: {"error":"API is not available"}
0 retries left

How you want to fix this problem?

@MrSeccubus
Copy link
Member

@womanizzzer in their infinite wisdom, Tenable has decided that the APi will only be avialable to customers fo their tenable.io platofrm. But customer who bought Nessus after 12 Dec 2017 will not get API access anymore.

I'm afraid that this means the end of the intergration of Nessus with other tools and a major step back.

Regrettably there is not much more I can do other then to express my horror at Tennable. I suggest you do the same.

@mhofstaetter-kag
Copy link

@seccubus Is support for tenable.io planed? I refrained from updating to Nessus 7 yesterday, after reading the small footnote, stating that the API is disabled.

I agree, that Tenable made a big step back with version 7. They made Nessus for bigger infrastructures unuseable imho.

@arkenoi
Copy link
Member

arkenoi commented Dec 27, 2017

tenable.io should work as regular Nessus scanner, API was the same

@BNYBLN030
Copy link
Author

@seccubus
one idea would be to pass the nessus reports manuel to seccubus in order to be able to process the findings dynamically

@MrSeccubus
Copy link
Member

MrSeccubus commented Dec 27, 2017 via email

@MrSeccubus
Copy link
Member

MrSeccubus commented Dec 27, 2017 via email

@BNYBLN030
Copy link
Author

@seccubus how I do it manually?

@mhofstaetter-kag
Copy link

@womanizzzer When i have to manually import Nessus results into seccubus, i take the following steps:

1.) Export Nessus formatted Results via the Nessus webinterface
2.) Copy the .nessus file to the seccubus Server
3.) Convert the Nessus file to ivil
3.1) Command (Replace everything in italic) : /opt/seccubus/bin/nessus2ivil --scanner Nessus --timestamp <example: 20171202200005> --workspace <WorkspaceName> --scan <Scan_Name> --infile <.nessus filepath> --outfile <outfilepath ending with .ivil.xml>
4.) import the ivil file
4.1.) change diretorcy into the seccubus/bin directorey (cd /opt/seccubus/bin/)
4.2.) run the impport command (Replace everything in italic) : ./load_ivil --workspace --timestamp <example: 20171202200005>--scan <Scan_Name> <path to the .ivil.xml file>

After the step 4.2 you will see a new run entry in seccubus, without file attachments. The findings are all there.

@MrSeccubus
Copy link
Member

@womanizzzer
Interestingly enough I just ran a scan with Nessus7 Home which I registered today and Seccubus completes this scan without any trouble.

Additionally I just merged tennable.io support for Seccubus, you should be ale to get the package form the latest repo.

@BNYBLN030
Copy link
Author

@seccubus
this is only possible if you update nessus 6 to nessus 7.
I had the problem first too, if you reinstall nessus 7, then you really have to delete all nessus6 packages and configs ... otherwise it's just an update again

@MrSeccubus
Copy link
Member

MrSeccubus commented Dec 28, 2017 via email

@BNYBLN030
Copy link
Author

@seccbubus
I tried it again, it doesnt works ....

@geanxyz
Copy link

geanxyz commented Mar 12, 2018

still the same problem with nessus scanner... :-\

@MrSeccubus
Copy link
Member

MrSeccubus commented Mar 12, 2018 via email

@MrSeccubus
Copy link
Member

O.K. did some debugging. The API is full in tact when you use a HOME license, but when you switch to professional, it gets disabled.

So automatically creating a scan is disabled as is updating is via the API.

@gaelanadams
Copy link

With nessus pro 7.0.2 they "re-added" much of the functionality but not sure what is still black listed.

@MrSeccubus
Copy link
Member

MrSeccubus commented Apr 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants