Performing OS Discovery

📰 Medium · Cybersecurity

Learn to perform OS discovery using active and passive banner grabbing techniques to determine the OS of a remote target system

intermediate Published 18 Jun 2026
Action Steps
  1. Run the nmap command with the -A flag to perform an aggressive scan on a target IP address
  2. Use active banner grabbing by sending specifically crafted packets to a remote OS and comparing responses with a database
  3. Use passive banner grabbing by analyzing error messages, sniffing network traffic, and examining page extensions
  4. Set up a lab environment with Kali Linux and a Windows 10 virtual machine to practice OS discovery
  5. Analyze the results of the nmap scan to determine the OS of the target system
Who Needs to Know This

Security professionals and penetration testers can benefit from this knowledge to identify potential vulnerabilities in a system

Key Insight

💡 OS discovery is a crucial step in identifying potential vulnerabilities in a system, and can be performed using active and passive banner grabbing techniques

Share This
🔍 Perform OS discovery using active and passive banner grabbing techniques to identify potential vulnerabilities #cybersecurity #OSdiscovery

Key Takeaways

Learn to perform OS discovery using active and passive banner grabbing techniques to determine the OS of a remote target system

Full Article

Title: Performing OS Discovery

URL Source: https://medium.com/@El-4rchi3/performing-os-discovery-af12721265cb?source=rss------cybersecurity-5

Published Time: 2026-06-18T23:05:06Z

Markdown Content:
# Performing OS Discovery. Introduction | by Archie | Jun, 2026 | Medium

[Sitemap](https://medium.com/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1: Unknown user](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png)

# Performing OS Discovery

[![Image 2: Archie](https://miro.medium.com/v2/resize:fill:32:32/1*GCRnObl_7q1tyi_6cAmJlA.jpeg)](https://medium.com/@El-4rchi3?source=post_page---byline--af12721265cb---------------------------------------)

[Archie](https://medium.com/@El-4rchi3?source=post_page---byline--af12721265cb---------------------------------------)

2 min read

·

Just now

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Faf12721265cb&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&user=Archie&userId=82bcb2c97116&source=---header_actions--af12721265cb---------------------clap_footer------------------)

--

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2Faf12721265cb&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&user=Archie&userId=82bcb2c97116&source=---header_actions--af12721265cb---------------------repost_header------------------)

--

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Faf12721265cb&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&source=---header_actions--af12721265cb---------------------bookmark_footer------------------)

[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Daf12721265cb&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40El-4rchi3%2Fperforming-os-discovery-af12721265cb&source=---header_actions--af12721265cb---------------------post_audio_button------------------)

Share

**Introduction**

Banner grabbing, or OS fingerprinting, is used to determine the OS running on a remote target system.

There are two types OS discovery or Banner grabbing techniques:

**_Active Banner Grabbing:_**specifically crafted packets are sent to a remote OS, and the responses are noted, which are then compared with a database to determine the OS.

**_Passive Banner Grabbing:_**includes banner grabbing from error messages, sniffing the network traffic, and banner grabbing from page extensions.

**Lab environment**

Kali Linux — **Attacker’s Machine**

Windows 10 virtual machine — **Attacker’s Machine**

**Step 1: performing OS detection using Aggressive scan**

1. In Kali Linux terminal window, run **_nmap -A [T. IP Address]_**command.

> The target machine is **Wi
Read full article → ← Back to Reads