The dataset viewer is not available for this dataset.
Error code: ConfigNamesError
Exception: ValueError
Message: Seek before start of file
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
config_names = get_dataset_config_names(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1029, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1004, in dataset_module_factory
).get_module()
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 637, in get_module
module_name, default_builder_kwargs = infer_module_for_data_files(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 291, in infer_module_for_data_files
split: infer_module_for_data_files_list(data_files_list, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 235, in infer_module_for_data_files_list
return infer_module_for_data_files_list_in_archives(data_files_list, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 262, in infer_module_for_data_files_list_in_archives
f.split("::")[0] for f in xglob(extracted, recursive=True, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 1050, in xglob
fs, *_ = url_to_fs(urlpath, **storage_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/fsspec/core.py", line 395, in url_to_fs
fs = filesystem(protocol, **inkwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/fsspec/registry.py", line 293, in filesystem
return cls(**storage_options)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 80, in __call__
obj = super().__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/fsspec/implementations/zip.py", line 62, in __init__
self.zip = zipfile.ZipFile(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1354, in __init__
self._RealGetContents()
File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1417, in _RealGetContents
endrec = _EndRecData(fp)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/zipfile/__init__.py", line 311, in _EndRecData
return _EndRecData64(fpin, -sizeEndCentDir, endrec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/zipfile/__init__.py", line 243, in _EndRecData64
fpin.seek(offset - sizeEndCentDir64Locator, 2)
File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 1737, in seek
raise ValueError("Seek before start of file")
ValueError: Seek before start of fileNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This dataset is part of the ULE-CIBERLAB Project: Transfer of knowledge in cybersecurity for the country's business fabric, funded by the European Union NextGeneration-EU, Recovery, Transformation and Resilience Plan, through INCIBE.
MALWARE-SAMPLES DATASET
Disclaimer: This repository contains real samples of malware that can be executed (
.exe) and artifacts related with their execution in CAPEv2 sandbox (JSON/HTML reports, screenshots, dropped files). DO NOT execute any of those binaries in production machines or non-isolated environments. This README file explains how dataset is structured, its metadata, safe use as well as legal and ethical requirements. This dataset has been created for research purposes only. The creators DO NOT accept responsibility for its use by third parties.
🌍 Available in other languages:
Content
- Description
- Source and attribution
- Dataset structure
- File description and format
- CAPEv2 sandbox configuration
- Contact
Description
This dataset only groups .exe samples extracted from three public repositories and their execution results in the CAPEv2 sandbox. For each sample, it includes:
- The binary (
.exe) report.jsongenerated by CAPEv2report.html(HTML version of thre report generated by CAPEv2)- Screenshots taken by CAPE during the analysis
- Files dropped during dynamic execution (if any)
Source and attribution
The original binary samples were taken from public repositories (only .exe files were taken and used):
ytisf/theZoo— https://github.com/ytisf/theZooPyran1/MalwareDatabase— https://github.com/Pyran1/MalwareDatabaseDa2dalus/The-MALWARE-Repo— https://github.com/Da2dalus/The-MALWARE-Repo
Dataset structure
High-level structure (repository root):
dataset/
├── JSON/
│ └── <md5>.json # report.json (renamed using md5)
├── HTML/
│ └── <md5>.html # report.html (renamed using md5)
├── screenshots/
│ └── <md5>/ # md5 hash of the malware sample
│ └── md5.zip (Contains all image with names 0001.png, 0002.png...)
│
├── binaries/
│ └── <md5>
| ├── <md5>.exe
│ └── LICENSE.MD #Some binary files are under a GPLv3 license
└── dropped_files/
└── <md5>/ # md5 hash of the malware sample
└── md5.zip (Contains all files dropped in the system...)
File description and format
binaries/<md5>/<md5>.exe
Copy of the original executable file. DO NOT EXECUTE on uncontrolled computers.JSON/<md5>.json
JSON output from CAPEv2 analysis: metadata, processes, dropped files, network activity, signatures, etc.HTML/<md5>.html
HTML version of the report generated by CAPEv2.screenshots/<md5>/*.png
Screenshots taken during dynamic execution.dropped_files/<md5>/*
Files that the malware left on disk during its execution within the sandbox.
CAPEv2 sandbox configuration
Summary: In order to analyse samples with evasive capabilities, adjustments were made to the CAPEv2 sandbox configurations used during the generation of this dataset. In order to allow replication of the experiment, the configuration files used (the CAPEv2
conf/folder) and the custom KVM virtual machine XML are included in the repository.
What does this section contain?
The following structure will be published within the repository:
CAPEv2 Configuration/
├── XML KVM/
│ └── xml-custom-machine.xml # XML used to configure the VM in KVM
└── conf/
└── ... # CAPEv2 configuration files and folders
XML KVM/
Contains the XML descriptor of the virtual machine (suggested names:xml-custom-machine.xml). This XML reflects the VM used in the analyses (vCPU, memory, virtual devices, disks, simulated NICs, etc.) so that others can import/define an equivalent VM in their virtualisation environment.conf/
Copy of theconffolder used by CAPEv2 in the experiment. It includes the relevant CAPEv2 configuration files (paths, timeouts, enabled modules, integration with the analysis backend, network capture parameters, etc.). Note: any sensitive data (credentials, private keys) has been removed.
How to Reference
If you use this model in your research or project, please reference it as:
Bayón-Martínez, R., & Prieto-González, A. (2025). Malware Samples Dataset [Data set]. Grupo de Robótica de la Universidad de León. Hugging Face.
https://huggingface.co/datasets/unileon-robotics/malware-samples
License: Creative Commons BY-NC-SA 4.0.
You can also make use of this BibTeX extract:
@dataset{bayonmartinez_prietogonzalez_2025_malware_samples,
author = {Bayón-Martínez, Raúl and Prieto-González, Adrian},
title = {Malware Samples Dataset},
year = {2025},
publisher = {Grupo de Robótica de la Universidad de León},
howpublished = {\url{https://huggingface.co/datasets/unileon-robotics/malware-samples}},
note = {Available on Hugging Face. License: CC BY-NC-SA 4.0}
}
Contact
Raúl Bayón Martínez
PhD Student/Research Staff from Universidad de León (Spain)
Email: rbaym@unileon.es
Adrián Prieto González
Research Staff from Universidad de León (Spain)
Email: aprig@unileon.es
- Downloads last month
- 5,267
