Core Module Information
Module title: Scripting for Cybersecurity and Networks

SCQF level: 08:
SCQF credit value: 20.00
ECTS credit value: 10

Module code: CSN08414
Module leader: Petra Leimich
School School of Computing, Engineering and the Built Environment
Subject area group: Cyber Security and Systems Engineering
Prerequisites

Module Code SET07402
Examples of Equivalent Learning Good understanding of fundamental programming concepts

Description of module content:

The aim of the module is to deepen the students' understanding of fundamental programming concepts and introduce more advanced concepts for applications development. Throughout the module, the concepts will be contextualised through case studies relevant to the students' programmes of study, namely cybersecurity, digital forensics and networking. Additionally, the module integrates some fundamental aspects of mathematics, particularly discrete maths, which are important in Computing and Cybersecurity. Python is used throughout as this is a general purpose programming and scripting language which is used extensively in computer security and related fields.
The syllabus includes topics such as:
• Introduction to Python and Building Applications using a general purpose scripting language
• Functions, Modules, packages and libraries
• Coding and scripting techniques including Exception handling, Testing and Debugging
• Working with external data and applications (e.g. text files, databases, network traces)
• Algorithms, including examples such as searching and sorting
• Measuring the efficiency of algorithms - theoretically (Big-O) and practically (e.g. by timing code)
• Mathematical and stochastic concepts including permutations, sampling and randomness, and generation of random numbers and assessment of their suitability in cryptography

Example case studies:
• Encryption and Decryption using a simple algorithm such as Caesar cipher;
• Cracking passwords - brute force and dictionary attacks;
• Web reconnaissance – e.g. scraping email addresses and links from websites;
• Network traffic analysis – working with network logs to extract traffic patterns, mapping the geolocation of IP addresses.
• Comparison of the performance of several algorithms, e.g. spell-checking.



Learning Outcomes for module:

Upon completion of this module you will be able to
LO1: Design, implement and test substantial Python scripts to solve problems in Computer Security, Networking and Digital Forensics.
LO2: Employ good practice programming and scripting techniques to develop well-written modular code which is reusable, well documented and uses comprehensive error handling techniques.
LO3: Demonstrate the application of discrete mathematics concepts to problem solving in Computing.


Full Details of Teaching and Assessment
2023/4, Trimester 1, FACE-TO-FACE,
VIEW FULL DETAILS
Occurrence: 001
Primary mode of delivery: FACE-TO-FACE
Location of delivery: MERCHISTON
Partner:
Member of staff responsible for delivering module: Petra Leimich
Module Organiser:


Student Activity (Notional Equivalent Study Hours (NESH))
Mode of activityLearning & Teaching ActivityNESH (Study Hours)
Face To Face Lecture 24
Face To Face Practical classes and workshops 24
Face To Face Demonstration 0.5
Independent Learning Guided independent study 151.5
Total Study Hours200
Expected Total Study Hours for Module200


Assessment
Type of Assessment Weighting % LOs covered Week due Length in Hours/Words
Class Test 40 1,2,3 8 HOURS= 01.00, WORDS= 0
Practical Skills Assessment 60 1,2,3 14/15 HOURS= 30.00, WORDS= 0
Component 1 subtotal: 100
Component 2 subtotal: 0
Module subtotal: 100

Indicative References and Reading List - URL:
Scripting For Cybersecurity and Networks