Feb 9, 2023 10:36 AM
(This post was last modified: Feb 9, 2023 02:34 PM by am0rph0us.)
I want to learn how to effectively do MITM attacks and sniff traffic on a wireless network.
I've tried to use ettercap and arp spoofing which is the old traditional way of doing it. The problem is that SSL and certificate pinning causes basically every site to say "Certificate not valid" or something like that and it will not even give you the option to proceed. Same thing if you successfully launch a DHCP spoof. Even without using an SSL strip. The main goal is not even to intercept credentials, but to just see the websites being visited and browser version, etc.
What I don't understand is how the problem arises as soon as I set my computer between the target and the gateway. There must be a way to seamlessly flow the data through the attacking machine without causing interruptions and certificate errors.
I have a second option though. I have access to the router admin panel, and since all traffic flows through the gateway I should be able to use this to monitor the traffic.
The router allows me to set routing rules for the network. So I can enable static routes in the format:
Network/Host IP | Netmask | Gateway | Metric | Interface | ADD/DELETE
So here I guess I could set the target IP as the Host IP, then my attacking machine as the Gateway?
Are there any good tutorials on how to set up a MITM attack through the router panel, and would this work?
In general, are MITM attacks even a threat these days with HSTS and certificate pinning? Seems like there is no way to get access to credentials or in my case see the traffic even though I'm on the same WiFi. Driftnet and other tools could be used aswell to see what is being sent through the wires.
Are there ways you could get access to other systems on LAN using some sort of social engineering attack? I want to try to see if I can use DNS spoofing and Beef and get that to work. I've heard there are ways to inject files through the traffic in certain ways.
Any help and links related to this would be appreciated. I know mitm attacks used to be a thing a few years ago, but I would like to hear if anyone has more recent knowledge on Mitm attacks. And if my router approach is viable.
I've tried to use ettercap and arp spoofing which is the old traditional way of doing it. The problem is that SSL and certificate pinning causes basically every site to say "Certificate not valid" or something like that and it will not even give you the option to proceed. Same thing if you successfully launch a DHCP spoof. Even without using an SSL strip. The main goal is not even to intercept credentials, but to just see the websites being visited and browser version, etc.
What I don't understand is how the problem arises as soon as I set my computer between the target and the gateway. There must be a way to seamlessly flow the data through the attacking machine without causing interruptions and certificate errors.
I have a second option though. I have access to the router admin panel, and since all traffic flows through the gateway I should be able to use this to monitor the traffic.
The router allows me to set routing rules for the network. So I can enable static routes in the format:
Network/Host IP | Netmask | Gateway | Metric | Interface | ADD/DELETE
So here I guess I could set the target IP as the Host IP, then my attacking machine as the Gateway?
Are there any good tutorials on how to set up a MITM attack through the router panel, and would this work?
In general, are MITM attacks even a threat these days with HSTS and certificate pinning? Seems like there is no way to get access to credentials or in my case see the traffic even though I'm on the same WiFi. Driftnet and other tools could be used aswell to see what is being sent through the wires.
Are there ways you could get access to other systems on LAN using some sort of social engineering attack? I want to try to see if I can use DNS spoofing and Beef and get that to work. I've heard there are ways to inject files through the traffic in certain ways.
Any help and links related to this would be appreciated. I know mitm attacks used to be a thing a few years ago, but I would like to hear if anyone has more recent knowledge on Mitm attacks. And if my router approach is viable.




![[Image: syn-acktra.jpeg]](https://i0.wp.com/muirlandoracle.co.uk/wp-content/uploads/2020/02/syn-acktra.jpeg)