Buffer Overflows Shesh Jun 3 09

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Buffer Overflows Shesh Jun 3 09 - Presentation Transcript

    1. Buffer Overflows : An Introduction
    2. On the Agenda  Definition  Vulnerability Detection  Skeleton Exploit  Controlling EIP  Relative jump  Shell-code (Importing from Metasploit ) (! Development)  An Owned territory!
    3. Buffer Overflow
    4. Vulnerability Detection  Code Review Applied in open –source application analysis where the entire code is checked for unchecked buffer at the language definition level.  Reverse Engineering Applied in both open and closed source applications .. Where an exe is analyzed on the basis of memory interaction and the source code is presented at machine level interaction  Fuzz-ing the application The applications’ communication standards are analyzed using protocol reader and test data confirming standards are prepared and send to the application – the crash is analysed.
    5. Protocol Analysis
    6. A simple protocol Fuzzer Usage : fuz <ipadress> <portnumber> <username> <password> <command> <number of bytes to start with>  while((sizeof(super_buffer)- buff_size)>25) { char *rec_buf_1; rec_buf_1 = (char*)malloc(buff_size); memcpy(buff,super_buffer,buff_size); sprintf(buff1,"%s %srn",command,buff); printf("Sending buffer of %d length n",buff_size); send(shesh_in, buff1,strlen(buff1),0); recv(shesh_in,rec_buf_1,buff_size,0); buff_size = buff_size +300; sleep(1);} free(buff); //close(shesh_in);
    7. * Bang >> Crrrrrrrrrash !!!
    8. Crash Analysis
    9. Creating Smart Buffer
    10. Calculating Size of Payload
    11. jmp esp >The Golden Jump Location
    12. jmp> esp in user32.dll
    13. Where not to jump ;) bt ftp # grep badchar*
    14. Automated shellcode development  Lets do it live : http://www.metasploit.com/shellcode/ Why encoder ??
    15. Doing nothing is so so important   Use of nop-sledge to increase reliability
    16. Elementary ,My dear Watson!!!
    SlideShare Zeitgeist 2009

    + dhanya.sumerudhanya.sumeru Nominate

    custom

    158 views, 0 favs, 1 embeds more stats

    This is a session on buffer overflow

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 158
      • 156 on SlideShare
      • 2 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 2 views on http://thedivinetop.blogspot.com

    more

    All embeds
    • 2 views on http://thedivinetop.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories