<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Kali%2FLayer_2_Attacks</id>
	<title>Kali/Layer 2 Attacks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Kali%2FLayer_2_Attacks"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Kali/Layer_2_Attacks&amp;action=history"/>
	<updated>2026-06-20T01:26:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Kali/Layer_2_Attacks&amp;diff=12628&amp;oldid=prev</id>
		<title>Admin: /* Rogue AP Attacks */</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Kali/Layer_2_Attacks&amp;diff=12628&amp;oldid=prev"/>
		<updated>2016-08-19T08:31:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Rogue AP Attacks&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:31, 19 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Rogue AP attack tricks the sheep into thinking that a random access point is actually the sheep&amp;#039;s (for example) home network, for which the encrypted passphrase is saved so the sheep can quickly and conveniently connect to their home wifi network when they get home after a long day of doing sheep stuff from 9 to 5. The phone does not question whether the wifi network is in the right place - it just checks that the MAC address (easily spoofed) is correct.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Rogue AP attack tricks the sheep into thinking that a random access point is actually the sheep&amp;#039;s (for example) home network, for which the encrypted passphrase is saved so the sheep can quickly and conveniently connect to their home wifi network when they get home after a long day of doing sheep stuff from 9 to 5. The phone does not question whether the wifi network is in the right place - it just checks that the MAC address (easily spoofed) is correct.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=Flags=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{KaliAttackLayersFlag}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Kali/Layer_2_Attacks&amp;diff=12626&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;=Data Layer 2 Attacks=  ==Review==  Let&#039;s review the network stack before we launch into network layer attacks.  {{NetworkStack}}  Layer 3 is the Network layer. It handles IP...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Kali/Layer_2_Attacks&amp;diff=12626&amp;oldid=prev"/>
		<updated>2016-08-19T08:29:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Data Layer 2 Attacks=  ==Review==  Let&amp;#039;s review the network stack before we launch into network layer attacks.  {{NetworkStack}}  Layer 3 is the Network layer. It handles IP...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Data Layer 2 Attacks=&lt;br /&gt;
&lt;br /&gt;
==Review==&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s review the network stack before we launch into network layer attacks.&lt;br /&gt;
&lt;br /&gt;
{{NetworkStack}}&lt;br /&gt;
&lt;br /&gt;
Layer 3 is the Network layer. It handles IP addresses and translating between MAC addresses and IP addresses.&lt;br /&gt;
&lt;br /&gt;
==Scenario==&lt;br /&gt;
&lt;br /&gt;
Suppose you&amp;#039;re attacking a sheep that&amp;#039;s on a foreign network, and you have zero information about the sheep and/or about the sheep&amp;#039;s network. Where does that leave you? Fortunately, given the volume of information publicly broadcasted by devices, you&amp;#039;ve got plenty to go on.&lt;br /&gt;
&lt;br /&gt;
The Data layer is synonymous with the MAC addresses of machines. This is the basic way that computers are able to create data channels among themselves - it all begins with the unique device identifiers called MAC addresses. These identifiers are like hardware fingerprints. (Changing your mac address with a tool like [[Macchanger]] is akin to changing your fingerprints, and can potentially raise Hell on a network.) MAC addresses usually encode information about the manufacturer in the first 6 hex digits; for example, most or all Apple computers share a set of MAC prefixes. These prefixes can be looked up online or using software libraries in the kernel, and will tell you the manufacturer of a given device.&lt;br /&gt;
&lt;br /&gt;
Attacks in Layer 2 are valuable because they require no prior information about a sheep, a network, etc. Because Layer 2 information (unique identifiers/MAC addresses) provides the most basic foundations of a communication system, this information is not private or encrypted - in fact it is publicly broadcast. This is perhaps the most startling thing about using the aircrack tool - the wealth of information that is continuously being broadcast by a huge number of devices.&lt;br /&gt;
&lt;br /&gt;
Devices like routers are continually broadcasting advertisements with their MAC address and SSID (network name). Networks need to publicly advertise their MAC addresses in order for clients to send connection requests. &lt;br /&gt;
&lt;br /&gt;
Client devices are also continually sending their own MAC address, as they need to include a &amp;quot;return address&amp;quot; on all packets they transmit. Every device in the vicinity will receive these packets - the 802.11 protocol simply dictates that radios be polite and not read other people&amp;#039;s mail, and packets not intended for the host machine are discarded at the hardware level and never reach the CPU. By putting a wifi card in monitor mode, you are turning off that discard mechanism, and every single packet you hear is processed by the CPU.&lt;br /&gt;
&lt;br /&gt;
==Deauth Attacks==&lt;br /&gt;
&lt;br /&gt;
Because Layer 2 is where basic channels of data are created, everything must be public. This includes the handshake process - which is where the main weakness of WPA lies. The handshake process must take place publicly, and according to the WPA protocol, the encrypted handshake is sent in a packet that anyone can read. Thus, someone listening with software like [[Aircrack]] can capture these handshake packets, and obtain an encrypted passphrase for a given network. With tools like [[John]], these encrypted passphrases can be cracked.&lt;br /&gt;
&lt;br /&gt;
==Rogue AP Attacks==&lt;br /&gt;
&lt;br /&gt;
Another type of trickery that can occur at Layer 2 is a Rogue AP, namely, a fake AP that is created with the intention of tricking clients into revealing wifi credentials. This attack is also a Layer 2 attack, because it takes advantage of the fact that devices are often set to automatically send an encrypted handshake packet to any wifi network that claims to be a &amp;quot;remembered&amp;quot; wifi network. Of course, the names of these &amp;quot;remembered&amp;quot; networks are also broadcast, so it isn&amp;#039;t like it&amp;#039;s a secret or anything.&lt;br /&gt;
&lt;br /&gt;
The Rogue AP attack tricks the sheep into thinking that a random access point is actually the sheep&amp;#039;s (for example) home network, for which the encrypted passphrase is saved so the sheep can quickly and conveniently connect to their home wifi network when they get home after a long day of doing sheep stuff from 9 to 5. The phone does not question whether the wifi network is in the right place - it just checks that the MAC address (easily spoofed) is correct.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>