virtual Trusted Platform Module (vTPM) device driver in VBOX

Discussions related to using the OSE version of VirtualBox.
Post Reply
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

I'm currently planning to develope this vTPM driver to provide trusted guest os within compartment (virtual machine). If u guy have any ideas, where i should begin with? where should i modify OSE source code? :?:
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

Now i'm trying to modify serial module to emulate charater device. I heard KVM had successfully put vTPM using TPM Emulator. Maybe this character device will forward tpm request to tpm emulator in other vm. now, tpm emulator only work in Linux, not in windows. :roll:
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

My current status:
Guest os issues tpm request and then vbox hypervisor forwarded to tpm emulator or tpm hardware. My plan was to use serial communication as medium for guest os (vTPM driver) to talk host os (TPM emulator or physical TPM). Now i'm doing driver for windows vista.
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by sandervl »

You are writing device drivers for each individual guest OS? Why don't you add a virtual TPM device? All virtual devices are in src/VBox/devices and it's not very difficult to take existing one, strip it down, modify it and add it as a new device.
If you have further questions, then it's better to use the VirtualBox developer's mailinglist.
SuperAlberto76
Posts: 1
Joined: 27. Aug 2009, 16:44
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux
Location: Italy

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by SuperAlberto76 »

Hi Anuaris
as I told you with skype I will use linux as both host and guest os. I'm only at the beginning and now I'm still watching the code of the device drivers of virtualbox. My first problem is to understand how virtualbox creates and use virtual devices (COM or LPT ports, etc...) and then how can I interface the TPM (I will use the TPM emulator) with virtualbox.
As you write in you posts I still watching the serial device module because I will modify it to create a virtual TPM device.
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

Haha I have Completed vTPM Driver (guest os) in Windows Vista & Later Windows OS. Yeah go...go TBS in VM. :D
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by Technologov »

This topic looks interesting.
I have only basic understanding in it, but having a CPU with Intel TXT extensions helps or not ? (I have such a CPU)
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

Intel TXT used for dynamic root of trust measurement (DRTM). If u want to have a trusted vm, u may start reading some books or TCG specs. In my shared folder contains some information that you may want to read (if u are resercher). Sorry for late reply. Thanks.
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by anuarls »

Sorry, i forgot to mention something important. Last year, I managed to provides vTPM/TPM interface in virtual machine. :D
fireman37
Posts: 1
Joined: 13. Sep 2010, 00:06
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: XP

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by fireman37 »

Anuarls:

Hi! For those that are new to virtual box, is there any chance you could tell us how to use your virtual TPM module?

Thanks
psyops
Posts: 1
Joined: 28. Apr 2011, 11:36
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: Windows 7

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by psyops »

Hi Anuarls:

I had a look at your download share, but it wasn't obvious to me which files I should download/run in order to get the virtual TPM working. Are the files still up on the share?
DustyBandito
Posts: 1
Joined: 14. Aug 2018, 20:06

Re: virtual Trusted Platform Module (vTPM) device driver in VBOX

Post by DustyBandito »

Anyone get this working or have the files. I need this.
Post Reply