Categories: KALI

Performing an Idle Zombie Scan Nmap

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

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 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.

Recent Posts

Indonesia Government Data Breach – Hackers Leaked 82 GB of Sensitive Data Online

Hackers have reportedly infiltrated and extracted a vast 82 GB of sensitive data from the Indonesian…

6 hours ago

IBM AIX TCP/IP Vulnerability Lets Attackers Exploit to Launch Denial of Service Attack

IBM has issued a security bulletin warning of two vulnerabilities in its AIX operating system…

7 hours ago

Apache Auth-Bypass Vulnerability Lets Attackers Gain Control Over HugeGraph-Server

The Apache Software Foundation has issued a security alert regarding a critical vulnerability in Apache…

7 hours ago

USA Launched Cyber Attack on Chinese Technology Firms

The Chinese National Internet Emergency Center (CNIE) has revealed two significant cases of cyber espionage…

8 hours ago

Node.js systeminformation Package Vulnerability Exposes Millions of Systems to RCE Attacks

A critical command injection vulnerability in the popular systeminformation npm package has recently been disclosed, exposing millions…

2 days ago

Skuld Malware Using Weaponized Windows Utilities Packages To Deliver Malware

Researchers discovered a malware campaign targeting the npm ecosystem, distributing the Skuld info stealer through…

3 days ago