|
Download README.md from Zenodo-ML/RBD24-Risk-Activities-Dataset-2024: direct link, hf CLI and curl.
- Browser
- Download file 8.37 kB
-
https://huggingface.co/datasets/Zenodo-ML/RBD24-Risk-Activities-Dataset-2024/resolve/main/README.md
- Command line
-
hf download hf://datasets/Zenodo-ML/RBD24-Risk-Activities-Dataset-2024/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Zenodo-ML/RBD24-Risk-Activities-Dataset-2024/resolve/main/README.md
8.37 kB
| 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. </p> | |
| <p>This repository is associated with the article<strong> "RBD24: A labelled dataset with risk activities using log applications data" </strong> published in the journal <em>Computers & 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> </h2> | |
| <p> </p> | |
| <h1>Summary of the Datasets </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 Desktop (DE) and Smartphone (SM) devices.</p> | |
| <table> | |
| <tbody> | |
| <tr> | |
| <td><strong>DatasetId</strong></td> | |
| <td><strong>Entity </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 </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 </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> </p> | |
| <h1> Methodology </h1> | |
| <p>To collect the dataset, we have deployed multiple agents and soluble agents within an infrastructure with <br>more than 3k entities, comprising laptops, workstations, and smartphone devices. The methods to build <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 <br>user behavior within a fixed time interval. This TW serves as the basis for generating various supervised <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 <br>timestamps. In this study, logs from HTTP, DNS, SSL, and SMTP are taken into consideration, allowing the <br>construction of rich behavioral profiles. The indicators described in the TE are a set of manually curated <br>interpretable features designed to describe device-level properties within the specified time frame. The most <br>influential features are described below. </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: 1 if the user exhibits compromised behavior, 0 otherwise. -1 indicates that it is a TW with an unknown label.</li> | |
| </ul> | |
| <p> </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. The provided datasets use the Parquet format. Here’s an example of how to retrieve data using pandas, ensure you have the 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> 'path_to_your_file.parquet', </code><br><code> engine='fastparquet'</code><br><code> ) </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. | |