Ransomware Detection

GIN · internal_only

Family HoldoutMar 4, 2026

fc50bf3b244f4af8871cb83dce057891

Description

Hold out simplelocker and wipelocker families entirely from training. Test whether GIN can detect ransomware families it has never seen during training. These two families were chosen as the first holdout test.

Conclusion

Model still achieves 95.7% accuracy and 100% recall on the held-out families. simplelocker and wipelocker appear structurally similar enough to the remaining training families that the model generalises to them. This initially suggested family generalisation might work — but see Experiment 11 for the counterexample.

Test Metrics

Accuracy

95.7%

F1 Macro

95.2%

F1 Malware

96.8%

Precision

93.7%

Recall

100.0%

AUROC

96.0%

Best Val Loss

0.0458

Training Time

962.2000s

Confusion Matrix

Pred BenignPred Malware
Actual Benign669
Actual Malware0134

Configuration

Hidden Dim128
Num Layers3
Dropout0.5
Batch Size4
Learning Rate0.001
Weight Decay0.0001
Max Epochs200
ES Patience20
ES Min Epochs100
LR Patience10
LR Factor0.5
Mixed PrecisionYes
Random Seed42
Epochs Trained100