Write a bash script that creates a simple Trojan Horse. The Trojan Horse should start a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a bash script that creates a simple Trojan Horse. The Trojan Horse should start a shell that always grants you access as the root user. Assume the following scenario: You as an attacker drop a script called Is (The Trojan Horse) into /tmp. When the legitimate root user executes Is in /tmp, a hidden shell with root access should be created in /tmp. The hidden shell provides you as an attacker always root access to the system. This attack assumes that the root user has in his PATH the ".", in the first place of the PATH or at least before the correct "Is" PATH. For test purposes you can also just execute "./Is" as the root user in /tmp. Write a bash script that creates a simple Trojan Horse. The Trojan Horse should start a shell that always grants you access as the root user. Assume the following scenario: You as an attacker drop a script called Is (The Trojan Horse) into /tmp. When the legitimate root user executes Is in /tmp, a hidden shell with root access should be created in /tmp. The hidden shell provides you as an attacker always root access to the system. This attack assumes that the root user has in his PATH the ".", in the first place of the PATH or at least before the correct "Is" PATH. For test purposes you can also just execute "./Is" as the root user in /tmp.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these computer engineering questions
-
Outline the range of major policy options for altering and modifying the size distribution of their national income. Which policies do you believe are absolutely essential? Explain your answer.
-
Which stereotypes do you believe are most widely held by leaders in organizations? Why?
-
For Web serving, what do you believe are the critical or limiting characteristics of today's computing systems? CPU speed, memory capacity, DASD capacity, internal communication speed, input-output...
-
Why is ultraviolet light, but not infrared light, effective in making certain materials fluoresce?
-
Distinguish between responsibility and authority, and provide examples to support your distinctions.
-
We repeat the data and specify an alternative hypothesis for a correlation t-test. For each exercise, decide, at the 10% significance level, whether the data provide sufficient evidence to reject the...
-
After closing its accounts at October 31,2010, Simmons Realty, Inc., had the following account balances: Prepare Simmons Realtys post-closing trial balance at October 31,2010. List accounts in proper...
-
Orange, Inc., a calendar year corporation in Clemson, South Carolina, elects S corporation status for 2015. The company generated a $74,000 NOL in 2014 and another NOL of $43,000 in 2015. Orange...
-
While computing the cost of equity using the formula , rs=D1P0+grs=D1P0+g, we do not make any adjustment to express the cost of equity on an after-tax basis whereas while computing the cost of debt,...
-
Your client, Leona Ledford, was personally served with a summons and complaint on October 23 in the case of Masters v Ledford Her answer is due in 30 days. You will mail the answer to the court. What...
-
Paint St. Johns & Moncton are Supplied by the Distribution Center in Halifax St. Johns Order Qty: 1500 Lead time: 1 week Week 0 1 2 3 4 5 6 Gross requirements 1500 1000 1700...
-
Raw Materials 23,000 Credits 136,000 Selected T-accounts of Moore Company are given below for the just completed year: Bal. 1/1 Debits Debits Manufacturing Overhead 204,720 Credits ? Bal. 12/31 Bal....
-
What is a bear market? What is a correction? What is a recession? What is a depression? What is a bubble? What is a Ponzi scheme? What is a pyramid scheme? What is a pump-and-dump scheme? What is a...
-
What is a capital loss? What is a dividend reinvestment plan (DRIP)? What is dollar-cost averaging? What is a bond rating? What is a junk bond? What is a municipal bond? What is a treasury bond? What...
-
What is the NASDAQ? What is a stock split? What is a reverse stock split? What is an initial public offering (IPO)? What is a secondary offering? What is insider trading? What is short selling?
-
How fast would Captain Brady have needed to run if he simply ran horizontally off the edge of the cliff and traveled 6.71 m (22 feet) horizontally with a 6.10 m (20 foot) drop to the opposite bank...
-
A species of bacteria has a population of 473 . It doubles every 14 hours. Determine the population of the bacteria after 10 hours. Round to the nearest whole number.
-
Identify the Critical Infrastructure Physical Protection System Plan.
-
Visit Enterprise at www.enterprise.com. Click on Careers, on Our Culture, then on Our Values. How does Enterprise use goal-setting?
-
Why is job satisfaction not strongly related to job performance?
-
Jay Beck, general manager at Benefit Partners, a company that specializes in human resource management, said: If you cannot define it and measure it, you are not going to get it. What implications...
-
At a bulk loading station, gravel leaves the hopper at the rate of \(220 \mathrm{lb} / \mathrm{sec}\) with a velocity of \(10 \mathrm{ft} / \mathrm{sec}\) in the direction shown and is deposited on...
-
The pinion \(A\) of the hoist motor drives gear \(B\), which is attached to the hoisting drum. The load \(L\) is lifted from its rest position and acquires an upward velocity of \(3 \mathrm{ft} /...
-
The diverter section of pipe between \(A\) and \(B\) is designed to allow the parallel pipes to clear an obstruction. The flange of the diverter is secured at \(C\) by a heavy bolt. The pipe carries...
Study smarter with the SolutionInn App