User Tools
toolsandtechnologies:greenbone_security_assistant
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| toolsandtechnologies:greenbone_security_assistant [2022/04/08 18:30] – [Feed Status] 10.91.120.28 | toolsandtechnologies:greenbone_security_assistant [2023/05/11 14:11] (current) – Added sample run command list aryan | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Details ===== | ===== Details ===== | ||
| - | <del>Accessible at [[https:// | + | Accessible at [[http:// |
| - | - Moved to [[http:// | + | |
| - | + | ||
| - | 2021/12/21 - Version 20.08.0~git-fdd51705e-gsa-20.08 | + | |
| ==== Feed Status ==== | ==== Feed Status ==== | ||
| - | Visible at the feed status page | + | Visible at [[http://10.91.130.9: |
| - | + | ||
| - | {{:toolsandtechnologies: | + | |
| - | + | ||
| - | Manual updates currently (2021/12) | + | |
| + | === To update/ | ||
| - Login to server as ubuntu@ | - Login to server as ubuntu@ | ||
| - | - sudo su gvm | + | - Run `docker restart |
| - | - cd /opt/gvm | + | - Wait for the feeds to update and Greenbone to stand up |
| - | - ./ | + | |
| - | + | ||
| - | Logging is recorded in gvm@errigal-openvas:/ | + | |
| - | + | ||
| - | + | ||
| - | ---- | + | |
| - | | + | |
| - | * 2021-12-21 16:16:43 Start GVM_DATA Sync | + | |
| - | * 2021-12-21 16:16:43 Start SCAP Sync | + | |
| - | * 2021-12-21 16:16:43 Start CERT Sync | + | |
| - | * 2021-12-21 16:16:43 Start CERT NVT Sync | + | |
| - | * 2021-12-21 16:16:43 Completed CERT NVT Sync | + | |
| - | ---- | + | |
| - | + | ||
| + | Run `docker logs greenbone -f` to follow logs. | ||
| === New Install / Initial execution === | === New Install / Initial execution === | ||
| - | On install, | + | Follow |
| - | + | ||
| - | ---- | + | |
| - | * sudo su gvm | + | |
| - | * | + | |
| - | * greenbone-feed-sync --type GVMD_DATA | + | |
| - | * greenbone-scapdata-sync | + | |
| - | * greenbone-certdata-sync | + | |
| - | * greenbone-nvt-sync --rsync | + | |
| - | ---- | + | |
| - | + | ||
| - | this should create a feeds folder at /var/lib/gvm as follows | + | |
| - | + | ||
| - | ---- | + | |
| - | * scap-data | + | |
| - | * cert-data | + | |
| - | * data-objects | + | |
| - | ---- | + | |
| - | + | ||
| - | + | ||
| - | === Scanner Connection problems === | + | |
| - | + | ||
| - | Could not connect to Scanner | + | |
| + | 10/May - instructions contains were | ||
| + | Start the container with a persistent volume: | ||
| <WRAP center round box 60%> | <WRAP center round box 60%> | ||
| - | md manage: | + | docker run --detach |
| - | md manage: | + | |
| </ | </ | ||
| + | You can use whatever --name you’d like but for the sake of this guide we’re using openvas. | ||
| - | Issue: The installation places | + | The --publish 8080:9392 option will port forward 8080 on the host to 9392 (the container web interface port) in the docker container. Port 8080 was chosen only to avoid conflicts with any existing OpenVAS/GVM installation. You can change 8080 to any available port that you`d like. |
| - | Resolution is to update | + | Note, the current startup parameters are |
| - | | + | < |
| - | - gvmd --modify-scanner=08b69003-5fc2-4037-a479-93b440211c73 | + | docker run --name=openvas \ |
| + | --env=PASSWORD=ozzrules \ | ||
| + | --volume=openvas:/ | ||
| + | -p 8080:9392 \ | ||
| + | --restart=no \ | ||
| + | --runtime=runc \ | ||
| + | --detach=true \ | ||
| + | immauss/openvas | ||
| + | </code> | ||
| - | The scanner UUID is the value returned by the gvmd --get-scanners response for the Openvas default scanner | + | ---- |
| - | + | ||
| - | as per | + | |
| - | + | ||
| - | * 08b69003-5fc2-4037-a479-93b440211c73 | + | |
| - | + | ||
| - | === Feeds aging === | + | |
| - | + | ||
| - | * check the / | + | |
| - | + | ||
| - | + | ||
| - | Found additional/ | + | |
| - | + | ||
| - | --- | + | |
| - | * sudo su gvm | + | |
| - | * / | + | |
| - | * greenbone-scapdata-sync | + | |
| - | * greenbone-certdata-sync | + | |
| - | + | ||
| - | === Report Monitoring === | + | |
| - | == Tasks == | + | === Uppdate === |
| + | Ref: [[https:// | ||
| + | To upgrade Greenbone, you must upgrade the docker image and then restart the container. | ||
| + | < | ||
| + | docker ps | ||
| + | docker pull [docker_image] | ||
| + | docker stop < | ||
| + | docker rm < | ||
| + | docker run [add parameters as above] | ||
| + | </ | ||
| + | Sample Upgrade Command history | ||
| + | < | ||
| + | docker ps | ||
| + | docker pull immauss/ | ||
| + | docker stop openvas | ||
| + | docker rm openvas | ||
| + | docker run --name=openvas --env=PASSWORD=ozzrules --volume=openvas:/ | ||
| + | docker ps | ||
| + | docker logs -f openvas | ||
| + | </ | ||
toolsandtechnologies/greenbone_security_assistant.1649439037.txt.gz · Last modified: 2022/04/08 18:30 by 10.91.120.28