A secure and lightweight cryptographic-machine learning framework for IoT-based cyber defense in resource-constrained environments

G Gaurav Thakur P Pradeep Chouksey M Mayank Chopra P Parveen Sadotra D Diksha Sharma (Molecular Biophysics Unit, Indian Institute of Science) A Arpit Koundal S Sunil Kumar

Abstract

Abstract The rapid expansion of Internet of Things (IoT) systems has introduced significant security challenges, particularly in resource-constrained environments where traditional security mechanisms are often impractical. This paper presents a secure and lightweight hybrid framework that integrates cryptographic techniques with machine learning–based anomaly detection for IoT-based cyber defense. The proposed framework employs Elliptic Curve Cryptography (ECC) for key exchange, SPECK for lightweight encryption, and SHA-3 for data integrity, combined with a Random Forest classifier for anomaly detection. The framework is implemented and evaluated on a Raspberry Pi–based edge environment using the CIC-BCCC-NRC-IoT-2023 dataset. Experimental results demonstrate an accuracy of 89.5% and an F1-score of 90%, with an average end-to-end latency of 1.08 ms and energy consumption of approximately 4.5 mJ per inference. These results indicate that the proposed approach achieves a practical balance between security, computational efficiency, and detection performance under constrained conditions. While the framework shows promising results, its evaluation is limited to a controlled setup and a single primary dataset. Future work will focus on cross-dataset validation, adversarial robustness, and large-scale deployment analysis.

Article Details

Volume / Issue Vol. 1, Issue 1
Published June 26, 2026
ISSN 2045-2322
Publisher Nature Portfolio

Journal Info

Scientific Reports

Nature Portfolio

ISSN: 2045-2322 Open Access Life Sciences

Authors (7)

G

Gaurav Thakur

P

Pradeep Chouksey

M

Mayank Chopra

P

Parveen Sadotra

D

Diksha Sharma

Molecular Biophysics Unit, Indian Institute of Science

A

Arpit Koundal

S

Sunil Kumar