The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Does a Virus...

    Discussion in 'Security and Anti-Virus Software' started by Saisei, Apr 1, 2010.

  1. Saisei

    Saisei Notebook Deity

    Reputations:
    108
    Messages:
    869
    Likes Received:
    1
    Trophy Points:
    31
    I always wondered what does a virus do when it is on the same computer that it was made on. So lets say person A makes a virus then sends it to B, then C uploads that virus into a file and A downloads it. Now when A extracts or uses the file it will......

    *Refer to Poll
     
  2. Joel

    Joel coffeecoffeecoffeecoffee

    Reputations:
    1,059
    Messages:
    1,663
    Likes Received:
    0
    Trophy Points:
    55
    I'm guessing "A" will get infected, just because "A" made the virus, does not mean it will be immune.
     
  3. Saisei

    Saisei Notebook Deity

    Reputations:
    108
    Messages:
    869
    Likes Received:
    1
    Trophy Points:
    31
    I always wondered what happens when the creator has his creation in his machine.But since he made it he should know how it works it probably how to stop it.
     
  4. Lithus

    Lithus NBR Janitor

    Reputations:
    5,504
    Messages:
    9,788
    Likes Received:
    0
    Trophy Points:
    205
    People always have these mystical ideas about viruses...

    A virus is just a program like any other. The only thing that's different is intent. Just like any other program, you can program a virus in a testing environment, and not affect the actual physical computer you're programming on.
     
  5. DetlevCM

    DetlevCM Notebook Nobel Laureate

    Reputations:
    4,843
    Messages:
    8,389
    Likes Received:
    1
    Trophy Points:
    205
    Even simpler, you can have a simple file to deactivate the virus and have it check for that file in a fixed location for example.

    Overall I wouldn't think the creator would get infected unless he gets really unlucky.
     
  6. Saisei

    Saisei Notebook Deity

    Reputations:
    108
    Messages:
    869
    Likes Received:
    1
    Trophy Points:
    31
    If a virus is made to infect explorer.exe and the creator uses OSX, he will be same from infection since the target app is missing?
     
  7. DetlevCM

    DetlevCM Notebook Nobel Laureate

    Reputations:
    4,843
    Messages:
    8,389
    Likes Received:
    1
    Trophy Points:
    205
    My guess would be yes.

    But don't quote me on that.
     
  8. Lithus

    Lithus NBR Janitor

    Reputations:
    5,504
    Messages:
    9,788
    Likes Received:
    0
    Trophy Points:
    205
    The reason the person will not infect himself in that case is not because Explorer.exe doesn't exist in OSX, but is instead based on the fundamentals of programming.

    Any decent virus will run in kernel mode, where it has access to system resources. Kernel mode in Windows is different from kernel mode in OSX and Linux. Code compiled for Windows will be gibberish to OSX. That's why Windows programs don't run on Macs.
     
  9. Nankuru

    Nankuru Notebook Evangelist

    Reputations:
    215
    Messages:
    592
    Likes Received:
    0
    Trophy Points:
    30
    The fact that the software was written on the same machine is irrelevant.
     
  10. Matt is Pro

    Matt is Pro I'm a PC, so?

    Reputations:
    347
    Messages:
    2,169
    Likes Received:
    0
    Trophy Points:
    55
    If Computer A downloads the virus, it has the potential to infect it as if it were any other computer that downloads it.

    There is no difference.
     
  11. perrin_aybara

    perrin_aybara Notebook Consultant

    Reputations:
    183
    Messages:
    185
    Likes Received:
    3
    Trophy Points:
    31
    This is all very well, but I must ask... Why have you " always wondered"? Do you intend to release a virus?
     
  12. Joel

    Joel coffeecoffeecoffeecoffee

    Reputations:
    1,059
    Messages:
    1,663
    Likes Received:
    0
    Trophy Points:
    55
    ^^ This is what I wondered at first o_O
     
  13. cassar

    cassar Notebook Evangelist

    Reputations:
    619
    Messages:
    356
    Likes Received:
    0
    Trophy Points:
    30
    how come he will be infected and the virus already running on the machine ?
     
  14. Joel

    Joel coffeecoffeecoffeecoffee

    Reputations:
    1,059
    Messages:
    1,663
    Likes Received:
    0
    Trophy Points:
    55
    Because, even though he made the virus, does not mean he is automatically immune to it. I mean, he wouldn't want to make a virus on his main computer anyway.

    Unless his A/V picks it up, then he is in the clear, but other wise, he can still get it. Just like anyone else.
     
  15. cassar

    cassar Notebook Evangelist

    Reputations:
    619
    Messages:
    356
    Likes Received:
    0
    Trophy Points:
    30
    your right but he will make a virus on a virtual machine that doesn't have anti-v
    and make sure that it does what it made for so its already running on that vm
    he will be infected on he main machine not on the vm thats already infected
     
  16. Joel

    Joel coffeecoffeecoffeecoffee

    Reputations:
    1,059
    Messages:
    1,663
    Likes Received:
    0
    Trophy Points:
    55
    If he were smart, he would make the virus on a VM, yes, then use another test computer, separate to any other, where he can test to make sure the virus actually does what he needs.

    It's really just common sense. Like, it would be stupid of me to right now code a virus (I wouldn't, though, as I have no clue how to, haha) then use a Virtual PC to test it. It just doesn't work like that. In that instance, yes, the computer would become infected.
     
  17. Pirx

    Pirx Notebook Virtuoso

    Reputations:
    3,001
    Messages:
    3,005
    Likes Received:
    416
    Trophy Points:
    151
    Yes, that seems to be the case. I even wonder what the point of this question might be. Like you said, a virus is a program like any other one, and anybody who knows anything at all about programming computers can build a virus. The fact that I build a virus on my computer has nothing to do with the notion of a "virus being on my system" as an analogy to biological virus infections.

    So, here is an exhaustive answer to your question: If I build a virus, it will be an executable on my system, meaning some file containing executable code, nothing more, nothing less. It will do absolutely nothing at this point. If I now run this executable, and if it is designed to do whatever it does on systems with a configuration like the one I have, then it will do whatever it was programmed to do.
     
  18. Saisei

    Saisei Notebook Deity

    Reputations:
    108
    Messages:
    869
    Likes Received:
    1
    Trophy Points:
    31
    lol no, don't worry I'm not making any sort of thing. But my friend sent me the .exe that made my wallpaper black, I wanted to know if it would effect him too.