def generate_task(self, doc): Scenario.generate_task(self, doc) doc.add_paragraph("In this scenario you have access to two Kali machines in seperate VLANs in the same network. " "The VLANs are somewhere in the range 1-10. ") doc.add_paragraph( "The tool arp-scan is able to find which VLAN you are a part of by specifying a VLAN to scan.") doc.add_paragraph( "The vconfig tool can be used to add a VLAN tag to an interface.") doc.add_paragraph("Answer the following questions: ")
def generate_task(self, doc): Scenario.generate_task(self, doc) doc.add_paragraph( 'In this scenario your kali machine is connected to a switch capable of learning connected MAC adresses, ' 'this means that traffic will be delivered to the correct device once it\'s location has been learned.') doc.add_paragraph( 'This task requires you to use ettercap/arpspoof to trick devices into sending traffic to you instead of the intended recipient, ' 'then Wireshark/tcpdump can be used to analyse packets.') doc.add_paragraph( 'Answer the following questions:')
def generate_task(self, doc=Document()): Scenario.generate_task(self, doc) doc.add_paragraph( "DHCP servers assign IP addresses within a set range for a set amount of time. " "This makes them vulnerable to 'starvation' attacks, where a malicious device requests every IP by pretending to be many devices simultaneously." ) doc.add_paragraph( "In this task you'll be performing a starvation attack. To do this you'll need to use Yersinia. NOTE: Do NOT run dhclient until told." ) doc.add_paragraph("Answer the following questions:")
def generate_task(self, doc): Scenario.generate_task(self, doc) doc.add_paragraph( 'In this scenario your kali machine is connected to a switch capable of learning connected MAC adresses, ' 'this means that traffic will be delivered to the correct device rather than all devices after seeing the device\'s MAC send a packet. ' ) doc.add_paragraph( 'MAC Addresses in this scenario are learned by storing them in a Content Addressable Memory (CAM) table, a dictionary of MACs to Ports. ' ) doc.add_paragraph( 'CAM tables such as this one are vulnerable to an attack known as flooding, where by filling the CAM table the switch is forced to relearn the MAC. ' 'Until the MAC address is relearned any packets sent to it are flooded on all of the switches ports, and visable to devices connected to those ports. ' ) doc.add_paragraph( 'This task requires you to use the \'macof\' to peform CAM Table flooding, then Wireshark/tcpdump can be used to analyse packets. ' ) doc.add_paragraph( 'NOTE: The macof tool generates a large amount of traffic that slow the network to a crawl like a DOS attack. If you aren\'t succesful in capturing traffic, pause your attack for a bit' ) doc.add_paragraph('Answer the following questions:')
def generate_task(self, doc): Scenario.generate_task(self, doc) doc.add_paragraph("Template")