# IDLE SCAN

**Hping3**

Using a Zombie and hide our real IP from the scan. This is to evade firewalls.

```
hping3 -S -r ZOMBIE_IP -p 135      
```

If id=+1 means a good Zombie candidate. Leave it running and run the below command to execute Idle scan

```
hping3 -a ZOMBIE_IP -S TARGET_IP -p 23 
```

**NMAP Idle**&#x20;

```
nmap --script ipidseq ZOMBIE_IP -p 135  Find Zombie 1st way 
nmap -O -v ZOMBIE_IP -p 135             Find Zombie 2nd way 
```

```
nmap -sI ZOMBIE_IP:135 TARGET_IP -p 23 -Pn --packet-trace         Execute Idle Scan
```

**Idle Scan (hping + nmap)**

```
hping3 -S -r ZOMBIE_IP -p 135          Find Zombie and check the id incremental 
nmap -S ZOMBIE_IP TARGET_IP -p 23 -Pn -n -e tap0 --disable-arp-ping         Run Idle scan with NMAP
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ed4m4s.blog/master-1/hping3-scanning/idle-scan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
