Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cns:labs:lab-02 [2021/10/19 17:49]
razvan.deaconescu [5. Memory Dump Analysis]
cns:labs:lab-02 [2022/10/17 19:18] (current)
mihai.dumitru2201 [2. Shellcode]
Line 883: Line 883:
   - The stack is still executable, remove this flag!   - The stack is still executable, remove this flag!
      * ''​execstack -c ./​my''​      * ''​execstack -c ./​my''​
 +
 +<​note>​
 +If you're missing the ''​execstack''​ binary on the Kali VM (or on any Debian-based distribution),​ manually download and install it:
 +
 +<​code>​
 +# curl -LO http://​ftp.de.debian.org/​debian/​pool/​main/​p/​prelink/​execstack_0.0.20131005-1+b10_amd64.deb
 +# dpkg -i execstack_0.0.20131005-1+b10_amd64.deb
 +</​code>​
 +
 +If installation freezes, cancel it then try again.
 +
 +</​note>​
 +
   - Why does ''​execstack -c ./​*.o''​ throw an error?   - Why does ''​execstack -c ./​*.o''​ throw an error?
      * ''​execstack''​ has to have information about the segments, information which is only available after the linking process      * ''​execstack''​ has to have information about the segments, information which is only available after the linking process
cns/labs/lab-02.1634654980.txt.gz ยท Last modified: 2021/10/19 17:49 by razvan.deaconescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0