File size: 8,371 Bytes
6f0422c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
---
license: cc-by-4.0
language:
- en
pretty_name: "RBD24 - Risk Activities Dataset 2024"
tags:
- zenodo
- scientific-data
- parquet
configs:
- config_name: "NonEnc_smartphone"
  data_files:
  - split: train
    path: "NonEnc_smartphone.parquet"
  default: true
- config_name: "NonEnc_desktop"
  data_files:
  - split: train
    path: "NonEnc_desktop.parquet"
- config_name: "P2P_smartphone"
  data_files:
  - split: train
    path: "P2P_smartphone.parquet"
- config_name: "P2P_desktop"
  data_files:
  - split: train
    path: "P2P_desktop.parquet"
- config_name: "OutFlash_smartphone"
  data_files:
  - split: train
    path: "OutFlash_smartphone.parquet"
- config_name: "OutTLS_smartphone"
  data_files:
  - split: train
    path: "OutTLS_smartphone.parquet"
- config_name: "Crypto_smartphone"
  data_files:
  - split: train
    path: "Crypto_smartphone.parquet"
- config_name: "OutFlash_desktop"
  data_files:
  - split: train
    path: "OutFlash_desktop.parquet"
- config_name: "OutTLS_desktop"
  data_files:
  - split: train
    path: "OutTLS_desktop.parquet"
- config_name: "Crypto_desktop"
  data_files:
  - split: train
    path: "Crypto_desktop.parquet"
- config_name: "Phishing_smartphone"
  data_files:
  - split: train
    path: "Phishing_smartphone.parquet"
- config_name: "Phishing_desktop"
  data_files:
  - split: train
    path: "Phishing_desktop.parquet"
---

# RBD24 - Risk Activities Dataset 2024

## Description

<h1>Introduction</h1>
<p>This repository contains a selection of behavioral datasets collected using soluble agents and labeled using realistic threat simulation and IDS rules. The collected datasets are anonymized and aggregated using time window representations. The dataset generation pipeline preprocesses the application logs from the corporate network, structures them according to entities and users inventory, and labels them based on the IDS and phishing simulation appliances.&nbsp;</p>
<p>This repository is associated with the article<strong> "RBD24: A labelled dataset with risk activities using log applications data"&nbsp;</strong> published in the journal <em>Computers &amp; Security</em>. For more information go to <a title="Persistent link using digital object identifier" href="https://doi.org/10.1016/j.cose.2024.104290" target="_blank" rel="noreferrer noopener"><span><span>https://doi.org/10.1016/j.cose.2024.104290</span></span></a></p>
<h2>&nbsp;</h2>
<p>&nbsp;</p>
<h1>Summary of the Datasets&nbsp;</h1>
<p>The RBD24 dataset comprises various risk activities collected from real entities and users over a period of 15 days, with the samples segmented by&nbsp;Desktop (DE) and Smartphone (SM) devices.</p>
<table>
<tbody>
<tr>
<td><strong>DatasetId</strong></td>
<td><strong>Entity&nbsp;</strong></td>
<td><strong>Observed Behaviour</strong></td>
<td><strong>Groundtruth</strong></td>
<td><strong>Sample Shape</strong></td>
</tr>
<tr>
<td>Crypto_desktop.parquet</td>
<td>DE</td>
<td>Miner Checking</td>
<td>IDS</td>
<td>0: 738/161202, 1: 11/1343</td>
</tr>
<tr>
<td>Crypto_smarphone.parquet</td>
<td>SM</td>
<td>Miner Checking</td>
<td>IDS</td>
<td>0: 613/180021, 1: 4/956</td>
</tr>
<tr>
<td>OutFlash_desktop.parquet</td>
<td>DE</td>
<td>Outdated software components&nbsp;</td>
<td>IDS</td>
<td>0: 738/161202, 1: 56/10820</td>
</tr>
<tr>
<td>OutFlash_smartphone.parquet</td>
<td>SM</td>
<td>Outdated software components&nbsp;</td>
<td>IDS</td>
<td>0: 613/180021, 1: 22/6639</td>
</tr>
<tr>
<td>OutTLS_desktop.parquet</td>
<td>DE</td>
<td>Outdated TLS protocol</td>
<td>IDS</td>
<td>0: 738/161202, 1: 18/2458</td>
</tr>
<tr>
<td>OutTLS_smartphone.parquet</td>
<td>SM</td>
<td>Outdated TLS protocol</td>
<td>IDS</td>
<td>0: 613/180021, 1: 11/2930</td>
</tr>
<tr>
<td>P2P_desktop.parquet</td>
<td>DE</td>
<td>P2P Activity</td>
<td>IDS</td>
<td>0: 738/161202, 1: 177/35892</td>
</tr>
<tr>
<td>P2P_smartphone.parquet</td>
<td>SM</td>
<td>P2P Activity</td>
<td>IDS</td>
<td>0: 613/180021, 1: 94/21688</td>
</tr>
<tr>
<td>NonEnc_desktop.parquet</td>
<td>DE</td>
<td>Non-encrypted password</td>
<td>IDS</td>
<td>0: 738/161202, 1: 291/59943</td>
</tr>
<tr>
<td>NonEnc_smaprthone.parquet</td>
<td>SM</td>
<td>Non-encrypted password</td>
<td>IDS</td>
<td>0: 613/180021, 1: 167/41434</td>
</tr>
<tr>
<td>Phishing_desktop.parquet</td>
<td>DE</td>
<td>Phishing email</td>
<td>
<p>Experimental Campaign</p>
</td>
<td>0: 98/13864, 1: 19/3072</td>
</tr>
<tr>
<td>Phishing_smartphone.parquet</td>
<td>SM</td>
<td>Phishing email</td>
<td>Experimental Campaign</td>
<td>0: 117/34006, 1: 26/8968</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h1>&nbsp;Methodology &nbsp;</h1>
<p>To collect the dataset, we have deployed multiple agents and soluble agents within an infrastructure with&nbsp;<br>more than 3k entities, comprising laptops, workstations, and smartphone devices. The methods to build&nbsp;<br>ground truth are as follows:</p>
<p>- Simulator: We launch different realistic phishing campaigns, aiming to expose user credentials or defeat access to a service.<br>- IDS: We deploy an IDS to collect various alerts associated with behavioral anomalies, such as cryptomining or peer-to-peer traffic.</p>
<p>For each user exposed to the behaviors stated in the summary table, different TW is computed, aggregating&nbsp;<br>user behavior within a fixed time interval. This TW serves as the basis for generating various supervised&nbsp;<br>and unsupervised methods.</p>
<h2>Sample Representation</h2>
<p>The time windows (TW) are a data representation based on aggregated logs from multimodal sources between two&nbsp;<br>timestamps. In this study, logs from HTTP, DNS, SSL, and SMTP are taken into consideration, allowing the&nbsp;<br>construction of rich behavioral profiles. The indicators described in the TE are a set of manually curated&nbsp;<br>interpretable features designed to describe device-level properties within the specified time frame. The most&nbsp;<br>influential features are described below.&nbsp;</p>
<ul>
<li>User:** A unique hash value that identifies a user.</li>
<li>Timestamp:** The timestamp of the windows.</li>
<li>Features</li>
<li>Label:&nbsp; 1 if the user exhibits compromised behavior, 0 otherwise. -1 indicates that it is a TW with an unknown label.</li>
</ul>
<p>&nbsp;</p>
<h2>Dataset Format</h2>
<p>Parquet format uses a columnar storage format, which enhances efficiency and compression, making it suitable for large datasets and complex analytical tasks. It has support across various tools and languages, including Python. Parquet can be used with pandas library in Python, allowing pandas to read and write Parquet files through the `pyarrow` or `fastparquet` libraries. Its efficient data retrieval and fast query execution improve performance over other formats. Compared to row-based storage formats such as CSV, Parquet's columnar storage greatly reduces read times and storage costs for large datasets. Although binary formats like HDF5 are effective for specific use cases, Parquet provides broader compatibility and optimization.&nbsp; The provided datasets use the Parquet format. Here&rsquo;s an example of how to retrieve data using pandas, ensure you have the&nbsp; fastparquet library installed:</p>
<p>```<code>python</code><br><code>import pandas as pd</code></p>
<p><code># Reading a Parquet file</code><br><code>df = pd.read_parquet(</code><br><code>&nbsp; 'path_to_your_file.parquet',&nbsp;</code><br><code>&nbsp; engine='fastparquet'</code><br><code>&nbsp; )&nbsp;</code></p>
<p>```</p>

## Authors

- Albert, Calvo — i2CAT
- Santiago, Escuder — i2CAT
- Nil, Ortiz — i2CAT
- Josep, Escrig — i2CAT
- Maxime, Compastié — i2CAT

## Citation

```bibtex
@misc{zenodo13787591,
  title = {RBD24 - Risk Activities Dataset 2024},
  author = {Albert, Calvo and Santiago, Escuder and Nil, Ortiz and Josep, Escrig and Maxime, Compastié},
  year = {2024},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.13787591},
  url = {https://zenodo.org/records/13787591}
}
```

## Original Source

**Repository:** [Zenodo](https://zenodo.org/records/13787591)

**DOI:** [10.5281/zenodo.13787591](https://doi.org/10.5281/zenodo.13787591)

**Publication Date:** 2024-09-18

**Version:** Not specified

**Original Publisher:** Zenodo

**Original License:** cc-by-4.0

## Provenance

This dataset was originally published on Zenodo.

The original authors and DOI are preserved above.