RE: [Full-Disclosure] automated vulnerability testing

From: Bill Royds (full-disclosure_at_royds.net)
Date: 11/29/03

  • Next message: FreeBSD Security Advisories: "[Full-Disclosure] FreeBSD Security Advisory FreeBSD-SA-03:19.bind"
    To: <fulldisclosure@freedomnames.co.uk>, <full-disclosure@lists.netsys.com>
    Date: Fri, 28 Nov 2003 21:09:17 -0500
    
    

    If you are truly interested in security, you won't use C as the programming
    language. It is security unfriendly by design (so it can get closer to the
    actual box for efficiency's sake. So what you want to build is a checker
    that ensures that the code does not use
    Pointers or pointer arithmetic, C strings, C arrays or C I/O. Only C or
    languages that use C libraries have a problem with buffer overflow, format
    errors, unallocated (or already freed) pointers and routines returning
    incorrect types.
      Most other languages prevent these as part of their semantics or syntax.
    Your checker would need to check that all functions and the calls to them
    match arguments as to type, bounds (including string sizes and malloc
    space), that pointers are never used before they are allocated or after they
    are freed.
      Most of these are situations similar to the halting problem on a Turing
    machine so you are unlikely to get an error free checker. But if your
    checker complains about all the possible security holes, it will complain
    about nearly every construct used within C programs.

    -----Original Message-----
    From: full-disclosure-admin@lists.netsys.com
    [mailto:full-disclosure-admin@lists.netsys.com] On Behalf Of
    fulldisclosure@freedomnames.co.uk
    Sent: November 28, 2003 2:56 PM
    To: full-disclosure@lists.netsys.com
    Subject: [Full-Disclosure] automated vulnerability testing

    Hey guys,

    please excuse me for bringing this topic up again, but i was kinda
    disappointed
    with the feedback from before...

    i'd like some input from the programming community regarding thoughts on
    static
    vulnerability analysis, not specifically on the products that are already
    out
    there (kinda limited imho) but rather from a design perspective.
    im interested in the kinds of functionality that is required, interface
    design,
    configuration issues (saved configs etc..) and most importantly the types of
    vulnerabilities people would be interested in scanning for.

    If i could get some positive feedback it'd be much appreciated.

    -DC

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html


  • Next message: FreeBSD Security Advisories: "[Full-Disclosure] FreeBSD Security Advisory FreeBSD-SA-03:19.bind"

    Relevant Pages

    • Re: Open source alternative for MsAccess?
      ... >also be used as an end-user tool. ... We were discussing programming languages within the IDE rather than the ... >The design reflects the purpose of the product. ...
      (comp.os.linux.development.apps)
    • Re: new here, my lang project...
      ... > an 'introductory programming' class I had taken before had used flowcharts, ... of traditional Structured Analysis and Design, ... languages become secondary adjustments. ... putting defects into the software in the first place. ...
      (comp.object)
    • How to find entry level work?
      ... My name is Shaun Bedingfield and I have been programming nonprofessionally ... Knowledge of many programming languages including Java, C/C++, C#, VB.NET, ... Assembler under Windows ... Knowledge of state of the art Object Oriented Design principles and patterns ...
      (microsoft.public.dotnet.general)
    • Re: password protect a folder
      ... One of the languages I missed out on was assembly. ... programming languages, have done helpdesk too since 1997. ... The bottom line here is that there are layers of security, ... personal account will be deleted without reading. ...
      (microsoft.public.office.misc)
    • Re: dynamic type checking - a pauline conversion?
      ... > applications in Python, and then Ruby (well known dynamically typed ... performer programmer with little interest in design. ... > I also realized that the flexibility of dynamically typed languages ... let alone some isolated pockets in the embedded programming world. ...
      (comp.object)