Analyze binary for holes

From: Peter Bondra (olafandjasper_at_hushmail.com)
Date: 07/29/03

  • Next message: Diode Trnasistor: "Re: perl/php connect-back backdoor?"
    Date: 29 Jul 2003 16:20:07 -0000
    To: vuln-dev@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is)

    Hello
    I am interested in how you may go about analyzing a binary file to
    determine potential format string or buffer overflow holes.

    The platforms I am testing are: SunOs Solaris 2.7/8/9(SPARC) and Windows
    NT/2000/XP.

    This is my process, maybe you could direct and fill in the massive blanks:

    UNIX:
    In the unix world my first step is to list out the SUID-root files.
    My next step is to identify which files have potential vulnerabilities.
    On the Unix side I have used strings, but what does that tell me about.
    I have seen a few mallocs, callocs, and things that look like a format
    string for a printf... But not sure what to do next...SO I was thinking
    of brute forcing the binary command line args and/or environmental vars
    to see if I can dump core..

    Can you identify potential format string vulnerabilities from binary?
    Can you identify potential buffer overflow vulns. from binary?

    WINDOWS:
    I have no idea how to recognize a vulnerable program in the Windows
    word.Is there anything like SUID-roor, etc??

    Thanks


  • Next message: Diode Trnasistor: "Re: perl/php connect-back backdoor?"

    Relevant Pages

    • Wind/U
      ... I've been waiting for some discussion on vulnerabilities introduced to ... Unix by applications that use various Windows API porting techniques. ... it appears that the windu components that come with the ...
      (Vuln-Dev)
    • RE: bill gates claim about security vulnerabilities per LOC in Unix versus Windows
      ... Unix versus Windows ... there are security vulnerabilities in peoples' ... propagate as much because they're not as dense as our system is, ... The "density" claim I think refers to the distribution of Windows ...
      (SecProg)
    • Re: Analyze binary for holes
      ... The platforms I am testing are: SunOs Solaris 2.7/8/9and Windows ... In the unix world my first step is to list out the SUID-root files. ... My next step is to identify which files have potential vulnerabilities. ... Can you identify potential format string vulnerabilities from binary? ...
      (Vuln-Dev)