Solved

Preboot Authentication for Linux

Posted on 2009-07-06
7
984 Views
Last Modified: 2013-12-15
Is there any generic open source project for providing preboot authentication on Linux for all distributions
0
Comment
Question by:tittu
7 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 24786923
Pre-boot? You mean bios should do that? Or boot-loader? Or initrd script?
And You want to authenticate against?

Since You are asking about linux, I'm assuming grub bootloader or initrd.
I haven't heard about any initrd auth related customization.
You could probably force grub to ask for password.
You also could run the linux on LUKS encrypted root device, one have to unlock the root device first to get to real OS.
0
 

Author Comment

by:tittu
ID: 24791918
I have a driver module and source code which authenticates biometric thumb impression.
I coud able to place this authentication module before the login screen.
The requirement is to place the authetication module before uncompressing the kernel or at grub stage ?
Is it possible to access driver modules in grub ?.

How do i protect the root file system theft/copying using a rescue CD with this approach ?.

0
 
LVL 7

Accepted Solution

by:
diepes earned 500 total points
ID: 24792053
Hi,
1. You will have to encrypt the HD, to protect against some one steeling the HD or using a rescue CD
     * There is a lot of howto's basic you have a small un-encrypted /boot  and all the rest (LVM) encrypted.
2. When the kernel and initrd.img load from the un-encrypted /boot they will ask for the encryption key, this can also be on a usb device.

0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 43

Expert Comment

by:ravenpl
ID: 24792065
No, grub isn't smart enough to run kernel modules. Sorry,it's merely boot loader.
What You probably could (but would have to build custom solution) is
- include the authentication into initrd script (after kernel is booted, before root filesystem unlocked/mounted)
- include the authentication into /sbin/init or upstart (after initrd is ready and root filesystem up).
0
 
LVL 1

Expert Comment

by:dontdig
ID: 24792610
use trucypt
http://www.truecrypt.org/downloads

but firstly try on demo machine i.e virtual machine
0
 

Author Comment

by:tittu
ID: 25366341
comment is not helpful
0
 

Author Closing Comment

by:tittu
ID: 31600181
partially ok
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now