Standalone OS Detection without OpenVAS

Hello,

and welcome to this community forums.

Only a few very short hints / pointers:

  • Approach 1: You could:
    1. clone the base scan configuration
    2. add the VT OS Detection Consolidation and Reporting / os_detection.nasl with the OID 1.3.6.1.4.1.25623.1.0.105937 to this can config
    3. see 9 Scanning a System - Greenbone Enterprise Appliance – GOS 24.10.0 for more background info on such scan configuration handling / usage
  • Approach 2:
    1. The os_detection.nasl is “only” a “wrapper” to consolidate, collect, enumerate and report the OS based on a huge amount of other VTs (see the relevant script_dependencies entries of that file)
    2. openvas-nasl is not really a tool for the “end user” / for “full” scans as you e.g. would need to maintain the whole dependency chain on your own manually
    3. if you still want to go down this rabbit hole (i would strongly discourage to do this) some guidance might be available in various posts on this forums like e.g. How to test a single .nasl via the command line - #3 by _jp
1 Like