Friday, March 29, 2024

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

Website

Latest articles

Beware Of Weaponized Air Force invitation PDF Targeting Indian Defense And Energy Sectors

EclecticIQ cybersecurity researchers have uncovered a cyberespionage operation dubbed "Operation FlightNight" targeting Indian government...

WarzoneRAT Returns Post FBI Seizure: Utilizing LNK & HTA File

The notorious WarzoneRAT malware has made a comeback, despite the FBI's recent efforts to...

Google Revealed Kernel Address Sanitizer To Harden Android Firmware And Beyond

Android devices are popular among hackers due to the platform’s extensive acceptance and open-source...

Compromised SaaS Supply Chain Apps: 97% of Organizations at Risk of Cyber Attacks

Businesses increasingly rely on Software as a Service (SaaS) applications to drive efficiency, innovation,...

IT and security Leaders Feel Ill-Equipped to Handle Emerging Threats: New Survey

A comprehensive survey conducted by Keeper Security, in partnership with TrendCandy Research, has shed...

How to Analyse .NET Malware? – Reverse Engineering Snake Keylogger

Utilizing sandbox analysis for behavioral, network, and process examination provides a foundation for reverse...

GoPlus’s Latest Report Highlights How Blockchain Communities Are Leveraging Critical API Security Data To Mitigate Web3 Threats

GoPlus Labs, the leading Web3 security infrastructure provider, has unveiled a groundbreaking report highlighting...
Guru baran
Guru baranhttps://gbhackers.com
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.

Mitigating Vulnerability Types & 0-day Threats

Mitigating Vulnerability & 0-day Threats

Alert Fatigue that helps no one as security teams need to triage 100s of vulnerabilities.

  • The problem of vulnerability fatigue today
  • Difference between CVSS-specific vulnerability vs risk-based vulnerability
  • Evaluating vulnerabilities based on the business impact/risk
  • Automation to reduce alert fatigue and enhance security posture significantly

Related Articles