1. Academy
  2. Security Operations (SOC)

Python for Cybersecurity

Learn Python by doing real SOC work: parse logs, write detection rules, handle evidence and build a brute-force detector. 12 chapters plus a final exam, with 50 live code labs.

Practitioner English and ArabicFreeVerifiable, with QR code
Enrol free Already a student? Sign in
Python for Cybersecurity

About this course

Level: Practitioner · for learners starting a technical path. No prior coding needed.

Start from zero and finish with a working detection tool. Every lesson is a mission from a junior analyst's shift in the SyberX Security Operations Centre.

  • 12 chapters, 38 missions, about 30 hours
  • 50 code labs that run real Python in your browser and check your work instantly
  • Security tips, field notes and checkpoints in every mission
  • Capstone: LogWatch, a tool that detects brute force, password spraying and likely compromise
  • Final exam: 30 questions, pass mark 70%

No experience needed. All data is synthetic and all addresses come from documentation ranges.

Course outline

  1. 1Chapter 1: Your Security Workbench
  2. 2Chapter 2: Security Data: Variables, Strings and Numbers
  3. 3Chapter 3: Lists: Watchlists and Blocklists
  4. 4Chapter 4: Decisions: Writing Detection Rules
  5. 5Chapter 5: Loops: Hunting Through Logs
  6. 6Chapter 6: Dictionaries: Correlating Events
  7. 7Chapter 7: Input and While Loops: Interactive Tools
  8. 8Chapter 8: Functions: Your Security Toolkit
  9. 9Chapter 9: Classes: Modelling Alerts, Accounts and Incidents
  10. 10Chapter 10: Files and Exceptions: Handling Evidence
  11. 11Chapter 11: Testing: Trust Your Tools
  12. 12Chapter 12: Capstone: Build LogWatch
  13. 13Final Exam