{"id":{"repo_id":"queens","oai_identifier":"oai:queensu.scholaris.ca:1974/34317"},"canonical_url":"https://search.ndltd.org/etd/queens/oai:queensu.scholaris.ca:1974/34317","repository":{"repo_id":"queens","name":"Queens University","base_url":"https://qspace.library.queensu.ca/server/oai/request"},"display":{"title":"Pioneering Autonomous Penetration Testing with Large Language Models through Prompt Engineering and Agentic System Design","abstract":"Autonomous Cyber Operations(ACO) aims to solve the ongoing cyber defense challenges caused by the prevalent cybersecurity talent shortage. Designing structured prompts with agentic systems can effectively direct Large Language Models(LLMs) behavior to navigate the attack through complex, multiphase operations without human oversight, leading to a fully autonomous cyber penetration testing and continuous cybersecurity posture monitoring. Current approaches to automated cyber-attacks lack the flexibility and adaptability to navigate the complex attack phases. Research in ACO has explored Artificial Intelligence(AI)-driven solutions, but integration of LLMs and prompt engineering strategies into these systems do not exist to date. This thesis introduces a novel phase-driven prompting methodology, called PromptPilot, paired with techniques such as Chain of Thought(CoT), Tree of Thought(ToT), and ReAct, to guide LLMs through the Cyber Kill Chain. Real-time trials in the simulated environment Emulated Cybernetic Hostile Operations(E.C.H.O) confirmed the viability of these prompt-driven autonomous penetration testing through exploitation. These results highlight that this emerging approach is viable, efficient, and precise in task execution across the attack phases, toward developing ACO agents. This research establishes the first framework for AI-driven autonomous penetration testing, emphasizing prompt and agentic system design as a cornerstone in advancing automated offensive and defensive cybersecurity capabilities.","abstract_html":"Autonomous Cyber Operations(ACO) aims to solve the ongoing cyber defense challenges caused by the prevalent cybersecurity talent shortage. Designing structured prompts with agentic systems can effectively direct Large Language Models(LLMs) behavior to navigate the attack through complex, multiphase operations without human oversight, leading to a fully autonomous cyber penetration testing and continuous cybersecurity posture monitoring. Current approaches to automated cyber-attacks lack the flexibility and adaptability to navigate the complex attack phases. Research in ACO has explored Artificial Intelligence(AI)-driven solutions, but integration of LLMs and prompt engineering strategies into these systems do not exist to date. This thesis introduces a novel phase-driven prompting methodology, called PromptPilot, paired with techniques such as Chain of Thought(CoT), Tree of Thought(ToT), and ReAct, to guide LLMs through the Cyber Kill Chain. Real-time trials in the simulated environment Emulated Cybernetic Hostile Operations(E.C.H.O) confirmed the viability of these prompt-driven autonomous penetration testing through exploitation. These results highlight that this emerging approach is viable, efficient, and precise in task execution across the attack phases, toward developing ACO agents. This research establishes the first framework for AI-driven autonomous penetration testing, emphasizing prompt and agentic system design as a cornerstone in advancing automated offensive and defensive cybersecurity capabilities.","abstract_has_math":false,"creators":["Antar, Siam Shibly"],"institution":"Queen's University at Kingston","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computing","school":null,"contributors":[],"advisors":["Ding, Steven","Alaca, Furkan"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-01-31","date_published":"2025-01-31","updated_at":"2026-11-19T09:10:58Z","subjects":["Penetration Testing","Cybersecurity"],"languages":["eng"],"rights":["Attribution 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1974/34317","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1974/34317","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%3Aqueens%3Aoai%3Aqueensu.scholaris.ca%3A1974%2F34317","prefix":"oai_dc"},"source_record":{"url":"https://qspace.library.queensu.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aqueensu.scholaris.ca%3A1974%2F34317","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Computing"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Ding, Steven","Alaca, Furkan"]},{"key":"dc:creator","label":"Author","values":["Antar, Siam Shibly"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-01-31T19:28:51Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-01-31T19:28:51Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-01-31"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Canadian theses"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Queen's University at Kingston"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Penetration Testing","Cybersecurity"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Attribution 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1974/34317"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Autonomous Cyber Operations(ACO) aims to solve the ongoing cyber defense challenges caused by the prevalent cybersecurity talent shortage. Designing structured prompts with agentic systems can effectively direct Large Language Models(LLMs) behavior to navigate the attack through complex, multiphase operations without human oversight, leading to a fully autonomous cyber penetration testing and continuous cybersecurity posture monitoring. Current approaches to automated cyber-attacks lack the flexibility and adaptability to navigate the complex attack phases. Research in ACO has explored Artificial Intelligence(AI)-driven solutions, but integration of LLMs and prompt engineering strategies into these systems do not exist to date. This thesis introduces a novel phase-driven prompting methodology, called PromptPilot, paired with techniques such as Chain of Thought(CoT), Tree of Thought(ToT), and ReAct, to guide LLMs through the Cyber Kill Chain. Real-time trials in the simulated environment Emulated Cybernetic Hostile Operations(E.C.H.O) confirmed the viability of these prompt-driven autonomous penetration testing through exploitation. These results highlight that this emerging approach is viable, efficient, and precise in task execution across the attack phases, toward developing ACO agents. This research establishes the first framework for AI-driven autonomous penetration testing, emphasizing prompt and agentic system design as a cornerstone in advancing automated offensive and defensive cybersecurity capabilities."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["M.Sc."]},{"key":"dc:title","label":"Title","values":["Pioneering Autonomous Penetration Testing with Large Language Models through Prompt Engineering and Agentic System Design"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Computing"],"dc:contributor.supervisor":["Ding, Steven","Alaca, Furkan"],"dc:creator":["Antar, Siam Shibly"],"dc:date.accessioned":["2025-01-31T19:28:51Z"],"dc:date.available":["2025-01-31T19:28:51Z"],"dc:date.issued":["2025-01-31"],"dc:description.abstract":["Autonomous Cyber Operations(ACO) aims to solve the ongoing cyber defense challenges caused by the prevalent cybersecurity talent shortage. Designing structured prompts with agentic systems can effectively direct Large Language Models(LLMs) behavior to navigate the attack through complex, multiphase operations without human oversight, leading to a fully autonomous cyber penetration testing and continuous cybersecurity posture monitoring. Current approaches to automated cyber-attacks lack the flexibility and adaptability to navigate the complex attack phases. Research in ACO has explored Artificial Intelligence(AI)-driven solutions, but integration of LLMs and prompt engineering strategies into these systems do not exist to date. This thesis introduces a novel phase-driven prompting methodology, called PromptPilot, paired with techniques such as Chain of Thought(CoT), Tree of Thought(ToT), and ReAct, to guide LLMs through the Cyber Kill Chain. Real-time trials in the simulated environment Emulated Cybernetic Hostile Operations(E.C.H.O) confirmed the viability of these prompt-driven autonomous penetration testing through exploitation. These results highlight that this emerging approach is viable, efficient, and precise in task execution across the attack phases, toward developing ACO agents. This research establishes the first framework for AI-driven autonomous penetration testing, emphasizing prompt and agentic system design as a cornerstone in advancing automated offensive and defensive cybersecurity capabilities."],"dc:description.degree":["M.Sc."],"dc:identifier.uri":["https://hdl.handle.net/1974/34317"],"dc:language.iso":["eng"],"dc:relation.ispartofseries":["Canadian theses"],"dc:rights":["Attribution 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by/4.0/"],"dc:subject":["Penetration Testing","Cybersecurity"],"dc:title":["Pioneering Autonomous Penetration Testing with Large Language Models through Prompt Engineering and Agentic System Design"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:institution_name":["Queen's University at Kingston"]},"updated_at":"2026-11-19T09:10:58Z"}