# Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning

심층 강화학습을 이용한 지능형 지속 위협(APT) 귀속 분석

Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · arXiv · 2024년 10월 15일

- **연구 문제** APT 악성코드는 장기적이고 은닉된 활동 때문에 행위 데이터만으로 집단을 귀속하기 어렵습니다. 본 연구는 샌드박스 행위 데이터를 이용한 심층 강화학습 기반 귀속을 검토합니다.
- **연구 방법** Cuckoo Sandbox와 VirusTotal 보고서에서 얻은 행위 특징을 상태로, 다른 샘플 분석으로의 전환을 행동으로, 귀속 정확도를 보상으로 정의하는 MDP 기반 DQN 에이전트를 사용합니다.
- **주요 결과** 12개 APT 집단, 3,500여 개 샘플의 데이터셋에서 DRL 모델은 테스트 정확도 89.27%를 보고했으며, 같은 설정의 SGD, SVC, KNN, MLP, Decision Tree Classifier보다 높았습니다.

## APT 악성코드 귀속의 어려움

고도 지속 위협(APT)은 장기간 숨어서 활동하며, 악성코드 행위의 복잡성과 은닉 기법 때문에 어느 집단이 공격했는지 귀속하기가 어렵습니다. 난독화와 프록시 경유 같은 기법은 공격의 출처를 흐리며, 전문성과 여러 분야의 협력이 필요합니다. 본 연구는 이런 상황에서 샌드박스 행위 데이터를 이용해 악성코드를 APT 집단에 귀속하는 문제를 다룹니다.

기존 머신러닝 접근은 많은 경우 수작업 특징 설계와 정적 특징에 의존하며, 서로 다른 계열의 악성코드에 대한 일반화가 제한적이라고 선행 연구들이 지적합니다. 본 논문은 이 한계를 넘기 위해 심층 강화학습(DRL)을 귀속 문제에 적용하는 것을 목표로 합니다.

## DRL 귀속 모델의 구성

본 연구는 악성코드 샘플을 MDP 틀에서 다룹니다. 상태는 샌드박스 보고서에서 얻은 행위 특징으로 정의되고, 행동은 현재 샘플에서 다른 샘플의 분석으로 전환하며 APT 집단을 선택하는 행위입니다. 보상은 귀속이 맞을 때 +1, 틀릴 때 0으로 주어집니다.

![Figure 1: System workflow for the proposed APT Attribution Model](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-f10ec2091982dd0506e00e171bef75dd.png?thumb=512)

**Fig. 1** : System workflow for the proposed APT Attribution Model

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

에이전트의 Q-네트워크는 정책 네트워크와 타깃 네트워크로 구성된 다층 퍼셉트론이며, 은닉층에는 Leaky ReLU를 사용합니다. 출력층에는 MinMaxScaler를 적용해 집단별 분류 확률을 0과 1 사이로 맞춥니다. 학습에는 재생 메모리와 epsilon-greedy 전략이 쓰이며, 저자들은 이를 탐색과 활용의 균형을 맞추는 장치로 설명합니다.

![Figure 2: DRL Model design for APT Attribution](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-567536bcf9fbc2a8627c26f5e643cee4.png?thumb=512)

**Fig. 2** : DRL Model design for APT Attribution

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![TABLE IV: Experimental Setup for the DQN model](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-676168827ec92f098cc76c54fd1f3d54.png?thumb=512)

**원문 그림** TABLE IV: Experimental Setup for the DQN model

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 데이터 수집과 전처리

데이터는 Cuckoo Sandbox의 행위 보고서와 VirusTotal의 파일·행위 보고서에서 얻습니다. Cuckoo는 의심 파일을 격리 환경에서 실행하여 API 호출, 네트워크 트래픽, 파일 시스템 변화를 기록하고, VirusTotal은 SHA-256 해시로 탐지 결과와 행위 요약을 조회합니다.

수집한 데이터는 정리·병합되고, 범주형 변수는 정수 코드로 바뀌며, 학습 데이터의 클래스 불균형은 SMOTE로 완화됩니다. 이후 MinMaxScaler로 특징 범위를 맞춥니다. 사용한 데이터셋은 12개 APT 집단의 3,500여 개 샘플이며, 집단별 샘플 수는 32개에서 961개까지 차이가 납니다.

![TABLE III: APT Malware Dataset Distribution \[40\]](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-139fea6031627166b0d9c51e55a1b4e2.png?thumb=512)

**원문 그림** TABLE III: APT Malware Dataset Distribution \[40\]

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 테스트 정확도와 비교 모델

학습된 정책 네트워크는 검증 데이터로 구성한 테스트 환경에서 평가됩니다. 테스트 정확도는 초기 평가 step 500의 19.30%에서 최종 step 20000의 89.27%까지 증가했다고 보고됩니다. 평균 지표는 accuracy 89%, precision 87%, recall 85%, F1-score 86%입니다.

![TABLE V: Performance Metrics for the APT Attribution Model on the Test Dataset](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-1525451ebc890d8b27f11af1d232c108.png?thumb=512)

**원문 그림** TABLE V: Performance Metrics for the APT Attribution Model on the Test Dataset

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

![Figure 5: Accuracy of the DRL Model for APT Attribution on Test Data](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-0937cbd3c2a45e0a3acc6c2cb1a5cff7.png?thumb=512)

**Fig. 5** : Accuracy of the DRL Model for APT Attribution on Test Data

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

같은 데이터셋에서 SGD, SVC, KNN, MLP, Decision Tree Classifier를 비교했을 때, DRL 모델의 테스트 정확도 89.27%가 가장 높았고 다음 순위는 Decision Tree Classifier의 82.64%였습니다. 이 비교는 본 논문의 데이터셋과 설정에서 얻은 결과입니다.

![TABLE VI: Comparison of test accuracy across different models, including the proposed DRL model](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-a1fcc513c49a1e7ec09dd92c32036df9.png?thumb=512)

**원문 그림** TABLE VI: Comparison of test accuracy across different models, including the proposed DRL model

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 학습 추이와 APT 집단별 결과

학습 중 정확도는 초기 약 7%에서 73% 이상으로 개선되었고, 학습 종료 시점에는 약 98%에 도달했다고 보고됩니다. 이는 학습 데이터에 대한 결과이며 테스트 정확도 89.27%와 구분해야 합니다.

![Figure 3: Accuracy of the DRL Model for APT Attribution on Training Data](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-b96a6c5f07daeb8c38b926ec7734289e.png?thumb=512)

**Fig. 3** : Accuracy of the DRL Model for APT Attribution on Training Data

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

집단별로는 Equation Group에서 precision, recall, F1 점수가 모두 완벽하게 나타났고, APT 21은 recall 93.44%로 상대적으로 낮았습니다. 테스트 데이터에서는 APT 19와 Equation Group의 F1 점수가 각각 95.8%, 99.1%였고, APT 28은 precision 62.4%, F1 68.1%로 어려움을 보였습니다.

![Figure 6: Precision, Recall and F1 Score of the DRL Model for APT Attribution on each of the APT group in the Testing Data](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53/figures/figure-f81480179a365cf11ae0d5f12fa234d7.png?thumb=512)

**Fig. 6** : Precision, Recall and F1 Score of the DRL Model for APT Attribution on each of the APT group in the Testing Data

[원문](https://arxiv.org/abs/2410.11463v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz · Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 계산 부담과 데이터 의존성

저자들은 DRL 모델이 대용량 데이터와 복잡한 계산을 처리하기 위해 많은 처리 능력과 메모리를 요구한다고 밝힙니다. 또한 모델 성능은 고품질이고 다양한 학습 데이터의 가용성에 크게 의존하므로, 데이터가 희소하거나 민감한 사이버보안 환경에서는 학습 범위가 제한될 수 있습니다.

본 연구의 테스트 결과는 특정 데이터셋과 설정에서 얻은 것이며, 다른 악성코드 계열이나 실제 운영 환경에서의 일반화는 이 논문의 결과만으로 확인되지 않습니다.

## 논문 정보

- **저자**: Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 10월 15일
- **등록일**: 2026년 11월 6일
- **수정일**: 2025년 1월 7일
- **버전**: v2
- **arXiv**: 2410.11463
- **DOI**: 10.1145/3736654
- **분류**: cs.CR · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2410.11463v2) · [원문 PDF ↗](https://arxiv.org/pdf/2410.11463v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

The development of the DRL model for malware attribution involved extensive research, iterative coding, and numerous adjustments based on the insights gathered from predecessor models and contemporary research papers. This preparatory work was essential to establish a robust foundation for the model, ensuring it could adapt and respond effectively to the dynamic nature of malware threats. Initially, the model struggled with low accuracy levels, but through persistent adjustments to its architecture and learning algorithms, accuracy improved dramatically from about 7 percent to over 73 percent in early iterations. By the end of the training, the model consistently reached accuracy levels near 98 percent, demonstrating its strong capability to accurately recognise and attribute malware activities. This upward trajectory in training accuracy is graphically represented in the Figure, which vividly illustrates the model maturation and increasing proficiency over time.

## 원문 인용

Animesh Singh Basnet, Mohamed Chahine Ghanem, Dipo Dunsin, Wiktor Sowinski-Mydlarz (2024). Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning. arXiv:2410.11463v2. https://doi.org/10.1145/3736654

**BibTeX**

```
@article{basnet2024advanced,
  title = {{Advanced Persistent Threats (APT) Attribution Using Deep Reinforcement Learning}},
  author = {Animesh Singh Basnet and Mohamed Chahine Ghanem and Dipo Dunsin and Wiktor Sowinski-Mydlarz},
  year = {2024},
  eprint = {2410.11463},
  archivePrefix = {arXiv},
  doi = {10.1145/3736654},
  url = {https://arxiv.org/abs/2410.11463v2}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [Stochastic Gradient Descent](https://refivu.com/terms/a49650824022-stochastic-gradient-descent)
- [recall](https://refivu.com/terms/3774987267f3-recall)
- [Markov Decision Process](https://refivu.com/terms/5d622f56f22a-markov-decision-process)
- [Precision](https://refivu.com/terms/29bee1303774-precision)
- [F1 score](https://refivu.com/terms/220c2aa29a7c-f1-score)
- [Markov Decision Process (MDP)](https://refivu.com/terms/923fac94c108-markov-decision-process-mdp)
- [multi-layer perceptron](https://refivu.com/terms/835dd4f24c91-multi-layer-perceptron)
- [Deep Q-Network (DQN)](https://refivu.com/terms/df5d1042fd66-deep-q-network-dqn)
- [Deep Reinforcement Learning (DRL)](https://refivu.com/terms/c2796b81659a-deep-reinforcement-learning-drl)
- [Leaky ReLU](https://refivu.com/terms/b905994d0407-leaky-relu)
- [SMOTE](https://refivu.com/terms/cbea1cf5e13b-smote)
- [k-nearest neighbors](https://refivu.com/terms/20f336308226-k-nearest-neighbors)
- [Q-network](https://refivu.com/terms/b703cf48abc4-q-network)
- [policy network](https://refivu.com/terms/7356d64680b7-policy-network)
- [Decision Tree Classifier](https://refivu.com/terms/d73623db060e-decision-tree-classifier)
- [Gymnasium](https://refivu.com/terms/df95af502368-gymnasium)
- [Stable Baselines 3](https://refivu.com/terms/5411177bd7b8-stable-baselines-3)
- [Support Vector Classifier](https://refivu.com/terms/8c0dc3a35e1f-support-vector-classifier)

## 다른 논문 해설

- [Deep Reinforcement Learning for Wireless Scheduling in Distributed Networked Control](https://refivu.com/papers/b1a3fab3-cece-468c-a9a5-a180d7b91b85-deep-reinforcement-learning-for-wireless-scheduling-in.md)
- [Path Planning and Reinforcement Learning-Driven Control of On-Orbit Free-Flying Multi-Arm Robots](https://refivu.com/papers/ae3773b2-4bab-4659-852c-de5c4b3a98a6-path-planning-and-reinforcement-learning-driven-control-of.md)
- [Proximal Reinforcement Learning: Efficient Off-Policy Evaluation in Partially Observed Markov Decision Processes](https://refivu.com/papers/30b31dc4-b16b-4fb2-903a-82c2b5cc4c88-proximal-reinforcement-learning-efficient-off-policy.md)
- [Enhanced method for reinforcement learning based dynamic obstacle avoidance by assessment of collision risk](https://refivu.com/papers/05edb2eb-271e-4bc5-b977-a68ad4b558b4-enhanced-method-for-reinforcement-learning-based-dynamic.md)
- [Fast and reliable entanglement distribution with quantum repeaters: principles for improving protocols using reinforcement learning](https://refivu.com/papers/6b9a58ad-13ec-4f29-8e5c-99cc8482ae11-fast-and-reliable-entanglement-distribution-with-quantum.md)
- [Trajectory Planning with Deep Reinforcement Learning in High-Level Action Spaces](https://refivu.com/papers/1e10f178-b947-4603-b813-00f8bb93e5cd-trajectory-planning-with-deep-reinforcement-learning-in-high.md)
- [Evaluating Diverse Large Language Models for Automatic and General Bug Reproduction](https://refivu.com/papers/60ae8b11-9278-42c3-9ffd-bede52e2976c-evaluating-diverse-large-language-models-for-automatic-and.md)
- [A Novel Monte-Carlo Compressed Sensing and Dictionary Learning Method for the Efficient Path Planning of Remote Sensing Robots](https://refivu.com/papers/ee7c442a-0436-40bb-900f-7849fad1f412-a-novel-monte-carlo-compressed-sensing-and-dictionary.md)
- [Ontology-driven weak supervision for clinical entity classification in electronic health records](https://refivu.com/papers/0132304f-d402-464d-afe2-8959dcfa2b3f-ontology-driven-weak-supervision-for-clinical-entity.md)
- [Automatic self-contained calibration of an industrial dual-arm robot with cameras using self-contact, planar constraints, and self-observation](https://refivu.com/papers/12e3f5fd-a651-483a-ae11-46672b4a0c3d-automatic-self-contained-calibration-of-an-industrial-dual.md)
- [Mining experimental data from Materials Science literature with Large Language Models: an evaluation study](https://refivu.com/papers/9b547eac-9960-4f0c-9d64-f86b0a2887ab-mining-experimental-data-from-materials-science-literature.md)
- [On the Parameterized Complexity of Motion Planning for Rectangular Robots](https://refivu.com/papers/e5902bad-85cd-44cc-a1f2-5b4766ae8e44-on-the-parameterized-complexity-of-motion-planning-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f0870a88-9b71-42fb-8c17-44ed53551b53-advanced-persistent-threats-apt-attribution-using-deep)
