The PAMCET Learning Team is the institutional curriculum and content group behind course publishing on this platform. PAMCET (Professional and Academic Management Centre for Education and Training) is operated by Digitpen Hub Ltd, a company registered in Lagos, Nigeria. Courses credited to the PAMCET Learning Team are structured, organized, and published centrally by the platform rather than authored by a single named individual instructor — each course's syllabus, learning outcomes, and content are reviewed before publication under this institutional account. For questions about a specific course or to report a content issue, please use the platform's Help & Support or Contact Us pages.
CYS 212: Security Scripting & Automation with Python & Bash
Practical software development for cybersecurity automation, threat telemetry harvesting, security tool integration, and incident triage using Python and Bash. Covers advanced Bash scripting: pipes, redirects, sed, awk, xargs, robust error handling (...
Course Overview
Practical software development for cybersecurity automation, threat telemetry harvesting, security tool integration, and incident triage using Python and Bash. Covers advanced Bash scripting: pipes, redirects, sed, awk, xargs, robust error handling (... Curriculum Structure &...
What You'll Learn
- Develop robust, production-grade Bash automation scripts adhering to defensive error-handling conventions.
- Parse, filter, and extract high-volume log data using Unix text-processing utilities (sed, awk, grep, jq).
- Craft, transmit, and sniff custom network packets (TCP, UDP, ICMP, DNS) using the Python Scapy framework.
- Construct automated Python scripts that query security APIs (VirusTotal, AbuseIPDB) to enrich Indicators of Compromise (IOCs).
- Implement multi-threaded Python automation scripts to audit system configurations and generate security reports.
Requirements
- CYS 107
- CYS 203
Degree Programme Curriculum Context
This course is a curriculum unit of the B.Sc. Cyber Security degree framework in Nigeria.
Earn Your Certificate
Showcase your skills with a certificate! Complete the course, submit your project, and earn your certificate. Here's a sample of what you'll receive to show off your accomplishments.

Course Curriculum
Browse complete theoretical foundations, worked calculations, laboratory protocols, and board assessment questions under each topic.
Lecture 1: Defensive Bash Conventions: set -euo pipefail, Trap Signals, Variable Quoting, and Exit Status Validation
CYS 212 • Chapter 1 • Lecture 1 CCMAS: CCMAS-CYS-212 Defensive Bash Conventions: set -euo pipefail, Trap Signals, Variable Quoting, and Exit Status Validation Module: Advanced Bash Scripting, Defensive Shell Programming & Pipelines • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Stu...
Lecture 2: Shell Automation: Command Substitution, Arrays, Associative Arrays, and Writing Modular Shell Functions
CYS 212 • Chapter 1 • Lecture 2 CCMAS: CCMAS-CYS-212 Shell Automation: Command Substitution, Arrays, Associative Arrays, and Writing Modular Shell Functions Module: Advanced Bash Scripting, Defensive Shell Programming & Pipelines • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction St...
Formative Assessment: Advanced Bash Scripting, Defensive Shell Programming & Pipelines
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Advanced Bash Scripting, Defensive Shell Programming & Pipelines.
Lecture 1: sed Stream Editor: Regular Expression Substitution, Address Ranges, and In-Place File Modification
CYS 212 • Chapter 2 • Lecture 1 CCMAS: CCMAS-CYS-212 sed Stream Editor: Regular Expression Substitution, Address Ranges, and In-Place File Modification Module: Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Ti...
Lecture 2: awk Programming Language: Pattern-Action Syntax, Built-in Variables (NR, NF, FS), and Aggregating Web Log Metrics
CYS 212 • Chapter 2 • Lecture 2 CCMAS: CCMAS-CYS-212 awk Programming Language: Pattern-Action Syntax, Built-in Variables (NR, NF, FS), and Aggregating Web Log Metrics Module: Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Con...
Formative Assessment: Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis.
Lecture 1: Parsing Modern Telemetry: jq Command-Line JSON Processor for CloudTrail and Suricata EVE.json Logs
CYS 212 • Chapter 3 • Lecture 1 CCMAS: CCMAS-CYS-212 Parsing Modern Telemetry: jq Command-Line JSON Processor for CloudTrail and Suricata EVE.json Logs Module: Automating System Administration, Cron Jobs & Security Baselines • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time...
Lecture 2: Automated Task Scheduling: crontab Security, Anacron, and systemd Timer Units for Scheduled Log Auditing
CYS 212 • Chapter 3 • Lecture 2 CCMAS: CCMAS-CYS-212 Automated Task Scheduling: crontab Security, Anacron, and systemd Timer Units for Scheduled Log Auditing Module: Automating System Administration, Cron Jobs & Security Baselines • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction S...
Formative Assessment: Automating System Administration, Cron Jobs & Security Baselines
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Automating System Administration, Cron Jobs & Security Baselines.
Lecture 1: Python Scapy Architecture: Packet Layers (IP/TCP/Raw), Packet Instantiation, and Operator Overloading (/) Protocol Stacking
CYS 212 • Chapter 4 • Lecture 1 CCMAS: CCMAS-CYS-212 Python Scapy Architecture: Packet Layers (IP/TCP/Raw), Packet Instantiation, and Operator Overloading (/) Protocol Stacking Module: Python Networking & Low-Level Packet Manipulation with Scapy • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Co...
Lecture 2: Custom Packet Crafting with Scapy: Generating SYN Packets, ICMP Echo Requests, and Analyzing Response Flags
CYS 212 • Chapter 4 • Lecture 2 CCMAS: CCMAS-CYS-212 Custom Packet Crafting with Scapy: Generating SYN Packets, ICMP Echo Requests, and Analyzing Response Flags Module: Python Networking & Low-Level Packet Manipulation with Scapy • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction St...
Formative Assessment: Python Networking & Low-Level Packet Manipulation with Scapy
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Python Networking & Low-Level Packet Manipulation with Scapy.
Lecture 1: Sniffing and Filtering with Scapy: BPF Filters, Prn Callback Functions, and Extracting Cleartext Credentials in Labs
CYS 212 • Chapter 5 • Lecture 1 CCMAS: CCMAS-CYS-212 Sniffing and Filtering with Scapy: BPF Filters, Prn Callback Functions, and Extracting Cleartext Credentials in Labs Module: Interacting with Security REST APIs & Threat Intelligence Automation • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software C...
Lecture 2: Automating HTTP with requests: Custom Headers, Session Persistence, Proxy Routing, and SSL Certificate Verification
CYS 212 • Chapter 5 • Lecture 2 CCMAS: CCMAS-CYS-212 Automating HTTP with requests: Custom Headers, Session Persistence, Proxy Routing, and SSL Certificate Verification Module: Interacting with Security REST APIs & Threat Intelligence Automation • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software...
Formative Assessment: Interacting with Security REST APIs & Threat Intelligence Automation
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Interacting with Security REST APIs & Threat Intelligence Automation.
Lecture 1: Threat Intelligence Enrichment: Querying VirusTotal, Shodan, and AbuseIPDB APIs with Rate-Limiting Logic
CYS 212 • Chapter 6 • Lecture 1 CCMAS: CCMAS-CYS-212 Threat Intelligence Enrichment: Querying VirusTotal, Shodan, and AbuseIPDB APIs with Rate-Limiting Logic Module: Automated SSH Orchestration & Configuration Auditing via Paramiko • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Stu...
Lecture 2: Remote Fleet Auditing with Paramiko: SSH Key Authentication, Executing Remote Audit Commands, and SFTP Log Retrieval
CYS 212 • Chapter 6 • Lecture 2 CCMAS: CCMAS-CYS-212 Remote Fleet Auditing with Paramiko: SSH Key Authentication, Executing Remote Audit Commands, and SFTP Log Retrieval Module: Automated SSH Orchestration & Configuration Auditing via Paramiko • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software C...
Formative Assessment: Automated SSH Orchestration & Configuration Auditing via Paramiko
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Automated SSH Orchestration & Configuration Auditing via Paramiko.
Lecture 1: Concurrency Models in Python: Global Interpreter Lock (GIL), ThreadPoolExecutor for I/O Bound Tasks, and ProcessPoolExecutor for CPU Bound Tasks
CYS 212 • Chapter 7 • Lecture 1 CCMAS: CCMAS-CYS-212 Concurrency Models in Python: Global Interpreter Lock (GIL), ThreadPoolExecutor for I/O Bound Tasks, and ProcessPoolExecutor for CPU Bound Tasks Module: High-Performance Concurrency: Threading, Multiprocessing & AsyncIO • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread...
Lecture 2: Asynchronous Programming with asyncio and aiohttp for Wire-Speed Security Endpoint Probing
CYS 212 • Chapter 7 • Lecture 2 CCMAS: CCMAS-CYS-212 Asynchronous Programming with asyncio and aiohttp for Wire-Speed Security Endpoint Probing Module: High-Performance Concurrency: Threading, Multiprocessing & AsyncIO • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 4...
Formative Assessment: High-Performance Concurrency: Threading, Multiprocessing & AsyncIO
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for High-Performance Concurrency: Threading, Multiprocessing & AsyncIO.
Lecture 1: Structuring Security CLI Tools: argparse, Click, Colorama, and Logging Modules for Professional Utility Delivery
CYS 212 • Chapter 8 • Lecture 1 CCMAS: CCMAS-CYS-212 Structuring Security CLI Tools: argparse, Click, Colorama, and Logging Modules for Professional Utility Delivery Module: Building End-to-End Incident Triage & Automated Reporting Pipelines • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Constr...
Lecture 2: End-to-End SOC Automation Case Study: Parsing Failed Logins, IP Reputation Lookup, Slack/Webhook Alerting, and Firewall Blocking
CYS 212 • Chapter 8 • Lecture 2 CCMAS: CCMAS-CYS-212 End-to-End SOC Automation Case Study: Parsing Failed Logins, IP Reputation Lookup, Slack/Webhook Alerting, and Firewall Blocking Module: Building End-to-End Incident Triage & Automated Reporting Pipelines • Worked Technical Scenarios & Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Programmin...
Formative Assessment: Building End-to-End Incident Triage & Automated Reporting Pipelines
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Building End-to-End Incident Triage & Automated Reporting Pipelines.
Academic Ecosystem & Connected Pathways
Deepen your studies across connected learning pathways in the PAMCET academic network:
Instructor
PAMCET Learning Team
Institutional Course Curation · PAMCET
Qualifications:
PAMCET Learning Team — Institutional Course Curation, Digitpen Hub LtdMy Skills:
- Curriculum Curation
- Course Content Review
- Learning Outcome Design
- Course Publishing & Quality Assurance
- Platform Content Operations
Reviews
Course Includes
Download Syllabus & Study Guide
Receive the full lecture syllabus, reading list, and milestone schedule for CYS 212: Security Scripting & Automation with Python & Bash.
By submitting, you agree to receive educational updates. You can unsubscribe anytime. Read our Privacy Policy.

