Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: MAC address spoofing - conflict?

Subject: Re: MAC address spoofing - conflict?
Date: Mon, 21 Aug 2006 17:13:56 +0100
Hi Lubos,

Think of layer 2 delivery as an "if it matches my address I will read it" - This means if both stations have the same layer 2 (MAC) address both will read the comm's. As the message escalates up the stack, the IP address will need to match too though!!!

So this means, both stations get the comm's.

Hope this helps!


Regards,

Mike


----- Original Message ----- From: "Lubos Kolouch" <lubos.kolouch@gmail.com>
To: <pen-test@securityfocus.com>
Sent: Monday, August 21, 2006 9:22 AM
Subject: Re: MAC address spoofing - conflict?



Yes, but what will happen then? Data will be sent to that MAC address.

If it is switched network, I can imagine the switch will maybe send it
to the correct port from which the response came?

If there is a hub though, the packet will be delivered to which network
card?

Lubos Kolouch

Cedric Blancher pÃÅe v Ät 17. 08. 2006 v 08:56 +0200:
Le mercredi 16 aoÃt 2006 Ã 10:26 +0200, Lubos Kolouch a Ãcrit :
> I think it does matter. Because there will be more than host replying to
> ARP broadcasts and the question is what will happen.

Nope it does not matter, because you won't have multiple answers...

ARP asks for an _IP_ address, not a MAC one. Therefore, if MAC addresses
are identical, but IP addresses are different, an ARP request for one
given IP address will get one answer only. In the end, you will end up
with two entries in ARP cache with the same MAC address, but there's not
problem out there.

And if, in case of some wierd and unexplained behaviour (aka awful bug),
both hosts were replying, they would reply with the same MAC address to
the same request, so you would not have problem either.

Le jeudi 17 aoÃt 2006 Ã 01:03 +0000, penetrationtestmail@gmail.com a
Ãcrit :
> And if anyone knows the exact answer, that would be most helpful ;)

The exact answer is: you can seamless spoof MAC addresses on WLAN as
long as you use a different IP address than spoofed host, so you don't
have TCP RST problems and stuff like this. Tested in lab and real life
for pentests.

It's a classical technic (among others[1]) for bypassing some cheap, but
still widespread, WLAN captive portal that only track authenticated
clients with their MAC address.


[1] http://sid.rstack.org/pres/0602_ESW_CaptiveBypass.pdf


------------------------------------------------------------------------ This List Sponsored by: Cenzic

Need to secure your web apps?
Cenzic Hailstorm finds vulnerabilities fast.
Click the link to buy it, try it or download Hailstorm for FREE.
http://www.cenzic.com/products_services/download_hailstorm.php
------------------------------------------------------------------------





------------------------------------------------------------------------
This List Sponsored by: Cenzic

Need to secure your web apps?
Cenzic Hailstorm finds vulnerabilities fast.
Click the link to buy it, try it or download Hailstorm for FREE.
http://www.cenzic.com/products_services/download_hailstorm.php
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>