Underground by Suelette

UNDERGROUND

But he could trick it into doing so. The secret was in one simple keyboard character: /.

Unix-based computer systems are a bit like the protocols of the diplomatic corps; the smallest variation can change somethingโ€™s meaning entirely. Hackers, too, understand the implications of subtle changes.

A Unix-based system reads the phrase:

/bin/program

very differently from:

bin program

One simple character โ€“ the โ€˜/โ€™ โ€“ makes an enormous dif- ference. A Unix computer reads the โ€˜/โ€™ as a road sign. The first phrase tells the computer, โ€˜Follow the road to the house of the user called โ€œbinโ€ and when you get there, go inside and fetch the file called โ€œprogramโ€ and run itโ€™. A blank space, however, tells the computer something quite different. In this case, Anthrax knew it told the computer to execute the command which preceded the space. That second phrase told the machine, โ€˜Look everywhere for a program called โ€œbinโ€ and run itโ€™.

Anthrax prepared for his attack on the load-module program by installing his own special program, named โ€˜binโ€™, into a tem- porary storage area on System X. If he could get System X to run his program with root privileges, he too would have procured root level access to the system. When everything was in place, Anthrax forced the system to read the character โ€˜/โ€™ as a blank space. Then he ran the load-module program, and watched. When System X hunted around for a program named โ€˜binโ€™, it quickly found Anthraxโ€™s Trojan and ran it.

The hacker savoured the moment, but he didnโ€™t pause for long. With a few swift keystrokes, he added an entry to the password file, creating a basic account for himself. He exited his connection to port 2001, circled around through another route, using the 0014 gateway, and logged into System X using

๐Ÿฅค Issues, errors, suggests, or questions
๐ŸงŠ No personal information required