Back to search

Monterey, CA; Naval Postgraduate School

RED TEAM LOG ANALYSIS: TOOLS FOR ENHANCING CYBER SECURITY OPERATIONS AND ANALYSIS

Abstract

dc:description.abstract

Red team exercises are vital for testing and improving cybersecurity defenses; however, the large volume of log data they generate is challenging to analyze and often underutilized. This thesis introduces a machine learning pipeline for the automated analysis of Cobalt Strike red team logs, aiming to turn raw log data into structured insights. A major challenge is the lack of labeled training data, which makes it difficult to train models directly on real logs. To overcome this, the research uses a hybrid synthetic data approach where a programmatic generator creates large amounts of structured, labeled logs, while large language models add variety and edge cases. These synthetic logs are combined with a smaller set of real, manually labeled logs to create training and testing datasets. The pipeline parses logs, links events to MITRE ATT&CK techniques, and uses Random Forests to classify operation outcomes. Results indicate that models trained solely on real data reach a baseline accuracy of 79%, while integrating synthetic and real logs boosts accuracy to 94%. This demonstrates that programmatic generation provides scalability, LLMs introduce diversity, and real logs ground the model in authentic patterns. The approach also paves the way for future work in operator profiling through multi-class classification, as well as exploring other generative models like autoencoders and generative adversarial networks and applying the hybrid method to other fields with limited data.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department dc:contributor.department
Computer Science (CS)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Mohr, Nickolas S.
Advisors dc:contributor.advisor
  • Shaffer, Alan B.
  • Singh, Gurminder
  • Barton, Armon C.

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Distribution Statement A. Approved for public release: Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
368, Computer Science
Thesis Thesis Identifier
41003

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Mohr, Nickolas S.. RED TEAM LOG ANALYSIS: TOOLS FOR ENHANCING CYBER SECURITY OPERATIONS AND ANALYSIS. Masters thesis, Monterey, CA; Naval Postgraduate School, 2025. https://hdl.handle.net/10945/74712