LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-07-2020, 10:46 AM   #1
user:me
LQ Newbie
 
Registered: Jun 2020
Posts: 1

Rep: Reputation: Disabled
second encrypted and mounted operating system


Good day all

I am currently working on a project where the goal is to have a second operating system (Kali Linux) encrypted and mountable/unmountable on a Ubuntu system. All work must be kept on the encrypted partition and nothing can be installed or held on the Ubuntu operating system.

There will be an Intel NUC sitting on a remote clients network which will be turned off, I will wake on LAN which will initiate the VPN server, I will then connect the VPN client on my machine then use SSH from my machine at home to access the Ubuntu operating system. From here I would like to mount the second operating system (Kali Linux) and begin using the tools within it.

So far I have tried installing Virtualbox on the mounted partition and then installing Kali on the virtualbox, as I'm sure you guys know, virtualbox didn't install on the partition, it installed on the main disk. This is an avenue I am still pursuing in the hope that I can change the install location and move everything onto the encrypted partition.

The gold standard I dream of is not using virtual box and having kali linux on the second partition so that when mounted, all tools are accessible and all data is kept on the second partition. Therefore Ubuntu would only be used for initial access. This is what I am looking for advice on please, can it be done?

No doubt you have also seen areas in my plan which I haven't so feel free to point them out. The key thing to know is that no one will be able to access the NUC to insert any decryption key etc, it must all be done remotely with maximum security in mind. The initial OS does not have to be Ubuntu but the second OS does have to be Kali.

Thanks for reading
 
Old 06-07-2020, 05:45 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It seems to me that you want a dual-boot setup, as documented at https://www.kali.org/docs/installati...ot-with-linux/.

EDIT: I am not sure if this permits encryption. If not, use manual installation. There is no problem finding third-party instructions if needed.

However I don't understand why you need to boot into Ubuntu rather than Kali, or why you don't just install the tools you need on the Ubuntu system.

Last edited by berndbausch; 06-07-2020 at 05:50 PM.
 
Old 06-07-2020, 11:17 PM   #3
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 268

Rep: Reputation: 75
encrypt your ubuntu's /home, then simply run vbox without any additional woodoo dance.
 
Old 06-08-2020, 12:26 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
kali provide lxc images - I'd suggest you start there.
 
Old 06-16-2020, 08:11 AM   #5
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
Do you mean something like what's available via VeraCrypt?
 
  


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
[SOLVED] slow mouse response with encrypted operating system IamLannie Linux - Desktop 7 02-13-2015 12:29 AM
Problem to mount an encrypted partition : Operating system RHEL 6.0 , dynamic library pam_mount.so redrat Linux - Security 1 11-09-2011 09:36 PM
LXer: The non-operating system operating system LXer Syndicated Linux News 0 06-26-2010 05:42 PM
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:34 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