Back close

Course Detail

Course Name Secure Coding
Course Code 24CY605
Program M. Tech. in Cyber Security
Semester 1
Credits 3
Campus Coimbatore

Syllabus

Syllabus

Gauging the threat- Bugs- CWE- CVE – Strings – Common String Manipulation errors – Improperly Bounded String Copies – Off-by-One Errors – Null-Termination Errors – String Truncation – String Errors without Functions – String vulnerabilities – Safe String handling functions. Dynamic Memory Management – C Memory management functions – Common C Memory Management Errors – Initialization Errors – Failing to Check Return Values – Dereferencing Null or Invalid Pointers – Referencing Freed Memory – Freeing Memory Multiple Times – Memory Leaks – Zero-Length Allocations – Mitigation Strategies. Integer Security – Introduction to Integer Types – Integer Data Types – Integer Conversions – Integer Operations – Integer Vulnerabilities -Mitigation Strategies. Formatted

Output – Variadic Functions – Formatted Output Functions – Vulnerabilities – Mitigation Strategies. Concurrency – Common Errors – Race Condition Vulnerabilities – Mitigation Strategies. Rules and recommendations of SEI CERT C coding Standards. Secure coding with C++, Java and Python.

Secure Data Structures – Arrays and Linked lists- Secure Stack- Secure Queue-Binary search Tree -Merkle Tree- Hash Tables – Bloom filter – Complexity.

Objectives and Outcomes

Course Outcome

Course Outcome

Bloom’s Taxonomy Level
CO1 Identify and mitigate the vulnerabilities based on integer operations and errors in formatted output.
L3
CO2 Identify and mitigate the vulnerabilities due to string manipulation errors and dynamic memory management errors.
L3
CO3 Secure Coding with C++, Java and Python
L4
CO4 Implementation of Safe Data structure algorithms
L4
CO-PO Mapping

CO-PO Mapping

CO/PO

PO 1 PO 2 PO 3 PO 4 PO 5 PO 6 PO 7 PO 8 PO 9 PO 10 PSO1 PSO2 PSO3
CO 1 2 3 3 3 3 2 1 1 2 2 2
CO 2 2 3 3 3 3 2 1 1 3 3 3
CO 3 2 3 3 3 3 2 1 1 3 3 3
CO 4 2 3 3 3 3 2 1 1 3 3 3

Text Books / References

  1. Goodrich MT, Tamassia R, Goldwasser MH. Data Structures and Algorithms in Java. Sixth edition, John Wiley & Sons Ltd; 2014.
  2. Seyedeh Setareh Ghorshi. SafeDS: Safe Data Structures for C++, 2022.
  3. Robert C. Seacord, The CERT C Coding Standard: 98 Rules for Developing Safe, Reliable, and Secure Systems , 2nd Edition, Pearson Education, 2016.
  4. CERT C Coding Standard.
  5. Available online: https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard.

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now