312-50V9 · Question #555
The following is an entry captured by a network IDS.You are assigned the task of analyzing this entry. You notice the value 0x90, which is the most common NOOP instruction for the Intel processor…
The correct answer is D. The attacker is attempting an exploit that launches a command-line shell. The 0x90 NOP sled combined with '/bin/sh' in the payload is a classic indicator of shellcode designed to spawn an interactive command shell via a buffer overflow.
Question
The following is an entry captured by a network IDS.You are assigned the task of analyzing this entry. You notice the value 0x90, which is the most common NOOP instruction for the Intel processor. You figure that the attacker is attempting a buffer overflow attack. You also notice "/bin/sh" in the ASCII part of the output. As an analyst what would you conclude about the attack?
Exhibit
Options
- AThe buffer overflow attack has been neutralized by the IDS
- BThe attacker is creating a directory on the compromised machine
- CThe attacker is attempting a buffer overflow attack and has succeeded
- DThe attacker is attempting an exploit that launches a command-line shell
How the community answered
(20 responses)- A20% (4)
- B5% (1)
- C30% (6)
- D45% (9)
Why each option
The 0x90 NOP sled combined with '/bin/sh' in the payload is a classic indicator of shellcode designed to spawn an interactive command shell via a buffer overflow.
An IDS passively captures and alerts on traffic but does not neutralize or block attacks unless configured as an IPS; the log entry indicates detection, not mitigation.
Creating a directory would involve filesystem commands such as mkdir, not a NOP sled and '/bin/sh' payload, which are characteristic of shellcode execution aimed at shell access.
The IDS log confirms an attempt was made and detected, but does not itself confirm the exploit succeeded and a shell was actually spawned on the target.
The repeated 0x90 bytes form a NOP sled, a standard buffer overflow technique that increases the probability of execution sliding into the shellcode payload. The '/bin/sh' string at the end of the payload is shellcode that invokes a Unix command-line shell, revealing the attacker's goal of gaining an interactive shell session on the target machine. Together these artifacts confirm a shellcode-based exploit aimed at achieving remote command execution through shell spawning.
Concept tested: Buffer overflow shellcode analysis with NOP sled
Source: https://owasp.org/www-community/attacks/Buffer_overflow_attack
Topics
Community Discussion
No community discussion yet for this question.
