0748 111 304
News & Updates

Common man-in-the-middle attack methods on public networks

Man-in-the-middle attacks are cyberattacks where hackers intercept and eavesdrop on communications between two online targets to steal sensitive information like credit cards, usernames, and passwords. Here are the most common methods used on public networks: 1. Rogue Hotspots (Evil Twin Networks) What It Is Hacker creates a malicious Wi-Fi access point nearby with a name […]

Common man-in-the-middle attack methods on public networks

    Man-in-the-middle attacks are cyberattacks where hackers intercept and eavesdrop on communications between two online targets to steal sensitive information like credit cards, usernames, and passwords. Here are the most common methods used on public networks:


    1. Rogue Hotspots (Evil Twin Networks)

    What It Is

    • Hacker creates a malicious Wi-Fi access point nearby with a name similar to legitimate networks

    • Often uses names like “FreeWiFi_Nairobi” (vs. real “CafeWiFi_Nairobi”) or generic “Free Public Wi-Fi Network”

    How It Works

    1. Attacker sets up Wi-Fi hotspot in airports, restaurants, or city centers

    2. Network name mimics nearby businesses or trusted public connections

    3. Users connect thinking it’s legitimate

    4. Attacker collects all data passing through: credit cards, usernames, passwords

    Why It’s Dangerous

    • Users don’t need password to connect (open network)

    • If authentication required, hacker captures login credentials during registration

    • 1 in 4 public Wi-Fi hotspots in Nairobi remains unsecured


    2. ARP Spoofing (ARP Cache Poisoning)

    What It Is

    • Address Resolution Protocol (ARP) connects IP addresses with MAC addresses on local networks

    • Attacker sends falsified ARP packets containing false MAC address information

    How It Works

    Step Action
    1 Hacker sends fake ARP packets to local network
    2 Packets claim attacker’s MAC address = target IP address (e.g., gateway)
    3 Other devices cache this false information
    4 Traffic destined for legitimate IP redirects to attacker’s MAC
    5 Attacker intercepts, alters, or observes all traffic between parties

    Advanced Techniques

    • Hijack default gateway: Specify own device as gateway, redirecting ALL network traffic

    • Modify DNS servers: Replace legitimate DNS with attacker’s address to execute DNS spoofing

    Requirements

    • Attacker must be on same LAN as victim (hotel LANs, public WiFi at risk)


    3. DNS Spoofing (DNS Hijacking)

    What It Is

    • Domain Name System (DNS) connects website domain names to IP addresses

    • Attacker changes DNS records to redirect users from legitimate sites to fraudulent ones

    How It Works

    Step Action
    1 Attacker modifies DNS server settings on victim’s device
    2 Replaces legitimate DNS IP with attacker’s address
    3 User tries to visit “bank.com”
    4 DNS redirects to fake “bank.com” (attacker’s site) instead
    5 Attacker captures credentials, financial data, personal info

    Example

    • User types google.com → redirected to fake Google login page

    • User enters password → attacker steals credentials


    4. HTTPS Spoofing (SSL Stripping)

    What It Is

    • HTTPS encrypts data between user and website

    • Attacker secretly routes users to unencrypted HTTP page instead

    How It Works

    Step Action
    1 User enters “https://bank.com” in browser
    2 Attacker intercepts request and redirects to “http://bank.com” (no encryption)
    3 Data travels in plain text, visible to attacker
    4 Attacker reads credit card numbers, passwords, personal data

    Why It Works

    • Many users don’t notice “http” vs “https” in URL

    • Some sites automatically downgrade to HTTP for faster loading


    5. SSL Hijacking (SSL Certificate Spoofing)

    What It Is

    • SSL provides authentication and encryption using SSL certificates

    • Attacker uses fake SSL certificate to hijack encryption process

    How It Works

    Step Action
    1 User attempts to visit secure site (login page)
    2 Attacker presents fake SSL certificate
    3 Browser may show “untrusted certificate” warning (user ignores)
    4 Data intercepted and decrypted before reaching real server
    5 Attacker captures login credentials, financial data

    Warning Signs

    • Browser shows “Certificate not trusted” or SSL warning

    • User ignores warning and enters credentials


    6. Wi-Fi Eavesdropping

    What It Is

    • Attacker creates public Wi-Fi hotspots in popular locations (airports, restaurants, city centers)

    • Compromises legitimate public Wi-Fi hotspots used by public

    How It Works

    Scenario Attack Method
    Fake network Sets up malicious hotspot with legitimate-sounding name
    Compromised network Hacker infiltrates existing public Wi-Fi (weak password, vulnerability)
    No password User connects without authentication (open network)
    Password required Hacker captures credentials during login process

    Data Intercepted

    • Credit card numbers

    • Usernames and passwords

    • Personal details

    • Financial information


    7. DHCP Spoofing

    What It Is

    • DHCP (Dynamic Host Configuration Protocol) allocates IP addresses on networks

    • Attacker sets up fake DHCP server to control IP address allocation

    How It Works

    Step Action
    1 Attacker on same LAN as victim creates fake DHCP server
    2 Hackers control IP address allocation to victim’s computer
    3 Enter fake default gateway and DNS server addresses
    4 Redirects ALL outbound traffic on victim’s computer to attacker
    5 Attacker intercepts or manipulates content

    Requirements

    • Attacker must be on same LAN as victim

    • Hotel LANs and public WiFi networks are at risk


    Attack Method Comparison

    Attack Method Network Required Data Intercepted Detection Difficulty
    Rogue Hotspot Wi-Fi (any) All traffic Easy (verify network name)
    ARP Spoofing Same LAN All traffic Hard (no visible signs)
    DNS Spoofing Any network Redirected sites only Medium (check URL)
    HTTPS Spoofing Any network Plain text data Medium (check “https”)
    SSL Hijacking Any network Encrypted data Hard (ignore warnings)
    Wi-Fi Eavesdropping Wi-Fi (any) All traffic Easy (verify network)
    DHCP Spoofing Same LAN All traffic Hard (no visible signs)

    Prevention: How to Protect Against MITM Attacks

    For Users

    ✅ Use a trusted VPN – Encrypts all traffic, prevents interception
    ✅ Avoid public Wi-Fi for banking/shopping – Use mobile data or secure networks
    ✅ Verify network authenticity – Confirm exact SSID name with venue staff
    ✅ Check for HTTPS – Only enter credentials on “https://” sites
    ✅ Don’t ignore SSL warnings – If browser shows certificate error, don’t proceed
    ✅ Enable 2-factor authentication – Blocks unauthorized access even if password stolen
    ✅ Turn off auto-connect – Prevent device from joining networks automatically

    For Network Administrators

    ✅ Implement network segmentation (VLANs) – Separate guest from internal traffic
    ✅ Enable client isolation – Prevent guests from accessing other guests
    ✅ Use WPA3/WPA2 encryption – Never use WEP or open networks
    ✅ Deploy captive portal with authentication – Require login before access
    ✅ Monitor network activity – Detect unusual traffic patterns
    ✅ Keep firmware updated – Prevent vulnerability exploitation


    Bottom Line

    MITM attacks are a growing threat, especially in Nairobi where 1 in 4 public Wi-Fi hotspots remain unsecured. The most common methods—rogue hotspots, ARP spoofing, DNS spoofing, and SSL stripping—can intercept passwords, financial data, and personal information.

    Protecting your data isn’t optional—it’s your first line of defense. Use VPN, verify network authenticity, avoid sensitive transactions on public Wi-Fi, and always look for HTTPS.

    Looking for fast, reliable internet in Nairobi? Same-day connection · Packages from Ksh 1,500/month · No long-term contracts.
    Call 0748 111 304
    Share:
    Get Connected Today
    High-speed WiFi & Fiber internet from Ksh 1,500/month. Same-day installation across Nairobi.
    Our Services
    Contact Us
    City View, Jogoo Road, Nairobi
    Mon–Sat: 8:00 AM – 6:00 PM

    Ready to Get Connected in Nairobi?

    Same-day WiFi & Fiber internet, CCTV, web design and full ICT solutions — all under one roof.