Is "Virus -Malware" a user space program or a Kernel Space Program ?

Hello,

"Is virus (written in C/C++) a user space program (or kernel space)? especially spywares and the ones that steal information.

I have tried to seek answer to this question on numerous occasions but have never been able to get the right answer.

I think its a user space program as it resides and executes in the user space. Not only that it also uses the APIs extended by the kernel.
Bad viruses are userspace programs. Good ones finds their way to the kernel space and takes over your machine.
Topic archived. No new replies allowed.