Generative AI for Cybersecurity: ChatGPT & Codex
Learn how to use Generative AI, ChatGPT, and Codex to analyze vulnerabilities, investigate security events, respond to incidents, and improve secure code.
Welcome to “Generative AI for Cybersecurity: ChatGPT & Codex” – a practical, hands-on course for cybersecurity professionals, developers, QA engineers, and IT specialists who want to understand how AI can support modern security workflows.
In this course, you’ll discover how ChatGPT and Codex can assist with vulnerability analysis, security log investigation, threat detection, incident response, secure code review, security testing, and automation.
Instead of working only with theory, you will use BookStay, a realistic security training application with users, bookings, APIs, security logs, alerts, incidents, detection rules, and controlled attack simulations.
No unnecessary theory overload – the focus is on realistic security scenarios, practical prompts, code analysis, and hands-on workflows that you can reuse in your own work.
What You’ll Learn
How Generative AI can support SOC, AppSec, and Incident Response teams
How to use ChatGPT and Codex effectively in cybersecurity workflows
How to perform AI-assisted vulnerability analysis
How to identify Broken Access Control, IDOR, Mass Assignment, and sensitive data exposure
How to analyze security logs and suspicious authentication activity
How to detect brute-force attempts, booking enumeration, and unauthorized access patterns
How to classify and prioritize security alerts
How to extract Indicators of Compromise and prepare investigation summaries
How to investigate a simulated account takeover incident
How to determine incident scope and business impact
How to prepare containment, remediation, and root cause analysis
How to create a professional post-incident report with AI assistance
How to generate security log analysis scripts with Codex
How to create AI-assisted detection rules
How to perform secure code reviews and generate security regression tests
How to refactor insecure code and validate security fixes
How to protect sensitive data when working with AI
How to recognize AI hallucinations, prompt injection, and AI-agent risks
How to apply Human-in-the-Loop principles in cybersecurity
Hands-On BookStay Security Lab
Throughout the course, you will work with the BookStay Security Lab, where you will:
Analyze vulnerable API endpoints
Investigate authentication and authorization problems
Generate controlled security events
Analyze logs with ChatGPT
Investigate alerts and incidents
Simulate an account takeover
Perform root cause analysis
Create containment and remediation plans
Build detection rules
Generate security tests with Codex
Refactor insecure code
Validate security fixes
Practical Exercises
The course also includes practical exercises where you will apply the techniques independently.
You will analyze security evidence, work with suspicious activity, review code, and make decisions based on the available data.
You will also complete an AI Security Analyst role-play, where you investigate a suspected account takeover and prepare a concise security briefing.
At the end of the course, you will complete a theoretical final exam to verify your understanding of the most important concepts.
Who This Course Is For
Cybersecurity professionals who want to use Generative AI in daily security work
SOC analysts interested in AI-assisted log and alert analysis
AppSec engineers and developers performing secure code reviews
QA and automation engineers interested in security testing
Incident Response professionals who want to improve investigation workflows
IT professionals interested in practical AI applications in cybersecurity
Beginners who want to understand how ChatGPT and Codex can support security work
No previous experience with Generative AI is required. Basic knowledge of software, APIs, or cybersecurity concepts will be helpful.
Why Take This Course
Focus on practical cybersecurity use cases
Hands-on work with ChatGPT and Codex
Realistic BookStay Security Lab
Vulnerability analysis, logs, alerts, incidents, and code review in one course
Practical security automation and testing
Strong focus on human validation and responsible AI use
Realistic workflows instead of purely theoretical examples
Start Learning Today
Learn how to combine cybersecurity knowledge with the capabilities of modern Generative AI.
Use ChatGPT and Codex to analyze faster, investigate more effectively, review code, automate repetitive tasks, and support better security decisions.
