• DocumentCode
    3730255
  • Title

    Discovering specification violations in networked software systems

  • Author

    Robert J. Walls;Yuriy Brun;Marc Liberatore;Brian Neil Levine

  • Author_Institution
    Computer Science and Engineering, Pennsylvania State University, University Park, PA
  • fYear
    2015
  • Firstpage
    496
  • Lastpage
    506
  • Abstract
    Publicly released software implementations of network protocols often have bugs that arise from latent specification violations. We present Ape, a technique that explores program behavior to identify potential specification violations. Ape overcomes the challenge of exploring the large space of behavior by dynamically inferring precise models of behavior, stimulating unobserved behavior likely to lead to violations, and refining the behavioral models with the new, stimulated behavior. Ape can (1) discover new specification violations, (2) verify that violations are removed, (3) identify related violations in other versions and implementations of the protocols, and (4) generate tests. Ape works on binaries and requires a lightweight description of the protocol´s network messages and a violation characteristic. We use Ape to rediscover the known heartbleed bug in OpenSSL, and discover one unknown bug and two unexpected uses of three popular BitTorrent clients. Manual inspection of Ape-produced artifacts reveals four additional, previously unknown specification violations in OpenSSL and μTorrent.
  • Keywords
    "Servers","Protocols","Target tracking","Computer bugs","Testing","Software systems"
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering (ISSRE), 2015 IEEE 26th International Symposium on
  • Type

    conf

  • DOI
    10.1109/ISSRE.2015.7381842
  • Filename
    7381842