CAPEC-294: ICMP Address Mask Request
An adversary sends an ICMP Type 17 Address Mask Request to gather information about a target's networking configuration. ICMP Address Mask Requests are defined by RFC-950, "Internet Standard Subnetting Procedure." An Address Mask Request is an ICMP type 17 message that triggers a remote system to respond with a list of its related subnets, as well as its default gateway and broadcast address via an ICMP type 18 Address Mask Reply datagram. Gathering this type of information helps the adversary plan router-based attacks as well as denial-of-service attacks against the broadcast address.
Last updated
Overview
Many modern operating systems will not respond to ICMP type 17 messages for security reasons. Determining whether a system or router will respond to an ICMP Address Mask Request helps the adversary determine operating system or firmware version. Additionally, because these types of messages are rare, they are easily spotted by intrusion detection systems. Many ICMP scanning tools support IP spoofing to help conceal the origin of the actual request among a storm of similar ICMP messages. It is a common practice for border firewalls and gateways to be configured to block ingress ICMP type 17 and egress ICMP type 18 messages.
What the attacker needs
Prerequisites
- The ability to send an ICMP type 17 query (Address Mask Request) to a remote target and receive an ICMP type 18 message (ICMP Address Mask Reply) in response. Generally, modern operating systems will ignore ICMP type 17 messages, however, routers will commonly respond to this request.
Resources required
- The ability to send custom ICMP queries. This can be accomplished via the use of various scanners or utilities.
Consequences
What a successful CAPEC-294 attack can achieve.
Other
Affects: Confidentiality
Hide Activities
Affects: Confidentiality, Access Control, Authorization
Frequently asked questions
Common questions about CAPEC-294.
- What is CAPEC-294?
- An adversary sends an ICMP Type 17 Address Mask Request to gather information about a target's networking configuration. ICMP Address Mask Requests are defined by RFC-950, "Internet Standard Subnetting Procedure." An Address Mask Request is an ICMP type 17 message that triggers a remote system to respond with a list of its related subnets, as well as its default gateway and broadcast address via an ICMP type 18 Address Mask Reply datagram. Gathering this type of information helps the adversary plan router-based attacks as well as denial-of-service attacks against the broadcast address.
- What weaknesses does CAPEC-294 target?
- CAPEC-294 exploits one CWE weakness: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).
- How severe is CAPEC-294?
- MITRE rates CAPEC-294 as Low severity.
Sources
- [1]Hacking Exposed: Network Security Secrets & Solutions (2009)
- [2]RFC950 - Internet Standard Subnetting Procedure (1985)
- [3]RFC792 - Internet Control Messaging Protocol (1981)
- [4]Host Discovery with Nmap (2002)
- [5]Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning (2008)
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-294
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.