Secure Computing and C Programming Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Practice questions covering secure computing principles, C language vulnerabilities, coding standards like MISRA and SEI CERT, and common attack vectors such as buffer overflows.

Last updated 12:28 AM on 6/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

When is Assignment 11 due, according to the lecture admin?

Assignment 11 is due tomorrow at 3PM3PM.

2
New cards

Where can students find the marking rubric and interview guidelines?

These details are posted on Blackboard under the assessment section.

3
New cards

What is the median mark for the 140140 students who had submitted Assignment 11 as of the morning of the lecture?

The median mark is 6464 out of 7575.

4
New cards

According to the Australian Computer Society, what is the estimated annual cost of cybersecurity to Australia's economy?

It is estimated to be 63,000,000,00063,000,000,000 a year (59,000,000,00059,000,000,000 to businesses and 4,000,000,0004,000,000,000 to individuals).

5
New cards

What are the two primary organizations mentioned that provide C programming security guidelines?

The Software Engineering Institute (SEISEI) CERTCERT at Carnegie Mellon University and the Motor Industry Software Reliability Association (MISRAMISRA).

6
New cards

What is SEISEI CERTCERT C coding rule 5.15.1?

Ensure that unsigned integer operations do not wrap.

7
New cards

What is the MISRAMISRA CC directive regarding dynamic memory allocation in safety-critical systems?

Dynamic memory allocation should not be used because running out of constrained memory can cause system crashes.

8
New cards

According to MISRAMISRA CC Rule 13.513.5, what is prohibited in the right-hand side of a logical andand or oror operation?

The right-hand side shall not contain persistent side effects, due to C's lazy evaluation behavior.

9
New cards

What was the cause of the Apple SSLSSL vulnerability discovered in 20142014?

A duplicate gotoย failgoto\text{ fail} line was included without braces, causing the program to bypass SSLSSL verification if it fell through the first conditional.

10
New cards

Why is the function gets()gets() considered dangerous for reading strings from standard input?

It continues reading characters until a newline or end-of-file without checking the size of the buffer, leading to potential buffer overflows.

11
New cards

In a buffer overflow attack on the stack, which direction does the stack typically grow in the memory model described?

The stack grows from higher addresses toward lower addresses.

12
New cards

What compiler flag can be used with GCCGCC to add checks for stack smashing?

The โˆ’fstackโˆ’protector-fstack-protector flag.

13
New cards

Which printfprintf format specifier is particularly dangerous because it allows the program to write a value to a position on the stack?

The %n specifier, which writes the number of characters printed so far into a memory location.

14
New cards

What is Address Space Layout Randomization (ASLRASLR)?

A security feature where the stack and heap are placed at different memory addresses every time a program runs to prevent attackers from predicting exact memory locations.

15
New cards

What is Floorย FinderFloor\text{ Finder} in the context of C programming?

It is an open-source static analysis tool that scans C source code for common security vulnerabilities and assigns them a severity level from 11 to 55.

16
New cards

Aside from code issues, what human behaviors were cited as major factors in cybersecurity problems?

Reusing passwords across multiple systems, falling victim to phishing or social engineering, and failing to keep operating system patches or firmware up to date.