Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

what is the main difference between a virus and a trojan?

Asked by Alex Duncan Nov 23, 2021 1.4K views 1 answer
Share

About this question

As far my understanding goes:  A virus is a program that does not self replicate and relies on the host file being spread. It has malicious intent, whereas A trojan is a program that is run by deceiving the user into appearing to be something legitimate but has malicious intent.

But what is the main difference between a virus and a trojan? To get a user to install a virus doesn't it always require appearing as something legitimate?


Or does a trojan program run as expected so for example if it was a game it would work fine but have done something malicious without the user knowing, whereas a virus wouldn't?

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.