Oussama El Rhayati
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Oussama El Rhayati has a total of 9 co-authors. Here are the top co-authors by number of shared publications:
Hamid Tairi
Department of Informatics, Faculty of Sciences Dhar El Mahraz, Informatique, Innovation et Intelligence Artificielle Laboratory, Sidi Mohamed Ben Abdellah University, Fes, Morocco
1 shared publication- Hamid Tairi
L3IA Laboratory, Faculty of Sciences Dhar El Mehraz, Sidi Mohamed Ben Abdellah University, Fez 30000, Morocco
1 shared publication - Hatim Essadeq
Faculty of Sciences Dhar El Mahraz (FSDM), Sidi Mohamed Ben Abdellah University, Fez 30000, Morocco
1 shared publication Jamal Riffi
Department of Informatics, Faculty of Sciences Dhar El Mahraz, Informatique, Innovation et Intelligence Artificielle Laboratory, Sidi Mohamed Ben Abdellah University, Fes, Morocco
1 shared publication- Jamal Riffi
Sidi Mohamed Ben Abdellah University
1 shared publication Mohamed Lamrini
Department of Informatics, Faculty of Sciences Dhar El Mahraz, Informatique, Innovation et Intelligence Artificielle Laboratory, Sidi Mohamed Ben Abdellah University, Fes, Morocco
1 shared publication
Latest Publications
- Open Access
- 5 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 191406-191414
Malware Detection Using Cuckoo Sandbox Report Features as Human Readable Description and the BERT Model
The ever-evolving nature of malware renders conventional detection techniques increasingly ineffective against adaptive threats. This work proposes a behavior-driven detection framework that converts dynamic sandbox reports into human-readable narratives and learns semantic patterns with a fine-tuned BERT model. The narrative transformation captures higher-order relations among system activities (e.g., process creation, registry persistence, and network communication), enabling contextual representation beyond handcrafted features. Validation was conducted on both a controlled Cuckoo-based benchmark (binary) and the large-scale public Avast–CTU CAPEv2 dataset (ten malware families). On CAPEv2, the method achieved 96.2% accuracy and 95.8% macro-F1 under chronological partitioning, and strong performance under 5-fold cross-validation, outperforming TF–IDF +SVM baselines. Robustness studies with textual perturbations (token masking and synonym substitution at 5–20%) and time-aware evaluation indicate resilience to obfuscation and temporal drift. An ablation analysis shows that narrative-based modeling improves accuracy by ≈12 percentage points over raw feature baselines and by ≈5 points over TF–IDF representations, highlighting the contribution of semantic abstraction. Besides accuracy, the approach can provide practical interpretability: the predictions can be traced back to behavioral descriptive indicators, allowing analyst auditability and forensic use. These results show that behavioral data contextualized language modeling is a scalable, explainable, and generalizable next-generation basis for malware detection.
- 5 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 191406-191414
Open AccessMalware Detection Using Cuckoo Sandbox Report Features as Human Readable Description and the BERT Model
The ever-evolving nature of malware renders conventional detection techniques increasingly ineffective against adaptive threats. This work proposes a behavior-driven detection framework that converts dynamic sandbox reports into human-readable narratives and learns semantic patterns with a fine-tuned BERT model. The narrative transformation captures higher-order relations among system activities (e.g., process creation, registry persistence, and network communication), enabling contextual representation beyond handcrafted features. Validation was conducted on both a controlled Cuckoo-based benchmark (binary) and the large-scale public Avast–CTU CAPEv2 dataset (ten malware families). On CAPEv2, the method achieved 96.2% accuracy and 95.8% macro-F1 under chronological partitioning, and strong performance under 5-fold cross-validation, outperforming TF–IDF +SVM baselines. Robustness studies with textual perturbations (token masking and synonym substitution at 5–20%) and time-aware evaluation indicate resilience to obfuscation and temporal drift. An ablation analysis shows that narrative-based modeling improves accuracy by ≈12 percentage points over raw feature baselines and by ≈5 points over TF–IDF representations, highlighting the contribution of semantic abstraction. Besides accuracy, the approach can provide practical interpretability: the predictions can be traced back to behavioral descriptive indicators, allowing analyst auditability and forensic use. These results show that behavioral data contextualized language modeling is a scalable, explainable, and generalizable next-generation basis for malware detection.
- Open Access
- 10 September 2025
- Published by MDPI AG in Journal of Cybersecurity and Privacy
- Vol. 5 (3) , 72
Structured Heatmap Learning for Multi-Family Malware Classification: A Deep and Explainable Approach Using CAPEv2
Accurate malware family classification from dynamic sandbox reports continues to be a fundamental cybersecurity challenge. Most prior works depend on random splits that tend to overestimate accuracy, whereas deployment requires robustness under temporal drift as well as changing behaviors. We present a leakage-aware pipeline that transforms CAPEv2 sandbox JSON reports into structured visual heatmaps and evaluate models under stratified and chronological splits. The pipeline rigorously flattens behavioral keys, builds normalized representations, and benchmarks Random Forest, MLP, CNN64, HybridNet, and a modern ResNeXt-50 backbone. On the Avast–CTU CAPEv2 dataset containing ten malware families, Random Forest achieves nearly state-of-the-art accuracy (97.2% accuracy, 0.993 AUC) with high efficiency on CPUs, making it attractive for triage. ResNeXt-50 achieves the best overall performance (98.4% accuracy, 0.998 AUC) and provides visual interpretability via Grad-CAM, enabling analysts to verify predictions. We further quantify efficiency trade-offs (inference throughput and GPU memory) and report ablation studies on vocabulary size and keyset choices. These results affirm that though ensemble methods are still robust, heatmap-based CNNs provide better accuracy, interpretability, and robustness against drift.
- 10 September 2025
- Published by MDPI AG in Journal of Cybersecurity and Privacy
- Vol. 5 (3) , 72
Open AccessStructured Heatmap Learning for Multi-Family Malware Classification: A Deep and Explainable Approach Using CAPEv2
Accurate malware family classification from dynamic sandbox reports continues to be a fundamental cybersecurity challenge. Most prior works depend on random splits that tend to overestimate accuracy, whereas deployment requires robustness under temporal drift as well as changing behaviors. We present a leakage-aware pipeline that transforms CAPEv2 sandbox JSON reports into structured visual heatmaps and evaluate models under stratified and chronological splits. The pipeline rigorously flattens behavioral keys, builds normalized representations, and benchmarks Random Forest, MLP, CNN64, HybridNet, and a modern ResNeXt-50 backbone. On the Avast–CTU CAPEv2 dataset containing ten malware families, Random Forest achieves nearly state-of-the-art accuracy (97.2% accuracy, 0.993 AUC) with high efficiency on CPUs, making it attractive for triage. ResNeXt-50 achieves the best overall performance (98.4% accuracy, 0.998 AUC) and provides visual interpretability via Grad-CAM, enabling analysts to verify predictions. We further quantify efficiency trade-offs (inference throughput and GPU memory) and report ablation studies on vocabulary size and keyset choices. These results affirm that though ensemble methods are still robust, heatmap-based CNNs provide better accuracy, interpretability, and robustness against drift.