Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In accepting the ACM Turing Award, Ken Thompson described a devious Trojan horse attack on a Unix system, which most people now refer to as

In accepting the ACM Turing Award, Ken Thompson described a devious Trojan horse attack on a Unix system, which most people now refer to as Thompson's rigged compiler. This attack changes the binary version of the login program to add a backdoor, say, to allow a new user, 12345, that has password, 67890, which is never checked against the password. Thus, the attacker can always login to this computer using this username and password. Then the attack changes the binary version of the C compiler, so that it checks if it is compiling the source code for the login program, and, if so, it reinserts the backdoor in the binary version. Thus, a system administrator cannot remove this Trojan horse simply by recompiling the login program. In fact, the attack goes a step further, so that the C compiler also checks if it is compiling the source code of the C compiler itself, and, if so, it inserts the extra code that reinserts the backdoor for when it is compiling the login program. So recompiling the C compiler won't remove this attack either, and if anyone examines the source code for the login program or the C compiler, they won't notice that anything is wrong. Now suppose your Unix system has been compromised in this way (which you confirm by logging in as 12345). How can you fix it, without using any outside resources (like a fresh copy of the operating system)?

Step by Step Solution

3.44 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

If your Unix system has been compromised with Thompsons rigged compiler attack fixing it without ext... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Management A Practical Introduction

Authors: Angelo Kinicki, Brian Williams

5th edition

978-1111821227, 9781133190363, 1111821224, 1133190367, 978-0078112713

More Books

Students also viewed these Operating System questions

Question

3. Speak respectfully. Use the students name.

Answered: 1 week ago