{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/74712"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/74712","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"RED TEAM LOG ANALYSIS: TOOLS FOR ENHANCING CYBER SECURITY OPERATIONS AND ANALYSIS","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.","abstract_html":"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&amp;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.","abstract_has_math":false,"creators":["Mohr, Nickolas S."],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master of Science in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science (CS)","school":null,"contributors":[],"advisors":["Shaffer, Alan B.","Singh, Gurminder","Barton, Armon C."],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-09","date_published":"2025-09","updated_at":"2026-11-19T06:43:09Z","subjects":[],"languages":[],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"],"render_values":[{"text":"368, Computer Science","href":null,"code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41003"],"render_values":[{"text":"41003","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/74712","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/74712","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F74712","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F74712","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Shaffer, Alan B.","Singh, Gurminder","Barton, Armon C."]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science (CS)"]},{"key":"dc:creator","label":"Author","values":["Mohr, Nickolas S."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-03-05T17:50:56Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-03-05T17:50:56Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-09"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["NPS Outstanding Theses and Dissertations"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["67864e54-711d-4c0a-a6d4-439a011f2bd1"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["c5e66392-520c-4aaf-9b4f-370ce82b601f"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41003"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["cybersecurity","red team","log analysis","machine learning","automation","real-time feedback","vulnerability assessment","data parsing","attack strategies","LLM","large language model","ML"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/74712"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.award","label":"Dc Description Award","values":["Outstanding Thesis"]},{"key":"dc:title","label":"Title","values":["RED TEAM LOG ANALYSIS: TOOLS FOR ENHANCING CYBER SECURITY OPERATIONS AND ANALYSIS"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Major, United States Marine Corps"]}]}],"canonical_facts":{"dc:contributor.advisor":["Shaffer, Alan B.","Singh, Gurminder","Barton, Armon C."],"dc:contributor.department":["Computer Science (CS)"],"dc:creator":["Mohr, Nickolas S."],"dc:date.accessioned":["2026-03-05T17:50:56Z"],"dc:date.available":["2026-03-05T17:50:56Z"],"dc:date.issued":["2025-09"],"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."],"dc:description.award":["Outstanding Thesis"],"dc:identifier.programcode":["368, Computer Science"],"dc:identifier.uri":["https://hdl.handle.net/10945/74712"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.ispartofseries":["NPS Outstanding Theses and Dissertations"],"dc:relation.orgunit":["67864e54-711d-4c0a-a6d4-439a011f2bd1"],"dc:relation.seriesentity":["c5e66392-520c-4aaf-9b4f-370ce82b601f"],"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."],"dc:subject.keyword":["cybersecurity","red team","log analysis","machine learning","automation","real-time feedback","vulnerability assessment","data parsing","attack strategies","LLM","large language model","ML"],"dc:title":["RED TEAM LOG ANALYSIS: TOOLS FOR ENHANCING CYBER SECURITY OPERATIONS AND ANALYSIS"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Major, United States Marine Corps"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"],"thesis:thesis_identifier":["41003"]},"updated_at":"2026-11-19T06:43:09Z"}