Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was assigned to erase and fresh install windows on this Dell desktop machine. It has become quite the chore believe it or not! Firstly, I had to remove the CMOS password by shorting some pins on the RTC Timer IC. There was no jumper on the motherboard and removing the battery didn't do anything.
So as soon as I tried installing windows xp pro, it said that it cannot reinstall windows on this machine and crashed. I have seen this before on virus infected machines so I put in my trusty ubuntu disk and ran gparted. Each time I tried making a new dos MBR it would always revert back to an NTFS format. I thought this was kind of weird. So i went under the terminal and went into fdisk to create a new dos partition. No errors!
Great, so I put my windows xp back in but no! I get the same error! So when I put my ubuntu disk back I have the NTFS filesystem back as if nothing happened!!! So i took drastic measures! I ran dd (input was /dev/zero, output was the hardrive root node and I had the conv=noerror flag set) and zero'd out the first 1 Gb of the hardrive. I got an input/output error and it only zeroed out the first 45 MB!! When I restarted Ubuntu it had the entire filesytem intact as if I never did anything!
Now it calls for drastic measures. I took the hardrive out of the computer and placed it into a SATA enclosure. I plugged the enclosure (via USB) into my Macbook and (what a surprise!) NTFS filesystem popped up on my computer. I unmounted it and ran dd again (yes! mac os x is BSD-based!) and it gave the same error! input/output error and only zeroed out 45 MB of the hd! I unmounted it and and remounted it and the NTFS filesystem is back!!
I have never seen this method of security before! I took the board off of the hd to see if there was a hidden device that monitors I/O traffic and found none. It is a SATA Seagate hardrive 40 Gb. On the label it says: "This drive is manufactured by Seagate for OEM distribution". So my question is (and I apologize for the immense explanation, but I couldn't miss a single detail) is there any other utility I can use that can write raw data onto a device like this in linux. I mean I cannot imagine anything lower than dd but it doesn't seem to do the job!!
If you had an actual disk editor that ran from a booted cd you could examine any sector to see what was there. Experimenting first with a test disk formatted with various ext2,3; fat; ntfs and probably an installed op.sys would let you know what to expect when looking at a dodgy or suspect hdd.
and also, the disk editor should let you modify any sectors, copy and paste etc so you could see if anything was interfering. Plus, doing any partitioning and file system formatting.
I use Acronis Disk Director myself. Alas I've never seen any opensource alternatives.
Thank you very much. Still do not know what the problem is, but I got someone else to figure it out, I just swapped out hard drives and the computer works fine. Thank you again for all of your support!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.