Automated protocol analysis

posted Jan 13th 2009 7:24pm by
filed under: downloads hacks, security hacks

wireshark

[I)ruid] from BreakingPoint Labs has been doing quite a bit of protocol reverse engineering as part of his work. He put together a post covering some of the tools that have been useful for this task. Text-based protocols have a lot of human readable characters that can help you identify fields. Binary protocols don’t have this luxury though. He recommends the Protocol Informatics Project for tackling these situations. It applies bioinformatics algorithms to network traffic. You give it a packet dump of the protocol and it compares them to find similarities the same way genetic sequences are compared. It can be confused by protocols that waste a lot of space, but it’s still a very clever approach to reversing.

[photo: slashcrisis]



4 Responses to Automated protocol analysis

  • Gert says:

    News: the project was published as a proto in 2004, and was abandoned since.

  • furniture says:

    Good post and nice design, is this a regular template?.

  • crashtesting says:

    Something similar, but much more active is here:

    https://www.ee.oulu.fi/research/ouspg/genome

  • JoshWeaver says:

    JIC someone is reversing a binary network proto and comes across this and runs into multiple problems with the ppc .so included, here is the fix, as of today:
    1.) backup or toss the align.so file in the PI subfolder
    2.) aptitude install python-pyrex python-numeric python-pydot
    3.) If on linux, edit the make file and change the -J argument to xargs to -I
    4.) pyrexc align.pyx (this will create align.c)
    5.) make (this will create the .so)
    6.) ./main.py

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources