The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Column() changed from object to string in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 174, in _generate_tables
df = pandas_read_json(f)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1391, in _parse
self.obj = DataFrame(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/frame.py", line 778, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 228, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3496, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2257, in _head
return next(iter(self.iter(batch_size=n)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2461, in iter
for key, example in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1952, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1974, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 503, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 350, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 177, in _generate_tables
raise e
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 151, in _generate_tables
pa_table = paj.read_json(
^^^^^^^^^^^^^^
File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
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/
├── JSONs/
│ └── <md5>.json # report.json (renamed using md5)
├── reports/
│ └── <md5>.html # report.html (renamed using md5)
├── screenshots/
│ └── <md5>/ # md5 hash of the malware sample
│ ├── 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
├── fileA
├── fileB
└── ...
File description and format
binaries/<md5>/<md5>.exe
Copy of the original executable file. DO NOT EXECUTE on uncontrolled computers.JSONs/<md5>.json
JSON output from CAPEv2 analysis: metadata, processes, dropped files, network activity, signatures, etc.Reports/<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: [email protected]
Adrián Prieto González
Research Staff from Universidad de León (Spain)
Email: [email protected]
- Downloads last month
- 1,405