1. A method for inserting a driver into a virtual machine comprising: parsing a virtual machine file for a known bit pattern; determining a location in which to insert an executable segment; inserting the executable segment into the virtual machine file; and verifying the insertion completed successfully.