Enhancing adversarial robustness of network intrusion detection systems against gray-box attacks

Abstract

The future of machine learning (ML) is increasingly centered on open ML models that emphasize transparency and collaborative development. This openness brings unique security challenges (e.g., integrity and authentication), especially in cybersecurity applications where adversarial attacks exploit accessible models. Several studies have addressed adversarial attacks in white-box and black-box settings, there is less focus on realistic gray-box scenarios where the ML model is open but defense mechanisms against adversarial attacks are only partially accessible. Addressing adversarial attacks in such gray-box settings is crucial for enhancing open ML models robustness against plausible real-world threats. In this study, we introduce a new approach, the Stochastic Shattering Defense (SSD), for secure, open ML in Network Intrusion Detection Systems (NIDS). SSD is governed by transformation keys that must remain hidden to ensure security. By leveraging affine chaotic transformations and an feature-coupling layer(s), SSD creates complex and interdependent relationships between input features. While the design remains open to encourage transparency, these confidential transformation keys limit attacker access and enhance model security. Experimental evaluations on two cybersecurity datasets, NSL-KDD and X-IIoTID, reveal the robustness of SSD, achieving high baseline accuracies of 99.84% on X-IIoTID and 79.59% on NSL-KDD. The model demonstrates resilience against gray-box attacks, maintaining accuracies of 99.48% for X-IIoTID and 85.9% for NSL-KDD, offering an effective balance between defense and openness.

Keywords

adversarial defense, intrusion detection, LLM, machine learning, robustness, Stochastic shattering

Document Type

Journal Article

Date of Publication

12-1-2026

Article Number

112856

ISSN

13891286

Volume

291

Publication Title

Computer Networks

Publisher

Elsevier

School

Centre for Artificial Intelligence and Machine Learning (CAIML) / School of Science

RAS ID

102381

Copyright

subscription content

Recommended Citation

Al-Fawa’reh, M., Abu-Khalaf, J., Szewczyk, P., & Janjua, N. (2026). Enhancing adversarial robustness of network intrusion detection systems against gray-box attacks. Computer Networks, 291, Article 112856. https://doi.org/10.1016/j.comnet.2026.112856

Share

 
COinS
 

Link to publisher version (DOI)

10.1016/j.comnet.2026.112856