Questions tagged [packet]

Network packet consisting of routing information and a payload. Most commonly an Internet Protocol (IP) packet. For questions about packet vulnerabilities, or tools like wireshark that directly manipulate packets. Related tag: [network].

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

Verify if the connection is dropped when max packet size is reached in Paramiko [closed]

We have a requirement to verify the below functionality during SSH connection for our SSH clients. "The TSF shall ensure that, as described in RFC 4253, packets greater than [assignment: number ...
1
vote
0answers
34 views

IPSec MTU DDos attack

I have this configuration: HOST-A <---> GAT-A <---> MiTM <---> GAT-B <---> HOST-B I'm doing a security project on MTU-IPsec vulnerabilities and following this guide of Hal-...
0
votes
0answers
37 views

Is every packet of a hostile network flow hostile?

We are building a packet based anomaly detection system and I'm trying to find labeled packets. Such dataset doesn't exist based on my search, but I can find labeled flows. Can we say that every ...
0
votes
2answers
92 views

Is every packet in a home Wi-Fi which has say, AES password for connection, encrypted using the same password?

If there is an intruder in a LAN who knows the encryption type and password, will he be able to monitor all the packets which are in the LAN? Suppose someone on the LAN is visiting HTTP sites, which ...
4
votes
1answer
160 views

Why do I need root privileges to send a raw packet from a UNIX machine?

I was recently reading through the nmap port scanning documentation and it points out that to perform a SYN scan (-sS) you require root privileges because an unprivileged user cannot send raw packets. ...
1
vote
0answers
49 views

Snort doesn't capture raw packets

I have a python code on Linux to create a raw packet: import socket s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP) s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1) ...
1
vote
0answers
225 views

How to fix TCP stream in Wireshark with spurious retransmission?

This was for a CTF (it ended yesterday, so I'm not cheating), but I've spent so many hours on it that I really just want to understand what I should have done. Here is the PasteBin Hex Dump. I ...
1
vote
0answers
68 views

How do I prevent against man-in-the-middle, specifically the packet injection attack? [closed]

I suspect that I am being targeted in a man-in-the-middle attack from the ISP or in-between of the fiber cable transit or the node by sniffer hardware that detects and injects the malicious packets. I ...
0
votes
2answers
175 views

Does HSTS prevent packet capturing in Wireshark

If a site is enforcing HSTS, does that prevent packet capturing of a GET requests in Wireshark? If it prevents it, is it possible to achieve the same using Bettercap or any other alternatives? ...
1
vote
2answers
104 views

Does HTTPS protect mobile internet connections against “network injection”?

The Star recently published an article describing an alleged attack against a Moroccan journalist. The article describes the attack as such: Forensic evidence gathered by Amnesty International on ...
1
vote
2answers
108 views

What is the most powerful type of DDOS/DOS attack? [closed]

What I mean is what protocol are best to DOS something like TCP, UDP, HTTP?
1
vote
2answers
3k views

tcpdump packets have bad and incorrect checksums on localhost, how to investigate further?

Am investigating a macOS Catalina machine that is believed to be infected with malware. Have been viewing packets with tcpdump and noticed, on connecting to any web address, there are legit packet ...
1
vote
2answers
143 views

Detect and optionally block a certain string in network traffic on Windows 10

Suppose I have some important text data on my computer, like a plain text password y5278dhk28ds and I have malware on my PC that periodically searches for sensitive data and sends that data to ...
1
vote
2answers
107 views

How far is my Access Point BSSID sent in my internet packets?

My question relates to this question: How does Google know where I am? and ask a similar question to this (but that accepted answer doesn't pertain to BSSIDs). The chosen answer in my first linked ...
1
vote
1answer
294 views

What kind of attack? [closed]

I was able to find the Teardrop Attack. However, there is another one but I couldn't explain it. It keeps getting the warning: Source MAC must not be a group address. Is this some sort of ARP spoofing ...
2
votes
3answers
2k 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 ...
0
votes
1answer
89 views

Can you cut up frames/packets and combine them anonymously?

Is it possible to somehow cut up a packet and send it from multiple IPs into parts and send them to one IP address to reconstruct a semi-anonymous packet/frame? Can frames have their source faked? ...
0
votes
0answers
793 views

Intercept TCP traffic using Python

Situation: I am trying to intercept TCP (not HTTP) traffic on a Windows machine using Python. I am posting this question as most answers I was able to find teaches how to sniff traffic. Normal ...
1
vote
2answers
1k views

Capture wireless traffic in PROMISCUOUS mode (not monitor mode)

I am trying to capture packets from other devices that are connected to the same network as I am. I know the difference between monitor mode and promiscuous mode (explained in this question), but for ...
1
vote
1answer
79 views

How can one read the time in GPG's Literal Data Packet?

RFC 4880 says that the Literal Data Packet's time stamp is four octets long. Listing packets shows that it is five octets long, at least in GnuPG 2.2.6. The time stamp comes after the word "created", ...
0
votes
1answer
98 views

Intercept network traffic with a hub [closed]

If I plugged a hub inbetween a switch and firewall, that also had a device running wireshark or similar capture software connected, due to the way a hub operates, would I be able to read ALL of the ...
2
votes
2answers
106 views

Is using a network sniffer for host discovery a viable option?

Would a packet sniffer like tcpdump be effective for network host discovery and if so how effective is it compared to more active methods such as the infamous network mapper nmap?
0
votes
1answer
297 views

Can Snort or Suricata *edit* packet on the fly?

I know that they can detect traffic by rules, but can they modify packets on the go? For example, not only detecting HTTP GET but also adding headers to the GET packet. If they can't, is there an ...
-1
votes
1answer
147 views

IP suite packet integrity [closed]

Finally, while the IP header contains a noncryptographic checksum for verifying the integrity of the header, there is no attempt to do the same for the payload. Source(Introduction to Computer ...
25
votes
2answers
7k views

Why is my computer making requests to my Roku about spotify?

I'm new to inspecting packets with Wireshark so this might be something very stupid on my part. That said, I don't really understand the transaction between my computer and my Roku. 17 1.129097 ...
1
vote
2answers
215 views

Please help diagnose multiple incoming packets

We have an internet-facing router and it is significantly slowed down. We investigated the network traffic and came up with following information: All the packet size is same (i.e. 40 bytes) All ...
3
votes
2answers
6k views

How to intercept http/https requests done by an Android app in plain text? [duplicate]

When I give an android app internet permission and read access to my files, malicious software can send my personal data (pictures and video) to a remote server without me being aware of it. Is ...
3
votes
2answers
2k views

How wireshark capture packets in LAN without arpspoof?

I created a lab environment which has Windows 7 and Kali Linux in VMware. In Kali Linux, I opened Wireshark and started to listen to traffic on eth0. After that, in my Windows 7 machine, I opened an ...
0
votes
0answers
51 views

Detecting network attacks by processing individual or multiple network packets?

I am trying to create a tool that identifies network attacks using machine learning, something like a small intrusion detection system. I have collected benign traffic from the network and then ...
1
vote
1answer
2k views

How to pass a localhost check for an incoming request?

I'm trying to send a request to an http server hosted on a machine. The http server is in C# and drops any packets that are not from localhost: public void Request(HttpListenerContext context) { ...
1
vote
1answer
32 views

How harmfull might be predictable bytes when using AES-CTR

I use AES-CTR to perform on the fly encryption of packets. Each packet is 16 bytes long, however, depending on what is being transferred, the 16 bytes may not be used. So far, unused bytes are left to ...
4
votes
0answers
749 views

How can I get Suricata to alert on 1 packet every time

I am trying to write a Suricata signature for testing purposes to alert every time it is triggered with a single PCAP file containing a single packet, but this is proving to be harder than I thought. ...
0
votes
1answer
127 views

Are Routers Liken to a Firewall? [closed]

When my ISP came to set up my fiber internet, I told the technician I didn't want a router included within my wired network. He successfully managed setting up the ONT(Optical Network Terminal) ...
1
vote
0answers
42 views

Decrypting 802.11 packets captured through wireshark [duplicate]

I created my own network with security of WPA2-PSK, so I know the SSID, and password. I then connected 2 devices (A and B) to this network and started capturing B's traffic from A using wireshark in ...
1
vote
2answers
77 views

What is this address I received from wireshark?

______source____________destination___ 41:9c:7f:78:b1:0c | 08:00:d0:58:59:4c I am trying to identify those addresses, the source and the destination, I thought it was IPv6 but then I realized it'...
-1
votes
1answer
268 views

Why would the amount of packets received be greater than the amount of packets sent? [closed]

I am new to wifi, and as I was looking at .pcap files, I noticed that one connection took an absurdly large amount of time. Another thing that stood out is that the amount of packets received was so ...
1
vote
1answer
96 views

Identify Network of Wireless Packet

When sniffing wireless packets from multiple networks, how do you tell which network a packet belongs to? The best guess I have right now is that you need to see the handshakes and get the mac addr ...
2
votes
1answer
349 views

Security implications of setting the broadcast flag on a UDP socket

Are there any negative security effects of setting the SO_BROADCAST option in a C UDP socket? I'm writing a C program and if I just set the broadcast option to 1 then all IP addresses work as intended,...
1
vote
0answers
102 views

Small data exfiltration protocol?

I have a small amount of data I want to send at regular intervals, such as from an IoT device. How would I design a network protocol or use existing protocols in such a way that my ISP cannot block ...
2
votes
1answer
258 views

From a PCAP file determine if the address has been spoofed?

Reading about the tool hPing, it is possible to spoof an internal address, on the detection side of this how would one go about detecting this? are there tell-tail signs? EDIT: thinking about it, ...
1
vote
2answers
560 views

Is there a way to tell, when looking at a packet, that an aircrack-ng attack happened?

I'm trying to understand how to find these attacks when using a packet sniffer (specifically using Omnipeek). Is there a way to look at a packet and know that this type attack happened? I want to find ...
3
votes
2answers
6k views

Stopping, editing, then sending packets in Windows 10

I was wondering if there was a way to stop a packet, edit what you want, then send it, like a MiTM attack. Example: 10.0.0.1 has a ncat listener (ncat -lnvp 1234) 10.0.0.2 connects to 10.0.0.1 (nc ...
5
votes
1answer
2k views

Why is the SSH maximum packet size 32k?

My question has two parts. First, why must an SSH server have at least a maximum packet size of 32678 bits? It seems a bit excessive for most uses of SSH, excluding file transfer. Is it common for ...
1
vote
1answer
545 views

Why doesn't nmap return open port info when I fragment packets?

I'm performing a scan on a remote host and playing around with the -f flag for nmap when I noticed something I hadn't expected. In amongst the other data, when I type nmap -v -O <hostname> I get ...
1
vote
1answer
685 views

Are packets processed by a proxy new or modified?

Client ---> First packet ---> Proxy ---> New packet? ---> Server If we speak about proxy systems, does the first packet get discarded and a new packet gets created, or it's still the ...
1
vote
0answers
287 views

Displaying a report of top visited websites per period (HTTP and HTTPS) [closed]

I have a MikroTik router that connects to a network with multiple endpoints. All the WAN traffic flows through this router and I would like to be able to monitor (not necessarily filter) the ...
3
votes
1answer
10k views

Proxying MetaSploit through BurpSuite

I was wondering how I would be able to proxy MetaSploit through BurpSuite. I was to reverse engineer a packet being sent to my ChromeCast, but I have no way of viewing the packet. Thanks.
0
votes
1answer
99 views

Any way to know if a sniffed packet contains a downloaded file?

Is there any way, using TCPdump, Wireshark or any library based on that, to know if someone is downloading a specific file, for example abc.exe, by inspecting the http packet? http, not https
4
votes
1answer
373 views

How to inspect TCP Header -> Optional Data with Snort?

I have been looking around for clues on how to define rules, decoders or preprocessors to be able to content-inspect the TCP Header's Optional Data ( The last 0-40 bytes of the TCP Header) TCP Header ...
4
votes
1answer
104 views

Would it be possible for an ISP to guess specific requests on an HTTPS site using package size? [duplicate]

In light of the recent senate decision in the US to allow ISPs to sell users' browsing history, I've been reading of recommendations on how users can retain their privacy. One of the common ...