_00 class notes 8.26.26 WednesdayOn your laptop: ethernet adapters: usb-c for laptopshome scans on wired network: comparebrew install nmap arp-scan wireshark mtr masscan netcatbrew install --cask wireshark-chmodbpf. (gives you access to interfaces) pi server stations: join cyber5 networknote IP address (ifconfig) note MAC address (ip link show)ping gateway traceroute to 4.4.4.4 challenge: scan local wLAN with arp -a challenge: scan local network with nmap -snchallenge: ssh into other machines, then change password (share with me)question: what is pentesting? install these:change name (sudo raspi-config)activate raspberry pi connect (sudo raspi-config)pi-apps angry ip scanner (ip scan) etherape nmap zenmap arp-scan wireshark install java: sudo apt install libswt-gtk-4-java libswt-gtk-4-jni -y homework:ifconfigroute -n get default ipconfig getifaddr en0 sudo arp-scan --localnet nmap -sn 192.168.50.0/24 (change to match the network) scan a target: nmap 192.168.50.20. (change for target)deeper scan: nmap -sV 192.168.50.20 (change for target)sudo nmap -O 192.168.50.20 sudo nmap -sS -sV -O 192.168.50.20 next: wiresharkping 192.168.50.20 filter: icmpcurl http://192.168.50.20 filter: tcp.port == 80 Friday:IP notationnetworksDNSDHCPtesting basics: ping, traceroute, nslookup, dignavigation: pwd, ls, cd, mkdir, touch, nano, mv, rm create hidden file ssh challenge: find the filenavigation: wildcards, up, back, ctrl-c  ctrl-z============================= email to bill@hpa.edu quiz: 8.24.26 what was the speed of the ethernet cable you created? as a cybersecurity expert, what are the good and bad parts of ethernet, wireless and fiber? from your homework, list the IP address, subnet mask and router you found list the MAC address for your computer worksheet 8.24.26-network recon; find the intruder!record your results and email to bill@hpa.edupart one: arp scans, MAC addresses join the cyberwifi network (password on the board) run an arp -a scan how many hosts do you see? what is common about their MAC address? (look at the first 3 pairs) look online for OUI lookup, (a wireshark utility), copy in one of the MAC addresses you found what could this tell you about the intruder?part two: nmap pick one of the clients on the cyberwifi network (remember, these are your friends, be nice) use nmap -sn 192.168.4.0/24 to verify the IP address for your victim use nmap 192.168.4.x to scan the victim what do you see?part three: IP net monitor make sure you have IP net monitor installed on your computer run a bonjour scan on your network-do you see IP addresses there? repeat the steps above using the Address Scan tool and port scanHomework: 8.24.26 Use the tools above at home/dorm and record your results so you can share with the class Wednesday Look on the app store for other network scanners, try a few of the free ones on your networknext: setup your pi server linux for hackers hcrw text Migrated from Apple Server Wiki. Original page ID: w378H2o5Y