The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
YAML Metadata Warning:The task_categories "graph-classification" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
Android Ransomware FCG Dataset (Baseline)
Binary graph-classification dataset for Android ransomware detection based on function call graphs (FCGs) extracted with Androguard.
Dataset Summary
| Property | Value |
|---|---|
| Total graphs | 715 |
| Benign (label 0) | 502 |
| Malware (label 1) | 213 |
| Class ratio | 2.36 : 1 (benign : malware) |
| Feature dimension | 5 |
Malware Families
| Family | Samples |
|---|---|
| simplelocker | 64 |
| wipelocker | 70 |
| wannalocker | 51 |
| blackroselucy | 17 |
| pletor | 6 |
| filecoder | 5 |
Dataset Variants
internal_only/ β Author-Written Methods Only
Only methods defined in the APK's own code are kept as nodes. External/API calls are encoded as node features on the calling method.
Node features (dim=5):
[is_entrypoint, log_in_degree, log_out_degree, log_api_calls, log_other_ext_calls]
| Statistic | Min | Median | Mean | Max |
|---|---|---|---|---|
| Nodes | 15 | 25,356 | 38,401 | 398,727 |
| Edges | 2 | 31,227 | 51,400 | 989,585 |
full_fcg/ β Complete Function Call Graph
All methods (internal + external/API) are retained as graph nodes.
Node features (dim=5):
[is_external, is_android_api, is_entrypoint, log_in_degree, log_out_degree]
| Statistic | Min | Median | Mean | Max |
|---|---|---|---|---|
| Nodes | 42 | 32,007 | 45,243 | 428,203 |
| Edges | 42 | 65,909 | 98,220 | 1,388,042 |
Data Format
Each .pt file is a Python list of
torch_geometric.data.Data
objects, loadable with torch.load().
Each Data object contains:
xβ node feature matrix[num_nodes, 5]edge_indexβ COO edge list[2, num_edges]yβ graph label (0= benign,1= malware)familyβ string label ("benign","simplelocker", etc.)apk_nameβ source APK filename
Usage
from huggingface_hub import hf_hub_download
import torch
# Download the internal_only variant
path = hf_hub_download(
repo_id="JLB-JLB/android-ransomware-fcg-baseline",
filename="internal_only/fcg_dataset.pt",
repo_type="dataset",
)
dataset = torch.load(path, weights_only=False)
print(f"Loaded {len(dataset)} graphs")
print(f"First graph: {dataset[0].x.shape[0]} nodes, {dataset[0].edge_index.shape[1]} edges")
Citation
If you use this dataset, please cite the associated thesis work.
- Downloads last month
- 8