Question: what is the difference between malware and firmware?
Answer: is that firmware is something in-between hardware and software like software, it is created from source code, but it is closely tied to the hardware it runs on while malware is (computing) software which has been designed to operate in a malicious, undesirable manner.