[논문 리뷰] AutoIDS: Auto-encoder Based Method for Intrusion Detection System
AutoIDS는 정상 트래픽에서 학습된 차단의 두 자동인코더(AE)의 캐스케이드를 사용하여 준지도학습적으로 침입을 탐지하며, NSL-KDD에서 90.17% 정확도를 달성하고 계산량을 줄입니다.
Intrusion Detection System (IDS) is one of the most effective solutions for providing primary security services. IDSs are generally working based on attack signatures or by detecting anomalies. In this paper, we have presented AutoIDS, a novel yet efficient solution for IDS, based on a semi-supervised machine learning technique. AutoIDS can distinguish abnormal packet flows from normal ones by taking advantage of cascading two efficient detectors. These detectors are two encoder-decoder neural networks that are forced to provide a compressed and a sparse representation from the normal flows. In the test phase, failing these neural networks on providing compressed or sparse representation from an incoming packet flow, means such flow does not comply with the normal traffic and thus it is considered as an intrusion. For lowering the computational cost along with preserving the accuracy, a large number of flows are just processed by the first detector. In fact, the second detector is only used for difficult samples which the first detector is not confident about them. We have evaluated AutoIDS on the NSL-KDD benchmark as a widely-used and well-known dataset. The accuracy of AutoIDS is 90.17\% showing its superiority compared to the other state-of-the-art methods.
연구 동기 및 목표
- Intrusion detection를(Signatures만 의존하는 대신 이상 탐지로 동기를 부여합니다.
- 정상 트래픽만으로 학습하는 준지도 접근법을 개발합니다.
- 두 단계 탐지기 캐스케이드를 통해 탐지 정확도를 높이고 계산 비용을 줄입니다.
- 표준 벤치마크에서 보지 못한 공격에 대한 방법의 일반화 가능성을 Demonstrate합니다.
제안 방법
- 경량 이하의 희소 자동인코더(SAE)와 일반 자동인코더(AE)로 구성된 두 탐지기의 캐스캐이드를 제안합니다.
- 정상 트래픽만으로 두 탐지기를 학습시켜 정상 트래픽 표현을 학습합니다.
- D1 (SAE)는 잠재 표현의 희소성으로 임계치 tau_min 및 tau_max를 사용하여 Normal, Anomaly, Unknown 샘플을 표시하고 빠른 조기 거부를 가능하게 합니다.
- D2 (AE)는 재구성 오차를 임계치 thr_AE(ROC 분석으로 설정)로 사용하여 D1에 의해 Unknown로 판단된 샘플에서 정상과 이상을 구분합니다.
- 대량의 트래픽을 D1을 통해 처리하고, 불확실한 샘플만 D2로 보내 정확도와 속도 사이의 균형을 맞춥니다.
- 두 개의 특징 공간( D1의 희소성, D2의 재구성 오차)을 활용하여 전체 구분성을 향상시킵니다.
실험 결과
연구 질문
- RQ1AutoIDS가 Training에 정상 데이터만 사용하여 이상 탐지를 정확하게 수행할 수 있는가(semi-supervised learning)?
- RQ2희소 SAE와 AE를 캐스케이딩하는 것이 단독으로 사용하는 경우보다 탐지 정확도와 흐름당 평균 처리 시간을 개선하는가?
- RQ3AutoIDS가 미지의/알려지지 않은 공격에 대해 최신의 이상 기반 IDS 방법과 비교하여 어떻게 성능을 내는가?
- RQ4임계치 설계(tau_min, tau_max, thr_AE)가 탐지 성능과 ROC 특성에 미치는 영향은 무엇인가?
주요 결과
- AutoIDS는 KDDTrain+에서 학습하고 KDDTest+에서 테스트했을 때 NSL-KDD에서 90.17% 정확도를 달성하여 여러 최신 이상 기반 방법을 능가합니다.
- AutoIDS는 정상 데이터만으로 학습하는 비교에서 NSL-KDD의 보지 못한 공격에 대해 일반화 성능이 일부 감독 학습 방법보다 우수합니다.
- Ablation 연구에 따르면 두 탐지기 캐스케이드(D1의 희소성, D2의 재구성 오차)가 단독 탐지기보다 더 높은 정확도, 재현율, F-점수를 제공합니다.
- 캐스케이드는 런타임을 줄입니다: 들어오는 흐름당 평균 테스트 시간은 AutoIDS(D1S→D2R)에서 137 μs이고, D2R은 195 μs, D1R은 202 μs입니다.
- thr_AE의 ROC 기반 임계치 선택은 재현율과 위양성 간 트레이드를 최적화하여 강력한 이상 탐지에 기여합니다.
- AutoIDS는 대부분의 샘플을 빠른 D1 단계에서 처리하고, 정확하지만 비용이 더 큰 D2 단계는 어려운 케이스에 보류함으로써 이익을 얻습니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.