Questions tagged [icmp]

Abreviation of Internet Control Message Protocol. The protocol allows for the return propagation of error messages related to IP packets. ICMP is critical to basic network tools like ping and traceroute.

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

Can the ICMP "pad" safely be stripped in most situations for defense?

I'm learning about data exfiltration using ICMP and delivery of a payload is generally done using the -p "pad bytes" in ping -c 1 -p $encoded_payload. Are there often legitimate use for &...
user avatar
1 vote
1 answer
165 views

Real-world application of network steganography

I recently came across a topic of network steganography, mostly connected with modifying the headers of IP, TCP, ICMP. I was looking for some real-world examples of malware that uses it. I only found ...
user avatar
3 votes
1 answer
453 views

Is disabling IPv6 an effective workaround for "Bad Neighbor" Vulnerability (CVE-2020-16898)?

CVE-2020-16898 is a remote code execution vulnerability caused by the improper handling of ICMPv6 Router Advertisement packets by Windows TCP/IP stack. Microsoft's recommended workaround is to disable ...
user avatar
1 vote
0 answers
88 views

Security Best Practice - Monitoring a Site-to-Site VPN Tunnel

if a customer wants to monitor an IPSec-based site-to-site VPN and basically no incoming traffic is needed, would you recommend: a) setting up a permanent tunnel that can be monitored all the time and ...
user avatar
0 votes
0 answers
50 views

What security benefit is there in 2020 to block outbound Ping [duplicate]

I've researched this and found the following on StackExchange and ServerFault, but they're very old. https://serverfault.com/questions/55889/why-block-outbound-icmp Is it a bad idea for a firewall ...
user avatar
  • 1
0 votes
1 answer
332 views

Monitor mode not sniffing from other devices on the same network

i'm currently running a 802.11n adapter in monitor mode on a kali linux PC. Monitor mode was enabled using airmon-ng. On the same network as the kali linux PC are 2 raspberry pi devices. Pinging from ...
user avatar
2 votes
3 answers
4k views

I can't figure out the abnormal behaviour from this Wireshark capture file

The capture file if needed There is supposed to be abnormal behaviour here, and I see that there is. But I can't figure out what it is. There is no response from the ICMP requests. Furthermore some ...
user avatar
  • 21
1 vote
2 answers
172 views

In what situations should a node ping/not ping?

I was recently looking at a network in which the client-machines could access a webservice endpoint but could not ping it. And there are other machines that can ping the webservice endpoint, but which ...
user avatar
  • 1,247
1 vote
1 answer
671 views

Security auditing - disabling IP forwarding and ICMP packets redirects

I've recently started working as a security auditor and my mentor gave me some homework to write an Ubuntu security audit script so that I'll get to learn to use batch scripting and understand ...
user avatar
2 votes
3 answers
2k views

UDP vs ICMP flood

How can we measure the efficiency of the flood technique? Will it be by the number of bots required for flooding the link? In case of UDP and ICMP, which one would be more efficient and why?
user avatar
  • 121
3 votes
1 answer
383 views

Is ping of death attack specific to ICMP or could it also happen with other transport protocols?

A Ping of Death attack is a denial-of-service (DoS) attack, in which the attacker aims to disrupt a targeted machine by sending a packet larger than the maximum allowable size, causing the target ...
user avatar
  • 31
5 votes
1 answer
388 views

Investigate compromised Linux server

I'm investigating a server that pings throughout the day to random IPs on the internet. I set up IPtables to log and drop (INPUT & OUTPUT) packets but I still see icmp traffic on the network ...
user avatar
1 vote
0 answers
115 views

Spoofing an IP/MAC address to avoid ICMP Destination Unreachable being sent back [duplicate]

As far as I understand UDP flooding the idea is to send UDP packets across all ports from e.g. Alice to Bob, and get Bob's machine to check who listens to certain ports and generate many ICMP ...
user avatar
  • 111
3 votes
1 answer
899 views

Continuous ping on google's servers

Using Wireshark, I recently discovered that my computer (running on Windows 10) is sending ping requests to Google's servers. According to wireshark, my computer is sending ICMP requests and receive ...
user avatar
  • 31
0 votes
1 answer
209 views

Smurf Attack confusion

I have a question regarding the Smurf Attack described in the following CISCO article: http://www.cisco.com/c/en/us/about/security-center/guide-ddos-defense.html#9 In a smurf attack, an attacker ...
user avatar
  • 1,498
3 votes
1 answer
1k views

How to prevent ICMP redirection produced by a man-in-the-middle

How can I prevent my route to be redirected with redirecting ICMP packets from a man-in-the-middle? I am specifically looking to avoid someone using ettercap with the -M icmp option. From man ...
user avatar
3 votes
1 answer
3k views

NMAP discovery scan reporting host offline, pinging the same host gets ICMP responses

I ran an nmap -sn scan on a host, and nmap reported the host as down. I then pinged the same host with ping and got ICMP responses. I'm confused, because I was sure that -sn among other things, did an ...
user avatar
  • 1,407
1 vote
2 answers
1k views

Risks of pinging/resolving malicious sites?

If I do ping malicioussite.com or nslookup malicioussite.com, is there any risk for me? Will the people behind the malicious site know I'm looking them up? I'd like to make a program to use an IP ...
user avatar
  • 13
2 votes
1 answer
8k views

What happens when a firewall blocks a traceroute?

I am trying to find out what happens when you try to access a site using traceroute command, but I cannot find any site that is actually blocking me. Anyway, I wanted to ask what happens when a ...
user avatar
31 votes
6 answers
16k views

Is pinging a website essentially the same as visiting the website through a browser?

I was looking at the domain information of a website (poaulpos.net) on who.is that Chrome connects to whenever I visit a specific an old Tech Times article about Thunderstrike 2, a Mac firmware attack ...
user avatar
  • 531
0 votes
0 answers
409 views

script for analysis of tcpdump log file

I'm trying to get the following metrics from my tcpdump log file: (1) one-way delay, (2) request/response delay, (3) packet loss, (4) overall transaction duration and (5) delay variation (jitter). ...
user avatar
  • 266
8 votes
1 answer
3k views

Can ICMP Redirects still be used to redirect traffic in a LAN?

I tried just tried to migrate a MITM attack using hping3 with ICMP Redirects in my testlab. hping3 -I eth0 -C 5 -K 1 -a 192.168.2.1 --icmp-ipdst 192.168.2.15 --icmp-gw 192.168.2.100 --icmp-ipsrc 192....
user avatar
  • 4,275
2 votes
1 answer
731 views

Reliability of scanning tools on icmp timestamp responses

A security auditor has done a vulnerability scan of our network and found that one of our server has returned an TCP timestamp response such that the scanner (Nmap) is able to guess the uptime of the ...
user avatar
3 votes
2 answers
582 views

When should I drop a packet with ICMP type 3, code 9 or 10, TCP RST, or TCP ACK?

This answer says there are a few ways of dealing with a blocked packet at a firewall: At each of these levels a 1st IP packet (and any other protocol packet as an ESP or AH packet) might receive ...
user avatar
2 votes
2 answers
3k views

Promiscuous mode and packet sniffing

Is it must for a packet sniffer to enable promiscuous mode?Can packets be sniffed without the NIC being in promiscuous mode? Also when in promiscuous mode the NIC accepts all packets which are not ...
user avatar
-1 votes
2 answers
1k views

Is there any reason that captive portal server can't block the ICMP echo request/reply packet

We can get connected to those public WiFi hotspot without the account but can access to no website but the login page. As I tested, all those login website would respond to my ping even I was an ...
user avatar
0 votes
1 answer
773 views

localhost to localhost ICMP traffic that is suspicious.. any idea of what is creating this?

I keep seen this on my tcpdump output.. is prob something very simple and logical but I can't see to see any process with lsof or netstat doing a ICMP request to it's own 127.0.0.1 every 2-3 secs... ...
user avatar
3 votes
4 answers
4k views

Security risk of allowing ICMP "destination unreachable" packets on AWS

If I configure an Amazon AWS VPC, should I explicitly allow ICMP "destination unreachable" packets inbound? I am wanting the VPC firewall to block everything by default, however does this mean this (...
user avatar
0 votes
1 answer
373 views

For what is an ICMP tunnel useful and how does ist work?

For what is it usefull? I (client) send an echo-request (with http data) to the proxy server. Then the proxy has to send me the echo-reply. But my question now is: 2.1 The proxy first needs to send ...
user avatar
  • 615
2 votes
1 answer
6k views

Block Packets in snort

In rules configuration of snort I have: alert tcp any any -> any any (msg:"HTTP Connection"; react:block;) However when I add: alert icmp any any -> any any (msg:"HTTP Connection"; react:...
user avatar
  • 83
9 votes
4 answers
8k views

Computer sending unstopped ICMP echo request to an IP

I noticed while hanging in Microsoft Network Monitor that my computer is sending ICMP echo request to an arbitrary IP address 202.39.253.11. I looked for the owner of this IP and I found it is owned ...
user avatar
1 vote
1 answer
809 views

Why is ICMP timestamping disabled on OS X?

It would seem like ICMP timestamping is quite a useful feature for troubleshooting networks with asymmetric paths. Replies to icmp(4) timestamp requests are generated by the kernel: On OpenBSD, the ...
user avatar
  • 1,874
2 votes
1 answer
1k views

Disabling Ping/ICMP Requests [duplicate]

Are there any benefits from disabling Ping/ICMP requests on servers? I've read where people say to do it but I can't seem to find any real benefits with it. Only more likely to cause more problems. ...
user avatar
  • 3,086
0 votes
1 answer
4k views

Wireshark Gratuitous ARP

I'm playing around with scapy and wireshark and I have sent a packet to a destination that does not exist (10.0.2.14). Wireshark shows an ARP attempt to resolve the address but as its not there the ...
user avatar
  • 103
1 vote
1 answer
663 views

how to handle error reply messages?

For security reasons, many organizations do not allow error reply messages to leave their internal Internets. How, specifically, could hackers use information in echo reply messages to learn about the ...
user avatar
124 votes
5 answers
184k views

Is it a bad idea for a firewall to block ICMP?

This question was inspired by this answer which states in part: The generic firewall manifest file finishes off by dropping everything I didn't otherwise allow (besides ICMP. Don't turn off ICMP). ...
user avatar
1 vote
2 answers
248 views

IP attack by reading/writing data?

If I remember correctly there is an ICMP attack whereby you can embed malicious code and it gets read/executed, causing the problem (similar to SQL injection). Are there any further/more dangerous ...
user avatar
  • 11
6 votes
3 answers
4k views

Is there any risk in allowing ping packets *out* through a firewall

The company I'm currently doing work for does not allow ping requests out through their firewall, for "security reasons" and I'm baffled as to why this is a concern. Before you point me to (e.g.) ...
user avatar
0 votes
1 answer
672 views

Differentiate normal flow and broadcast attacks

How do you identify whether a broadcast traffic is normal or is considered an attack such as a DoS attack?, There is some information that the plot or the source that allows me to differentiate ...
user avatar
4 votes
2 answers
2k views

ICMP redirects and source routing in the wild?

Theoretically, ICMP redirect messages (IPv4 and IPv6) and source routing (IPv4) / routing headers (IPv6) are very dangerous. However, I'm curious as to if attacks using these features really work in ...
user avatar
  • 3,000
53 votes
7 answers
74k views

Security risk of PING?

I have been told that PING presents a security risk, and it's a good idea to disable/block it on production web servers. Some research tells me that there are indeed security risks. Is it common ...
user avatar