Giter Site home page Giter Site logo

gvsurenderreddy / compilerbackdoor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bojieli/compilerbackdoor

0.0 2.0 0.0 1.78 MB

Course project to insert a backdoor into an open source compiler (Ken Thompson’s Reflections on Trusting Trust)

Makefile 0.39% C 39.15% C++ 3.43% Assembly 56.74% Shell 0.01% Perl 0.19% Batchfile 0.03% TeX 0.06%

compilerbackdoor's Introduction

给开源编译器插入后门

Ken Thompson’s Reflections on Trusting Trust

December 19, 2012

《黑客反汇编入门》课程作业

Appears on LUG 每周小聚, 2012-12-22

  • 0-original: Original sulogin code, in sulogin.c
  • 1-login-backdoor: Modified sulogin code, in sulogin.c
  • 2-compiler-backdoor: TCC compiler to insert backdoor to sulogin during compilation, in tinycc/tccpp.c. The sulogin code in this folder is the original version.
  • self-print: self-printing C program, in hello.c
  • 3-compiler-bootstrap: TCC compiler to self-replicate backdoor, in tinycc/tccpp.c. The sulogin code is the original version. It would put the evil binary in 4-release folder.
  • 4-release: Only the TCC binary is evil, all source code (TCC and sulogin) is the original version. It bootstraps!

Type "make" in each subfolder to build the binary. 3-compiler-bootstrap should be built before 4-release.

compilerbackdoor's People

Contributors

bojieli avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.