A virus hides inside a legitimate program where it remains dormant until you run the infected program. The virus springs into action when you actually run the infected program. Sometimes the first thing the virus will do is infect other programs on your hard disk by copying itself into them.