Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
tags:
|
| 6 |
+
- malware-detection
|
| 7 |
+
- 3D-CNN
|
| 8 |
+
- Morton-curve
|
| 9 |
+
- cybersecurity
|
| 10 |
+
- PE-executables
|
| 11 |
+
pretty_name: MorVis - 3D Volumetric Malware Tensors
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# MorVis: 3D Volumetric Malware Detection Tensors
|
| 17 |
+
|
| 18 |
+
## Dataset Description
|
| 19 |
+
|
| 20 |
+
This dataset contains 6-channel 3D volumetric tensors (64×64×64) generated from Windows PE executables using Morton (Z-order) curve mapping. It accompanies the paper *"3D Volumetric Malware Detection Using Morton Curves and Multi-Channel Semantic Features"* (Harish et al., 2026).
|
| 21 |
+
|
| 22 |
+
## Dataset Summary
|
| 23 |
+
|
| 24 |
+
- **Malware tensors**: Generated from the VirusShare_00499 dump (~28,000 samples)
|
| 25 |
+
- **Benign tensors**: Not included due to licensing — generate them yourself using the provided script on Windows system files
|
| 26 |
+
- **Tensor shape**: `(6, 64, 64, 64)` per sample, saved as `.npy` files
|
| 27 |
+
- **Curve order**: 6 (64³ = 262,144 voxels)
|
| 28 |
+
|
| 29 |
+
## Channels
|
| 30 |
+
|
| 31 |
+
Each tensor has 6 semantic channels:
|
| 32 |
+
|
| 33 |
+
| Channel | Name | Description |
|
| 34 |
+
|---------|------|-------------|
|
| 35 |
+
| 0 | Raw bytes | Normalized byte values (0–1) |
|
| 36 |
+
| 1 | Entropy | Local Shannon entropy over a sliding window |
|
| 37 |
+
| 2 | Code mask | Binary mask for executable sections (.text, .code) |
|
| 38 |
+
| 3 | Import density | Proximity to import/IAT tables (behavioral signal) |
|
| 39 |
+
| 4 | String density | Fraction of printable ASCII in a local window |
|
| 40 |
+
| 5 | Data mask | Binary mask: 1 = real file bytes, 0 = padding |
|
| 41 |
+
|
| 42 |
+
## Generation Script
|
| 43 |
+
|
| 44 |
+
`malware_3d_multichannel.py` is provided in this repository. Usage:
|
| 45 |
+
```bash
|
| 46 |
+
python malware_3d_multichannel.py -i ./samples -o ./tensors --order 6
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
**Arguments:**
|
| 50 |
+
- `--input_dir / -i`: Directory containing PE files
|
| 51 |
+
- `--output_dir / -o`: Output directory for `.npy` tensors
|
| 52 |
+
- `--order`: Curve order (default: 6, giving 64³ grid)
|
| 53 |
+
- `--min_size`: Minimum file size in KB (default: 10)
|
| 54 |
+
- `--max_size`: Maximum file size in MB (default: 50)
|
| 55 |
+
|
| 56 |
+
The script parses PE headers, extracts relevant sections (skipping resources, relocations, debug), computes all 6 channels, maps bytes into 3D via Morton curve, and saves each tensor as a NumPy `.npy` file along with a `metadata.json`.
|
| 57 |
+
|
| 58 |
+
## Generating Benign Tensors
|
| 59 |
+
|
| 60 |
+
To reproduce the benign class from the paper, run the script on Windows system applications:
|
| 61 |
+
```bash
|
| 62 |
+
python malware_3d_multichannel.py -i "C:\Windows\System32" -o ./tensors_benign
|
| 63 |
+
python malware_3d_multichannel.py -i "C:\Program Files" -o ./tensors_benign
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Source Data
|
| 67 |
+
|
| 68 |
+
- **Malware**: VirusShare_00499 dump (Windows PE executables)
|
| 69 |
+
- **Benign**: User-installed Windows applications and system files
|
| 70 |
+
|
| 71 |
+
## Citation
|
| 72 |
+
|
| 73 |
+
If you use this dataset, please cite:
|
| 74 |
+
```bibtex
|
| 75 |
+
@article{harish2026morvis,
|
| 76 |
+
title={3D Volumetric Malware Detection Using Morton Curves and Multi-Channel Semantic Features},
|
| 77 |
+
author={Harish, Parikshieth and P.S., Ramesh and C, Suganthan},
|
| 78 |
+
year={2026}
|
| 79 |
+
}
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
## Authors
|
| 83 |
+
|
| 84 |
+
- Parikshieth Harish (parikshieth.harish2023@vitstudent.ac.in)
|
| 85 |
+
- Ramesh P.S. — Corresponding Author (ramesh.ps@vit.ac.in)
|
| 86 |
+
- Suganthan C (suganthan.c@vit.ac.in)
|
| 87 |
+
|
| 88 |
+
School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, India
|