A hybrid AI-blockchain architecture for intelligent zero-trust authentication for large-scale internet of things
Abstract
The IoT (Internet of Things) is expanding at a fast pace and one of the biggest security issues is device authentication. Centralized authentication systems have a single point of failure, are not tamper-proof, have no audit trail and unable to detect compromised devices after legitimate registration. In this paper, an authentication framework for IoT that integrates Ethereum’s smart contracts with an XGBoost behavioral classifier is proposed. It is managed through 3 smart contracts, each modular, such as Device Registry, Authentication and Audit that record all authentication events on-chain. Each request for authentication is also created with a challenge from the server, which is signed with the device’s secp256k1 private key, and is just for that request. So that the server can check whether the device has the private key for the registered key, it can test freshness and feature integrity before any inference is performed. The XGBoost model is trained using N-BaIoT traffic from nine physical IoT devices infected by the Mirai and BASHLITE botnets, with Gaussian feature perturbation (α = 1.6) only applied to the training split and 13% label flipping, and scaling, feature selection and hyperparameter selection all fitted on the training split only. The model has a test accuracy of 93.27% and an AUC-ROC of 0.9770 when tested on a clean held-out set. According to the authentication convention where accepting an attack sample is a false acceptance, the False Acceptance Rate (FAR) is 2.67% and the False Rejection Rate (FRR) is 20.27%. A semi-formal BAN logic analysis extracts device key binding, entity authentication and request freshness, server authentication and device-signed non-repudiation, depending on the explicit assumptions. Behavioral assessment is treated as a probabilistic risk signal outside the BAN logic. An adaptive trust scoring controlled ablation demonstrates that the number of requests that the attacker gets approved against a persistently compromised device drops to 0.11 per 1,000 requests, while occasionally hard-penalizing benign devices depends on the penalty setting. The differences in accuracy from the six baselines (Random Forest, SVM, Autoencoder, LightGBM, a multilayer perceptron and Isolation Forest) are statistically significant (Paired t-tests, P < 0.05) and 5-fold stratified cross validation resulted in an accuracy of 93.27% ± 0.20%. With a local Ganache network, an authentication cycle takes 210,408 gas (USD 8.42 at 20 Gwei and ETH = USD 2,000), end-to-end latency of 35.61 ms and 125.8 authentications per second with 20 concurrent devices. A set of 20 device identities (nine physical N-BaIoT devices and eleven synthetic variants that are leveraged just for load generation) are used in system-level experiments. The findings reveal (1) how the design can be implemented on permissioned blockchains (where the transaction fee is zero), and (2) the cost and usage compromises it must accept.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.