Skip to content

Use gentler nmap timing#1521

Open
duncangreene wants to merge 1 commit into
google:mainfrom
duncangreene:feature/use-gentler-nmap-timing
Open

Use gentler nmap timing#1521
duncangreene wants to merge 1 commit into
google:mainfrom
duncangreene:feature/use-gentler-nmap-timing

Conversation

@duncangreene

Copy link
Copy Markdown

To address #1290 and #885. As demonstrated in both issues, Testrun has been shown to routinely exhibit false negatives for devices by scanning too aggressively. The timing modifications in the attached were tuned against a constrained device that was routinely being flagged with false negatives.

Using the attached on my various Testrun machines increases TCP scan time from ~30 seconds (with false positives) to ~3 minutes (with no false positives) in isolation, and UDP scan time remains unchanged in isolation because of the small amount of UDP ports being scanned (the bulk of the time is spent carrying out the version detection step, as opposed to the port range scan itself).

False negatives can still occur if this PR is not combined with #1520, which forces the TCP and UDP scans to happen consecutively (minimal risk of false negatives), instead of concurrently (increased risk of false negatives).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants