Canape

Canape is a network testing tool for arbitrary protocols, but specifically designed for binary ones. It contains built in functionality to implement standard network proxies and provide the user the ability to capture and modify traffic to and from a server.

The core can be extended through multiple programming languages including C# and Python, to parse any protocol as required thereby creating custom proxies tailored to the testing. It works at the network application layer supporting both TCP and UDP connections through port forwarding or by implementing a SOCKS or HTTP proxy. It does not capture data at the Ethernet, IP or TCP layers directly.

Its main strength is reducing the amount of development effort usually associated with effectively testing a new protocol. By providing a common mechanism to capture and manipulate traffic, it aims to allow the security researcher to only develop the minimal amount of code for the truly bespoke aspects of a protocol.

To leave feedback on Canape please email canape@contextis.com

Download

The latest version of Canape is Version 1.2 released on 12th February 2013.

Canape version 1.2.msi

MD5Sum: 20595bbf7b9c89f5c3eae22fc18d6875

By downloading Canape you agree to the End User License Agreement.

For instructions on using Canape see the user guide.

Sample Projects

Listed below are example projects for Canape which can be used as templates when working with various binary protocols. They are provided as is for training purposes.

Canape Extensions
  • An IronPython Shell an extension which creates a IronPython console which can be used to interact with the Canape runtime can be downloaded here.
  • An #F Script Engine a script engine for Canape which uses the F# functional language can be downloaded here.

© Copyright 2012 Context Information Security