Skip to main content
B.Sc. DegreeFaculty of Faculty of Computing & Information TechnologyCyber Security

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 (...

Instructor
Created by PAMCET Learning Team
intermediate1 - 2 weeksEnglish

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-certificate
Lecture Board & Syllabus

Course Curriculum

Browse complete theoretical foundations, worked calculations, laboratory protocols, and board assessment questions under each topic.

Launch Course Reader →
8 Chapters
•
16 Lecture
•
12h
Subtopic 1Document LectureOpen Access~29 min read

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...

Module 1 • Subtopic 1•23,876 characters of authentic academic content
Subtopic 2Document Lecture

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...

Module 1 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Advanced Bash Scripting, Defensive Shell Programming & Pipelines

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Advanced Bash Scripting, Defensive Shell Programming & Pipelines.

Module 1 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 2 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 2 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Unix Text Processing Mastery: sed, awk, grep & jq for Log Analysis.

Module 2 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 3 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 3 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Automating System Administration, Cron Jobs & Security Baselines

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Automating System Administration, Cron Jobs & Security Baselines.

Module 3 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 4 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 4 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Python Networking & Low-Level Packet Manipulation with Scapy

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Python Networking & Low-Level Packet Manipulation with Scapy.

Module 4 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 5 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 5 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Interacting with Security REST APIs & Threat Intelligence Automation

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Interacting with Security REST APIs & Threat Intelligence Automation.

Module 5 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 6 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 6 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Automated SSH Orchestration & Configuration Auditing via Paramiko

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Automated SSH Orchestration & Configuration Auditing via Paramiko.

Module 6 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 7 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 7 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: High-Performance Concurrency: Threading, Multiprocessing & AsyncIO

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for High-Performance Concurrency: Threading, Multiprocessing & AsyncIO.

Module 7 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 8 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 8 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Building End-to-End Incident Triage & Automated Reporting Pipelines

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Building End-to-End Incident Triage & Automated Reporting Pipelines.

Module 8 • Formative Assessment

Instructor

PAMCET Learning Team

PAMCET Learning Team

Institutional Course Curation · PAMCET

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.

Qualifications:

PAMCET Learning Team — Institutional Course Curation, Digitpen Hub Ltd

My Skills:

  • Curriculum Curation
  • Course Content Review
  • Learning Outcome Design
  • Course Publishing & Quality Assurance
  • Platform Content Operations

Reviews

No reviews available
CYS 212: Security Scripting & Automation with Python & Bash
Free$24.99100% Off
Certificate available separately for $7 after completion

Course Includes

8 Chapters
16 Lectures
1 - 2 weeks
Skill Level intermediate
Taught in English
Lifetime Access
Certification of Completion
Category: University - Cyber Security
Share On

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.