Page 1 of 1

virtual Trusted Platform Module (vTPM) device driver in VBOX

Posted: 9. Mar 2009, 08:34
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? :?:

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

Posted: 19. Mar 2009, 12:31
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:

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

Posted: 28. Aug 2009, 04:07
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.

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

Posted: 28. Aug 2009, 09:27
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.

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

Posted: 31. Aug 2009, 15:18
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.

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

Posted: 12. Nov 2009, 08:23
by anuarls
Haha I have Completed vTPM Driver (guest os) in Windows Vista & Later Windows OS. Yeah go...go TBS in VM. :D

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

Posted: 24. Nov 2009, 13:49
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)

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

Posted: 28. Jun 2010, 05:19
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.

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

Posted: 28. Jun 2010, 05:22
by anuarls
Sorry, i forgot to mention something important. Last year, I managed to provides vTPM/TPM interface in virtual machine. :D

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

Posted: 13. Sep 2010, 00:09
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

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

Posted: 28. Apr 2011, 11:40
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?

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

Posted: 14. Aug 2018, 20:07
by DustyBandito
Anyone get this working or have the files. I need this.