> For the complete documentation index, see [llms.txt](https://0xkourama.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xkourama.gitbook.io/blog/wi-fi-attacks/network-scanning-attack.md).

# Network Scanning attack

### Types of Network Scanning

#### Passive Scanning:

The attacker listens to the Wi-Fi traffic without transmitting any data. This allows them to gather information about nearby networks and devices without being detected.&#x20;

**Purpose**: To collect data such as network SSIDs, MAC addresses, signal strength, channel information, and possibly even unencrypted traffic.&#x20;

#### Active Scanning:

The attacker sends probe requests to elicit responses from nearby Wi-Fi networks and devices. This type of scanning involves actively transmitting packets.

**Purpose**: To discover hidden networks (those that do not broadcast their SSIDs) and gather more detailed information about the network infrastructure.

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FOCnHRxJLi8l1yb4NVAQ9%2Fimage.png?alt=media&amp;token=378a7d1e-1d91-4f6b-83d7-7d0ad449904a" alt=""><figcaption><p>Active vs Passive Scanning</p></figcaption></figure>

### WI-FI Scanning Tools

#### Passive Scanning Tools&#x20;

#### Wireshark:

Description: A network protocol analyzer that captures and analyzes network traffic. Purpose: To inspect packet details, analyze protocols, and detect anomalies in Wi-Fi traffic.&#x20;

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2F5F1gQBRyHyTwMTF8vn4J%2Fimage.png?alt=media&amp;token=c4ed0413-ca3d-42a6-8953-81e572e2546d" alt=""><figcaption></figcaption></figure>

**Kismet:**

Description: A wireless network detector, sniffer, and intrusion detection system. Purpose: To passively capture traffic, detect hidden networks, and identify devices connected to Wi-Fi networks.&#x20;

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FopXyITmUalHGbDzfevSe%2Fimage.png?alt=media&amp;token=0ea736c5-c570-4789-957d-cfaf192ebb94" alt=""><figcaption></figcaption></figure>

#### Active Scanning Tools&#x20;

**NetStumbler:**

Description: A tool for Windows that detects Wi-Fi networks. Purpose: To find open networks, measure signal strength, and log network data.&#x20;

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FV7sZt5Q8ljrxY1ckXaMf%2Fimage.png?alt=media&amp;token=d31490af-39ed-43e0-9c98-40ce3ef455fb" alt=""><figcaption></figcaption></figure>

**Acrylic Wi-Fi:**

Description: A Windows-based Wi-Fi scanner. Purpose: To provide detailed information about nearby networks, including SSID, MAC addresses, channels, and encryption types.&#x20;

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FGQgFXObAAsRu9BiAB3PM%2Fimage.png?alt=media&amp;token=facf2d17-609d-4be0-a31a-d1b79f0be252" alt=""><figcaption></figcaption></figure>

#### Network Enumeration Tools&#x20;

**Aircrack-ng:**

Description: A suite of tools for assessing Wi-Fi network security. Purpose: To capture packets, deauthenticate clients, and perform brute-force attacks to crack WEP and WPA-PSK keys.&#x20;

**:**

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FB9SyOIXYc3u0bsLQKQbW%2Fimage.png?alt=media&amp;token=8919defc-ea9e-45ce-842c-a904e22f6511" alt=""><figcaption></figcaption></figure>

Description: A Wi-Fi network scanner for Windows and macOS. Purpose: To map out network coverage, detect signal overlap, and identify interference sources.&#x20;

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FXOtEwHV0cEinrirucd7Y%2Fimage.png?alt=media&amp;token=8ec6a939-1a61-4221-996e-72e5524e5a7b" alt=""><figcaption></figcaption></figure>

#### Beacon Frame Spoofing Tools&#x20;

**mdk3:**

Description: A tool for various wireless network attacks. Purpose: To create fake beacon frames, perform de-authentication attacks, and more.&#x20;

**aireplay-ng:**

Description: Part of the Aircrack-ng suite, used for packet injection. Purpose: To generate de-authentication frames and other packets to disrupt network communications.

<figure><img src="https://3344169606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoHbOFRbwrmbD6PvIUkf%2Fuploads%2FPnB5OJaCGvPb91NKPxL0%2Fimage.png?alt=media&amp;token=79efb246-47c6-4ecf-a2ce-822559a244ee" alt=""><figcaption></figcaption></figure>
