id.orig_p
int64
0
65.5k
id.resp_p
int64
0
65.5k
proto
stringclasses
3 values
service
stringclasses
6 values
duration
float64
0
78.8k
orig_bytes
int64
0
1.74B
resp_bytes
int64
0
337M
conn_state
stringclasses
13 values
missed_bytes
int64
0
20.3k
history
stringlengths
1
12
orig_pkts
int64
0
66M
orig_ip_bytes
int64
0
1.91B
resp_pkts
int64
0
239k
resp_ip_bytes
int64
0
350M
label
stringclasses
2 values
17,576
8,081
tcp
null
0.000003
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000002
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000002
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000006
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000222
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000208
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000006
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000001
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000005
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000002
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000003
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000005
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000005
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000001
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000192
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000168
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000182
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000001
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000189
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000191
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000178
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.0002
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000003
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000177
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000186
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.000002
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000002
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000006
0
0
S0
0
S
2
80
0
0
Malicious
41,722
666
tcp
null
3.124232
0
0
S0
0
S
6
360
0
0
Malicious
18,088
80
tcp
null
0.000005
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.000001
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000001
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000003
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.000005
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000223
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000224
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000227
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.392533
0
0
REJ
0
Sr
2
80
2
80
Benign
17,832
37,215
tcp
null
0.861521
0
0
REJ
0
Sr
2
80
2
80
Malicious
17,576
8,081
tcp
null
0.000013
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.00019
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000187
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000006
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000199
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000198
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000175
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000215
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000203
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000214
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000181
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.00022
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.000211
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000215
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.00023
0
0
S0
0
S
2
80
0
0
Malicious
18,088
8,080
tcp
null
0.000006
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000016
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000207
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000191
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000185
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000199
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000175
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000178
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000176
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.0002
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000192
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.00017
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000014
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000197
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000206
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000196
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000192
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000186
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000177
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000188
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000196
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000217
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000215
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000207
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000232
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000214
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000173
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000176
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000178
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000206
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000208
0
0
S0
0
S
2
80
0
0
Malicious
18,088
80
tcp
null
0.000231
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.00023
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000214
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000201
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000205
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000199
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000206
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000171
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000194
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000202
0
0
S0
0
S
2
80
0
0
Malicious
17,576
8,081
tcp
null
0.000174
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000176
0
0
S0
0
S
2
80
0
0
Malicious
18,344
52,869
tcp
null
0.000194
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000227
0
0
S0
0
S
2
80
0
0
Malicious
17,832
37,215
tcp
null
0.000212
0
0
S0
0
S
2
80
0
0
Malicious

Aposemat IoT-23 - a Labeled Dataset with Malcious and Benign Iot Network Traffic

Homepage: https://www.stratosphereips.org/datasets-iot23

This dataset contains a subset of the data from 20 captures of Malcious network traffic and 3 captures from live Benign Traffic on Internet of Things (IoT) devices. Created by Sebastian Garcia, Agustin Parmisano, & Maria Jose Erquiaga at the Avast AIC laboratory with the funding of Avast Software, this dataset is one of the best in the field for Intrusion Detection Systems (IDS) for IoT Devices (Comparative Analysis of IoT Botnet Datasets).

The selection of the subset was determined by Aqeel Ahmed on Kaggle and contains 6 million samples. The Kaggle upload, nor this one, have employed data balancing. The Kaggle card does not contain methodology to understand what criteria was used to select these samples. If you want ensure best practice, use this dataset to mock-up processing the data into a model before using the full dataset with data balancing. This will require processing the 8GB of conn.log.labelled files.

This dataset only notes if the data is Malcious or Benign. The original dataset labels the type of malcious traffic aswell. This means this processing of the dataset is only suited for binary classification.

Feature information:

All features originate from the Zeek processing performed by the dataset creators. See notes here for caviats for each column.

Expand for feature names, descriptions, and datatypes

Name: id.orig_p
Description: The originator’s port number.
Data type: int64 - uint64 in original

Name: id.resp_p
Description: The responder’s port number.
Data type: int64 - uint64 in original

Name: proto
Description: The transport layer protocol of the connection.
Data type: string - enum(unknown_transport, tcp, udp, icmp). Only TCP and UDP in subset

Name: service
Description: An identification of an application protocol being sent over the connection.
Data type: optional string

Name: duration
Description: How long the connection lasted.
Data type: optional float64 - time interval

Name: orig_bytes
Description: The number of payload bytes the originator sent.
Data type: optional int64 - uint64 in original

Name: resp_bytes
Description:The number of payload bytes the responder sent.
Data type: optional int64 - uint64 in original

Name: conn_state
Description: Value indicating connection state. (S0, S1, SF, REJ, S2, S3, RSTO, RSTR, RSTOS0, RSTRH, SH, SHR, OTH)
Data type: optional string

Name: missed_bytes
Description: Indicates the number of bytes missed in content gaps, which is representative of packet loss.
Data type: optional int64 - uint64 in original. default = 0

Name: history
Description: Records the state history of connections as a string of letters.
Data type: optional string

Name: orig_pkts
Description: Number of packets that the originator sent.
Data type: optional int64 - uint64 in original

Name: orig_ip_bytes
Description: Number of IP level bytes that the originator sent.
Data type: optional int64 - uint64 in original

Name: resp_pkts
Description: Number of packets that the responder sent.
Data type: optional int64 - uint64 in original

Name: resp_ip_bytes
Description: Number of IP level bytes that the responder sent.
Data type: optional int64 - uint64 in original

Name: label
Description: Specifies if data point is benign or some form of malicious. See the dataset creators paper for descriptions of attack types
Data type: string - enum(Malicious, Benign)

NOTE: ts, uid, id.orig_h, id.resp_h have been removed as they are dataset specific. Models should not be trained with specific timestamps or IP addresses (id.orig_h) using this dataset, as that can lead to over fitting to dataset specific times and addresses.
Further local_orig, local_resp have been removed as they are null in all rows, so they are useless for training.

Citation

If you are using this dataset for your research, please reference it as “Sebastian Garcia, Agustin Parmisano, & Maria Jose Erquiaga. (2020). IoT-23: A labeled dataset with malicious and benign IoT network traffic (Version 1.0.0) [Data set]. Zenodo. http://doi.org/10.5281/zenodo.4743746”

Downloads last month
86
Edit dataset card