I was reading an article about a malware.
An when describing its installation process I came across the following question:
How can a program run on startup if there is no script or executable file present in the system?
The only similar question I found was this but it does not mention a system reboot.
Here is how the article described the installation process of the malware (paraphrased in my own words):
Let's say there is a malicious .exe file in a Windows computer.
When executed it starts a process which creates a Mutex and some Events then injects itself into another program's memory space and kills its own process.
After this setup phase the original malicious .exe is deleted from the hard drive.
A process is started to check whether the Mutex is present if not then it will startup the malware.
The Task Scheduler is used so that when the infected computer starts up the malware is executed.
It can also set up a Windows Service for the malware.