Dataset Viewer
Auto-converted to Parquet Duplicate
Header_Length
float64
0
60
Protocol Type
int64
0
47
Time_To_Live
float64
0
255
Rate
float64
0
6.29M
fin_flag_number
float64
0
1
syn_flag_number
float64
0
1
rst_flag_number
float64
0
1
psh_flag_number
float64
0
1
ack_flag_number
float64
0
1
ece_flag_number
float64
0
1
cwr_flag_number
float64
0
0.7
ack_count
int64
0
100
syn_count
int64
0
100
fin_count
int64
0
100
rst_count
int64
0
100
HTTP
float64
0
1
HTTPS
float64
0
1
DNS
float64
0
1
Telnet
float64
0
0.6
SMTP
float64
0
0.6
SSH
float64
0
1
IRC
float64
0
0.7
TCP
float64
0
1
UDP
float64
0
1
DHCP
float64
0
0.8
ARP
float64
0
1
ICMP
float64
0
1
IGMP
float64
0
0.4
IPv
float64
0
1
LLC
float64
0
1
Tot sum
int64
120
265k
Min
int64
42
3.32k
Max
int64
46
37.7k
AVG
float64
46
6.63k
Std
float64
0
11.7k
Tot size
float64
46
6.63k
IAT
float64
-0.01
46.7k
Number
int64
2
100
Variance
float64
0
136M
Label
large_stringclasses
32 values
attack_class
large_stringclasses
8 values
label
int64
0
1
0
47
64
5,779.746173
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
59,200
592
592
592
0
592
0.000174
100
0
Mirai-greeth_flood
Mirai
1
10.2
6
63.36
1,974.301113
0
0.01
0.01
0
0.48
0
0
48
1
0
1
0
0.01
0
0
0
0
0
0.5
0
0
0.01
0
0
0.99
0.99
91,192
60
1,514
911.92
583.720212
911.92
0.000507
100
340,729.286465
DDoS-ACK_Fragmentation
DDoS
1
1
47
65.23
2,090.525036
0
0
0
0.01
0.02
0
0
2
0
0
0
0
0
0.03
0
0
0
0
0.02
0.03
0
0
0
0
1
1
56,660
74
592
566.6
111.302119
566.6
0.00048
100
12,388.161616
Mirai-greeth_flood
Mirai
1
20.12
6
65.74
26,638.958399
0
0.99
0
0
0.01
0
0
1
99
0
0
0
0.01
0
0
0
0
0
1
0
0
0
0
0
1
1
6,006
60
66
60.06
0.6
60.06
0.000038
100
0.36
DDoS-SynonymousIP_Flood
DDoS
1
4
47
64.42
1,854.66396
0.01
0.09
0.01
0.01
0.02
0
0
2
9
1
1
0
0.1
0
0
0
0
0
0.11
0
0
0.02
0
0
0.98
0.98
51,211
54
578
512.11
171.336629
512.11
0.000541
100
29,356.240303
Mirai-greip_flood
Mirai
1
8
17
64
32,508.94435
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000031
100
0
DDoS-UDP_Flood
DDoS
1
0
1
64
32,197.006218
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
6,000
60
60
60
0
60
0.000031
100
0
DDoS-ICMP_Flood
DDoS
1
0
1
64
30,949.704841
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
6,000
60
60
60
0
60
0.000032
100
0
DDoS-ICMP_Flood
DDoS
1
0
1
64
18,043.897612
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
6,000
60
60
60
0
60
0.000055
100
0
DDoS-ICMP_Flood
DDoS
1
4
17
64
1,859.39984
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.5
0
0
0
0
1
1
93,800
362
1,514
938
578.901782
938
0.000538
100
335,127.272727
DDoS-UDP_Fragmentation
DDoS
1
22.36
6
64
77,271.628592
0
1
0
0
0.59
0
0
59
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000013
100
0
DoS-SYN_Flood
DoS
1
20
6
92.9
36.641845
0
0.2
0
0.1
0.4
0
0
4
2
0
0
0.5
0
0.1
0
0
0
0
0.5
0.3
0
0.1
0.1
0
0.9
0.9
1,214
60
262
121.4
80.089117
121.4
0.027327
10
6,414.266667
VulnerabilityScan
Recon
1
9.2
17
56.8
1,911.628458
0
0
0
0
0.1
0
0
1
0
0
0
0
0
0
0
0
0
0
0.1
0.9
0
0
0
0
1
1
5,477
54
978
547.7
443.322569
547.7
0.000899
10
196,534.9
MITM-ArpSpoofing
Spoofing
1
1.12
47
69.32
13,007.207095
0
0.02
0
0
0.03
0
0
3
2
0
0
0
0.03
0
0
0
0
0
0.03
0
0
0
0
0
1
1
56,893
74
679
568.93
71.774514
568.93
0.000078
100
5,151.580909
Mirai-greip_flood
Mirai
1
15.2
17
63.7
105.326302
0
0
0
0.3
0.4
0
0
4
0
0
0
0
0.2
0
0
0
0
0
0.4
0.6
0
0
0
0
1
1
1,632
60
782
163.2
222.527302
163.2
0.012038
10
49,518.4
BenignTraffic
Benign
0
8
17
64
1,746.360555
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
55,400
554
554
554
0
554
0.000574
100
0
Mirai-udpplain
Mirai
1
21.6
6
87.9
83.537229
0
0
0
0.3
0.7
0
0
7
0
0
0
0
0.5
0
0
0
0
0
0.7
0.2
0
0.1
0
0
0.9
0.9
818
60
156
81.8
34.243572
81.8
0.012262
10
1,172.622222
Recon-HostDiscovery
Recon
1
8
17
64
43,177.928763
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000023
100
0
DDoS-UDP_Flood
DDoS
1
32
6
59.7
366.596511
0.1
0
0
0.4
1
0
0
10
0
1
0
0.1
0.3
0
0
0
0
0
1
0
0
0
0
0
1
1
2,127
66
791
212.7
304.551054
212.7
0.010739
10
92,751.344444
VulnerabilityScan
Recon
1
11.2
17
94.5
30.928138
0
0
0
0.1
0.2
0
0
2
0
0
0
0
0.2
0.4
0
0
0
0
0.2
0.6
0.1
0
0.2
0
1
1
1,602
66
344
160.2
83.797109
160.2
0.038177
10
7,021.955556
BenignTraffic
Benign
0
22.4
6
82.7
115.390757
0
0
0
0.1
0.6
0
0
6
0
0
0
0
0.5
0
0
0
0
0
0.6
0.4
0
0
0
0
1
1
5,224
60
1,514
522.4
686.149838
522.4
0.008675
10
470,801.6
BenignTraffic
Benign
0
34.36
6
67.18
1,592.684964
0.02
0.46
0.12
0.14
0.61
0
0
61
46
2
12
0.97
0
0
0
0
0
0
0.98
0.01
0
0.01
0
0
0.99
0.99
16,807
60
2,962
168.07
353.609419
168.07
0.000628
100
125,039.621313
DDoS-HTTP_Flood
DDoS
1
3.68
17
60.16
958.478976
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.46
0
0.06
0.01
0
0.94
0.94
87,309
60
1,514
873.09
598.632703
873.09
0.001043
100
358,361.11303
DDoS-UDP_Fragmentation
DDoS
1
0
47
64
13,704.188721
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
59,200
592
592
592
0
592
0.000073
100
0
Mirai-greeth_flood
Mirai
1
12.8
17
64
240.147949
0
0
0
0.1
0.2
0
0
2
0
0
0
0
0.2
0.1
0
0
0
0
0.2
0.8
0
0
0
0
1
1
924
60
230
92.4
59.887302
92.4
0.005303
10
3,586.488889
BenignTraffic
Benign
0
32
6
59.6
200.155761
0.2
0
0
0.2
1
0
0
10
0
2
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
913
66
312
91.3
77.577273
91.3
0.006008
10
6,018.233333
BenignTraffic
Benign
0
17.6
17
80.9
58.376814
0
0
0
0.1
0.4
0
0
4
0
0
0
0
0.4
0
0
0
0
0
0.4
0.6
0
0
0
0
1
1
1,432
60
345
143.2
116.849191
143.2
0.018278
10
13,653.733333
BenignTraffic
Benign
0
8
17
97.5
3,455.23025
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
7,918
68
1,292
791.8
539.629873
791.8
0.000305
10
291,200.4
MITM-ArpSpoofing
Spoofing
1
20
6
64
58,278.504933
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000017
100
0
DoS-TCP_Flood
DoS
1
8
17
64
11,077.872273
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
6,000
60
60
60
0
60
0.00009
100
0
DoS-UDP_Flood
DoS
1
33.2
6
100.6
11,905.48964
0
0
0
0.2
0.8
0
0
8
0
0
0
0
0.8
0.2
0
0
0
0
0.8
0.2
0
0
0
0
1
1
3,632
66
1,500
363.2
599.177362
363.2
0.000084
10
359,013.511111
MITM-ArpSpoofing
Spoofing
1
20.92
6
64
38,241.283735
0
1
0
0
0.23
0
0
23
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000026
100
0
DoS-SYN_Flood
DoS
1
4
17
63.77
1,334.274108
0
0.01
0
0
0.01
0
0
1
1
0
0
0
0
0
0
0
0
0
0.01
0.47
0
0.03
0.01
0
0.97
0.97
88,872
60
1,514
888.72
595.140287
888.72
0.000757
100
354,191.961212
DDoS-UDP_Fragmentation
DDoS
1
33.68
6
67.85
963.439279
0.01
0.25
0
0.28
0.85
0
0
85
25
1
0
0.8
0.14
0.01
0
0
0
0
0.98
0.01
0
0
0.01
0
1
1
23,752
66
4,410
237.52
595.096215
237.52
0.001047
100
354,139.504646
DDoS-SlowLoris
DDoS
1
18.8
6
57.7
5,086.471016
0
0
0.9
0
0.9
0
0
9
0
0
9
0
0
0
0
0
0
0
0.9
0.1
0
0
0
0
1
1
758
60
218
75.8
49.963987
75.8
0.000924
10
2,496.4
Recon-OSScan
Recon
1
32
6
233
3,353.565203
0
0
0
0
1
0
0
10
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
660
66
66
66
0
66
0.000348
10
0
BenignTraffic
Benign
0
30
6
118
68.98844
0
0.2
0
0.2
0.8
0
0
8
2
0
0
0
0.8
0
0
0
0
0
0.9
0.1
0
0
0
0
1
1
1,034
60
214
103.4
59.681004
103.4
0.014981
10
3,561.822222
BenignTraffic
Benign
0
8.28
17
62.7
1,232.028058
0
0
0
0
0.03
0
0
3
0
0
0
0
0
0
0
0
0
0
0.03
0.96
0
0.01
0
0
0.99
0.99
53,424
60
554
534.24
97.291514
534.24
0.000813
100
9,465.638788
Mirai-udpplain
Mirai
1
28.8
6
140.2
107.860712
0
0
0
0.1
0.9
0
0
9
0
0
0
0
0.9
0
0
0
0
0
0.9
0
0
0.1
0
0
0.9
0.9
744
60
156
74.4
28.733256
74.4
0.011195
10
825.6
BenignTraffic
Benign
0
18.8
6
57.7
515.5431
0.1
0
0
0.1
0.7
0
0
7
0
1
0
0.5
0.2
0
0
0
0
0
0.7
0.3
0
0
0
0
1
1
3,368
54
1,500
336.8
542.749543
336.8
0.004285
10
294,577.066667
DNS_Spoofing
Spoofing
1
28
6
70
125.599775
0
0.1
0
0.3
0.7
0
0
7
1
0
0
0.1
0
0.2
0
0
0
0
0.8
0.2
0
0
0
0
1
1
1,439
66
791
143.9
227.464991
143.9
0.008396
10
51,740.322222
VulnerabilityScan
Recon
1
7.92
17
63.36
5,418.297378
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.99
0
0.01
0
0
0.99
0.99
54,906
60
554
549.06
49.4
549.06
0.000186
100
2,440.36
Mirai-udpplain
Mirai
1
20.12
6
64
3,817.2373
0
0
0
0
0.01
0
0
1
0
0
0
0
0.01
0
0
0
0
0
1
0
0
0
0
0
1
1
6,006
60
66
60.06
0.6
60.06
0.000262
100
0.36
DDoS-TCP_Flood
DDoS
1
22
6
67.2
55.006761
0
0
0
0.5
0.7
0
0
7
0
0
0
0
0.4
0
0
0
0.2
0
0.7
0.1
0
0.2
0
0
0.8
0.8
1,160
60
230
116
56.245494
116
0.018567
10
3,163.555556
BenignTraffic
Benign
0
24.12
6
64
1,242.495357
0.19
0.29
0
0.3
0.82
0
0
82
29
19
0
0.96
0
0
0
0
0
0
0.96
0.04
0
0
0
0
1
1
54,579
60
2,596
545.79
965.470726
545.79
0.000858
100
932,133.723131
DoS-HTTP_Flood
DoS
1
0.4
47
63.36
3,009.517249
0
0.01
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0.01
0
0
0.01
0
0
0.99
0.99
56,778
60
578
567.78
71.907289
567.78
0.000332
100
5,170.658182
Mirai-greip_flood
Mirai
1
22.56
6
64
6,020.503251
0
1
0
0
0.64
0
0
64
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000166
100
0
DoS-SYN_Flood
DoS
1
20
6
64
8,737.587234
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000114
100
0
DoS-TCP_Flood
DoS
1
18.8
6
114.6
70.772979
0
0
0
0.4
0.7
0
0
7
0
0
0
0
0.2
0
0
0
0
0
0.7
0.3
0
0
0
0
1
1
935
60
164
93.5
47.476895
93.5
0.01451
10
2,254.055556
BenignTraffic
Benign
0
20
6
64
41,100.480157
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000024
100
0
DDoS-TCP_Flood
DDoS
1
9.32
6
54.9
328.389887
0
0
0.08
0.01
0.35
0
0
35
0
0
8
0
0.03
0
0
0
0
0
0.43
0.06
0
0.19
0.01
0
0.81
0.81
65,232
60
1,514
652.32
620.570329
652.32
0.003045
100
385,107.532929
DDoS-ACK_Fragmentation
DDoS
1
8
17
60
2,236.127312
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
12,920
1,292
1,292
1,292
0
1,292
0.000447
10
0
MITM-ArpSpoofing
Spoofing
1
20
6
43
2,736.010437
0
0
0
0
1
0
0
10
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
540
54
54
54
0
54
0.000391
10
0
DNS_Spoofing
Spoofing
1
20
6
64
1,471.195216
0
1
0
0
0
0
0
0
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.00075
100
0
DDoS-SYN_Flood
DDoS
1
11.2
17
89.5
159.823803
0
0
0
0.1
0.2
0
0
2
0
0
0
0
0.2
0.3
0
0
0
0
0.2
0.6
0
0.1
0.1
0
0.9
0.9
2,335
60
583
233.5
157.026714
233.5
0.01119
10
24,657.388889
Uploading_Attack
Web-based
1
4
17
64
2,106.547201
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.5
0
0
0
0
1
1
93,800
362
1,514
938
578.901782
938
0.000477
100
335,127.272727
DDoS-UDP_Fragmentation
DDoS
1
23.6
6
96.7
84.950166
0
0
0
0.3
0.9
0
0
9
0
0
0
0
0.5
0
0
0
0
0
0.9
0.1
0
0
0
0
1
1
934
60
214
93.4
51.706866
93.4
0.013911
10
2,673.6
BenignTraffic
Benign
0
7.92
17
63.36
59,141.342358
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.99
0
0.01
0
0
0.99
0.99
6,000
60
60
60
0
60
0.000017
100
0
DDoS-UDP_Flood
DDoS
1
0
1
64
41,527.762376
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
6,000
60
60
60
0
60
0.000024
100
0
DDoS-ICMP_Flood
DDoS
1
17.6
6
58.1
27.851586
0.2
0
0
0.1
0.5
0
0
5
0
2
0
0
0.5
0
0
0
0
0
0.5
0.2
0
0.3
0
0
0.7
0.7
961
60
230
96.1
66.580695
96.1
0.036058
10
4,432.988889
VulnerabilityScan
Recon
1
29.6
6
108
182.925727
0
0.1
0
0.2
0.8
0
0
8
1
0
0
0.1
0.8
0
0
0
0
0
0.9
0
0
0.1
0
0
0.9
0.9
14,692
60
4,410
1,469.2
2,048.141966
1,469.2
0.005541
10
4,194,885.511111
BenignTraffic
Benign
0
7.84
17
62.72
2,215.036228
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.98
0
0.02
0
0
0.98
0.98
54,412
60
554
544.12
69.508415
544.12
0.000452
100
4,831.419798
Mirai-udpplain
Mirai
1
8
17
64
8,725.953357
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
55,400
554
554
554
0
554
0.000117
100
0
Mirai-udpplain
Mirai
1
16.8
6
109.7
123.633877
0
0
0
0.3
0.5
0
0
5
0
0
0
0
0.3
0
0
0
0
0
0.5
0.4
0
0.1
0
0
0.9
0.9
1,740
60
345
174
123.068183
174
0.010652
10
15,145.777778
BenignTraffic
Benign
0
28
6
65
58.611099
0.2
0.1
0
0.2
0.8
0
0
8
1
2
0
0
0.8
0.2
0
0
0
0
0.8
0.2
0
0
0
0
1
1
1,000
66
317
100
78.488499
100
0.019959
10
6,160.444444
Recon-PortScan
Recon
1
32
6
214.3
1,650.131403
0
0
0
0
1
0
0
10
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
2,108
66
1,514
210.8
457.897805
210.8
0.000612
10
209,670.4
BenignTraffic
Benign
0
46
6
93.5
17,608.329135
0
0
0
0.2
1
0
0
10
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
9,176
94
2,858
917.6
962.763522
917.6
0.000061
10
926,913.6
BenignTraffic
Benign
0
20
6
64
15,958.846359
0
1
0
0
0
0
0
0
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000063
100
0
DoS-SYN_Flood
DoS
1
24
6
50.1
312.970392
0
1
0
0
0
0
0
0
10
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
600
60
60
60
0
60
0.003195
10
0
Recon-HostDiscovery
Recon
1
32
6
149
876.039935
0
0
0
0
1
0
0
10
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
23,828
66
4,410
2,382.8
1,556.553229
2,382.8
0.001142
10
2,422,857.955556
BenignTraffic
Benign
0
9.72
17
65.27
36,311.176522
0
0.05
0
0
0
0
0
0
5
0
0
0
0.05
0.03
0
0
0
0
0.05
0.94
0
0.01
0
0
0.99
0.99
6,381
60
230
63.81
18.53999
63.81
0.000028
100
343.731212
DDoS-UDP_Flood
DDoS
1
10.4
17
98.2
69.535716
0
0
0
0.2
0.2
0
0
2
0
0
0
0
0
0
0
0
0
0
0.2
0.8
0
0
0
0
1
1
692
50
175
69.2
38.614332
69.2
0.01555
10
1,491.066667
DNS_Spoofing
Spoofing
1
14.4
17
108.6
121.267872
0.1
0.1
0
0
0.2
0
0
2
1
1
0
0.2
0
0.3
0
0
0
0.1
0.3
0.5
0
0.1
0.1
0
0.9
0.9
1,070
60
230
107
66.287254
107
0.009394
10
4,394
Recon-PortScan
Recon
1
30.4
6
75.4
122.871121
0
0.1
0
0.6
0.8
0
0
8
1
0
0
0.1
0.7
0.1
0
0
0
0
0.9
0.1
0
0
0
0
1
1
7,180
66
5,244
718
1,609.020613
718
0.011118
10
2,588,947.333333
BenignTraffic
Benign
0
25.6
6
59.5
41.869392
0.1
0.2
0
0.2
0.6
0
0
6
2
1
0
0.5
0.2
0.2
0
0
0
0
0.7
0.2
0
0.1
0
0
0.9
0.9
1,249
60
441
124.9
118.468421
124.9
0.024821
10
14,034.766667
BenignTraffic
Benign
0
32
6
64
810.180413
0
0
0
0
1
0
0
10
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
17,916
1,474
2,962
1,791.6
596.201905
1,791.6
0.001306
10
355,456.711111
BenignTraffic
Benign
0
26
6
160.4
184.6995
0
0
0
0.1
0.8
0
0
8
0
0
0
0
0.7
0
0
0
0
0
0.8
0.2
0
0
0
0
1
1
794
66
123
79.4
22.167043
79.4
0.005881
10
491.377778
Recon-PortScan
Recon
1
20
6
64
6,600.214011
0
1
0
0
0
0
0
0
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000152
100
0
DDoS-SYN_Flood
DDoS
1
48.8
6
87.6
15,482.84976
0
0
0
0.1
1
0
0
10
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,450
94
1,500
645
711.422519
645
0.000065
10
506,122
DNS_Spoofing
Spoofing
1
8.24
17
65.7
28,426.32328
0
0
0
0.01
0.01
0
0
1
0
0
0
0
0.01
0
0
0
0
0
0.01
0.99
0
0
0
0
1
1
7,369
60
1,392
73.69
133.214014
73.69
0.000035
100
17,745.973636
DoS-UDP_Flood
DoS
1
28
6
114.4
271.26705
0
0.1
0
0.1
0.7
0
0
7
1
0
0
0.1
0.7
0.1
0
0
0
0
0.8
0.2
0
0
0
0
1
1
8,281
66
4,410
828.1
1,388.116266
828.1
0.003686
10
1,926,866.766667
BenignTraffic
Benign
0
30.4
6
66.3
159.869491
0
0.1
0
0.4
0.9
0.1
0
9
1
0
0
0
0.9
0.1
0
0
0
0
0.9
0.1
0
0
0
0
1
1
4,592
66
1,500
459.2
554.979839
459.2
0.007807
10
308,002.622222
MITM-ArpSpoofing
Spoofing
1
8
17
64
38,036.673619
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000026
100
0
DDoS-UDP_Flood
DDoS
1
0.08
47
65.91
3,035.259722
0
0
0
0
0
0
0
0
0
0
0
0
0
0.01
0
0
0
0
0
0.01
0
0
0
0
1
1
57,295
73
578
572.95
50.5
572.95
0.000332
100
2,550.25
Mirai-greip_flood
Mirai
1
17.6
6
65.8
35.790478
0
0.1
0
0.3
0.4
0
0
4
1
0
0
0
0.2
0
0
0
0
0
0.5
0.1
0
0.2
0.2
0
0.8
0.8
843
60
137
84.3
26.335654
84.3
0.028045
10
693.566667
BrowserHijacking
Web-based
1
24.8
6
117.3
94.915444
0
0.3
0
0.1
0.4
0
0
4
3
0
0
0.1
0.5
0.4
0
0
0
0
0.6
0.4
0
0
0
0
1
1
1,262
66
394
126.2
101.720532
126.2
0.010536
10
10,347.066667
Recon-HostDiscovery
Recon
1
20
6
64
20,104.994727
0
1
0
0
0
0
0
0
100
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.00005
100
0
DDoS-SYN_Flood
DDoS
1
20
6
64
56,397.79481
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.000018
100
0
DDoS-TCP_Flood
DDoS
1
0
0
0
131.092483
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
600
60
60
60
0
60
0.007628
10
0
DNS_Spoofing
Spoofing
1
20
6
64
25,213.730087
0
0.68
0.32
0
0
0
0
0
68
0
32
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
6,000
60
60
60
0
60
0.00004
100
0
DoS-SYN_Flood
DoS
1
23.2
6
118
750.524112
0
0.2
0.6
0
0.8
0
0
8
2
0
6
0.1
0.2
0
0
0
0
0
1
0
0
0
0
0
1
1
612
60
66
61.2
2.529822
61.2
0.001333
10
6.4
Recon-HostDiscovery
Recon
1
25.6
6
72.7
51.53898
0
0
0
0.4
0.8
0
0
8
0
0
0
0
0.6
0
0
0
0
0
0.8
0
0
0.1
0.1
0
0.9
0.9
2,315
60
791
231.5
296.864821
231.5
0.020072
10
88,128.722222
Recon-OSScan
Recon
1
0
1
63.36
7,541.406405
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.01
0.99
0
0.99
0.99
102,690
60
1,514
1,026.9
682.079907
1,026.9
0.000133
100
465,233
DDoS-ICMP_Fragmentation
DDoS
1
32
6
162.7
75.445535
0
0
0
0.2
1
0
0
10
0
0
0
0
0.7
0
0
0
0
0
1
0
0
0
0
0
1
1
880
66
176
88
46.380072
88
0.018255
10
2,151.111111
BenignTraffic
Benign
0
8.8
17
119.1
67.056506
0
0
0
0
0.1
0
0
1
0
0
0
0
0
0
0
0
0
0
0.1
0.7
0
0.2
0
0
0.8
0.8
907
60
230
90.7
54.685058
90.7
0.015756
10
2,990.455556
Recon-HostDiscovery
Recon
1
20.4
6
61.9
1,516.324066
0
0.1
0.9
0
0.9
0
0
9
1
0
9
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
600
60
60
60
0
60
0.000659
10
0
Recon-OSScan
Recon
1
32
6
87.6
22,322.001064
0
0
0
0
1
0
0
10
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
9,036
66
1,462
903.6
720.8913
903.6
0.000065
10
519,684.266667
VulnerabilityScan
Recon
1
20
6
91.9
56.428297
0.2
0
0
0.1
0.5
0
0
5
0
2
0
0
0.5
0
0
0
0
0
0.5
0.5
0
0
0
0
1
1
1,135
60
230
113.5
77.78496
113.5
0.020142
10
6,050.5
SqlInjection
Web-based
1
18.4
6
90.6
154.985829
0.2
0
0
0.1
0.5
0
0
5
0
2
0
0
0.5
0.2
0
0
0
0
0.5
0.3
0
0
0.2
0
1
1
1,213
66
230
121.3
64.012238
121.3
0.009136
10
4,097.566667
BenignTraffic
Benign
0
27.2
6
217.5
177.406016
0
0
0
0
0.8
0
0
8
0
0
0
0
0.8
0.1
0
0
0
0
0.8
0.2
0
0
0
0
1
1
812
66
214
81.2
46.678094
81.2
0.005637
10
2,178.844444
BenignTraffic
Benign
0
End of preview. Expand in Data Studio

CIC-IoT-2023 IoT Intrusion Detection Dataset

The CICIoT2023 dataset from the Canadian Institute for Cybersecurity, subsampled and preprocessed for machine learning evaluation.

Configurations

random_3way (default) β€” 80/10/10 Three-Way Split

Stratified random split with fully separated train/test/validation sets:

  • Train (80%): Model training and architecture search
  • Test (10%): Threshold calibration (held out from training)
  • Validation (10%): Final reported metrics (never touched during training or calibration)
from datasets import load_dataset
ds = load_dataset("lacg030175/CIC-IoT-2023", "random_3way")
# ds["train"]:      1,073,851 rows
# ds["test"]:       134,231 rows
# ds["validation"]: 134,232 rows

random (legacy) β€” 80/20 Split

Original 80/20 split for backward compatibility with existing runs.

ds = load_dataset("lacg030175/CIC-IoT-2023", "random")
# ds["train"]: 1,073,851 rows
# ds["test"]:  268,463 rows

Subsampling Strategy

The original dataset has 46.7M rows (97.6% attack traffic). To create a manageable benchmark:

  • Benign: up to 200,000 rows
  • Each attack type: up to 50,000 rows
  • Total: 1,342,314 rows (199,988 benign, 1,142,326 attack)

This preserves all 33 attack types while balancing the dataset for binary classification.

Top-20 RF Features

  1. HTTPS
  2. Number
  3. Time_To_Live
  4. Max
  5. ack_flag_number
  6. Rate
  7. IAT
  8. ack_count
  9. Header_Length
  10. Min
  11. Variance
  12. psh_flag_number
  13. Tot sum
  14. Std
  15. Tot size
  16. syn_count
  17. AVG
  18. rst_flag_number
  19. DNS
  20. rst_count

Attack Types (7 classes, 33 sub-types)

Class Sub-types
Benign BenignTraffic
BruteForce DictionaryBruteForce
DDoS ACK_Fragmentation, HTTP_Flood, ICMP_Flood/Frag, PSHACK, RSTFINFlood, SlowLoris, SYN_Flood, SynonymousIP, TCP_Flood, UDP_Flood/Frag
DoS HTTP_Flood, SYN_Flood, TCP_Flood, UDP_Flood
Mirai greeth_flood, greip_flood, udpplain
Recon HostDiscovery, OSScan, PingSweep, PortScan, VulnerabilityScan
Spoofing DNS_Spoofing, MITM-ArpSpoofing
Web-based Backdoor_Malware, BrowserHijacking, CommandInjection, SqlInjection, Uploading_Attack, XSS

Labels

  • Binary (label): 0 = Benign, 1 = Attack
  • Multi-class (Label): 34 categories (fine-grained attack types)
  • Grouped (attack_class): 8 classes (7 attack groups + Benign)

Features

39 numeric flow-level features.

Note on Temporal Split

Unlike UNSW-NB15 and CICIDS2017, CIC-IoT-2023 does not have a natural temporal ordering (data is organized by attack type, not capture time). Only a random split is provided.

Citation

@article{neto2023ciciot,
  title={CICIoT2023: A Real-Time Dataset and Benchmark for Large-Scale Attacks in IoT Environment},
  author={Neto, Euclides Carlos Pinto and others},
  journal={Sensors},
  volume={23},
  number={13},
  year={2023},
  publisher={MDPI}
}

License

CC BY 4.0 β€” original dataset by the Canadian Institute for Cybersecurity, University of New Brunswick.

Downloads last month
412