TWiT Throwback (Audio)

Know How... 167: Stingrays, NMAP, Uconnect Fail, and Questions


Listen Later

The "Man-in-the-middle" attack known as "Stingrays" are back in the news, what is NMAP and how to use it, Blackhat Uconnect hack, and community questions.

What is NMAP?

nmap is an open source network tool/port scanner that can scan everything from a large network to a single host

  • It uses raw IP packets to let us know what hosts are availible on a network, what ports they have open, what OS they are running and dozens of other parameters available to those who are willing to dive into the network protocols
  • Where to get NMAP?

    Quick Notes:

    1. When you install NMAP on Windows, its going to install "WinPcap" service (Windows Packet Capture) service
      • Allow the install and let it run on startup.
      • I'm running all these commands in a shell that has root
      • There's a GUI, but I prefer the command line
      • Basic Commands:

        1. Discover all IPs in a subnet -- "nmap -sP x.x.x.x/y" (This is a "ping scan")
          • Where 'x.x.x.x' is the IPv4 address of the subnet you want to scan
          • Where 'y' is the size of your address space
            • For example: If I use "ipconfig /all" to determine that I have an address of 192.168.0.76 and a mask of 255.255.255.0
            • I know my subnet is 192.168.0.0
            • My subnet size is /24
            • so I would use the command "nmap -sP 192.168.0.0/24"
            • You can also use wildcards and ranges
              • Ex: "nmap 192.168.1.1-50" or "nmap 192.168.1"
              • This tells nmap to send a ICMP echo request to ports 443, and 80 to all addresses within the specified subnet.
                • This only gives us a list of devices that respond to that request
                • NOTE: Just because a device doesn't respond, that doesn't mean it's not there.
                • Identify Hostnames
                  • "nmap -sL x.x.x.x/y"
                    • This will send a packet to all the hosts in the range and return their reported network names
                    • Identify the Operating System
                      • "nmap -O x.x.x.x" * This will attempt to identify the OS of the host 3. Scanning for Open Ports on a specific host
                      • "nmap x.x.x.x"
                      • This will look at a specific host and tell you what ports are open on that host
                      • Show Host Interface and Routes
                        • "nmap --iflist"
                        • Verbose!
                          • Add "-v" to find out what's happening
                          • Saving your scan to a text file
                            • "nmap 'whatever you choose to do' > output.txt"
                            • Hosts: Fr. Robert Ballecer, SJ and Bryan Burnett

                              Connect with us!

                              • Don't forget to check out our large library of projects at https://twit.tv/shows/know-how.
                              • Tweet at us at @PadreSJ, @Cranky_Hippo, and @Anelf3
                              • Sponsors:

                                • Ring.com/KNOWHOW
                                • ifixit.com/twit enter code KNOWHOW
                                • ...more
                                  View all episodesView all episodes
                                  Download on the App Store

                                  TWiT Throwback (Audio)By TWiT

                                  • 4
                                  • 4
                                  • 4
                                  • 4
                                  • 4

                                  4

                                  4 ratings


                                  More shows like TWiT Throwback (Audio)

                                  View all
                                  Total Leo (Audio) by TWiT

                                  Total Leo (Audio)

                                  202 Listeners

                                  TWiT News (Audio) by TWiT

                                  TWiT News (Audio)

                                  78 Listeners

                                  All TWiT.tv Shows (Audio) by TWiT

                                  All TWiT.tv Shows (Audio)

                                  354 Listeners

                                  TWiT Events (Audio) by TWiT

                                  TWiT Events (Audio)

                                  8 Listeners

                                  Total Mikah (Audio) by TWiT

                                  Total Mikah (Audio)

                                  3 Listeners

                                  Untitled Linux Show (Audio) by TWiT

                                  Untitled Linux Show (Audio)

                                  1 Listeners

                                  Host-Read Ads (Audio) by TWiT

                                  Host-Read Ads (Audio)

                                  3 Listeners