LLMEdgeSec: LLM-Enabled Log Reasoning for Zero-Day IoT Threat Detection
The proliferation of IoT devices has expanded the attack surface, making zero-day threat detection an urgent priority. This paper proposes LLMEdgeSec, a framework that leverages large language models (LLMs) for log reasoning to detect and contextualize zero-day exploits in real-time. Unlike conventional anomaly detectors that rely on static signatures or pre-defined rules, LLMEdgeSec applies prompt-based reasoning over system logs, communication metadata, and device telemetry, enabling proactive identification of previously unseen attack vectors. The framework employs a dual-stream architecture: (1) a lightweight transformer encoder on edge nodes for local feature extraction, and (2) a cloud-based LLM interface for contextual reasoning and cross-device threat correlation. A zero-shot calibration method mitigates hallucinations and reduces false positives. Evaluation on TON IoT, CIC-IDS2018, and a real-world smart factory dataset demonstrates F1 scores exceeding 92% on zero-day samples with communication overhead below 8MB per federated round. Results show significant improvements in accuracy, interpretability, and adaptability over state-of-the-art baselines.
Cite this item
Yang, J., Ali, M. U., Kumar, G., Khan, M. A., Shaikh, Z. A., Govindarajan, V., Prajapat, S., Por, L. Y., & Lee, S. W. (2026). LLMEdgeSec: LLM-Enabled Log Reasoning for Zero-Day IoT Threat Detection. IEEE Internet of Things Journal. https://doi.org/10.1109/JIOT.2026.3686053
Click Copy to copy the citation, or select the text manually.
2-s2.0-105036835960
Universiti Malaya
Sejong University
Manipal University Jaipur
Prince Mohammad Bin Fahd University
École Polytechnique Fédérale de Lausanne
Expedia Group
Marwadi University
Universiti Malaya
SKKU School of Medicine
2026
REVIEWED
EPFL