1. A method for securing an electronic device, comprising: detecting, at a level below all of the operating systems of the electronic device accessing a memory or a storage of the electronic device, presence of malicious code; and in response to detecting the presence of malicious code, modifying, at a level below all of the operating systems of the electronic device accessing the memory or the storage of the electronic device, the malicious code.