---
description: March 04, 2024
---

# Nmap Live Host Discovery

**Task 1: Introduction**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FAUEA2vjxhIHrVH0MMCCm%2Fimage.png?alt=media&#x26;token=c21581eb-0058-4b9e-bf3f-f8eb0548f369" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FEM8gyrvP71qkbMiAV0ft%2Fimage.png?alt=media&#x26;token=130ee541-126e-487c-b774-5839f6586052" alt=""><figcaption></figcaption></figure>

**Task 2: Subnetworks**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FRMchIxFnxdTkXBfKAyxc%2Fimage.png?alt=media&#x26;token=c5484109-5335-4b7b-9afa-7ec79693862d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FwmGwKJGsRjKFCWAc4IEh%2Fimage.png?alt=media&#x26;token=ef8a2635-5a55-4a90-8f2f-bcb58bdff027" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FSuVGxilhf9wBD90qlIas%2Fimage.png?alt=media&#x26;token=154e6eb1-a978-43d1-87aa-48e427410af3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FIOdTH7ap7yRIGRl1Yajd%2Fimage.png?alt=media&#x26;token=aa4847c6-be6d-4010-a945-c62bad86c63c" alt=""><figcaption></figcaption></figure>

**Task 3: Enumerating Targets**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FXxyBSr8MsdMqg2IeiNME%2Fimage.png?alt=media&#x26;token=b36b8fb8-bf48-4817-b772-31bdcbaf083a" alt=""><figcaption></figcaption></figure>

```
nmap -sL -n 10.10.12.13/29
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FVmnfTbWqyS6kGlelO8gv%2Fimage.png?alt=media&#x26;token=f67b9d73-853f-4130-891d-180a7816f413" alt=""><figcaption></figcaption></figure>

```
nmap -sL -n 10.10.0-255.101-125
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Fnxikp7fQ9OhUfX3iyUev%2Fimage.png?alt=media&#x26;token=ae35070d-803b-4386-8e7a-0656fdee3b94" alt=""><figcaption></figcaption></figure>

**Task 4: Discovering Live Hosts**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Fco1t2gfmHWXHmWKvWr5z%2Fimage.png?alt=media&#x26;token=2ac5156c-c222-44ae-b1e3-57124337c321" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F7OCyEq0QUp1tnONMhkHO%2Fimage.png?alt=media&#x26;token=bc26a48c-6cce-42a7-82e3-a709fd9b11a1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2Ft7YZWKYKe9APa1Pa4RR8%2Fimage.png?alt=media&#x26;token=f24ab68b-543a-4b31-bcce-9f8fd0d20a36" alt=""><figcaption></figcaption></figure>

**Task 5: Nmap Host Discovery Using ARP**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FIlrnCRYXmmoqocWDm9CL%2Fimage.png?alt=media&#x26;token=fc341f08-0eee-46c6-be7f-be14e8d4c47d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FvWyoFfjaUBQ4DOxH1hh0%2Fimage.png?alt=media&#x26;token=672fcdb7-6e34-49ff-b49d-656965d417d1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FQJiNEiI2QtyPq5HOmkkj%2Fimage.png?alt=media&#x26;token=6303b81a-297d-4a19-90c5-7330715af0e1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F3Samq2S9M7ipZ5IAckma%2Fimage.png?alt=media&#x26;token=470a4538-a550-45b7-b5ee-92fee55e4202" alt=""><figcaption></figcaption></figure>

**Task 6: Nmap Host Discovery Using ICMP**

```
sudo nmap -PE -sn $IP/24
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FpWkfRisrqCDkv3l5Jx0Q%2Fimage.png?alt=media&#x26;token=a6d5c690-d137-4203-9cf4-3dccb5926648" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FmrUfAAkXaH84z3jdhM3F%2Fimage.png?alt=media&#x26;token=a301acdc-9eb5-4697-8648-5c856b954c69" alt=""><figcaption></figcaption></figure>

```
sudo nmap -PP -sn $IP
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FZYRPvC9qkGMiFoOvXIjy%2Fimage.png?alt=media&#x26;token=4e2e8da6-f487-4344-af08-5201ef893118" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FifDOlnpIUKesN3KIaMTc%2Fimage.png?alt=media&#x26;token=c870f19e-7dd3-4728-89d8-971415f7878b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FnbuiMUD6rOzSTv9AYqxI%2Fimage.png?alt=media&#x26;token=75850508-f34f-4272-8e55-56edcaa293ba" alt=""><figcaption></figcaption></figure>

```
sudo nmap -PM -sn $IP/24
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2F9SQtPcWQop1zugP7ocxC%2Fimage.png?alt=media&#x26;token=8e95a91f-d3f8-41c6-b6d7-ffb75747412f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FDX6nQyylf877cTnaU4c1%2Fimage.png?alt=media&#x26;token=89db2a94-07b7-4e4c-b5f6-36ae26e37e9c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FSdgc6NSy9A2KPF4S14lL%2Fimage.png?alt=media&#x26;token=0ceccad0-a4e0-44fa-a3e5-dba463456858" alt=""><figcaption></figcaption></figure>

**Task 7: Nmap Host Discovery Using TCP and UDP**

```
sudo nmap -PS -sn $IP
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FwJ4EX7BMCYcbopI3Qqb8%2Fimage.png?alt=media&#x26;token=9abade2f-7638-4a91-b5d9-b87edba04f6d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FGiXeqrWy3NFTWdtJ2soT%2Fimage.png?alt=media&#x26;token=6bf6b855-f97a-403f-9355-055c75dbabf8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FtT0uUPUvtMgtXI2uAEVa%2Fimage.png?alt=media&#x26;token=13fbdba0-3e57-40a8-90fa-4f3ba47f8df8" alt=""><figcaption></figcaption></figure>

```
sudo nmap -PA -sn $IP/24
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FqsUAZItsAcECZgpM1eIe%2Fimage.png?alt=media&#x26;token=d673930b-56f5-45ba-8f6c-bdbe90150dc7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FhPkConJK56VqDMQDdRSI%2Fimage.png?alt=media&#x26;token=beff9a2b-1711-467a-8457-4f62867face1" alt=""><figcaption></figcaption></figure>

```
sudo nmap -PU -sn $IP/24
```

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FTi7u0ZZpncOAAk3kAhO4%2Fimage.png?alt=media&#x26;token=8c51d900-4aa5-449a-8ef3-f785677bb8c4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FcYfCoEQ52shnMLrFy21r%2Fimage.png?alt=media&#x26;token=e8ff0ca1-0b74-402b-a7e8-4f0bdfd05542" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FiOH7kaoLnhPEkkMbjWJP%2Fimage.png?alt=media&#x26;token=bc3971aa-14f5-4b04-af6c-14aa63825865" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FYVByIaHDok45kR6fkSiD%2Fimage.png?alt=media&#x26;token=161c63a2-ae14-48f2-bb33-676ba2132c91" alt=""><figcaption></figcaption></figure>

**Task 8: Using Reverse-DNS Lookup**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FvVVY5UAoOTwfvmTmDEGI%2Fimage.png?alt=media&#x26;token=cabfb3dc-0a43-437b-adf5-318172a4dd3d" alt=""><figcaption></figcaption></figure>

**Task 9: Summary**

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FzBnaQ6hcAJSmocF797kv%2Fimage.png?alt=media&#x26;token=d790bfa5-e243-4d1a-b031-b8583353215c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3402520177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6s691pQpzN41rNo5Bip4%2Fuploads%2FVdi9MLkXDcoD1MzsEnv6%2Fimage.png?alt=media&#x26;token=a5cb2b0c-34ab-4b6c-9bfe-31d5d23a2e0a" alt=""><figcaption></figcaption></figure>
