Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New Scanner: OpenVas #1642

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

Closed
STeXE89 opened this issue Mar 14, 2023 · 9 comments
Closed

New Scanner: OpenVas #1642

STeXE89 opened this issue Mar 14, 2023 · 9 comments
Assignees
Labels
scanner Implement or update a security scanner

Comments

@STeXE89
Copy link

STeXE89 commented Mar 14, 2023

HI,
I think it is also very useful for other testers to have the OpenVas tool integrated in the secureCodeBox suite.
I often carry out security tests using openvas, and others on the frontends using ZAP, it would be very useful to have OpenVas integrated and be able to manage everything from a single tool: secureCodeBox.
Thank you

@Weltraumschaf Weltraumschaf added the scanner Implement or update a security scanner label Mar 14, 2023
@STeXE89
Copy link
Author

STeXE89 commented Jul 27, 2023

Hi,
is there an idea of when the integration will be planned?
Thanks

@Weltraumschaf
Copy link
Member

Hi,

we have it on the road map. So maybe we will look into this topic in the next weeks/montsh.

@Zero3141 Zero3141 self-assigned this Jul 31, 2023
@Zero3141 Zero3141 moved this from Backlog to Todo in secureCodeBox v4 Aug 2, 2023
@J12934 J12934 moved this from Todo to In Progress in secureCodeBox v4 Aug 30, 2023
@Weltraumschaf
Copy link
Member

@STeXE89 We're looking into OpenVAS. Problem is that OpenVAS is a quite complicated beast and it would lead to massive work to integrate it into these cureCodeBox. We're even not sure if it's feasible. Could you please describe your concrete use case in detail?

@moxli
Copy link
Contributor

moxli commented Sep 7, 2023

I am also really interested in an implementation of OpenVAS into SecureCodeBox.
We are planning to migrate our entire scanning infrastructure, which includes Nikto, Zap and OpenVAS (with GSAD) to SecureCodeBox + DefectDojo.

The streamlined deployment and configuration of scans and checks would help us a lot and getting rid of GSAD would also be great since we don't have multiple platforms for handling our scan results.

@Weltraumschaf
Copy link
Member

Hi @moxli,

thanks for your answer.

To be honest, we have no experience with OpenVAS. @Zero3141 looked into itand it is a quite complicated setup with roundabout 9 containers necessary for OpenVAS. We're not sure if it's worth or feasible at all to integrate it.

Since you're not the first one asking for OpenVAS, we don;t want to simply ignore your request. Could you tell use a bit more in detail what kind of scans you perform with OpenVAS and what types of vulns it finds. The question we want to answer: Does it generate findings we could also find with the current available scanners of the secureCodeBox or does it generate complete different findings we also want to find with the secureCodeBox. In latter case it wouldbe worth the effort to extract the scanner from the OpenVAS setupt and try to integrate it.

OTOH would it be a solution to use secureCodeBox and OpenVAS side-by-side and feed the findings into one DefectDojo?

@STeXE89
Copy link
Author

STeXE89 commented Sep 13, 2023

Hi @Weltraumschaf,

Thanks for your interest.

I understand that full integration is hard work.
For now I think it is sufficient to port the complete distribution from docker-compose (https://greenbone.github.io/docs/latest/22.4/container/index.html) to the helm secureCodeBox repository for k8s to be able to use the same secureCodeBox machine and infrastructure.
The minimum integration required is an automatic tool (or cronjob) to import defects from GSA (OpenVAS) to DefectDojo (manual export from GSA and import into DefectDojo are now possible).
Future integration, for example, is to retrieve the results from the DNS scan and automatically add them to the target list to run the OpenVAS scan.
Another integration is to use secureCodeBox's cron scheduler to run OpenVAS scans (to use only one scheduler: secureCodeBox and not the GSA scheduler)

Thank you!

@STeXE89
Copy link
Author

STeXE89 commented Sep 22, 2023

Hi,
If it can be useful, I saw that there is also a tool for commands:
https://greenbone.github.io/gvm-tools/index.html
Thanks

@Weltraumschaf Weltraumschaf self-assigned this Sep 26, 2023
@Zero3141 Zero3141 removed their assignment Sep 29, 2023
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 10, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 10, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 10, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 10, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 13, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 13, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 13, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 13, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
@Stijn-FE
Copy link

Hi @Weltraumschaf and @STeXE89,

I've had a look at the OpenVAS scanner. It seems quite difficult to integrate. They use a proprietary protocol to send messages between docker containers. If you want to integrate it, it might be possible to use only the openvas-scanner container, but it requires some reverse engineering of the protocol and I'm not sure of the viability of this. You could opt to run openVAS in the cluster as a fixed instance, and find a way to interface with it using SCB data via cascading rules if at all possible, but that will likely cause scalability issues.

If all you need is data from OpenVAS to in your DefectDojo instance, It might be best to create a cron job that pipes the data from OpenVAS to DefectDojo. DefectDojo already has an integration for OpenVAS, but if that does not suffice, it might be good to open an issue at DefectDojo for OpenVAS integration. I don't know why it would be beneficial to add that to SCB.

J12934 pushed a commit that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
J12934 pushed a commit that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
J12934 pushed a commit that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
J12934 pushed a commit that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 25, 2023
Weltraumschaf added a commit to Weltraumschaf/secureCodeBox that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
@Weltraumschaf
Copy link
Member

Hi @STeXE89,

sorry for the long time to wait for an answer.

We investigated this topic and like @Stijn-FE already mentioned: It's not that easy. The TL;DR ist: We will not integrate OpenVAS into the secureCodeBox. A more detailed explanation you can find in our architecture decision record No. 19.

In our opinion it will be a better aproach to operate secureCodeBox and OpenVAS side-by-side and aggregate the findings in one DefectDojo.

If you need to trigger OpenVAS scans from the secureCodeBox (e.g. for found hosts or such), you may do this by writing a custom read hook which triggers OpenVAS by it's API. If you need support about how to write such a hook, feel free to reach us out in our Slack.

@github-project-automation github-project-automation bot moved this from In Progress to Done in secureCodeBox v4 Oct 25, 2023
Weltraumschaf added a commit that referenced this issue Oct 25, 2023
Weltraumschaf added a commit that referenced this issue Oct 25, 2023
Signed-off-by: Sven Strittmatter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scanner Implement or update a security scanner
Projects
Archived in project
Development

No branches or pull requests

5 participants