Datasets:
Update README with dataset details
#2
by
Oum-Gadani
- opened
README.md
CHANGED
|
@@ -12,4 +12,83 @@ size_categories:
|
|
| 12 |
|
| 13 |
Each row contains the information of a network packet and its label. The format is given below:
|
| 14 |
|
| 15 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
Each row contains the information of a network packet and its label. The format is given below:
|
| 14 |
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
### Dataset Details
|
| 19 |
+
|
| 20 |
+
This dataset is split into a training set and a testing set, contained in `train.csv` and `test.csv` respectively.
|
| 21 |
+
|
| 22 |
+
**Total Rows:**
|
| 23 |
+
* **train.csv:** 1,187,781
|
| 24 |
+
* **test.csv:** 509,050
|
| 25 |
+
|
| 26 |
+
### Attack Categories
|
| 27 |
+
|
| 28 |
+
The `attack_cat` column contains the following 24 distinct categories of network traffic:
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
+
['DoS Hulk', 'DDoS', 'DoS', 'Reconnaissance', 'Heartbleed', 'Normal', 'Web Attack - XSS', 'FTP Patator', 'Exploits', 'Web Attack - Brute Force', 'SSH Patator', 'Infiltration', 'Generic', 'Worms', 'Fuzzers', 'DoS GoldenEye', 'DoS SlowHTTPTest', 'Analysis', 'DoS Slowloris', 'Bot', 'Shellcode', 'Backdoor', 'Port Scan', 'Web Attack - SQL Injection']
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
### Data Distribution
|
| 35 |
+
|
| 36 |
+
The distribution of instances for each attack category in the training and testing sets is as follows:
|
| 37 |
+
|
| 38 |
+
**Training Set Distribution (`train.csv`):**
|
| 39 |
+
|
| 40 |
+
| Attack Category | Number of Rows |
|
| 41 |
+
| :--- | :--- |
|
| 42 |
+
| DoS Hulk | 417,967 |
|
| 43 |
+
| Normal | 181,742 |
|
| 44 |
+
| DDoS | 127,975 |
|
| 45 |
+
| Heartbleed | 117,056 |
|
| 46 |
+
| SSH Patator | 59,905 |
|
| 47 |
+
| DoS | 49,047 |
|
| 48 |
+
| Exploits | 45,931 |
|
| 49 |
+
| Generic | 34,343 |
|
| 50 |
+
| FTP Patator | 31,684 |
|
| 51 |
+
| Fuzzers | 25,409 |
|
| 52 |
+
| Reconnaissance | 24,250 |
|
| 53 |
+
| DoS GoldenEye | 23,355 |
|
| 54 |
+
| Web Attack - Brute Force | 13,014 |
|
| 55 |
+
| Infiltration | 7,514 |
|
| 56 |
+
| Worms | 6,552 |
|
| 57 |
+
| DoS SlowHTTPTest | 5,567 |
|
| 58 |
+
| DoS Slowloris | 4,424 |
|
| 59 |
+
| Bot | 3,679 |
|
| 60 |
+
| Web Attack - XSS | 3,605 |
|
| 61 |
+
| Analysis | 1,819 |
|
| 62 |
+
| Backdoor | 1,245 |
|
| 63 |
+
| Shellcode | 1,063 |
|
| 64 |
+
| Port Scan | 605 |
|
| 65 |
+
| Web Attack - SQL Injection | 30 |
|
| 66 |
+
|
| 67 |
+
**Testing Set Distribution (`test.csv`):**
|
| 68 |
+
|
| 69 |
+
| Attack Category | Number of Rows |
|
| 70 |
+
| :--- | :--- |
|
| 71 |
+
| DoS Hulk | 178,975 |
|
| 72 |
+
| Normal | 77,908 |
|
| 73 |
+
| DDoS | 54,891 |
|
| 74 |
+
| Heartbleed | 50,304 |
|
| 75 |
+
| SSH Patator | 25,492 |
|
| 76 |
+
| DoS | 21,192 |
|
| 77 |
+
| Exploits | 19,620 |
|
| 78 |
+
| Generic | 14,777 |
|
| 79 |
+
| FTP Patator | 13,505 |
|
| 80 |
+
| Fuzzers | 10,789 |
|
| 81 |
+
| Reconnaissance | 10,395 |
|
| 82 |
+
| DoS GoldenEye | 10,131 |
|
| 83 |
+
| Web Attack - Brute Force | 5,616 |
|
| 84 |
+
| Infiltration | 3,260 |
|
| 85 |
+
| Worms | 2,914 |
|
| 86 |
+
| DoS SlowHTTPTest | 2,432 |
|
| 87 |
+
| DoS Slowloris | 1,852 |
|
| 88 |
+
| Web Attack - XSS | 1,549 |
|
| 89 |
+
| Bot | 1,460 |
|
| 90 |
+
| Analysis | 793 |
|
| 91 |
+
| Backdoor | 507 |
|
| 92 |
+
| Shellcode | 435 |
|
| 93 |
+
| Port Scan | 238 |
|
| 94 |
+
| Web Attack - SQL Injection | 15 |
|