Nmap Tutorial For Beginners - 1 - What is Nmap?

Nmap Tutorial For Beginners - 1 - What is Nmap?

Introduction to Nmap for Beginners

What is Nmap?

  • Nmap is introduced as a footprinting and reconnaissance tool essential for ethical hacking, serving as the first step in gathering information about a target.
  • It helps gather detailed information about targets such as IP addresses or websites, making it indispensable for penetration testers and ethical hackers.

Installation and Platforms

  • Nmap is available on multiple platforms including Linux, Windows, and Mac OS. Users can download it from its official website (nmap.org).
  • For users of Kali Linux or Parrot OS, Nmap comes pre-installed; launching it requires elevated privileges.

Launching Nmap

  • Two methods to start Nmap are discussed: using the command prompt in Windows or terminal in Linux with root access.
  • The help option provides an extensive list of scanning options available within Nmap, which may seem overwhelming at first glance.

Understanding Scanning Techniques

Noise Level of Scans

  • It's noted that Nmap is a "noisy" scanner easily detectable by firewalls and servers; thus, stealthy scanning techniques are crucial.
  • Emphasis is placed on conducting scans legally and ethically for educational purposes only.

Example Scans

  • A basic example of running an Nmap scan includes parameters like -V (version number display) and -A (OS detection and script scanning).
  • The tutorial references a test machine (scanme.nmap.org), authorized for educational use to practice scanning without legal repercussions.

Parameters Explained

Understanding Scan Parameters

  • The -V parameter prints the version number of the server being scanned while -A provides operating system details along with version detection.

Range Scanning

  • An explanation follows regarding how to scan a range of IP addresses effectively using specific syntax in commands.

Understanding IP Address Reconnaissance

Overview of IP Address Blocks

  • The discussion begins with an introduction to major IP address blocks, highlighting that these are the ranges of IP addresses registered globally.
  • Users can select specific countries (e.g., France) to view all associated IP addresses and their ranges, including details about the provider and assigned dates.

Importance of Reconnaissance

  • The speaker emphasizes the significance of reconnaissance in cybersecurity, stating that having an IP address allows for extensive information retrieval.
  • A demonstration is provided on how to use the "whois" command to find ownership details related to a specific IP address.

Utilizing WhoIs Command

  • The "whois" command reveals critical information such as country, time zone, and geographical coordinates linked to an IP address.
  • It is noted that while location accuracy is generally high (around 90%), it may not pinpoint exact addresses due to how ISPs assign ranges.

Search Engines as Tools for Footprinting

  • Search engines are highlighted as valuable resources for reconnaissance; they can provide detailed insights into various aspects of an IP address.
  • The speaker assures viewers that links used during demonstrations will be available in the video description for further exploration.

NS Lookup Command Introduction

  • An introduction to the "NS lookup" command is presented, which is readily available on both Windows and Linux systems without additional installation.
  • Demonstrations show how NS lookup can retrieve website addresses from given domains or vice versa.

Saving Scan Results

  • A practical tip is shared regarding saving scan results using NS lookup by redirecting output into a text file on the desktop.
  • This method allows users to keep track of multiple scans efficiently by automatically logging results into a specified document.

Summary and Next Steps

  • The tutorial concludes with a summary of key points covered: understanding Nmap commands and parameters essential for effective reconnaissance practices.
Playlists: Nmap
Video description

Welcome to Nmap for beginners! Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. Our Courses: Python For Ethical Hacking - Develop Your Own Scripts: https://www.udemy.com/course/the-complete-python-3-developer-course/?couponCode=TCP3DC2019 The Complete Ethical Hacking Bootcamp: https://www.udemy.com/course/the-complete-ethical-hacking-bootcamp/?couponCode=TCEHB2019 OS Compatibility: Linux,Windows & Mac( Pre-Installed in Kali linux,BlackArch & parrot OS) Commands used: ----------------------------- nmap --help nmap -0 nslookup whois ------------------------------ Links: ------------------------------ Nmap: https://nmap.org/ Scanme: http://scanme.nmap.org/ ------------------------------ I Hope you enjoy/enjoyed the video. If you have any questions or suggestions feel free to ask them in the comments section or on my social networks as well as mu blog. SOCIAL NETWORKS ------------------------------- Facebook: https://www.facebook.com/HackerSploit/ Twitter: https://twitter.com/HackerSploit Instagram: https://www.instagram.com/alexisayub/ -------------------------------- Thanks for watching! Благодаря за гледането 感谢您观看 Merci d'avoir regardé Gracias por ver شكرا للمشاهدة देखने के लिए धन्यवाद