Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Nov 2017, 20:31
All times are UTC - 4
 Forum index » Off-Topic Area » Security
Is save to sda1 safe?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Kirkpat

Joined: 04 Sep 2017
Posts: 3

PostPosted: Mon 04 Sep 2017, 01:24    Post subject:  Is save to sda1 safe?
Subject description: From rootkit
 

Hi I had a mbr rootkit maybe bootkit on my laptop many years ago I got it reformatted and reinstalled windows but used live distros in ramdisk no problems away from windows then fixed my router. It was old so I don't use it.

Now I gave it to my gf with only puppy Linux but I'm paranoid that I'm now saving to sda1 and loading the full iso from there to I'm using lighthouse 64 and constantly recommends it so I did to boot faster. Vmlinuz is still from cd. Is it ok?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11723
Location: Stratford, Ontario

PostPosted: Mon 04 Sep 2017, 09:53    Post subject:  

A rootkit would exist at the low levels of your hard drive, like in the master boot record or in a partition boot sector.

Installing a Linux to the hard drive, including a Linux boot loader, would erase any potential bad stuff.

But if you are only booting off a CD, then any malicious code on the MBR of the hard drive would not be activated.

Or you could run the following command. It would write the standard, clean XP boot code to the MBR.
Code:
ms-sys -m -w /dev/sda
Back to top
View user's profile Send private message 
Kirkpat

Joined: 04 Sep 2017
Posts: 3

PostPosted: Tue 05 Sep 2017, 04:53    Post subject:  

Okay I'll check

I'm loading off the save file saved to sda1 is it loading to ram then saving to hdd or is it live and does that include my contaminated boot sector especially since it's in mnt

I'm not loading off the cd anymore because once you save it asks to put the puppy Linux sfs to sda1 and that's what loads into ram at boot or I assume since it's over 256mb
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11723
Location: Stratford, Ontario

PostPosted: Tue 05 Sep 2017, 11:00    Post subject:  

If you are concerned about what might still be on this hard drive, why not erase it completely and re-install Lighthouse?

You could either do a complete hard drive install with bootloader or continue to boot off the CD.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4756
Location: Kingwood, TX

PostPosted: Tue 05 Sep 2017, 12:04    Post subject:  

What's the old trick to completely wipe? something like cat /dev/zero >/dev/sda

...of course to be a certified wipe you'd need to alternate between /dev/random and /dev/zero something like 7 times IIRC

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
Kirkpat

Joined: 04 Sep 2017
Posts: 3

PostPosted: Tue 05 Sep 2017, 16:41    Post subject:  

I didn't know puppy Linux could be installed to hdd as it's known for booting into ram only.

The bios needs to be reset from what I remember. It's an old pc my mother just uses for foreign yt movies so I just use puppy Linux because it's minimal needs for her.

I can't fix the boot sector I just need to know if it infects the ramdisk as it loads into ram from sda1. Would the ram boot as if it were another hdd now infected?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Security
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0296s ][ Queries: 13 (0.0034s) ][ GZIP on ]