User Tools

Site Tools


interactive_packet_replay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
interactive_packet_replay [2007/11/27 20:57]
darkaudax
interactive_packet_replay [2009/06/01 18:14]
mister_x updated forum link
Line 1: Line 1:
 ====== Interactive packet replay ====== ====== Interactive packet replay ======
- 
- 
 ===== Description ===== ===== Description =====
  
Line 14: Line 12:
 So the aireplay-ng filter options we require to select these packets are: So the aireplay-ng filter options we require to select these packets are:
  
-  * -b 00:​14:​6C:​7E:​40:​80 selects ​packes ​with the MAC of the access point we are interested in+  * -b 00:​14:​6C:​7E:​40:​80 selects ​packets ​with the MAC of the access point we are interested in
   * -d FF:​FF:​FF:​FF:​FF:​FF selects packets with a broadcast destination   * -d FF:​FF:​FF:​FF:​FF:​FF selects packets with a broadcast destination
   * -t 1 selects packets with the "To Distribution System"​ flag set on   * -t 1 selects packets with the "To Distribution System"​ flag set on
Line 22: Line 20:
 Next, we will look at packets which need to be manipulated in order to be successfully replayed by the access point. ​ The objective, as always, is to have the access point rebroadcast the packet you inject and generate a new IV.  As simple as it sounds, the only selection criteria you need is the "-t 1" to select packets going to the distribution system (ethernet): Next, we will look at packets which need to be manipulated in order to be successfully replayed by the access point. ​ The objective, as always, is to have the access point rebroadcast the packet you inject and generate a new IV.  As simple as it sounds, the only selection criteria you need is the "-t 1" to select packets going to the distribution system (ethernet):
  
-  * -b 00:​14:​6C:​7E:​40:​80 selects ​packes ​with the MAC of the access point we are interested in+  * -b 00:​14:​6C:​7E:​40:​80 selects ​packets ​with the MAC of the access point we are interested in
   * -t 1 selects packets with the "To Distribution System"​ flag set on   * -t 1 selects packets with the "To Distribution System"​ flag set on
  
 We don't care what the destination MAC address is.  This because in this case we will modify the packet being injected. ​ The following options will result in the packet looking like a "​natural"​ packet above. ​ Here are the options required: We don't care what the destination MAC address is.  This because in this case we will modify the packet being injected. ​ The following options will result in the packet looking like a "​natural"​ packet above. ​ Here are the options required:
  
-  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client to the access point.+  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client to the access point.  IE Set the "To DS" field to 1.
   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.
  
Line 58: Line 56:
  
   * -2 means interactive replay   * -2 means interactive replay
-  * -b 00:​14:​6C:​7E:​40:​80 selects ​packes ​with the MAC of the access point we are interested in+  * -b 00:​14:​6C:​7E:​40:​80 selects ​packets ​with the MAC of the access point we are interested in
   * -d FF:​FF:​FF:​FF:​FF:​FF selects packets with a broadcast destination   * -d FF:​FF:​FF:​FF:​FF:​FF selects packets with a broadcast destination
   * -t 1 selects packets with the "To Distribution System"​ flag set on   * -t 1 selects packets with the "To Distribution System"​ flag set on
Line 100: Line 98:
  
   * -2 means interactive replay   * -2 means interactive replay
-  * -b 00:​14:​6C:​7E:​40:​80 selects ​packes ​with the MAC of the access point we are interested in+  * -b 00:​14:​6C:​7E:​40:​80 selects ​packets ​with the MAC of the access point we are interested in.
   * -t 1 selects packets with the "To Distribution System"​ flag set on   * -t 1 selects packets with the "To Distribution System"​ flag set on
   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.
-  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.+  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.  IE Set the "To DS" field to 1.
   * ath0 is the wireless interface   * ath0 is the wireless interface
  
Line 144: Line 142:
  
   * -2 means the interactive replay attack   * -2 means the interactive replay attack
-  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.+  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.  IE Set the "To DS" field to 1.
   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.   * -c FF:​FF:​FF:​FF:​FF:​FF sets the destination MAC address to be a broadcast. ​ This is required to cause the AP to replay the packet and thus getting the new IV.
   * -b 00:​14:​6C:​7E:​40:​80 is the MAC address of the access point (BSSID). ​ This is a filter to select a single AP.   * -b 00:​14:​6C:​7E:​40:​80 is the MAC address of the access point (BSSID). ​ This is a filter to select a single AP.
Line 188: Line 186:
  
   * -2 means the interactive replay attack   * -2 means the interactive replay attack
-  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.+  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.  IE Set the "To DS" field to 1.
   * -m 68 is the minimum packet length   * -m 68 is the minimum packet length
   *  -n 86 is the maximum packet length ​   *  -n 86 is the maximum packet length ​
Line 231: Line 229:
  
   * -2 means the interactive replay attack   * -2 means the interactive replay attack
-  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.+  * -p 0841 sets the Frame Control Field such that the packet looks like it is being sent from a wireless client.  IE Set the "To DS" field to 1.
   * -c FF:​FF:​FF:​FF:​FF:​FF NOTE: This is not included because an ARP packet already has the destination MAC address set to broadcast.   * -c FF:​FF:​FF:​FF:​FF:​FF NOTE: This is not included because an ARP packet already has the destination MAC address set to broadcast.
   * -b 00:​14:​6C:​7E:​40:​80 is the MAC address of the access point (BSSID). ​ This is a filter to select a single AP.   * -b 00:​14:​6C:​7E:​40:​80 is the MAC address of the access point (BSSID). ​ This is a filter to select a single AP.
Line 291: Line 289:
 Check the [[i_am_injecting_but_the_ivs_don_t_increase|I am injecting but the ivs don't increase tutorial]]. Check the [[i_am_injecting_but_the_ivs_don_t_increase|I am injecting but the ivs don't increase tutorial]].
  
-One situation that may affect interactive replay: Exception of wireless client separation option - http://​tinyshell.be/​aircrackng/​forum/​index.php?​topic=194+One situation that may affect interactive replay: Exception of wireless client separation option - http://​forum.aircrack-ng.org/​index.php?​topic=194
  
 Also see the general aireplay-ng troubleshooting ideas: [[aireplay-ng#​usage_troubleshooting|aireplay-ng usage troubleshooting]]. Also see the general aireplay-ng troubleshooting ideas: [[aireplay-ng#​usage_troubleshooting|aireplay-ng usage troubleshooting]].
  
interactive_packet_replay.txt ยท Last modified: 2010/11/21 09:05 by sleek