What form of security exploit occurs when an application inputs more variable data into a memory block than it can hold, overwriting nearby execution instructions with malicious payloads? MCQ with Answer and Explanation

What form of security exploit occurs when an application inputs more variable data into a memory block than it can hold, overwriting nearby execution instructions with malicious payloads?
A. Cross-Site Scripting
B. Buffer Overflow
C. SQL Injection
D. Zero-Day Exploit
Answer: Option B
Solution (By JKSSB Mock Tests)
Buffer overflows occur when input variables exceed memory segment boundaries, allowing malicious payloads to alter memory instructions and execute arbitrary commands.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Cyber Security Questions

Question #1
Which of the following is a characteristic of a secure network?
A. Regular security updates and patches
B. Disabled firewalls
C. Open Wi-Fi access
D. Use of weak passwords

Correct Answer: Option A


Explanation:
Regular security updates and patches are crucial for maintaining a secure network by fixing known vulnerabilities.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a method to protect against social engineering attacks?
A. Installing a firewall
B. Security awareness training
C. Encrypting data
D. Using antivirus software

Correct Answer: Option B


Explanation:
Security awareness training educates employees about social engineering tactics, helping them recognize and avoid manipulation attempts.

This question belongs to: Computer Cyber Security
Question #3
Which software asset operates by intercepting device instructions deep within the kernel layer, allowing an unauthorized user to mask the presence of spyware from antivirus sweeps?
A. Macro Exploit
B. Worm Daemon
C. Adware Plugin
D. Rootkit

Correct Answer: Option D


Explanation:
Rootkits modify system kernel code to hide processes, files, and network links, rendering themselves invisible to standard antivirus utilities.

This question belongs to: Computer Cyber Security