KEMBAR78
nullcon 2011 - Buffer UnderRun Exploits | PDF
By Saurabh Sharma & Chinmaya Kamal
                                       (SETLabs, Infosys)
http://null.co.in/                Saurabh & Chinmaya   http://nullcon.net/
●   Buffer overflow attacks
●   Cookie prevention
●   Buffer Under Run Attacks




                               Saurabh & Chinmaya
•Buffer overflow attacks are caused when the buffers such as arrays
are filled without the proper bound checking.

•In some languages like C, bound
checking      mechanisms       are      not
implemented. When the input data which
is used to fill the buffer is greater than
the size of the allocated buffer, other
values in the stack get overwritten. If the
attacker designs this input carefully, he
can overwrite the return address with the
address of his will. This address may
point to some custom code, can be a
malicious shell code. These attacks are
known as buffer overflow attacks.



                                                               Saurabh & Chinmaya
Saurabh & Chinmaya
Saurabh & Chinmaya
Saurabh & Chinmaya
Saurabh & Chinmaya
Saurabh & Chinmaya
Demo




       Saurabh & Chinmaya
•PHP5 Space Trimming Buffer Under
Flow (Header(), MacOSX)




                       Saurabh & Chinmaya
Saurabh & Chinmaya
Thank You




    Saurabh & Chinmaya

nullcon 2011 - Buffer UnderRun Exploits

  • 1.
    By Saurabh Sharma& Chinmaya Kamal (SETLabs, Infosys) http://null.co.in/ Saurabh & Chinmaya http://nullcon.net/
  • 2.
    Buffer overflow attacks ● Cookie prevention ● Buffer Under Run Attacks Saurabh & Chinmaya
  • 3.
    •Buffer overflow attacksare caused when the buffers such as arrays are filled without the proper bound checking. •In some languages like C, bound checking mechanisms are not implemented. When the input data which is used to fill the buffer is greater than the size of the allocated buffer, other values in the stack get overwritten. If the attacker designs this input carefully, he can overwrite the return address with the address of his will. This address may point to some custom code, can be a malicious shell code. These attacks are known as buffer overflow attacks. Saurabh & Chinmaya
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
    Demo Saurabh & Chinmaya
  • 10.
    •PHP5 Space TrimmingBuffer Under Flow (Header(), MacOSX) Saurabh & Chinmaya
  • 11.
  • 12.
    Thank You Saurabh & Chinmaya