Computer Security
- 87Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
Why can software bugs create security vulnerabilities even when a program still works?
Some errors do not stop software from functioning; they leave exploitable weaknesses that attackers can use.
Or swipe the card
87 cards
Why can software bugs create security vulnerabilities even when a program still works?
Some errors do not stop software from functioning; they leave exploitable weaknesses that attackers can use.
What does the distinction between black-hat and white-hat hackers refer to?
Black hats are malicious attackers; white hats use hacking techniques for defensive or otherwise beneficial purposes.
Why is the internet’s original design relevant to computer security?
The internet was designed to work without encryption, so security was added later rather than built in from the start.
What does the postcard analogy illustrate about unencrypted internet packets?
Like a postcard, an unencrypted packet may be readable by others who can access it while it is being transmitted.
What four questions help frame the security of an internet system?
What counts as private; what reward an attacker might gain; how much effort an attack requires; and how connected the system is.
How can reducing connectivity improve a system’s security?
A system that is disconnected from the internet is less exposed to internet-based attacks; some organizations use air-gapped systems for this reason.
What does the spread of unauthorized iPhone connections inside a company illustrate?
Once an exception is allowed, connectivity can spread through an organization as others copy the initial user.
Why can internet security decisions be legally complicated?
Internet activity can cross jurisdictions with different laws, and a technology permitted in one place may be restricted in another.
What does online disinhibition mean in the context of security?
People may feel less inhibited online and be more willing to engage in antisocial behavior.
How can internet connectivity affect groups with shared interests?
It makes it easier for people with similar interests to find one another and build shared knowledge or activities.
Why can cyberattacks on mission-critical systems have consequences beyond data loss?
Attacks on systems essential to people’s lives can disrupt critical services and may contribute to deaths.
Why is the meaning of privacy difficult to apply consistently?
Definitions of privacy vary and can shift between legal and political contexts, making the boundaries difficult to settle.
What broad conclusion did engineering and scientific investigations of privacy reach, as summarized in the lecture?
Privacy is valuable, and software should help people protect it.
What is cryptography?
The practice of transforming information so that it can be kept secret from people who do not have the means to decode it.
What is the basic role of a cryptographic key?
A key is secret information used with an algorithm to encrypt or decrypt a message.
What is a one-time pad?
A method that combines a message with a random sequence of letters shared by sender and receiver; used correctly, it is uncrackable.
What practical problem limits the use of one-time pads?
The sender and receiver must securely share and manage a very large amount of random material, which is impractical for large data transfers.
What is the conventional role of Alice and Bob in cryptography examples?
They are the conventional names for the participants sending and receiving messages.
Who is Eve in a cryptography example?
Eve is the eavesdropper who tries to listen to or intercept Alice and Bob’s communication.
What is a man-in-the-middle attack?
An attacker secretly stands between two parties, relays their messages, and makes each party believe they are communicating directly with the other.
What is the purpose of a certificate authority in online communication?
It vouches for the authenticity of a website or other party by issuing or signing a certificate.
What does the padlock indicator in a browser help a user inspect?
It provides access to information about the site’s security certificate and the authority that signed it.
What two public parameters are used in the lecture’s simplified Diffie–Hellman–Merkle key exchange?
A base G and a modulus p.
In the simplified key exchange, how is a public value generated from a private key?
Compute G^a mod p, where a is the participant’s private key.
What does the operation “mod p” mean?
It means divide by p and take the remainder.
How does modulo arithmetic make powers of a base less obviously predictable?
Reducing each power to its remainder modulo p can turn a regular sequence of powers into a seemingly jumbled sequence.
In the example with G=5 and p=23, what is G^2 mod p?
2
In the lecture’s key-exchange example, what public value does Alice produce from private key 6, with G=5 and p=23?
8
In the lecture’s key-exchange example, what public value does Bob produce from private key 15, with G=5 and p=23?
19
How do Alice and Bob derive the same shared secret in Diffie–Hellman–Merkle key exchange?
Each raises the other person’s public value to their own private key and reduces modulo p.
What shared secret do Alice and Bob obtain in the example with G=5, p=23, and private keys 6 and 15?
2
What can Eve observe during a public key exchange, and what does she still need to recover?
Eve can observe the public parameters and public values, but must still recover a participant’s private key to derive the shared secret.
What is an exhaustive search attack on a private key?
Trying every possible private-key value until the one that produces the observed public value is found.
What mathematical problem is associated with recovering a private exponent from a public value in this key exchange?
The discrete logarithm problem.
How should cryptographers estimate whether a key size will remain secure in the future?
Estimate the best known attack’s computational cost, project improvements in computing power, and add a safety margin.
What computing trend is used in the lecture’s example of projecting future computational power?
Moore’s law, described there as computing power roughly doubling every 18 months.
How does elliptic-curve cryptography differ from the simplified modular-power example?
It uses operations defined on an elliptic curve rather than simply raising a base to powers modulo a number.
Why can elliptic-curve cryptography use shorter keys than some other public-key approaches?
Its mathematical structure can provide comparable security with shorter keys.
What does Diffie–Hellman–Merkle key exchange not, by itself, protect against?
A man-in-the-middle attack in which an attacker impersonates each party to the other.
What is a parity bit used for?
It indicates whether the number of 1 bits in a block is even or odd, helping detect some transmission errors.
What is a limitation of parity checking?
It is inexpensive but detects only a limited range of errors.
What is a checksum?
A value calculated from data and transmitted with it so the recipient can check whether the data appears to have changed.
How can a checksum help identify a corrupted packet?
If the recalculated checksum does not match the transmitted checksum, an error may have occurred and the packet can be resent.
How does a cryptographic hash function process data?
It transforms a file or block of data into a fixed-size digital fingerprint.
Why is a hash called a “hash”?
The name evokes mixing ingredients together: the input is transformed into a result from which the original ingredients are difficult to separate.
What does it mean for a cryptographic hash to be difficult to reverse?
Given the hash, it should be impractical to reconstruct the original data.
What is a collision in a hash function?
A collision occurs when two different inputs produce the same hash.
How can a hash help verify an image without sending the image itself?
Compare the image’s hash with a trusted hash; a match supports the claim that the image is the expected one.
What did the 2017 SHA-1 collision demonstration show?
Two different PDF files could be made to produce the same SHA-1 hash.
What is SHA-256?
A cryptographic hash function that produces a 256-bit hash.
How can a cryptographic hash be used with a public key in a cryptocurrency system?
The public key can be hashed to create a shorter address used in transactions.
What motivated early phone phreaking?
Curiosity about telephone systems and the discovery that control tones could be used to manipulate some exchanges, including to obtain free calls.
What happened in the 1984 Chaos Computer Club bank hack described in the lecture?
After a bank did not act on a warning about a flaw, members removed 134,000 Deutsche marks and returned the money at a press conference.
What software flaw helped the Morris worm spread?
A buffer overflow, in which software failed to handle data exceeding the buffer’s capacity correctly.
What is a buffer overflow?
A condition in which more data is put into a buffer than it can safely handle, potentially leaving software vulnerable.
What was the Morris worm known for?
It spread across the internet and took substantial effort to contain.
What shift in hacking became prominent during the 1990s?
Financial motives became increasingly important, with hacking used for theft and extortion.
What is cyber warfare?
The use of internet-based attacks for state purposes associated with warfare.
Why might an indiscriminate cyberattack raise concerns about war crimes?
If it causes widespread harm without distinguishing among targets, it may resemble conduct considered a feature of war crimes.
What is a bug bounty?
A reward offered for finding and reporting a security flaw in software or a system.
What is a supply-chain attack?
An attack that compromises a supplier or another part of a system’s supply chain to affect its customers.
How did the SolarWinds attack illustrate a supply-chain attack?
Attackers compromised part of SolarWinds’ system and inserted malicious changes into software updates that were distributed with valid certificates.
Why were valid certificates significant in the SolarWinds attack?
They helped the compromised software updates appear authentic to recipients.
What is the vulnerabilities equities process?
A process for weighing the benefits of keeping a discovered vulnerability secret against the risks of leaving systems exposed.
Why can keeping a software vulnerability secret put the discovering government at risk?
The same vulnerable software may be used by that government, so an adversary could exploit the flaw against its own systems.
What is a ransomware attack?
An attack that uses malicious software to disrupt or restrict access to systems or data, often to demand money.
Why can paying a ransom create a broader security problem?
Payment can encourage attackers to continue developing and using ransomware.
How did ransomware affect the Colonial Pipeline in the example discussed?
The attack shut down the pipeline for a period and contributed to fuel-supply disruption and public concern.
What is the central tension in arguments over end-to-end encryption?
Encryption protects private communications, while law-enforcement agencies argue that it can make criminal activity harder to detect.
Why did the lecturer compare opposition to encryption with opposition to locks on doors?
To show that the possibility criminals might use a security measure does not by itself mean ordinary people should be denied that protection.
What is industrial espionage through a technology supply chain?
A state actor may compromise or influence organizations in a supply chain to introduce vulnerabilities that can be exploited later.
Why might attackers collect vulnerabilities rather than exploit them immediately?
They may retain the flaws for future use when they become strategically valuable.
What is a brain wallet?
A cryptocurrency wallet approach that turns a memorable phrase into a private key, often by hashing the phrase.
Why can a memorable phrase be unsafe as a brain-wallet secret?
Attackers can try likely phrases and dictionary entries quickly, so a phrase a person can remember may be guessable.
Why is using a fast hash such as SHA-256 a weakness when deriving a wallet key from a password?
Fast hashing lets attackers test many candidate passwords quickly.
Why are slow password-hashing methods such as bcrypt or scrypt useful?
They make each password guess more computationally expensive, slowing brute-force attacks.
How can a public cryptocurrency ledger help attackers find vulnerable brain wallets?
Attackers can test candidate phrases, derive their keys or addresses, and watch the public ledger for matching funded wallets.
What is the birthday problem in the context of hash collisions?
It is the observation that finding any matching pair among many values can become likely with far fewer trials than finding a match to one specific value.
How does the birthday-problem idea apply to searching for weak wallet secrets?
An attacker can generate many candidate secrets and compare their derived results against many observed ledger entries, increasing the chance of a match.
Why does a weakness in a cryptocurrency wallet not necessarily mean the cryptocurrency’s underlying protocol is broken?
The failure may lie in how users create or protect their keys rather than in the currency’s cryptographic protocol.
What security lesson does the loss of funds from weak brain-wallet phrases illustrate?
A secure cryptographic algorithm cannot compensate for a weak secret chosen by the user.
What is the concern about quantum computers and current cryptography?
Some researchers worry that sufficiently powerful quantum computers could weaken or break some current cryptographic methods.
Did the lecture describe quantum computers as currently powerful enough to break current encryption?
No. It stated that quantum computers did not have that power at the time discussed.
Why does the availability of quantum computing to both attackers and defenders matter?
If the technology becomes useful for attacks, defenders may also use it to develop or apply protective methods.
Why is trust difficult to represent in computer systems?
Human trust involves complex relationships, while computer systems often reduce it to certificates and authentication.
What is a chain of trust in online security?
A sequence in which a user relies on one trusted authority or certificate to validate another party or certificate.
What is the basic security concern behind “store now, crack later”?
An attacker stores encrypted information today in the hope of decrypting it later if new capabilities become available.

Ask anything
We've read this whole study set, so questions about it get the best answers.