Skip to content

NMAP Test Results - '"security.services.unknown.XXX' and convoluted results structure #94

Closed

Description

@noursaidi

Service detection is failing against unknown ports.

I also don't think the structure of the nmap tests are feasible - each nmap test (e.g. security.services.ftp) should be it's own test like the other items, and a final security.services.unknown test as a catchall.

I don't undestand why the nmap tests have a special convoluted structure to the results.

        "security.services.unknown.993": {
          "tcp_ports": {
            "993": {
              "description": "Undefined port",
              "allowed": false,
              "result": "non-compliant"
            }
          }
        },
        "security.services.unknown.995": {
          "tcp_ports": {
            "995": {
              "description": "Undefined port",
              "allowed": false,
              "result": "non-compliant"
            }
          }
        },
        "security.services.unknown.23451": {
          "tcp_ports": {
            "23451": {
              "description": "Undefined port",
              "allowed": false,
              "result": "non-compliant"
            }
          }

Activity

  1. jboddey commented on Aug 16, 2023

    @jboddey
    Contributor

    Hi Nour, I agree. I am going to refactor this at some point. The UI will not be able to process these results.

  2. self-assigned this
    on Aug 16, 2023
  3. jboddey commented on Aug 21, 2023

    @jboddey
    Contributor

    In addition to this, we need to decide how to handle unknown ports at a process level. Without an automation tool we just note them in the test plan and if they are secure protocols then this is usually fine. Is this covered under the secure_proprietary protocol test?

  4. linked a pull request that will close this issueRefactor nmap module #102on Aug 22, 2023
  5. jboddey commented on Sep 28, 2023

    @jboddey
    Contributor

    The nmap module now provides the correct structure. However, we have not yet re implemented reporting of unknown ports. This will be added in the future. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions