-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Add documentation for ipv6_neighbor_router_advertisement.rb see https… #20665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
basicallyabidoof
wants to merge
1
commit into
rapid7:master
Choose a base branch
from
basicallyabidoof:doc/ipv6_neighbor_router_advertisement
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+39
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...ation/modules/auxiliary/scanner/discovery/ipv6_neighbor_router_advertisement.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| ## Description | ||
|
|
||
| This module discovers IPv6 hosts on the local network by sending spoofed router advertisement packets and listening for neighbor solicitations. | ||
|
|
||
| ## Target Environment | ||
|
|
||
| This module is designed to be used on a local network segment where IPv6 is enabled. It is effective for identifying hosts that are configured for IPv6 auto-configuration (SLAAC), as they will respond to the router advertisement. This is common in modern operating systems, including Windows, macOS, and various Linux distributions. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldbe useful attaching here a refernce to the IPv6 Neighbor Discovery Protocol? |
||
|
|
||
| ## Verification Steps | ||
|
|
||
| 1. Start `msfconsole` | ||
| 2. Do: `use auxiliary/scanner/discovery/ipv6_neighbor_router_advertisement` | ||
| 3. Do: `set RHOSTS fe80::%eth0` (or your network interface) | ||
| 4. Do: `run` | ||
| 5. The module will begin sending router advertisements and report any discovered hosts. | ||
|
|
||
| ## Options | ||
|
|
||
| ### TIMEOUT_NEIGHBOR | ||
|
|
||
| This option specifies the time in seconds to listen for a neighbor solicitation response after sending a router advertisement. The default value is `1`. Increasing this value may help discover slower hosts on the network, but it will also increase the module's execution time. | ||
|
|
||
| ## Scenarios | ||
|
|
||
| ### Discovering IPv6 Hosts on a Local Network | ||
|
|
||
| The primary use of this module is to identify active IPv6 hosts on the local network segment. This can be useful for building a target list for further scanning or assessment. The module uses the `pcap` library to listen for `icmp6` traffic and `capture.inject` to send the spoofed router advertisement, allowing it to operate at a low level on the network. | ||
|
|
||
| ``` | ||
| msf6 auxiliary(scanner/discovery/ipv6_neighbor_router_advertisement) > set RHOSTS fe80::%eth0 | ||
| RHOSTS => fe80::%eth0 | ||
| msf6 auxiliary(scanner/discovery/ipv6_neighbor_router_advertisement) > run | ||
|
|
||
| [*] Sending router advertisement... | ||
| [*] Listening for neighbor solicitation... | ||
| [+] |*| 2001:db8:1:1:c0a8:1:a2b3:c4d5 | ||
| [*] Attempting to solicit link-local addresses... | ||
| [+] |*| fe80::c0a8:1:a2b3:c4d5 -> 00:0c:29:12:34:56 | ||
| [*] Auxiliary module execution completed | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please run our script to ensure the document is following the correct layout?