Targeted Adversarial Traffic Generation : Black-box Approach to Evade Intrusion Detection Systems in IoT Networks
Abstract
The integration of machine learning (ML) algorithms into Internet of Things (IoT) applications has introduced significant advantages alongside vulnerabilities to adversarial attacks, especially within IoT-based intrusion detection systems (IDS). While theoretical adversarial attacks have been extensively studied, practical implementation constraints have often been overlooked. This research addresses this gap by evaluating the feasibility of evasion attacks on IoT network-based IDSs, employing a novel black-box adversarial attack. Our study aims to bridge theoretical vulnerabilities with real-world applicability, enhancing understanding and defense against sophisticated threats in modern IoT ecosystems. Additionally, we propose a defense scheme tailored to mitigate the impact of evasion attacks, thereby reinforcing the resilience of ML-based IDSs. Our findings demonstrate successful evasion attacks against IDSs, underscoring their susceptibility to advanced techniques. In contrast, we proposed a defense mechanism that exhibits robust performance by effectively detecting the majority of adversarial traffic, showcasing promising outcomes compared to current state-of-the-art defenses. By addressing these critical cybersecurity challenges, our research contributes to advancing IoT security and provides insights for developing more resilient IDS.
Figures & tables
| Study | Contribution | Limitations |
|---|---|---|
| Islam et al. Islam et al. (2021) | Feature selection for lightweight IDS | Limited to specific IoT protocols |
| Sarhan et al. Sarhan et al. (2024) | Novel framework for IoT-specific challenges | Requires large labeled datasets |
| Altulaihan et al. Altulaihan et al. (2024) | Real-time anomaly detection | Susceptible to adversarial attacks |
| Alslman et al. Alslman et al. (2024) | Robust IDS using adversarial training | High resource requirements |
| Yuan et al. Yuan et al. (2024) | Simple yet effective adversarial defenses | Limited evaluation on IoT datasets |
| Barik et al. Barik et al. (2024) | Adversarial robustness for tabular data | Not IoT-specific |
| Features | Description |
|---|---|
| Dur | Duration of the flow |
| spkts | Number of packets from source to destination |
| sbytes | Number of bytes from source to destination |
| Features | Description | Dependency |
|---|---|---|
| Pkts | Total number of packets | Spkts, Dpkts |
| Bytes | Total number of bytes | Sbytes, Dbytes |
| Rate | Total number of packets per second | Dur, Pkts |
| Srate | Packets from source to destination per second | Dur, Spkts |
| Drate | Packets from destination to source per second | Dur, Dpkts |
| Features | Description |
|---|---|
| Dpkts | Number of packets from destination to source |
| Dbytes | Number of bytes from destination to source |
| Proto | Textual representation of protocols |
| Sport | Source port number |
| Dport | Destination port number |
| Mask ID | Mask Value | Manipulated Features |
|---|---|---|
| 1 | 001 | |
| 2 | 010 | |
| 3 | 100 | |
| 4 | 011 | , |
| 5 | 101 | , |
| 6 | 110 | , |
| Port Range | Category |
|---|---|
| 0 to 1023 | Well-Known Ports |
| 1024 to 49151 | Registered Ports |
| 49152 to 65535 | Dynamic/Private Ports |
| Attack Type | KNN | RF | DT | XGBoost |
|---|---|---|---|---|
| DDOS | 0.05 | 0.11 | 0.01 | 0.02 |
| DOS | 0.02 | 1.40 | 1.29 | 1.53 |
| Service Scan | 0.07 | 0.22 | 0.01 | 0.02 |
| OS Fingerprinting | 0.07 | 0.27 | 0.01 | 0.02 |
| Attack Type | KNN | RF | DT | XGBoost |
|---|---|---|---|---|
| DDOS | 1.47 | 0.40 | 0.01 | 0.09 |
| DOS | 0.08 | 0.21 | 0.01 | 0.74 |
| Scanning | 0.06 | 0.24 | 0.01 | 0.12 |
| XSS | 1.02 | 1.62 | 0.03 | 0.85 |
| Password | 0.43 | 1.85 | 0.02 | 0.40 |
| Injection | 1.65 | 1.88 | 0.08 | 1.25 |
| Defender models | Attacker’s substitute models | Average | |||
|---|---|---|---|---|---|
| KNN | RF | DT | XGBoost | ||
| KNN | 49% | 47% | 50% | 51% | 49% |
| RF | 56% | 49% | 53% | 52% | 53% |
| DT | 55% | 50% | 52% | 52% | 52% |
| XGBoost | 69% | 53% | 69% | 63% | 64% |
| Defender models | Attacker’s substitute models | Average | |||
|---|---|---|---|---|---|
| KNN | RF | DT | XGBoost | ||
| KNN | 65% | 61% | 74% | 71% | 68% |
| RF | 76% | 63% | 69% | 58% | 67% |
| DT | 66% | 39% | 68% | 68% | 60% |
| XGBoost | 79% | 56% | 74% | 72% | 70% |
| Defender models | Attacker’s substitute models | Average | |||
|---|---|---|---|---|---|
| KNN | RF | DT | XGBoost | ||
| KNN | 65% | 61% | 75% | 71% | 68% |
| RF | 76% | 63% | 69% | 71% | 70% |
| DT | 66% | 56% | 76% | 60% | 63% |
| XGBoost | 82% | 66% | 76% | 73% | 74% |