skadewdl3/nsl-kdd
收藏Hugging Face2024-02-20 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/skadewdl3/nsl-kdd
下载链接
链接失效反馈官方服务:
资源简介:
---
dataset_info:
features:
- name: duration
dtype: int64
- name: protocol_type
dtype: string
- name: service
dtype: string
- name: flag
dtype: string
- name: src_bytes
dtype: int64
- name: dst_bytes
dtype: int64
- name: land
dtype: int64
- name: wrong_fragment
dtype: int64
- name: urgent
dtype: int64
- name: hot
dtype: int64
- name: num_failed_logins
dtype: int64
- name: logged_in
dtype: int64
- name: num_compromised
dtype: int64
- name: root_shell
dtype: int64
- name: su_attempted
dtype: int64
- name: num_root
dtype: int64
- name: num_file_creations
dtype: int64
- name: num_shells
dtype: int64
- name: num_access_files
dtype: int64
- name: num_outbound_cmds
dtype: int64
- name: is_host_login
dtype: int64
- name: is_guest_login
dtype: int64
- name: count
dtype: int64
- name: srv_count
dtype: int64
- name: serror_rate
dtype: float64
- name: srv_serror_rate
dtype: float64
- name: rerror_rate
dtype: float64
- name: srv_rerror_rate
dtype: float64
- name: same_srv_rate
dtype: float64
- name: diff_srv_rate
dtype: float64
- name: srv_diff_host_rate
dtype: float64
- name: dst_host_count
dtype: int64
- name: dst_host_srv_count
dtype: int64
- name: dst_host_same_srv_rate
dtype: float64
- name: dst_host_diff_srv_rate
dtype: float64
- name: dst_host_same_src_port_rate
dtype: float64
- name: dst_host_srv_diff_host_rate
dtype: float64
- name: dst_host_serror_rate
dtype: float64
- name: dst_host_srv_serror_rate
dtype: float64
- name: dst_host_rerror_rate
dtype: float64
- name: dst_host_srv_rerror_rate
dtype: float64
- name: class
dtype: string
splits:
- name: train
num_bytes: 5168155
num_examples: 15328
- name: test
num_bytes: 5148797
num_examples: 15267
download_size: 1260488
dataset_size: 10316952
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
---
数据集信息:
特征列表:
- 名称:持续时长(duration),数据类型:int64
- 名称:协议类型(protocol_type),数据类型:string
- 名称:服务类型(service),数据类型:string
- 名称:连接标记(flag),数据类型:string
- 名称:源端字节数(src_bytes),数据类型:int64
- 名称:目的端字节数(dst_bytes),数据类型:int64
- 名称:LAND攻击标记(land),数据类型:int64
- 名称:错误分片数(wrong_fragment),数据类型:int64
- 名称:紧急指针数据包数(urgent),数据类型:int64
- 名称:热点连接计数(hot),数据类型:int64
- 名称:失败登录次数(num_failed_logins),数据类型:int64
- 名称:登录状态标记(logged_in),数据类型:int64
- 名称:受入侵次数(num_compromised),数据类型:int64
- 名称:ROOT权限Shell标记(root_shell),数据类型:int64
- 名称:SU权限尝试次数(su_attempted),数据类型:int64
- 名称:ROOT权限操作次数(num_root),数据类型:int64
- 名称:文件创建次数(num_file_creations),数据类型:int64
- 名称:Shell进程数(num_shells),数据类型:int64
- 名称:访问文件数(num_access_files),数据类型:int64
- 名称:出站命令数(num_outbound_cmds),数据类型:int64
- 名称:主机登录标记(is_host_login),数据类型:int64
- 名称:访客登录标记(is_guest_login),数据类型:int64
- 名称:当前连接计数(count),数据类型:int64
- 名称:服务连接计数(srv_count),数据类型:int64
- 名称:同步错误率(serror_rate),数据类型:float64
- 名称:服务端同步错误率(srv_serror_rate),数据类型:float64
- 名称:拒绝服务错误率(rerror_rate),数据类型:float64
- 名称:服务端拒绝服务错误率(srv_rerror_rate),数据类型:float64
- 名称:相同服务占比(same_srv_rate),数据类型:float64
- 名称:不同服务占比(diff_srv_rate),数据类型:float64
- 名称:服务端不同主机占比(srv_diff_host_rate),数据类型:float64
- 名称:目的主机连接计数(dst_host_count),数据类型:int64
- 名称:目的主机服务连接计数(dst_host_srv_count),数据类型:int64
- 名称:目的主机相同服务占比(dst_host_same_srv_rate),数据类型:float64
- 名称:目的主机不同服务占比(dst_host_diff_srv_rate),数据类型:float64
- 名称:目的主机相同源端口占比(dst_host_same_src_port_rate),数据类型:float64
- 名称:目的主机服务端不同主机占比(dst_host_srv_diff_host_rate),数据类型:float64
- 名称:目的主机同步错误率(dst_host_serror_rate),数据类型:float64
- 名称:目的主机服务端同步错误率(dst_host_srv_serror_rate),数据类型:float64
- 名称:目的主机拒绝服务错误率(dst_host_rerror_rate),数据类型:float64
- 名称:目的主机服务端拒绝服务错误率(dst_host_srv_rerror_rate),数据类型:float64
- 名称:样本类别(class),数据类型:string
划分集列表:
- 名称:训练集(train),字节大小:5168155,样本数量:15328
- 名称:测试集(test),字节大小:5148797,样本数量:15267
下载大小:1260488
数据集总大小:10316952
配置项列表:
- 配置名称:default,数据文件:
- 划分集:train,路径:data/train-*
- 划分集:test,路径:data/test-*
提供机构:
skadewdl3
原始信息汇总
数据集概述
数据特征
数据集包含以下特征:
- duration: 类型为
int64 - protocol_type: 类型为
string - service: 类型为
string - flag: 类型为
string - src_bytes: 类型为
int64 - dst_bytes: 类型为
int64 - land: 类型为
int64 - wrong_fragment: 类型为
int64 - urgent: 类型为
int64 - hot: 类型为
int64 - num_failed_logins: 类型为
int64 - logged_in: 类型为
int64 - num_compromised: 类型为
int64 - root_shell: 类型为
int64 - su_attempted: 类型为
int64 - num_root: 类型为
int64 - num_file_creations: 类型为
int64 - num_shells: 类型为
int64 - num_access_files: 类型为
int64 - num_outbound_cmds: 类型为
int64 - is_host_login: 类型为
int64 - is_guest_login: 类型为
int64 - count: 类型为
int64 - srv_count: 类型为
int64 - serror_rate: 类型为
float64 - srv_serror_rate: 类型为
float64 - rerror_rate: 类型为
float64 - srv_rerror_rate: 类型为
float64 - same_srv_rate: 类型为
float64 - diff_srv_rate: 类型为
float64 - srv_diff_host_rate: 类型为
float64 - dst_host_count: 类型为
int64 - dst_host_srv_count: 类型为
int64 - dst_host_same_srv_rate: 类型为
float64 - dst_host_diff_srv_rate: 类型为
float64 - dst_host_same_src_port_rate: 类型为
float64 - dst_host_srv_diff_host_rate: 类型为
float64 - dst_host_serror_rate: 类型为
float64 - dst_host_srv_serror_rate: 类型为
float64 - dst_host_rerror_rate: 类型为
float64 - dst_host_srv_rerror_rate: 类型为
float64 - class: 类型为
string
数据分割
数据集分为以下部分:
- train: 包含 15328 个样本,大小为 5168155 字节
- test: 包含 15267 个样本,大小为 5148797 字节
数据集大小
- 下载大小: 1260488 字节
- 数据集大小: 10316952 字节
配置
- default 配置包含以下数据文件:
- train: 路径为
data/train-* - test: 路径为
data/test-*
- train: 路径为
搜集汇总
数据集介绍

背景与挑战
背景概述
nsl-kdd数据集是一个网络流量分析数据集,包含30,595条记录,涵盖多种网络流量特征和正常/异常标记,适用于网络安全和入侵检测研究。数据集以parquet格式存储,分为训练集和测试集,每个子集约15.3k行。
以上内容由遇见数据集搜集并总结生成



