Thursday, January 23, 2025
HomeKALIPerforming an Idle Zombie Scan Nmap

Performing an Idle Zombie Scan Nmap

Published on

SIEM as a Service

Follow Us on Google News

Idle Zombie Scan Nmap: Nmap is a TCP port Scan method used to send a spoofed source address to a computer to find out what services are available and offers blind scanning of a remote host.

This is accomplished by impersonating another computer. No packet is sent from its own IP address, instead, another host is used called Zombie.

Finding a Zombie first

The first step in executing an IP ID idle scan is to find an appropriate zombie. It needs to assign IP ID packets incrementally on a global (rather than per-host it communicates with) basis.

When an idle scan is attempted, Nmap tests the proposed zombie and reports any problems with it. If one doesn’t work, try another

Choosing a network near your source address, or near the target, produces better results. You can try an idle scan using each available host from the ping scan results until you find one that works.

Steps Involved in Idle Scan

First, we need to send a session establishment ‘SYN‘ packet to determine whether the port is open or closed.

If the port opens the ‘Zombie‘ responds with a ‘SYN/ACK‘ containing the IPID of the remote host. If the port is closed then it will send an ‘RST‘ packet.

Idle Zombie Scan Nmap
Idle Zombie Scan Nmap

Idle Zombie Scan Nmap

Once a suitable zombie has been found, performing a scan is easy. Simply specify the zombie hostname to the -sI option and Nmap does the rest.

Here consider

Zombie : 192.168.172.129

Target: 192.168.1.9

  • -Pn Scan only selected ports and ignore discovery
  • -p Scan a single port
  • -sI TCP Idle scan

Scanning : root@kali:~# nmap –Pn –p –sI 192.168.172.129 192.168.1.9

Parallelizing idle scans is trickier than with other scan techniques due to the indirect method of deducing port states.

If Nmap sends probes to many ports on the target and then checks the new IP ID value of the zombie, the number of IP ID increments will expose how many target ports are open, but not which ones.

Reliability is another major idle scanning concern. If the zombie host sends packets to any unrelated machines during the scan, its IP ID increments. This causes Nmap to think it has found an open port.

Advantages of Idle Zombie Scan Nmap

Idlescan’s method of spoofing IP addresses allows nmap to find open ports from a distance, even if packet filters are in place.

Nmap simply requires any open port to a zombie workstation to complete the communication process.

One of the largest advantages of idlescan is the stealth factor. A destination station will never see the IP address of the nmap station.

Disadvantages of Idle Zombie Scan Nmap

Idlescan only locates ports. Idlescan can’t provide any application version information or operating system fingerprinting.

The zombie must be an idle station, and that’s difficult to know for sure. Often, many different devices will be tested with idlescan before an appropriate idle station is identified

Idlescan requires privileged access to create the spoofed IP frames. Without privileged access, this scan will not run.

Common Defense against Idle Scan

Don’t use a public host in front of your firewall that uses a predictable IPID sequence.

Solaris and Linux are two operating systems that are not vulnerable to this type of behavior.

We should Use a firewall that can maintain state-on connections, determine whether someone initiated a phony session request, and drop those packets without a target host response.

Use an ingress filter on your network to ensure that no packets enter your outside boundary with a source address of your internal network.

With egress filter on your network ensure that no packets leave your network with a source address that isn’t a part of your internal network.

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Critical Vulnerability in Next.js Framework Exposes Websites to Cache Poisoning and XSS Attacks

A new report has put the spotlight on potential security vulnerabilities within the popular...

New Cookie Sandwich Technique Allows Stealing of HttpOnly Cookies

The "Cookie Sandwich Attack" showcases a sophisticated way of exploiting inconsistencies in cookie parsing...

GhostGPT – Jailbreaked ChatGPT that Creates Malware & Exploits

Artificial intelligence (AI) tools have revolutionized how we approach everyday tasks, but they also...

Tycoon 2FA Phishing Kit Using Specially Crafted Code to Evade Detection

The rapid evolution of Phishing-as-a-Service (PhaaS) platforms is reshaping the threat landscape, enabling attackers...

API Security Webinar

Free Webinar - DevSecOps Hacks

By embedding security into your CI/CD workflows, you can shift left, streamline your DevSecOps processes, and release secure applications faster—all while saving time and resources.

In this webinar, join Phani Deepak Akella ( VP of Marketing ) and Karthik Krishnamoorthy (CTO), Indusface as they explores best practices for integrating application security into your CI/CD workflows using tools like Jenkins and Jira.

Discussion points

Automate security scans as part of the CI/CD pipeline.
Get real-time, actionable insights into vulnerabilities.
Prioritize and track fixes directly in Jira, enhancing collaboration.
Reduce risks and costs by addressing vulnerabilities pre-production.

More like this

Kali Linux 2024.2 Released With New Hacking Tools

The Kali Linux team has announced the release of Kali Linux 2024.2, the latest...

xz-utils Backdoor Affects Kali Linux Installations – How to Check for Infection

A critical vulnerability has been identified in the xz-utils package, versions 5.6.0 to 5.6.1,...

Kali Linux 2023.3 Released: What’s New!

Kali Linux 2023.3 is now available, and it includes a variety of new packages...