Von Neumann Architecture Vulnerabilities and Security Threats Explained
Summary
This document explains why the von Neumann architecture is vulnerable to buffer overflow and code injection when low-level languages allow direct memory access. It then defines threats and attacks, outlines common threat types and program threats such as viruses and worms, and describes distributed denial of service and brute force attacks. It also covers the risks of storing passwords in plain text and how encryption, hashing and multi-factor authentication help protect them.
Key points
- Von Neumann architecture allows direct memory access through low-level languages such as C and C++.
- Accessing memory out of bounds can cause a buffer overflow, letting an attacker reach other memory in the stack.
- A threat is a potential security violation that may exploit a system vulnerability; an attack is an attempt to break the system or its assets.
- Malware is designed to destroy, disable or exploit a system; a virus needs a host to run, while a worm does not.
- A distributed denial of service attack floods a server with requests from many systems so that legitimate users cannot access it.
- Passwords should be stored encrypted or hashed, and multi-factor authentication makes them harder to steal.
- A brute force attack tries every combination of letters and digits until the correct password is found.
Vulnerabilities in Von Neumann Architecture
The system architect of the von Neumann is the way that it can allow direct memory access to the low level languages like C and C++.
If the program goes and tries to access the memory out of bound by allocating code injection to the system, it allows the system to access the memory out of the stack which causes buffer overflow and the attacker can access the other memory from the allocated stack. This way an attacker can get access to the system. Therefore von Neumann architecture is vulnerable to code injection, the effect of the buffer overflow.
Understanding Threats and Attacks
Threats
- It is a potential security violation that might exploit vulnerability of the system or assets.
- Threats can be accidental, environmental (natural disaster), human errors, human negligence.
- Different types of threats are interruption, interceptions, fabrications, and modifications.
- Intentional or unintentional
- May or may not be malicious
- Circumstances that have the ability to damage the system
- Chance to damage or information alteration varies from low to very high
- Hard to detect
Attacks
- It is an attempt to break the system or assets.
- It can be active or passive attacks.
- It can motivate intentional or unintentional
- Objective to damage the system
- The chance of damage or information alteration is very high
- Easy to detect
Examples of Threat Types
Security can be violated by many different categories, which could be the breach of confidentiality, breach of integrity, breach of availability, theft of service, and denial of service.
- Privilege escalations
- Session hijacking
- Masquerading
Program Threats and Security
Malware: it is made to destroy, disable, or exploit the system. Virus: it typically needs the host to run. It replicates itself in the system. Worm: This is also a virus but doesn't require a host to run it.
Distributed Denial of Service Attack
Distributed denial of service attack is the attack where the attacker does not want that system or service to be delivered. This attack happens by sending multiple requests from a number of systems to access the web page, service, application, or system. This request makes servers down and it gets impossible to get access to the system by different users.
Risks of Storing Passwords
Having a password in plain text makes it easy to access the password. Even if it has been in use for accessing the authorized website, but if the password is not encrypted, it is more likely to get hacked in the future. To prevent this, the password must be stored in encrypted form and it can be in hash form as well. We can also use multi-factor authentication to access the password with fingerprint or face lock, which makes it harder for hackers to hack the system. We can also use some authorized password manager which has been built in most of the browsers.
Brute Force Attack Explained
Brute force attack is the attack where a program checks every single combination of letters and digits of the password and tries to access the system one by one. By generating these passwords and trying accessing the system once, it will make a connection to the system and allows access to the system. Therefore, even if the attacker is not aware of the system, by guessing every single combination and applying it to the system to login, it will get the password without seeing it before.
Download
PDF Word HTMLFAQ
Why is von Neumann architecture vulnerable to buffer overflow?
Low-level languages like C and C++ allow direct memory access. If a program accesses memory out of bounds, it can overflow the buffer and let an attacker reach other memory in the stack.
What is the difference between a virus and a worm?
A virus typically needs a host to run and replicates itself in the system. A worm is also self-replicating but does not require a host to run.
How can passwords be protected from being hacked?
Passwords should be stored in encrypted or hash form, and multi-factor authentication such as fingerprint or face lock makes the system harder to hack.
Test yourself
Flashcards
Click a card to see the answer.
Quiz
Questions generated by AI from the document: check the answers against the text.