virus : Java Glossary

virus
A computer program written by a bratty child or a terrorist whose intent is both vandalism and spreading automatically to other computers.
In a Nutshell Java
Boot track viruses MS Word
Exe Viruses Protecting Yourself
ActiveX Viruses Free Anti-virus Software
Worms Configuring
Benign Viruses Serious Solutions
Trojan Links

In a Nutshell

Viruses will never hurt you if you follow these four simple rules:
  1. Don’t use Microsoft Internet Explorer. Use some other browser such as Opera.
  2. Don’t use Microsoft Outlook or Outlook Express. Use some other email program such as Eudora.
  3. Never open email attachments.
  4. Never put a floppy in your machine that someone else gave you, unless it was shrink wrapped.
  1. Boot track viruses

    infect your hard disk when you accidentally boot while an infected floppy is inserted. My launder utility will kill any boot virus on a floppy, even ones that have not been written yet. My BootSave utility will restore your hard disk boot track that has been infected. However, you must inoculate your disk (make a copy of the intact boot track) by using it before you get infected.
  2. Exe Viruses

    piggy back on exe files. They arrive most commonly as email attachments or on floppy. Sometimes even files you download from websites are infected. They cause no damage until you execute the corresponding file. You can do a directory list safely. You can insert an infected floppy safely (subject to my earlier warning about the sneaky boot track viruses). Norton Antivirus or the McAfee Virus Scan will check all the files on a floppy, all incoming email and all your hard disk files against a weekly updated list of known viruses. The trouble is the kids make them up by the thousands and this technique is defenseless against a brand new virus. Never execute a file that arrives by email, even if it comes from a friend. These are most often infected.
  3. ActiveX Viruses

    These are the most dangerous of all because you can pick them up just browsing the Internet. Turn off ActiveX and only turn it on when dealing with a site you are absolutely sure is trustworthy. Turn off the autodownload feature as well. The CometCursor virus is the world’s first commercial virus that spreads itself by this technique. It does no harm other than make your cursor look like Nelson Mandela’s head, but it installs itself without your permission. It is very hard to kill once you are infected.
  4. Worms

    Worms manage to spread without actually attaching themselves to executable files. They typically use the Swiss cheese security in Microsoft Outlook to spread themselves by sending email to everyone in the address book. This can cause a chain reaction than can shut down the mail system, even of those who have solid virus protection. Well-known people just get swamped by incoming garbage emails.
  5. Benign Viruses

    A virus that just puts up some silly message but does no damage.
  6. Trojan

    is a virus that just does damage, but makes no special attempt to spread itself. It may masquerade as a silly game, but will erase everything on your hard disk.
  7. Java Viruses

    There are no known Java viruses, that piggyback on class or jar files, though in theory they are possible. The Applet security system makes it impossible for virus to infect your system via Java Applets you run in your browser.
  8. MS Word

    There are some lesser viruses which can hide inside Microsoft word documents in the form of autorun macros.

Protecting Yourself

  1. Don’t open or run any email enclosures except *.gif, *.jpg, PDF (Portable Document Format), TXT, HTML (Hypertext Markup Language) and JAVA.
    EXE, COM (Component Object Model), BAT (Batch), DOC and OCX (Object linking and embedding (OLE) Control extension) are the most dangerous.
  2. Avoid putting floppies from outside your shop into any of your machines. If you must, scan them with a virus checker first.
  3. Run a nightly virus scan such as Norton Antivirus using freshly updated virus definitions.
  4. Don’t surf the web with Internet Explorer unless you disable ActiveX first.
  5. Don’t install software unless it comes from a reputable source. Avoid installing any software you don’t absolutely need.
  6. Make sure your Internet connection goes through a firewall.
  7. Don’t let people use any of your machines who you can’t trust to follow these rules.
  8. If you become infected, get help quickly from someone who knows what to do. If you don’t know what you are doing, you can easily lose all your data and easily reinfect yourself. You must disinfect and/or protect yourself from reinfection from every single floppy, CD (Compact Disk) burned, backup tape, ZIP drive…

Free Anti-virus Software

AV (Anti-Virus) Originally there were only three free Antiviruses, but now almost every company offers a stripped down free version. Most companies now also offer a premium edition and an Internet edition (which is actually a firewall). You have to read the websites carefully to discover the differences in features and price. Consider that reviews might be talking about the super premium plus edition, where you are interviewing for the entry level one. I have a long memory for companies that good or evil. I think this three orginal free vendors deserve continued support:

Microsoft has Defender bundled with Vista. It is automatically and frequently updated. I don’t know why it is not considered a proper anti-virus program.

Microsoft plans to release a free virus checker code named Morro. Perhaps it will just be Defender ported to the older operating systems. This should save MS money on phone support. Much the way vaccination works, it should greatly reduce incidence the of viruses by removing sources of infection.

Configuring

In addition to a batch scan of the entire hard disk, a virus scanner will often by default install all manner of continuously running protection including, Instant Messenger, email, network, Outlook, P2P, web, and standard (check or every read/write/execute of disk). Viruses cannot hurt you unless you execute them. So as long as you never run email enclosures and run a batch scan every once in a while you should be OK. You might set up a scan on mail in and out since that is fairly low overhead, and is the source of most viruses. A standard check will slow your machine to a crawl and buys you little extra security. If you download software, it would not hurt to scan it for viruses, though reputable download sites like Tucows do that for you.

Serious Solutions

Viruses could be stopped in their tracks, including future viruses, simply by enforcing a rule that all executables, including OS (Operating System) modules, be digitally signed by their authors, the same way the Java Applets are. Then a virus can be detected simply by verifying the digital signature. It is all but impossible for a virus to fake a digital signature for an executable it has modified. If vendors posted the originals, digitally signed, then any contaminated modules could be automatically restored without human intervention. This would not stop Trojans, but it does identify who created them, making prosecution and civil legal action easy. The problem is half-assed anti-viral utilities that require constant updates are big business. They don’t want a solution that works once and for all.

One interim solution would be to have disk partitions or SSD (Solid State Disk)s that were read-only. You would put your executables and DLL (Dynamic Link Library)s there, (or rather installs would.) Access would be by password, good only for one install instance. They would all have digital signatures, or at least digests, that would be checked on copying in. This would make it very difficult for a virus to modify an executable. The problem is, it would require all vendors to digitally sign executables, and use the API (Application Programming Interface) to install excutables and other files on different drives. The most important vendor to comply would be Microsoft, who currently puts all its data and executables on C:


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/virus.html J:\mindprod\jgloss\virus.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.213]
You are visitor number 19,379.