freesiaaaaa / canary-detector

Utility to detect the presence of stack canaries/cookies in PE and ELF files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CANary DEtector (aka cande, /can-dee/)

About This Project

Cande is a prototype that demonstrates how one might detect stack-canaries in non-obfuscated files that are of type Portable Executable (PE) or Executable and Linkable Format (ELF). Cande detects stack canaries (or cookies) as created by GCC, clang, or the Microsoft Visual Studio compilers. Including stack protections in an application is a requirement in the Protection Profile for Application Software (https://www.niap-ccevs.org/pp/pp_app_v1.2.htm#FPT_AEX_EXT.1.5). For more information see Usage.md in the docs directory.

License

This work was prepared by an U.S. Government employee and, therefore, is excluded from copyright by Section 105 of the Copyright Act of 1976. See http://www.copyright.gov/title17/ for full documentation.

Disclaimer

This Work is provided "as is." Any express or implied warranties, including but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the United States Government be liable for any direct, indirect, incidental, special, exemplary or consequential damages (including, but not limited to, procurement of substitute goods or services, loss of use, data or profits, or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Guidance, even if advised of the possibility of such damage.

The User of this Work agrees to hold harmless and indemnify the United States Government, its agents and employees from every claim or liability (whether in tort or in contract), including attorneys' fees, court costs, and expenses, arising in direct consequence of Recipient's use of the item, including, but not limited to, claims or liabilities made for injury to or death of personnel of User or third parties, damage to or destruction of property of User or third parties, and infringement or other violations of intellectual property or technical data rights.

Nothing in this Work is intended to constitute an endorsement, explicit or implied, by the U.S. Government of any particular manufacturer's product or service.

Copyright and Related Rights in the Work worldwide are waived through the CC0 1.0 Universal license.

About

Utility to detect the presence of stack canaries/cookies in PE and ELF files.


Languages

Language:Python 100.0%