CompilerBackdoor
Course project to insert a backdoor into an open source compiler (Ken Thompson’s Reflections on Trusting Trust)
Install / Use
/learn @bojieli/CompilerBackdoorREADME
给开源编译器插入后门
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.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
