Hamza Ibrahim, Love Allen Chijioke Ahakonye, Jae-Min Lee, D. Kim
The Industrial Internet of Things (IIoT) has transformed critical infrastructure but has also introduced severe security vulnerabilities, with breaches capable of causing catastrophic physical and operational damage. While blockchain technology offers a promising foundation for tamper-proof logging, existing platforms are often ill-suited for IIoT due to high latency, low throughput, and excessive energy consumption. Furthermore, most current research treats intrusion detection, secure logging, and system recovery as isolated components, lacking a unified framework for autonomous, verifiable resilience. To bridge this critical gap, this paper introduces PureChain, a holistic, secure, and resilient ecosystem. PureChain integrates a custom lightweight blockchain with a deep learning-based intrusion detection system and a novel verifiable recovery protocol, creating a closed-loop security model. The framework leverages a novel Proof of Authority and Association (PoA2) consensus mechanism, achieving high throughput (16.82 TPS), low latency (0.0594 s), and minimal energy consumption (12.43 W), demonstrating suitability for resource-constrained IIoT environments compared to general-purpose platforms like Ethereum and Hyperledger which are optimized for different use cases. Upon intrusion detection by optimized models like XGBoost (99.87% accuracy), immutable blockchain logs actively trigger and cryptographically attest to infrastructure-enforced recovery actions such as device isolation via SDN switches or state rollback through hardware management controllers. Extensive evaluation on benchmark IIoT datasets (IoT-CAD and IoTForge) demonstrates a detection-to-recovery success rate of up to 98.59% while maintaining 100% data integrity. PureChain establishes a new paradigm that unifies real-time threat intelligence, blockchain-based trust, and provable autonomous recovery for next-generation IIoT security.