Step 0: Spiking (Optional)
generic_send_tcp
Last updated
generic_send_tcp
Last updated
Note that vulnserver has many commands available:
In order to figure out which commands are vulnerable, we use generic_send_tcp
to "spike" the executable and look for crashes:
Suppose we want to spike the TRUN command, then the spike script is:
Run vulnserver by pressing F9 in Immunity Debugger. From our Linux attack machine, spike it:
Immidiately, the executable crashed. We can confirm that the TRUN
command has BoF vulnerability: