LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2004, 06:57 PM   #1
Celeron463
LQ Newbie
 
Registered: Aug 2003
Location: New York
Distribution: Mandrake 9.1
Posts: 14

Rep: Reputation: 0
Floppy Disk Security Issues


Hey there fellas,

I'm working on a lab for one of my sysadmin classes and one of the activities requires me to configure a floppy disk on a second system that will allow me to get a root shell on the first system from an unpriveldged user account. Also, the floppy needs to give me raw access to the file system. I know there's some people out there who can give me a hint on this. I've been pondering this for several days now and I can't come up with anything.

Thanks,

Celeron
 
Old 04-08-2004, 03:06 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
ok, you'll need to create a bootdisk / rootdisk on the second pc, wich distro are you using? some distro's have a command wich let you create such disks. maybe you'll have to compile a custom kernel with the IDE taskfile support, this gives you real raw access to the hard drive. if you boot the first pc from floppy, mount the hard drive and do a chroot command to the mount point, you now have root access on the first pc.

succes,
-= iluvatar =-
 
Old 04-08-2004, 07:44 PM   #3
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Tsk, tsk. You shameless cracker you.


Visit Tom's Boot-n-root, your onestop shop for machine dominance.

http://www.toms.net/rb/

You don't have to have the same distro as what is installed on the machine, just as long as:

a) You support the same FS as it does (e.g. Ext3)
b) Said FS is not encrypted.

And it could be as simple as plopping in any old linux install disk and hitting Control-Alt-F2 to bring up a new shell (in which you will be root).


And since you want to use the first machine to h4x0r the second, simply make a bootable floppy, and then copy various utilities that will assist you in your endeavor onto it. See the Tom's FAQ as to which files he includes.

You could build a custom kernel (but not install it) on the first machine to keep the size of the kernel down to allow for more utilities.

First save the old menuconfig, and be sure that you don't install the modules (or you will be working on two machines) from the new kernel (actually you shouldn't have anything compiled as a module, keep it all in the kernel).

Basically make sure that you can restore the original system once you are finished.

dd the bzImage to a floppy, you will have to create an init file, but that is beyond my experience.

Try experimenting with a ramdisk so that you will have more room to load utilities.

A good place to look (along with studying the layout of Tom's disk) are those old distros that started up off of floppies.

And a bit of research on "rootkits" might be enlightening.

I'll leave it as an exercise to the reader to figure out how recover the passwords. Not that I would know anything about these things...

http://www.linuxsecurity.com/docs/Ha...asswords.shtml


Shame on both of us


Good luck, and I don't want any calls from any three-letter agencies because of you


Basically, if you allow unauthorized access to any machine, you can kiss your security goodbye.


John
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Issues? Xon Linux - Security 3 10-04-2004 11:45 PM
Using a floppy disk to load a USB disk. joeyjwc Linux - General 2 03-21-2004 06:05 PM
security issues with a RH 9.2 merlin Linux - Security 1 02-24-2004 04:13 PM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 08:44 PM
Solaris 5.1 security issues hopbalt Solaris / OpenSolaris 6 08-04-2003 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration