OpenVAS on ubuntu 20.04
# apt install openvas openvas-cli
. . .
# netstat -tlpe | grep openvas
tcp 0 0 localhost:9390 0.0.0.0:* LISTEN root 48470 6749/openvasmd
# lsof -i :9390
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
openvasmd 6749 root 4u IPv4 48470 0t0 TCP localhost:9390 (LISTEN)
# omp --ping
OMP ping was successful.
# openvasmd --create-user=tom
User created with password 'be2e761b-f654-4f42-b1cd-6f6bbbd96443'.
# openvas-check-setup
openvas-check-setup 2.3.7
Test completeness and readiness of OpenVAS-9
(add '--v6' or '--v7' or '--v8'
if you want to check for another OpenVAS version)
Please report us any non-detected problems and
help us to improve this check routine:
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the problem.
Use the parameter --server to skip checks for client tools
like GSD and OpenVAS-CLI.
Step 1: Checking OpenVAS Scanner ...
OK: OpenVAS Scanner is present in version 5.1.3.
OK: redis-server is present in version v=5.0.7.
OK: scanner (kb_location setting) is configured properly using the redis-server socket: /var/run/redis-openvas/redis-server.sock
OK: redis-server is running and listening on socket: /var/run/redis-openvas/redis-server.sock.
OK: redis-server configuration is OK and redis-server is running.
ERROR: The NVT collection is very small.
FIX: Run a synchronization script like greenbone-nvt-sync.
ERROR: Your OpenVAS-9 installation is not yet complete!
Please follow the instructions marked with FIX above and run this
script again.
If you think this result is wrong, please report your observation
and help us to improve this check routine:
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
Please attach the log-file (/tmp/openvas-check-setup.log) to help us analyze the problem.
updates ony Mo. - Fr. !
# greenbone-nvt-sync
--2022-08-13 09:18:55-- http://dl.greenbone.net/community-nvt-feed-current.tar.bz2
Resolving dl.greenbone.net (dl.greenbone.net)... 2a01:130:2000:127::d1, 89.146.224.58
. . .
# omp -p 9390 -u tom -w 'be2e761b-f654-4f42-b1cd-6f6bbbd96443' -X "<help/>"
<help_response status="200" status_text="OK">
AUTHENTICATE Authenticate with the manager.
COMMANDS Run a list of commands.
CREATE_AGENT Create an agent.
CREATE_ALERT Create an alert.
CREATE_ASSET Create an asset.
CREATE_CONFIG Create a config.
CREATE_CREDENTIAL Create a credential.
CREATE_FILTER Create a filter.
CREATE_GROUP Create a group.
CREATE_NOTE Create a note.
CREATE_OVERRIDE Create an override.
CREATE_PERMISSION Create a permission.
CREATE_PORT_LIST Create a port list.
CREATE_PORT_RANGE Create a port range in a port list.
CREATE_REPORT Create a report.
CREATE_REPORT_FORMAT Create a report format.
CREATE_ROLE Create a role.
CREATE_SCANNER Create a scanner.
CREATE_SCHEDULE Create a schedule.
CREATE_TAG Create a tag.
CREATE_TARGET Create a target.
CREATE_TASK Create a task.
CREATE_USER Create a new user.
DELETE_AGENT Delete an agent.
DELETE_ALERT Delete an alert.
DELETE_ASSET Delete an asset.
DELETE_CONFIG Delete a config.
DELETE_CREDENTIAL Delete a credential.
DELETE_FILTER Delete a filter.
DELETE_GROUP Delete a group.
DELETE_NOTE Delete a note.
DELETE_OVERRIDE Delete an override.
DELETE_PERMISSION Delete a permission.
DELETE_PORT_LIST Delete a port list.
DELETE_PORT_RANGE Delete a port range.
DELETE_REPORT Delete a report.
DELETE_REPORT_FORMAT Delete a report format.
DELETE_ROLE Delete a role.
DELETE_SCANNER Delete a scanner.
DELETE_SCHEDULE Delete a schedule.
DELETE_TAG Delete a tag.
DELETE_TARGET Delete a target.
DELETE_TASK Delete a task.
DELETE_USER Delete an existing user.
DESCRIBE_AUTH Get details about the used authentication methods.
EMPTY_TRASHCAN Empty the trashcan.
GET_AGENTS Get all agents.
GET_AGGREGATES Get aggregates of resources.
GET_ALERTS Get all alerts.
GET_ASSETS Get all assets.
GET_CONFIGS Get all configs.
GET_CREDENTIALS Get all credentials.
GET_FEEDS Get details of one or all feeds this Manager uses.
GET_FILTERS Get all filters.
GET_GROUPS Get all groups.
GET_INFO Get raw information for a given item.
GET_NOTES Get all notes.
GET_NVTS Get one or all available NVTs.
GET_NVT_FAMILIES Get a list of all NVT families.
GET_OVERRIDES Get all overrides.
GET_PERMISSIONS Get all permissions.
GET_PORT_LISTS Get all port lists.
GET_PREFERENCES Get preferences for all available NVTs.
GET_REPORTS Get all reports.
GET_REPORT_FORMATS Get all report formats.
GET_RESULTS Get results.
GET_ROLES Get all roles.
GET_SCANNERS Get all scanners.
GET_SCHEDULES Get all schedules.
GET_SETTINGS Get all settings.
GET_SYSTEM_REPORTS Get all system reports.
GET_TAGS Get all tags.
GET_TARGETS Get all targets.
GET_TASKS Get all tasks.
GET_USERS Get all users.
GET_VERSION Get the OpenVAS Manager Protocol version.
HELP Get this help text.
MODIFY_AGENT Modify an existing agent.
MODIFY_ALERT Modify an existing alert.
MODIFY_ASSET Modify an existing asset.
MODIFY_AUTH Modify the authentication methods.
MODIFY_CONFIG Update an existing config.
MODIFY_CREDENTIAL Modify an existing credential.
MODIFY_FILTER Modify an existing filter.
MODIFY_GROUP Modify an existing group.
MODIFY_NOTE Modify an existing note.
MODIFY_OVERRIDE Modify an existing override.
MODIFY_PERMISSION Modify an existing permission.
MODIFY_PORT_LIST Modify an existing port list.
MODIFY_REPORT Modify an existing report.
MODIFY_REPORT_FORMAT Modify an existing report format.
MODIFY_ROLE Modify an existing role.
MODIFY_SCANNER Modify an existing scanner.
MODIFY_SCHEDULE Modify an existing schedule.
MODIFY_SETTING Modify an existing setting.
MODIFY_TAG Modify an existing tag.
MODIFY_TARGET Modify an existing target.
MODIFY_TASK Update an existing task.
MODIFY_USER Modify a user.
MOVE_TASK Assign task to another slave scanner, even while running.
RESTORE Restore a resource.
RESUME_TASK Resume a stopped task.
RUN_WIZARD Run a wizard.
START_TASK Manually start an existing task.
STOP_TASK Stop a running task.
SYNC_CERT Synchronize with a CERT feed.
SYNC_CONFIG Synchronize a config with a scanner.
SYNC_FEED Synchronize with an NVT feed.
SYNC_SCAP Synchronize with a SCAP feed.
TEST_ALERT Run an alert.
VERIFY_AGENT Verify an agent.
VERIFY_REPORT_FORMAT Verify a report format.
VERIFY_SCANNER Verify a scanner.
</help_response>