QuestionQ86

VerifiedVulnerability Discovery and Analysis

A penetration tester is examining a buffer overflow in the myfile binary. The tester wants to send a payload that helps determine the precise offset at which to inject the memory address needed to gain control of the buffer.

Which of the following would let the penetration tester quickly determine the offset?

Explanation

A cyclic, nonrepeating pattern makes the overwritten value at the crash location unique, allowing its exact position in the input to be calculated. pattern_create.rb generates such a pattern, whereas a payload consisting solely of repeated A characters cannot reveal the precise offset.

Community Discussion

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