home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / pc / virus / c_virus.faq < prev    next >
Encoding:
Text File  |  2003-06-11  |  84.6 KB  |  1,753 lines

  1. Archive-name: computer-virus-faq
  2. Last-modified: 18 November 1992, 7:45 AM EST
  3.  
  4.            Frequently Asked Questions on VIRUS-L/comp.virus
  5.              Last Updated: 18 November 1992, 7:45 AM EST
  6.  
  7. ====================
  8. = Preface Section: =
  9. ====================
  10.  
  11. This  document  is  intended  to  answer  the  most  Frequently Asked
  12. Questions  (FAQs)  about computer viruses.  As you can see, there are
  13. many  of  them!   If  you are desperately seeking help after recently
  14. discovering  what  appears  to be a virus on  your computer, consider
  15. skimming through sections A and B to learn the essential jargon, then
  16. concentrate on section C.
  17.  
  18. If you may have found a new virus, or are not quite sure if some file
  19. or  boot  sector  is   infected,  it is  important to  understand the
  20. protocol for  raising such  questions, e.g. to avoid asking questions
  21. that  can  be  answered in this document, and to avoid sending "live"
  22. viruses except to someone who is responsible (and even then in a safe
  23. form!).
  24.  
  25. Above all,  remember the time to really worry about viruses is BEFORE
  26. your computer gets one!
  27.  
  28. The  FAQ  is  a dynamic document, which changes as people's questions
  29. change.  Contributions are  gratefully accepted -- please e-mail them
  30. to me at krvw@cert.org.  The most recent copy of this FAQ will always
  31. be  available  on  the  VIRUS-L/comp.virus  archives,  including  the
  32. anonymous FTP on cert.org (192.88.209.5) in the file:
  33. pub/virus-l/FAQ.virus-l
  34.  
  35. Ken van Wyk, moderator VIRUS-L/comp.virus
  36.  
  37. Primary contributors (in alphabetical order):
  38.     Mark Aitchison <phys169@csc.canterbury.ac.nz>
  39.     Vaughan Bell <vaughan@computing-department.poly-south-west.ac.uk>
  40.     Matt Bishop <matt.bishop@dartmouth.edu>
  41.     Vesselin Bontchev <bontchev@fbihh.informatik.uni-hamburg.de>
  42.     Olivier M.J. Crepin-Leblond <umeeb37@vaxa.cc.ic.ac.uk>
  43.     David Chess <chess@watson.ibm.com>
  44.     John-David Childs <con_jdc@lewis.umt.edu>
  45.     Nick FitzGerald <cctr132@csc.canterbury.ac.nz>
  46.     Claude Bersano-Hayes <hayes@urvax.urich.edu>
  47.     John Kida <jhk@washington.ssds.COM>
  48.     Donald G. Peters <Peters@Dockmaster.NCSC.Mil>
  49.     A. Padgett Peterson <padgett%tccslr.dnet@mmc.com>
  50.     Y. Radai <radai@hujivms.huji.ac.il>
  51.     Rob Slade <rslade@sfu.ca>
  52.     Gene Spafford <spaf@cs.purdue.edu>
  53.     Otto Stolz <rzotto@nyx.uni-konstanz.de>
  54.  
  55. ====================
  56.  
  57.              Questions answered in this document
  58.  
  59. Section A:   Sources of Information and Anti-viral Software
  60.              (Where can I find HELP..!)
  61.  
  62. A1)  What is VIRUS-L/comp.virus?
  63. A2)  What is the difference between VIRUS-L and comp.virus?
  64. A3)  How do I get onto VIRUS-L/comp.virus?
  65. A4)  What are the guidelines for VIRUS-L?
  66. A5)  How can I get back-issues of VIRUS-L?
  67. A6)  What is VALERT-L?
  68. A7)  What are the known viruses, their names, major symptoms and
  69.      possible cures?
  70. A8)  Where can I get free or shareware anti-virus programs?
  71. A9)  Where can I get more information on viruses, etc.?
  72.  
  73.  
  74. Section B:   Definitions
  75.              (What is ...?)
  76.  
  77. B1)  What are computer viruses (and why should I worry about them)?
  78. B2)  What is a Trojan Horse?
  79. B3)  What are the main types of PC viruses?
  80. B4)  What is a stealth virus?
  81. B5)  What is a polymorphic virus?
  82. B6)  What are fast and slow infectors?
  83. B7)  What is a sparse infector?
  84. B8)  What is a companion virus?
  85. B9)  What is an armored virus?
  86. B10) Miscellaneous Jargon and Abbreviations
  87.  
  88.  
  89. Section C:   Virus Detection
  90.              (Is my computer infected?  What do I do?)
  91.  
  92. C1)  What are the symptoms and indications of a virus infection?
  93. C2)  What steps should be taken in diagnosing and identifying viruses?
  94. C3)  What is the best way to remove a virus?
  95. C4)  What does the <insert name here> virus do?
  96. C5)  What are "false positives" and "false negatives"?
  97. C6)  Could an anti-viral program itself be infected?
  98. C7)  Where can I get a virus scanner for my Unix system?
  99. C8)  Why does an antiviral scanner report an infection only sometimes?
  100. C9)  Is my disk infected with the Stoned virus?
  101. C10) I think I have detected a new virus; what do I do?
  102. C11) CHKDSK reports  639K  (or less)  total memory on my system; am I
  103.      infected?
  104. C12) I have an infinite loop  of sub-directories on my hard drive; am
  105.      I infected?
  106.  
  107.  
  108. Section D:   Protection Plans
  109.              (What should I do to prepare against viruses?)
  110.  
  111. D1)  What is the best protection policy for my computer?
  112. D2)  Is it possible to protect a computer system with only software?
  113. D3)  Is it possible to write-protect the hard disk with only software?
  114. D4)  What can be done with hardware protection?
  115. D5)  Will  setting DOS file attributes to READ ONLY protect them from
  116.      viruses?
  117. D6)  Will  password/access  control  systems  protect  my  files from
  118.      viruses?
  119. D7)  Will the protection systems in DR DOS work against viruses?
  120. D8)  Will a write-protect tab on a floppy disk stop viruses?
  121. D9)  Do  local area  networks  (LANs) help to stop viruses or do they
  122.      facilitate their spread?
  123. D10) What is the proper way to make backups?
  124.  
  125.  
  126. Section E:    Facts and Fibs about computer viruses
  127.               (Can a virus...?)
  128.  
  129. E1)  Can boot sector viruses infect non-bootable floppy disks?
  130. E2)  Can a virus hide in a PC's CMOS memory?
  131. E3)  Can a virus hide in Extended or in Expanded RAM?
  132. E4)  Can a virus hide in Upper Memory or in High Memory?
  133. E5)  Can a virus infect data files?
  134. E6)  Can viruses spread from one type of computer to another?
  135. E7)  Can DOS viruses run on non-DOS machines (e.g. Mac, Amiga)?
  136. E8)  Can mainframe computers be susceptible to computer viruses?
  137. E9)  Some people say that disinfecting files is a bad idea. Is that
  138.      true?
  139. E10) Can I avoid viruses by avoiding shareware/free software/games?
  140. E11) Can I contract a virus on my PC by performing a "DIR" of an
  141.      infected floppy disk?
  142. E12) Is there any risk in copying data files from an infected floppy
  143.      disk to a clean PC's hard disk?
  144. E13) Can a DOS virus survive and spread on an OS/2 system using the
  145.      HPFS file system?
  146. E14) Under OS/2 2.0, could a virus infected DOS session infect another
  147.      DOS session?
  148. E15) Can normal DOS viruses work under MS Windows?
  149.  
  150.  
  151. Section F:    Miscellaneous Questions
  152.               (I was just wondering...)
  153.  
  154. F1) How many viruses are there?
  155. F2) How do viruses spread so quickly?
  156. F3) What  is  the plural of "virus"?   "Viruses" or "viri" or "virii"
  157.     or...
  158. F4) When  reporting  a  virus infection (and looking for assistance),
  159.     what information should be included?
  160. F5) How often  should we  upgrade  our  anti-virus  tools to minimize
  161.     software and labor costs and maximize our protection?
  162.  
  163.  
  164. Section G:    Specific Virus and Anti-viral software Questions...
  165.  
  166. G1) I  was  infected  by  the  Jerusalem  virus  and  disinfected the
  167.     infected  files  with  my favorite  anti-virus program.  However,
  168.     Wordperfect and some other programs still refuse to work.  Why?
  169. G2) I  was  told  that the Stoned virus displays the text "Your PC is
  170.     now  Stoned" at  boot time.  I have  been  infected by this virus
  171.     several times, but have never seen the message.  Why?
  172. G3) I  was   infected   by both  Stoned and Michelangelo.  Why has my
  173.     computer became unbootable?  And why, each time I run my favorite
  174.     scanner,  does it  find  one  of the viruses  and say  that it is
  175.     removed, but when I run it again, it says that the virus is still
  176.     there?
  177.  
  178.  
  179. ================================================================
  180. = Section A.   Sources of Information and Anti-viral Software. =
  181. ================================================================
  182.  
  183. A1) What is VIRUS-L/comp.virus?
  184.  
  185. It is a discussion forum with a focus on computer virus issues.  More
  186. specifically, VIRUS-L is an electronic mailing list and comp.virus is
  187. a  USENET  newsgroup.  Both groups are moderated; all submissions are
  188. sent  to the moderator for possible inclusion in the group.  For more
  189. information, including a copy of the posting guidelines, see the file
  190. virus-l.README,  available  by  anonymous  FTP  on  cert.org  in  the
  191. pub/virus-l directory.  (FTP is the Internet  File Transfer Protocol,
  192. and  is  described  in more detail in  the monthly VIRUS-L/comp.virus
  193. archive postings - see below.)
  194.  
  195. Note  that  there  have  been, from time to time, other USENET cross-
  196. postings  of  VIRUS-L,  including  the  bit.listserv.virus-l.   These
  197. groups  are  generally set  up by individual site maintainers and are
  198. not as globally accessible as VIRUS-L and comp.virus.
  199.  
  200.  
  201. A2) What is the difference between VIRUS-L and comp.virus?
  202.  
  203. As  mentioned  above,  VIRUS-L  is a mailing list and comp.virus is a
  204. newsgroup. In addition, VIRUS-L is distributed in digest format (with
  205. multiple  e-mail  postings  in one  large  digest)  and comp.virus is
  206. distributed as individual news postings.  However, the content of the
  207. two groups is identical.
  208.  
  209.  
  210. A3) How do I get onto VIRUS-L/comp.virus?
  211.  
  212. Send  e-mail to LISTSERV@LEHIGH.EDU stating: "SUB VIRUS-L your-name".
  213. To  "subscribe"  to  comp.virus, simply use your favorite USENET news
  214. reader  to  read  the  group (assuming that your site receives USENET
  215. news).
  216.  
  217.  
  218. A4) What are the guidelines for VIRUS-L?
  219.  
  220. The list of posting guidelines is available by anonymous FTP on
  221. cert.org.  See the file pub/virus-l/virus-l.README for the most recent
  222. copy.  In general, however, the moderator requires that discussions
  223. are polite and non-commercial.  (Objective postings of product
  224. availability, product reviews, etc., are fine, but commercial
  225. advertisements are not.)  Also, requests for viruses (binary or
  226. disassembly) are not allowed.  Technical discussions are strongly
  227. encouraged, however, within reason.
  228.  
  229.  
  230. A5) How can I get back-issues of VIRUS-L?
  231.  
  232. VIRUS-L/comp.virus includes a series of archive sites that carry all
  233. the back issues of VIRUS-L, as well as public anti-virus software (for
  234. various computers) and documents.  The back-issues date back to the
  235. group's inception, 21 April 1988.  The list of archive sites is
  236. updated monthly and distributed to the group; it includes a complete
  237. listing of the sites, what they carry, access instructions, as well as
  238. information on how to access FTP sites by e-mail.  The anonymous FTP
  239. archive at cert.org carries all of the VIRUS-L back issues.  See the
  240. file pub/virus-l/README for more information on the cert.org archive
  241. site.
  242.  
  243.  
  244. A6) What is VALERT-L?
  245.  
  246. VALERT-L is a sister group to VIRUS-L, but is intended for virus
  247. alerts and warnings only -- NO DISCUSSIONS.  There is no direct USENET
  248. counterpart to VALERT-L; it is a mailing list only.  All VALERT-L
  249. postings are re-distributed to VIRUS-L/comp.virus later.  This group
  250. is also moderated, but on a much higher priority than VIRUS-L.  The
  251. group is monitored during business hours (East Coast, U.S.A.,
  252. GMT-5/GMT-4); high priority off-hour postings can be made by
  253. submitting to the group and then telephoning the CERT/CC hotline at +1
  254. 412 268 7090 -- instruct the person answering the hotline to call or
  255. page Ken van Wyk.
  256.  
  257. Subscriptions to VALERT-L are handled identically to VIRUS-L --
  258. contact the LISTSERV.
  259.  
  260.  
  261. A7) What are the known viruses, their names, major symptoms and
  262.     possible cures?
  263.  
  264. First of all, the reader must be aware that there is no universally
  265. accepted naming convention for viruses, nor is there any standard
  266. means of testing.  As a consequence nearly ALL viral information is
  267. highly subjective and subject to interpretation and dispute.
  268.  
  269. There are several major sources of information on specific viruses.
  270. Probably the biggest one is Patricia Hoffman's hypertext VSUM.  It
  271. describes only DOS viruses, but almost all of them which are known
  272. at any given time.  Unfortunately, it is regarded by many in the field
  273. as being inaccurate, so we do not advise people to rely solely on it.
  274. It can be downloaded from most major archive sites except SIMTEL20.
  275.  
  276. The second one is the Computer Virus Catalog, published by the Virus
  277. Test Center in Hamburg.  It contains a highly technical description of
  278. computer viruses for several platforms: DOS, Mac, Amiga, Atari ST,
  279. Unix.  Unfortunately, the DOS section is quite incomplete.  The CVC
  280. is available for anonymous FTP from ftp.informatik.uni-hamburg.de
  281. (IP=134.100.4.42), directory pub/virus/texts/catalog.  (A copy of the
  282. CVC is also available by anonymous FTP on cert.org in the
  283. pub/virus-l/docs/vtc directory.)
  284.  
  285. A third source of information is the monthly Virus Bulletin, published
  286. in the UK.  Among other things, it gives detailed technical
  287. information on viruses (see also A9 below).  Unfortunately, it is very
  288. expensive (the subscription price is $395 per year).  US subscriptions
  289. can be obtained by calling 203-431-8720 or writing to 590 Danbury
  290. Road, Ridgefield, CT 06877; for European subscriptions, the number is
  291. +44-235-555139 and the address is: The Quadrant, Abingdon, OX14 3YS,
  292. England.
  293.  
  294. A fourth good source of information on DOS viruses is the "Computer
  295. Viruses" report of the National/International Computer Security
  296. Association.  This is updated regularly, and is fairly complete.
  297. Copies cost approximately $75, and can be ordered by calling +1-
  298. 202-244-7875.  ICSA/NCSA also publishes the monthly "Virus News and
  299. Reviews" and other publications.
  300.  
  301. Another source of information is the documentation of Dr. Solomon's
  302. Anti-Virus ToolKit.  It is more complete than the CVC list, just as
  303. accurate (if not more), but lists only DOS viruses.  However, it is
  304. not available electronically; you must buy his anti-virus package and
  305. the virus information is part of the documentation.
  306.  
  307. Yet another source of information is "Virus News International",
  308. published by S & S International.  And, while not entirely virus-
  309. related, "Computers & Security" provides information on many
  310. aspects of computer security, including viruses.
  311.  
  312. The best source of information available on Apple Macintosh viruses is
  313. the on-line documentation provided with the freeware Disinfectant
  314. program by John Norstad.  This is available at most Mac archive sites.
  315.  
  316.  
  317. A8) Where can I get free or shareware anti-virus programs?
  318.  
  319. The VIRUS-L/comp.virus archive sites carry publicly distributable
  320. anti-virus software products.  See a recent listing of the archive
  321. sites (or ask the moderator for a recent listing) for more information
  322. on these sites.
  323.  
  324. Many freeware/shareware anti-virus programs for DOS are available via
  325. anonymous FTP on WSMR-SIMTEL20.ARMY.MIL (192.88.110.20), in the
  326. directory PD1:<MSDOS.TROJAN-PRO>.  Note that the SIMTEL20 archives
  327. are also "mirrored" at many other anonymous FTP sites, including
  328. oak.oakland.edu (141.210.10.117, pub/msdos/trojan-pro),
  329. wuarchive.wustl.edu (128.252.135.4, /mirrors/msdos/trojan-pro),
  330. and nic.funet.fi (128.214.6.100, /pub/msdos/utilities/trojan-pro).
  331. They can also be obtained via e-mail in uuencoded form from various
  332. TRICKLE sites, especially in Europe.
  333.  
  334. Likewise, Macintosh anti-virus programs can be found on SIMTEL20 in
  335. the PD3:<MACINTOSH.VIRUS> directory.
  336.  
  337. A list of many anti-viral programs, incl. commercial products and one
  338. person's rating of them, can be obtained by anonymous ftp from
  339. cert.org (192.88.209.5) in pub/virus-l/docs/reviews as file
  340. slade.quickref.rvw.
  341.  
  342.  
  343. A9)  Where can I get more information on viruses, etc.?
  344.  
  345. There are four excellent books on computer viruses available that
  346. should cover most of the introductory and technical questions you
  347. might have:
  348.  
  349.     * "Computers Under Attack: Intruders, Worms and Viruses," edited by
  350.    Peter J. Denning, ACM Press/Addison-Wesley, 1990.  This is a book of
  351.    collected readings that discuss computer viruses, computer worms,
  352.    break-ins, legal and social aspects, and many other items related to
  353.    computer security and malicious software.  A very solid, readable
  354.    collection that doesn't require a highly-technical background.
  355.    Price: $20.50.
  356.  
  357.      * "Rogue Programs: Viruses, Worms and Trojan Horses," edited by
  358.    Lance J. Hoffman, Van Nostrand Reinhold, 1990.  This is a book of
  359.    collected readings describing in detail how viruses work, where they
  360.    come from, what they do, etc.  It also has material on worms, trojan
  361.    horse programs, and other malicious software programs.  This book
  362.    focuses more on mechanism and relatively less on social aspects than
  363.    does the Denning book; however, there is an excellent piece by Anne
  364.    Branscomb that covers the legal aspects.  Price: $32.95.
  365.  
  366.      * "A Pathology of Computer Viruses," by David Ferbrache,
  367.    Springer-Verlag, 1992.  This is a recent, in-depth book on the
  368.    history, operation, and effects of computer viruses.  It is one of the
  369.    most complete books on the subject, with an extensive history section,
  370.    a section on Macintosh viruses, network worms, and Unix viruses (if
  371.    they were to exist).
  372.  
  373.      * "A Short Course on Computer Viruses", by Dr. Fred B. Cohen, ASP
  374.    Press, 1990.  This book is by a well-known pioneer in virus research,
  375.    who has also written dozens of technical papers on the subject.  The
  376.    book can be obtained by writing to ASP Press, P.O. Box 81270,
  377.    Pittsburgh, PA 15217.  Price: $24.00.
  378.  
  379. A somewhat dated, but still useful, high-level description of viruses,
  380. suitable for a complete novice without extensive computer background
  381. is in "Computer Viruses: Dealing with Electronic Vandalism and
  382. Programmed Threats," by Eugene H. Spafford, Kathleen A. Heaphy, and
  383. David J. Ferbrache, ADAPSO (Arlington VA), 1989.  ADAPSO is a
  384. computer industry service organization and not a publisher, so the
  385. book cannot be found in bookstores; copies can be obtained directly
  386. from ADAPSO @ +1 703-522-5055).  There is a discount for ADAPSO
  387. members, educators, and law enforcement personnel.  Many people have
  388. indicated they find this a very understandable reference; portions of
  389. it have been reprinted many other places, including Denning &
  390. Hoffman's books (above).
  391.  
  392. It is also worth consulting various publications such as _Computers &
  393. Security_ (which, while not restricted to viruses, contains many of
  394. Cohen's papers) and the _Virus Bulletin_ (published in the UK; its
  395. technical articles are considered good, although there has been much
  396. criticism in VIRUS-L of some of its product evaluations).
  397.  
  398.  
  399. ======================================================
  400. = Section B.   Definitions and General Information   =
  401. ======================================================
  402.  
  403. B1) What are computer viruses (and why should I worry about them)?
  404.  
  405. According to Fred Cohen's well-known definition, a COMPUTER VIRUS is a
  406. computer program that can infect other computer programs by modifying
  407. them in such a way as to include a (possibly evolved) copy of itself.
  408. Note that a program does not have to perform outright damage (such as
  409. deleting or corrupting files) in order to to be called a "virus".
  410. However, Cohen uses the terms within his definition (e.g. "program"
  411. and "modify") a bit differently from the way most anti-virus
  412. researchers use them, and classifies as viruses some things which most
  413. of us would not consider viruses.
  414.  
  415. Many people use the term loosely to cover any sort of program that
  416. tries to hide its (malicious) function and tries to spread onto as
  417. many computers as possible.  (See the definition of "Trojan".)  Be
  418. aware that what constitutes a "program" for a virus to infect may
  419. include a lot more than is at first obvious - don't assume too much
  420. about what a virus can or can't do!
  421.  
  422. These software "pranks" are very serious; they are spreading faster
  423. than they are being stopped, and even the least harmful of viruses
  424. could be fatal.  For example, a virus that stops your computer and
  425. displays a message, in the context of a hospital life-support
  426. computer, could be fatal.  Even those who created the viruses could
  427. not stop them if they wanted to; it requires a concerted effort from
  428. computer users to be "virus-aware", rather than the ignorance and
  429. ambivalence that have allowed them to grow to such a problem.
  430.  
  431.  
  432. B2) What is a Trojan Horse?
  433.  
  434. A TROJAN HORSE is a program that does something undocumented which the
  435. programmer intended, but that the user would not approve of if he knew
  436. about it.  According to some people, a virus is a particular case of a
  437. Trojan Horse, namely one which is able to spread to other programs
  438. (i.e., it turns them into Trojans too).  According to others, a virus
  439. that does not do any deliberate damage (other than merely replicating)
  440. is not a Trojan.  Finally, despite the definitions, many people use
  441. the term "Trojan" to refer only to a *non-replicating* malicious
  442. program, so that the set of Trojans and the set of viruses are
  443. disjoint.
  444.  
  445.  
  446. B3) What are the main types of PC viruses?
  447.  
  448. Generally, there are two main classes of viruses.  The first class
  449. consists of the FILE INFECTORS which attach themselves to ordinary
  450. program files.  These usually infect arbitrary .COM and/or .EXE
  451. programs, though some can infect any program for which execution is
  452. requested, such as .SYS, .OVL, .PRG, & .MNU files.
  453.  
  454. File infectors can be either DIRECT ACTION or RESIDENT.  A direct-
  455. action virus selects one or more other programs to infect each time
  456. the program which contains it is executed.  A resident virus hides
  457. itself somewhere in memory the first time an infected program is
  458. executed, and thereafter infects other programs when *they* are
  459. executed (as in the case of the Jerusalem) or when certain other
  460. conditions are fulfilled.  The Vienna is an example of a direct-action
  461. virus.  Most other viruses are resident.
  462.  
  463. The second category is SYSTEM or BOOT-RECORD INFECTORS: those viruses
  464. which infect executable code found in certain system areas on a disk
  465. which are not ordinary files.   On DOS systems, there are ordinary
  466. boot-sector viruses, which infect only the DOS boot sector, and MBR
  467. viruses which infect the Master Boot Record on fixed disks and the DOS
  468. boot sector on diskettes.  Examples include Brain, Stoned, Empire,
  469. Azusa, and Michelangelo.  Such viruses are always resident viruses.
  470.  
  471. Finally, a few viruses are able to infect both (the Tequila virus is
  472. one example).  These are often called "MULTI-PARTITE" viruses, though
  473. there has been criticism of this name; another name is "BOOT-AND-FILE"
  474. virus.
  475.  
  476. FILE SYSTEM or CLUSTER viruses (e.g. Dir-II) are those which modify
  477. directory table entries so that the virus is loaded and executed
  478. before the desired program is.  Note that the program itself is not
  479. physically altered, only the directory entry is.  Some consider these
  480. infectors to be a third category of viruses, while others consider
  481. them to be a sub-category of the file infectors.
  482.  
  483.  
  484. B4) What is a stealth virus?
  485.  
  486. A STEALTH virus is one which hides the modifications it has made in
  487. the file or boot record, usually by monitoring the system functions
  488. used by programs to read files or physical blocks from storage media,
  489. and forging the results of such system functions so that programs
  490. which try to read these areas see the original uninfected form of the
  491. file instead of the actual infected form. Thus the viral modifications
  492. go undetected by anti-viral programs.  However, in order to do this,
  493. the virus must be resident in memory when the anti-viral program is
  494. executed.
  495.  
  496. Example: The very first DOS virus, Brain, a boot-sector infector,
  497. monitors physical disk I/O and re-directs any attempt to read a
  498. Brain-infected boot sector to the disk area where the original boot
  499. sector is stored.  The next viruses to use this technique were the
  500. file infectors Number of the Beast and Frodo (= 4096 = 4K).
  501.  
  502. Countermeasures: A "clean" system is needed so that no virus is
  503. present to distort the results.  Thus the system should be built from
  504. a trusted, clean master copy before any virus-checking is attempted;
  505. this is "The Golden Rule of the Trade."  With DOS, (1) boot from
  506. original DOS diskettes (i.e. DOS Startup/Program diskettes from a
  507. major vendor that have been write-protected since their creation);
  508. (2) use only tools from original diskettes until virus-checking has
  509. completed.
  510.  
  511.  
  512. B5) What is a polymorphic virus?
  513.  
  514. A POLYMORPHIC virus is one which produces varied (yet fully
  515. operational) copies of itself, in the hope that virus scanners (see
  516. D1) will not be able to detect all instances of the virus.
  517.  
  518. One method to evade signature-driven virus scanners is self-encryption
  519. with a variable key; however these viruses (e.g. Cascade) are not
  520. termed "polymorphic," as their decryption code is always the same and
  521. thus can be used as a virus signature even by the simplest, signature-
  522. driven virus scanners (unless another virus or program uses the
  523. identical decryption routine).
  524.  
  525. One method to make a polymorphic virus is to choose among a variety of
  526. different encryption schemes requiring different decryption routines:
  527. only one of these routines would be plainly visible in any instance of
  528. the virus (e.g. the Whale virus).  A signature-driven virus scanner
  529. would have to exploit several signatures (one for each possible
  530. encryption method) to reliably identify a virus of this kind.
  531.  
  532. A more sophisticated polymorphic virus (e.g. V2P6) will vary the
  533. sequence of instructions in its copies by interspersing it with
  534. "noise" instructions (e.g. a No Operation instruction, or an
  535. instruction to load a currently unused register with an arbitrary
  536. value), by interchanging mutually independent instructions, or even by
  537. using various instruction sequences with identical net effects (e.g.
  538. Subtract A from A, and Move 0 to A).  A simple-minded, signature-based
  539. virus scanner would not be able to reliably identify this sort of
  540. virus; rather, a sophisticated "scanning engine" has to be constructed
  541. after thorough research into the particular virus.
  542.  
  543. The most sophisticated form of polymorphism discovered so far is the
  544. MtE "Mutation Engine" written by the Bulgarian virus writer who calls
  545. himself the "Dark Avenger".  It comes in the form of an object module.
  546. Any virus can be made polymorphic by adding certain calls to the
  547. assembler source code and linking to the mutation-engine and
  548. random-number-generator modules.
  549.  
  550. The advent of polymorphic viruses has rendered virus-scanning an ever
  551. more difficult and expensive endeavor; adding more and more search
  552. strings to simple scanners will not adequately deal with these
  553. viruses.
  554.  
  555.  
  556. B6) What are fast and slow infectors?
  557.  
  558. A typical file infector (such as the Jerusalem) copies itself to
  559. memory when a program infected by it is executed, and then infects
  560. other programs when they are executed.
  561.  
  562. A FAST infector is a virus which, when it is active in memory, infects
  563. not only programs which are executed, but even those which are merely
  564. opened.  The result is that if such a virus is in memory, running a
  565. scanner or integrity checker can result in all (or at least many)
  566. programs becoming infected all at once.  Examples are the Dark Avenger
  567. and the Frodo viruses.
  568.  
  569. The term "SLOW infector" is sometimes used for a virus which, if it is
  570. active in memory, infects only files as they are modified (or
  571. created).  The purpose is to fool people who use integrity checkers
  572. into thinking that the modification reported by the integrity checker
  573. is due solely to legitimate reasons.  An example is the Darth Vader
  574. virus.
  575.  
  576.  
  577. B7) What is a sparse infector?
  578.  
  579. The term "SPARSE infector" is sometimes given to a virus which
  580. infects only occasionally, e.g. every 10th executed file, or only
  581. files whose lengths fall within a narrow range, etc.  By infecting
  582. less often, such viruses try to minimize the probability of being
  583. discovered by the user.
  584.  
  585.  
  586. B8) What is a companion virus?
  587.  
  588. A COMPANION virus is one which, instead of modifying an existing file,
  589. creates a new program which (unknown to the user) gets executed by the
  590. command-line interpreter instead of the intended program.  (On exit,
  591. the new program executes the original program so that things will
  592. appear normal.)  The only way this has been done so far is by creating
  593. an infected .COM file with the same name as an existing .EXE file.
  594. Note that those integrity checkers which look only for *modifications*
  595. in *existing* files will fail to detect such viruses.
  596.  
  597. (Note that not all researchers consider this type of malicious code
  598. to be a virus, since it does not modify existing files.)
  599.  
  600.  
  601. B9) What is an armored virus?
  602.  
  603. An ARMORED virus is one which uses special tricks to make the tracing,
  604. disassembling and understanding of their code more difficult.  A good
  605. example is the Whale virus.
  606.  
  607.  
  608. B10) Miscellaneous Jargon and Abbreviations
  609.  
  610. BSI = Boot Sector Infector: a virus which takes control when the
  611.  computer attempts to boot (as opposed to a file infector).
  612.  
  613. CMOS = Complementary Metal Oxide Semiconductor: A memory area that is
  614.  used in AT and higher class PCs for storage of system information.
  615.  CMOS is battery backed RAM (see below), originally used to maintain
  616.  date and time information while the PC was turned off.  CMOS memory
  617.  is not in the normal CPU address space and cannot be executed.  While
  618.  a virus may place data in the CMOS or may corrupt it, a virus cannot
  619.  hide there.
  620.  
  621. DOS = Disk Operating System.  We use the term "DOS" to mean any of the
  622.  MS-DOS, PC-DOS, or DR DOS systems for PCs and compatibles, even
  623.  though there are operating systems called "DOS" on other (unrelated)
  624.  machines.
  625.  
  626. MBR = Master Boot Record: the first Absolute sector (track 0, head 0,
  627.  sector 1) on a PC hard disk, that usually contains the partition table
  628.  (but on some PCs may simply contain a boot sector).  This is not the
  629.  same as the first DOS sector (Logical sector 0).
  630.  
  631. RAM = Random Access Memory: the place programs are loaded into in
  632.  order to execute; the significance for viruses is that, to be active,
  633.  they must grab some of this for themselves.  However, some virus
  634.  scanners may declare that a virus is active simply when it is found
  635.  in RAM, even though it might be simply left over in a buffer area of
  636.  RAM rather than truly being active.
  637.  
  638. TOM = Top Of Memory: the end of conventional memory, an architectural
  639.  design limit at the 640K mark on most PCs.  Some early PCs may not
  640.  be fully populated, but the amount of memory is always a multiple of
  641.  64K.  A boot-record virus on a PC typically resides just below this
  642.  mark and changes the value which will be reported for the TOM to the
  643.  location of the beginning of the virus so that it won't get
  644.  overwritten.  Checking this value for changes can help detect a
  645.  virus, but there are also legitimate reasons why it may change (see
  646.  C11).  A very few PCs with unusual memory managers/settings may
  647.  report in excess of 640K.
  648.  
  649. TSR = Terminate but Stay Resident: these are PC programs that stay in
  650.  memory while you continue to use the computer for other purposes;
  651.  they include pop-up utilities, network software, and the great
  652.  majority of viruses.  These can often be seen using utilities such as
  653.  MEM, MAPMEM, PMAP, F-MMAP and INFOPLUS.
  654.  
  655.  
  656. =================================
  657. = Section C.    Virus Detection =
  658. =================================
  659.  
  660. C1)  What are the symptoms and indications of a virus infection?
  661.  
  662. Viruses try to spread as much as possible before they deliver their
  663. "payload", but there can be symptoms of virus infection before this,
  664. and it is important to use this opportunity to spot and eradicate the
  665. virus before any destruction.
  666.  
  667. There are various kinds of symptoms which some virus authors have
  668. written into their programs, such as messages, music and graphical
  669. displays.  However, the main indications are changes in file sizes and
  670. contents, changing of interrupt vectors or the reassignment of other
  671. system resources.  The unaccounted use of RAM or a reduction in the
  672. amount known to be in the machine are important indicators.  The
  673. examination of the code is valuable to the trained eye, but even the
  674. novice can often spot the gross differences between a valid boot
  675. sector and an infected one.  However, these symptoms, along with
  676. longer disk activity and strange behavior from the hardware, can also
  677. be caused by genuine software, by harmless "prank" programs, or by
  678. hardware faults.
  679.  
  680. The only foolproof way to determine that a virus is present is for an
  681. expert to analyze the assembly code contained in all programs and
  682. system areas, but this is usually impracticable.  Virus scanners go
  683. some way towards that by looking in that code for known viruses; some
  684. will even try to use heuristic means to spot viral code, but this is
  685. not always reliable.  It is wise to arm yourself with the latest
  686. anti-viral software, but also to pay close attention to your system;
  687. look particularly for any change in the memory map or configuration as
  688. soon as you start the computer.  For users of DOS 5.0, the MEM program
  689. with the /C switch is very handy for this.  If you have DRDOS, use MEM
  690. with the /A switch; if you have an earlier version, use CHKDSK or the
  691. commonly-available PMAP or MAPMEM utilities.  You don't have to know
  692. what all the numbers mean, only that they change.  Mac users have
  693. "info" options that give some indication of memory use, but may need
  694. ResEdit for more detail.
  695.  
  696.  
  697. C2)  What steps should be taken in diagnosing and identifying viruses?
  698.  
  699. Most of the time, a virus scanner program will take care of that for
  700. you.  (Remember, though, that scanning programs must be kept up to
  701. date.  Also remember that different scanner authors may call the same
  702. virus by different names.  If you want to identify a virus in order to
  703. ask for help, it is best to run at least two scanners on it and, when
  704. asking, say which scanners, and what versions, gave the names.)  To
  705. help identify problems early, run it on new programs and diskettes;
  706. when an integrity checker reports a mismatch, when a generic
  707. monitoring program sounds an alarm; or when you receive an updated
  708. version of a scanner (or a different scanner than the one you have
  709. been using).  However, because of the time required, it is not
  710. generally advisable to insert into your AUTOEXEC.BAT file a command to
  711. run a scanner on an entire hard disk on every boot.
  712.  
  713. If you run into an alarm that the scanner doesn't identify, or
  714. doesn't properly clean up for you, first verify that the version that
  715. you are using is the most recent, and then get in touch with one of
  716. the reputable antivirus researchers, who may ask you to send a copy
  717. of the infected file to him.  See also question C10.
  718.  
  719.  
  720. C3) What is the best way to remove a virus?
  721.  
  722. In order that downtime be short and losses low, do the minimum that
  723. you must to restore the system to a normal state, starting with
  724. booting the system from a clean diskette.  It is very unlikely that
  725. you need to low-level reformat the hard disk!
  726.  
  727. If backups of the infected files are available and appropriate care
  728. was taken when making the backups (see D10), this is the safest
  729. solution, even though it requires a lot of work if many files are
  730. involved.
  731.  
  732. More commonly, a disinfecting program is used.  If the virus is a boot
  733. sector infector, you can continue using the computer with relative
  734. safety if you boot it from a clean system diskette, but it is wise to
  735. go through all your diskettes removing infection, since sooner or
  736. later you may be careless and leave a diskette in the machine when it
  737. reboots.  Boot sector infections on PCs can be cured by a two-step
  738. approach of replacing the MBR (on the hard disk), either by using a
  739. backup or by the FDISK/MBR command (from DOS 5 and up), then using the
  740. SYS command to replace the DOS boot sector.
  741.  
  742.  
  743. C4) What does the <insert name here> virus do?
  744.  
  745. If an anti-virus program has detected a virus on your computer, don't
  746. rush to post a question to this list asking what it does.  First, it
  747. might be a false positive alert (especially if the virus is found only
  748. in one file), and second, some viruses are extremely common, so the
  749. question "What does the Stoned virus do?" or "What does the Jerusalem
  750. virus do?" is asked here repeatedly.  While this list is monitored by
  751. several anti-virus experts, they get tired of perpetually answering
  752. the same questions over and over again.  In any case, if you really
  753. need to know what a particular virus does (as opposed to knowing
  754. enough to get rid of it), you will need a longer treatise than could
  755. be given to you here.
  756.  
  757. For example, the Stoned virus replaces the disk's boot record with its
  758. own, relocating the original to a sector on the disk that may (or may
  759. not) occur in an unused portion of the root directory of a DOS
  760. diskette; when active, it sits in an area a few kilobytes below the
  761. top of memory.  All this description could apply to a number of common
  762. viruses; but the important points of where the original boot sector
  763. goes - and what effect that has on networking software, non-DOS
  764. partitions, and so on are all major questions in themselves.
  765.  
  766. Therefore, it is better if you first try to answer your question
  767. yourself.  There are several sources of information about the known
  768. computer viruses, so please consult one of them before requesting
  769. information publicly.  Chances are that your virus is rather well known
  770. and that it is already described in detail in at least one of these
  771. sources.  (See the answer to question A7, for instance.)
  772.  
  773.  
  774. C5) What are "false positives" and "false negatives"?
  775.  
  776. A FALSE POSITIVE (or Type-I) error is one in which the anti-viral
  777. software claims that a given file is infected by a virus when in
  778. reality the file is clean.  A FALSE NEGATIVE (or Type-II) error is one
  779. in which the software fails to indicate that an infected file is
  780. infected.  Clearly false negatives are more serious than false
  781. positives, although both are undesirable.
  782.  
  783. It has been proven by Dr. Fred Cohen that every virus detector must
  784. have either false positives or false negatives or both.  This is
  785. expressed by saying that detection of viruses is UNDECIDABLE.
  786. However his theorem does not preclude a program which has no false
  787. negatives and *very few* false positives (e.g. if the only false
  788. positives are those due to the file containing viral code which is
  789. never actually executed, so that technically we do not have a virus).
  790.  
  791. In the case of virus scanners, false positives are rare, but they can
  792. arise if the scan string chosen for a given virus is also present in
  793. some benign programs because the string was not well chosen.  False
  794. negatives are more common with virus scanners because scanners will
  795. miss a completely new or a heavily modified virus.
  796.  
  797. One other serious problem could occur: A positive that is misdiagnosed
  798. (e.g., a scanner that detects the Empire virus in a boot record but
  799. reports it as the Stoned).  In the case of a boot sector infector, use
  800. of a Stoned specific "cure" to recover from the Empire could result in
  801. an unreadable disk or loss of extended partitions.  Similarly,
  802. sometimes "generic" recovery can result in unusable files, unless a
  803. check is made (e.g. by comparing checksums) that the recovered file is
  804. identical to the original file.  Some more recent products store
  805. information about the original programs to allow verification of
  806. recovery processes.
  807.  
  808.  
  809. C6) Could an anti-viral program itself be infected?
  810.  
  811. Yes, so it is important to obtain this software from good sources, and
  812. to trust results only after running scanners from a "clean" system.
  813. But there are situations where a scanner appears to be infected when
  814. it isn't.
  815.  
  816. Most antiviral programs try very hard to identify only viral
  817. infections, but sometimes they give false alarms.  If two different
  818. antiviral programs are both of the "scanner" type, they will contain
  819. "signature strings" to identify viral infections.  If the strings are
  820. not "encrypted", then they will be identified as a virus by another
  821. scanner type program.  Also, if the scanner does not remove the
  822. strings from memory after they are run, then another scanner may
  823. detect the virus string "in memory".
  824.  
  825. Some "change detection" type antiviral programs add a bit of code or
  826. data to a program when "protecting" it.  This might be detected by
  827. another "change detector" as a change to a program, and therefore
  828. suspicious.
  829.  
  830. It is good practice to use more than one antiviral program.  Do be
  831. aware, however, that antiviral programs, by their nature, may confuse
  832. each other.
  833.  
  834.  
  835. C7) Where can I get a virus scanner for my Unix system?
  836.  
  837. Basically, you shouldn't bother scanning for Unix viruses at this
  838. point in time.  Although it is possible to write Unix-based viruses,
  839. we have yet to see any instance of a non-experimental virus in that
  840. environment.  Someone with sufficient knowledge and access to write an
  841. effective virus would be more likely to conduct other activities than
  842. virus-writing.  Furthermore, the typical form of software sharing in
  843. an Unix environment would not support virus spread.
  844.  
  845. This answer is not meant to imply that viruses are impossible, or that
  846. there aren't security problems in a typical Unix environment -- there
  847. are.  However, true viruses are highly unlikely and would corrupt file
  848. and/or memory integrity.  For more information on Unix security, see
  849. the book "Practical Unix Security" by Garfinkel and Spafford, O'Reilly
  850. & Associates, 1991 (it can be ordered via e-mail from nuts@ora.com).
  851.  
  852. However, there are special cases for which scanning Unix systems for
  853. non-Unix viruses does make sense.  For example, a Unix system which is
  854. acting as a file server (e.g., PC-NFS) for PC systems is quite capable
  855. of containing PC file infecting viruses that are a danger to PC clients.
  856. Note that, in this example, the UNIX system would be scanned for PC
  857. viruses, not UNIX viruses.
  858.  
  859. Another example is in the case of a 386/486 PC system running Unix,
  860. since this system is still vulnerable to infection by MBR infectors
  861. such as Stoned and Michelangelo, which are operating system
  862. independent.  (Note that an infection on such a Unix PC system would
  863. probably result in disabling the Unix disk partition(s) from booting.)
  864.  
  865. In addition, a file integrity checker (to detect unauthorized changes
  866. in executable files) on Unix systems is a very good idea.  (One free
  867. program which can do this test, as well as other tests, is the COPS
  868. package, available by anonymous FTP on cert.org.)  Unauthorized
  869. file changes on Unix systems are very common, although they usually
  870. are not due to virus activity.
  871.  
  872.  
  873. C8) Why does my anti-viral scanner report an infection only sometimes?
  874.  
  875. There are circumstances where part of a virus exists in RAM without
  876. being active:  If your scanner reports a virus in memory only
  877. occasionally, it could be due to the operating system buffering disk
  878. reads, keeping disk contents that include a virus in memory
  879. (harmlessly), in which case it should also find it on disk.  Or after
  880. running another scanner, there may be scan strings left (again
  881. harmlessly) in memory.  This is sometimes called a "ghost positive"
  882. alert.
  883.  
  884.  
  885. C9) Is my disk infected with the Stoned virus?
  886.  
  887. Of course the answer to this, and many similar questions, is to obtain
  888. a good virus detector.  There are many to choose from, including ones
  889. that will scan diskettes automatically as you use them.  Remember to
  890. check all diskettes, even non-system ("data") diskettes.
  891.  
  892. It is possible, if you have an urgent need to check a system when
  893. you don't have any anti-viral tools, to boot from a clean system
  894. diskette, and use the CHKDSK method (mentioned in C1) to see if it is
  895. in memory, then look at the boot sector with a disk editor.  Usually
  896. the first few bytes will indicate the characteristic far jump of the
  897. Stoned virus; however, you could be looking at a perfectly good disk
  898. that has been "innoculated" against the virus, or at a diskette that
  899. seems safe but contains a totally different type of virus.
  900.  
  901.  
  902. C10) I think I have detected a new virus; what do I do?
  903.  
  904. Whenever there is doubt over a virus, you should obtain the latest
  905. versions of several (not just one) major virus scanners. Some scanning
  906. programs now use "heuristic" methods (F-PROT, CHECKOUT and SCANBOOT
  907. are examples), and "activity monitoring" programs can report a disk or
  908. file as being possibly infected when it is in fact perfectly safe
  909. (odd, perhaps, but not infected).  If no string-matching scan finds a
  910. virus, but a heuristic program does (or there are other reasons to
  911. suspect the file, e.g., change in size of files) then it is possible
  912. that you have found a new virus, although the chances are probably
  913. greater that it is an odd-but-okay disk or file.  Start by looking in
  914. recent VIRUS-L postings about "known" false positives, then contact
  915. the author of the anti-virus software that reports it as virus-like;
  916. the documentation for the software may have a section explaining what
  917. to do if you think you have found a new virus.  Consider using the
  918. BootID or Checkout programs to calculate the "hashcode" of a diskette
  919. in the case of boot sector infectors, rather than send a complete
  920. diskette or "live" virus until requested.
  921.  
  922.  
  923. C11) CHKDSK reports 639K (or less) total memory on my system; am I
  924.      infected?
  925.  
  926. If CHKDSK displays 639K for the total memory instead of 640K (655,360
  927. bytes) - so that you are missing only 1K - then it is probably due to
  928. reasons other than a virus since there are very few viruses which take
  929. only 1K from total memory.  Legitimate reasons for a deficiency of 1K
  930. include:
  931.  
  932. 1) A PS/2 computer.  IBM PS/2 computers reserve 1K of conventional
  933.   RAM for an Extended BIOS Data Area, i.e. for additional data storage
  934.   required by its BIOS.
  935. 2) A computer with American Megatrends Inc. (AMI) BIOS, which is set
  936.   up (with the built-in CMOS setup program) in such a way that the BIOS
  937.   uses the upper 1K of memory for its internal variables.  (It can be
  938.   instructed to use lower memory instead.)
  939. 3) A SCSI controller.
  940. 4) The DiskSecure program.
  941. 5) Mouse buffers for older Compaqs.
  942.  
  943. If, on the other hand, you are missing 2K or more from the 640K, 512K,
  944. or whatever the conventional memory normally is for your PC, the
  945. chances are greater that you have a boot-record virus (e.g. Stoned,
  946. Michelangelo), although even in this case there may be legitimate
  947. reasons for the missing memory:
  948.  
  949. 1) Many access control programs for preventing booting from a floppy.
  950. 2) H/P Vectra computers.
  951. 3) Some special BIOSes which use memory (e.g.) for a built-in calendar
  952.   and/or calculator.
  953.  
  954. However, these are only rough guides.  In order to be more certain
  955. whether the missing memory is due to a virus, you should:
  956. (1) run several virus detectors;
  957. (2) look for a change in total memory every now and then;
  958. (3) compare the total memory size with that obtained when cold booting
  959.   from a "clean" system diskette.  The latter should show the normal
  960.   amount of total memory for your configuration.
  961.  
  962. Note: in all cases, CHKDSK should be run without software such as
  963. MS-Windows or DesqView loaded, since GUIs seem to be able to open DOS
  964. boxes only on whole K boundaries (some seem to be even coarser); thus
  965. CHKDSK run from a DOS box may report unrepresentative values.
  966.  
  967. Note also that some machines have only 512K or 256K instead of 640K of
  968. conventional memory.
  969.  
  970.  
  971. C12) I have an infinite loop of sub-directories on my hard drive; am I
  972.      infected?
  973.  
  974. Probably not.  This happens now and then, when something sets the
  975. "cluster number" field of some subdirectory the same cluster as an
  976. upper-level (usually the root) directory.  The /F parameter of CHKDSK,
  977. and any of various popular utility programs, should be able to fix
  978. this, usually by removing the offending directory.  *Don't* erase any
  979. of the "replicated" files in the odd directory, since that will erase
  980. the "copy" in the root as well (it's really not a copy at all; just a
  981. second pointer to the same file).
  982.  
  983.  
  984. ===================================
  985. = Section D.    Protection plans  =
  986. ===================================
  987.  
  988. D1) What is the best protection policy for my computer?
  989.  
  990. There is no "best" anti-virus policy.  In particular, there is no
  991. program that can magically protect you against all viruses.  But you
  992. can design an anti-virus protection strategy based on multiple layers
  993. of defense.  There are three main kinds of anti-viral software, plus
  994. several other means of protection (such as hardware write-protect
  995. methods).
  996.  
  997. 1) GENERIC MONITORING programs.  These try to prevent viral activity
  998.    before it happens, such as attempts to write to another executable,
  999.    reformat the disk, etc.
  1000.    Examples: SECURE and FluShot+ (PC), and GateKeeper (Macintosh).
  1001.  
  1002. 2) SCANNERS.  Most look for known virus strings (byte sequences which
  1003.    occur in known viruses, but hopefully not in legitimate software) or
  1004.    patterns, but a few use heuristic techniques to recognize viral
  1005.    code.  A scanner may be designed to examine specified disks or
  1006.    files on demand, or it may be resident, examining each program
  1007.    which is about to be executed.  Most scanners also include virus
  1008.    removers.
  1009.    Examples: FindViru in Dr Solomon's Anti-Virus Toolkit, FRISK's
  1010.    F-Prot, McAfee's VIRUSCAN (all PC), Disinfectant (Macintosh).
  1011.    Resident scanners: McAfee's V-Shield, and VIRSTOP.
  1012.    Heuristic scanners: the Analyse module in FRISK's F-PROT package,
  1013.    and SCANBOOT.
  1014.  
  1015. 3) INTEGRITY CHECKERS or MODIFICATION DETECTORS.  These compute a
  1016.    small "checksum" or "hash value" (usually CRC or cryptographic)
  1017.    for files when they are presumably uninfected, and later compare
  1018.    newly calculated values with the original ones to see if the files
  1019.    have been modified.  This catches unknown viruses as well as known
  1020.    ones and thus provides *generic* detection.  On the other hand,
  1021.    modifications can also be due to reasons other than viruses.
  1022.    Usually, it is up to the user to decide which modifications are
  1023.    intentional and which might be due to viruses, although a few
  1024.    products give the user help in making this decision.  As in the
  1025.    case of scanners, integrity checkers may be called to checksum
  1026.    entire disks or specified files on demand, or they may be resident,
  1027.    checking each program which is about to be executed (the latter is
  1028.    sometimes called an INTEGRITY SHELL).  A third implementation is as
  1029.    a SELF-TEST, i.e. the checksumming code is attached to each
  1030.    executable file so that it checks itself just before execution.
  1031.    Examples: Fred Cohen's ASP Integrity Toolkit (commercial), and
  1032.    Integrity Master and VDS (shareware), all for the PC.
  1033.  
  1034. 3a) A few modification detectors come with GENERIC DISINFECTION.  I.e.,
  1035.    sufficient information is saved for each file that it can be
  1036.    restored to its original state in the case of the great majority
  1037.    of viral infections, even if the virus is unknown.
  1038.    Examples: V-Analyst 3 (BRM Technologies, Israel), marketed in the
  1039.    US as Untouchable (by Fifth Generation), and the VGUARD module of
  1040.    V-care.
  1041.  
  1042. Of course, only a few examples of each type have been given.  All of
  1043. them can find their place in the protection against computer viruses,
  1044. but you should appreciate the limitations of each method, along with
  1045. system-supplied security measures that may or may not be helpful in
  1046. defeating viruses.  Ideally, you would arrange a combination of
  1047. methods that cover the loopholes between them.
  1048.  
  1049. A typical PC installation might include a protection system on the
  1050. hard disk's MBR to protect against viruses at load time (ideally this
  1051. would be hardware or in BIOS, but software methods such as DiskSecure
  1052. and PanSoft's Immunise are pretty good).  This would be followed by
  1053. resident virus detectors loaded as part of the machine's startup
  1054. (CONFIG.SYS or AUTOEXEC.BAT), such as FluShot+ and/or VirStop together
  1055. with ScanBoot.  A scanner such as F-Prot or McAfee's SCAN could be
  1056. put into AUTOEXEC.BAT to look for viruses as you start up, but this
  1057. may be a problem if you have a large disk to check (or don't reboot
  1058. often enough).  Most importantly, new files should be scanned as they
  1059. arrive on the system.  If your system has DR DOS installed, you should
  1060. use the PASSWORD command to write-protect all system executables and
  1061. utilities.  If you have Stacker or SuperStore, you can get some
  1062. improved security from these compressed drives, but also a risk that
  1063. those viruses stupid enough to directly write to the disk could do
  1064. much more damage than normal; using a software write-protect system
  1065. (such as provided with Disk Manager or Norton Utilities) may help, but
  1066. the best solution (if possible) is to put all executables on a disk of
  1067. their own, protected by a hardware read-only system that sounds an
  1068. alarm if a write is attempted.
  1069.  
  1070. If you do use a resident BSI detector or a scan-while-you-copy
  1071. detector, it is important to trace back any infected diskette to its
  1072. source; the reason why viruses survive so well is that usually you
  1073. cannot do this, because the infection is found long after the
  1074. infecting diskette has been forgotten with most people's lax scanning
  1075. policies.
  1076.  
  1077. Organizations should devise and implement a careful policy, that may
  1078. include a system of vetting new software brought into the building and
  1079. free virus detectors for home machines of employees/students/etc who
  1080. take work home with them.
  1081.  
  1082. Other anti-viral techniques include:
  1083. (a) Creation of a special MBR to make the hard disk inaccessible when
  1084.     booting from a diskette (the latter is useful since booting from a
  1085.     diskette will normally bypass the protection in the CONFIG.SYS and
  1086.     AUTOEXEC.BAT files of the hard disk).  Example: GUARD.
  1087. (b) Use of Artificial Intelligence to learn about new viruses and
  1088.     extract scan patterns for them.  Examples: V-Care (CSA Interprint,
  1089.     Israel; distributed in the U.S. by Sela Consultants Corp.), Victor
  1090.     Charlie (Bangkok Security Associates, Thailand; distributed in the
  1091.     US by Computer Security Associates).
  1092. (c) Encryption of files (with decryption before execution).
  1093.  
  1094.  
  1095. D2) Is it possible to protect a computer system with only software?
  1096.  
  1097. Not perfectly; however, software defenses can significantly reduce
  1098. your risk of being affected by viruses WHEN APPLIED APPROPRIATELY.
  1099. All virus defense systems are tools - each with their own capabilities
  1100. and limitations.  Learn how your system works and be sure to work
  1101. within its limitations.
  1102.  
  1103. From a software standpoint, a very high level of protection/detection
  1104. can be achieved with only software, using a layered approach.
  1105.  
  1106. 1)  ROM BIOS - password (access control) and selection of boot disk.
  1107.     (Some may consider this hardware.)
  1108.  
  1109. 2)  Boot sectors - integrity management and change detection.
  1110.  
  1111. 3)  OS programs - integrity management of existing programs,
  1112.     scanning of unknown programs.  Requirement of authentication
  1113.     values for any new or transmitted software.
  1114.  
  1115. 4)  Locks that prevent writing to a fixed or floppy disk.
  1116.  
  1117. As each layer is added, invasion without detection becomes more
  1118. difficult.  However complete protection against any possible attack
  1119. cannot be provided without dedicating the computer to pre-existing or
  1120. unique tasks.  The international standardization of the world on the
  1121. IBM PC architecture is both its greatest asset and its greatest
  1122. vulnerability.
  1123.  
  1124.  
  1125. D3) Is it possible to write-protect the hard disk with only software?
  1126.  
  1127. The answer is no.  There are several programs which claim to do that,
  1128. but *all* of them can be bypassed using only the currently known
  1129. techniques that are used by some viruses.  Therefore you should
  1130. never rely on such programs *alone*, although they can be useful in
  1131. combination with other anti-viral measures.
  1132.  
  1133.  
  1134. D4) What can be done with hardware protection?
  1135.  
  1136. Hardware protection can accomplish various things, including: write
  1137. protection for hard disk drives, memory protection, monitoring and
  1138. trapping unauthorized system calls, etc.  Again, no tool is foolproof.
  1139.  
  1140. The popular idea of write-protection (see D3) may stop viruses
  1141. spreading to the disk that is protected, but doesn't, in itself,
  1142. prevent a virus from running.
  1143.  
  1144. Also, some of the existing hardware protections can be easily
  1145. bypassed, fooled, or disconnected, if the virus writer knows them
  1146. well and designs a virus which is aware of the particular defense.
  1147.  
  1148.  
  1149. D5) Will setting DOS file attributes to READ ONLY protect them from
  1150.     viruses?
  1151.  
  1152. No.  While the Read Only attribute will protect your files from a few
  1153. viruses, most simply override it, and infect normally.  So, while
  1154. setting executable files to Read Only is not a bad idea, it is
  1155. certainly not a thorough protection against viruses!
  1156.  
  1157.  
  1158. D6) Will password/access control systems protect my files from
  1159.     viruses?
  1160.  
  1161. All password and other access control systems are designed to protect
  1162. the user's data from other users and/or their programs.  Remember,
  1163. however, that when you execute an infected program the virus in it
  1164. will gain your current rights/privileges.  Therefore, if the access
  1165. control system provides *you* the right to modify some files, it will
  1166. provide it to the virus too.  Note that this does not depend on the
  1167. operating system used - DOS, Unix, or whatever.  Therefore, an access
  1168. control system will protect your files from viruses no better than it
  1169. protects them from you.
  1170.  
  1171. Under DOS, there is no memory protection, so a virus could disable the
  1172. access control system in memory, or even patch the operating system
  1173. itself.  On the more advanced operating systems (Unix) this is not
  1174. possible, so at least the protection cannot be disabled by a virus.
  1175. However it will still spread, due to the reasons noted above.  In
  1176. general, the access control systems (if implemented correctly) are
  1177. able only to slow down the virus spread, not to eliminate viruses
  1178. entirely.
  1179.  
  1180. Of course, it's better to have access control than not to have it at
  1181. all.  Just be sure not to develop a false sense of security and to
  1182. rely *entirely* on the access control system to protect you.
  1183.  
  1184.  
  1185. D7) Will the protection systems in DR DOS work against viruses?
  1186.  
  1187. Partially.  Neither the password file/directory protection available
  1188. from DR DOS version 5 onwards, nor the secure disk partitions
  1189. introduced in DR DOS 6 are intended to combat viruses, but they do to
  1190. some extent.  If you have DR DOS, it is very wise to password-protect
  1191. your files (to stop accidental damage too), but don't depend on it as
  1192. the only means of defense.
  1193.  
  1194. The use of the password command (e.g. PASSWORD/W:MINE *.EXE *.COM)
  1195. will stop more viruses than the plain DOS attribute facility, but that
  1196. isn't saying much!  The combination of the password system plus a disk
  1197. compression system may be more secure (because to bypass the password
  1198. system they must access the disk directly, but under SuperStore or
  1199. Stacker the physical disk is meaningless to the virus). There may be
  1200. some viruses which, rather than invisibly infecting files on
  1201. compressed disks in fact very visibly corrupt the disk.
  1202.  
  1203. The "secure disk partitions" system introduced with DR DOS 6 may be of
  1204. some help against a few viruses that look for DOS partitions on a
  1205. disk.  The main use is in stopping people fiddling with (and
  1206. infecting) your hard disk while you are away.
  1207.  
  1208. Furthermore, DR DOS is not very compatible with MS/PC-DOS, especially
  1209. down to the low-level tricks that some viruses are using.  For
  1210. instance, some internal memory structures are "read-only" in the sense
  1211. that they are constantly updated (for DOS compatibility) but not
  1212. really used by DR DOS, so that even if a sophisticated virus modifies
  1213. them, this does not have any effect.
  1214.  
  1215. In general, using a less compatible system diminishes the number of
  1216. viruses that can infect it.  For instance, the introduction of hard
  1217. disks made the Brain virus almost disappear; the introduction of 80286
  1218. and DOS 4.x+ made the Yale and Ping Pong viruses extinct, and so on.
  1219.  
  1220.  
  1221. D8) Will a write-protect tab on a floppy disk stop viruses?
  1222.  
  1223. In general, yes.  The write-protection on IBM PC (and compatible) and
  1224. Macintosh floppy disk drives is implemented in hardware, not software,
  1225. so viruses cannot infect a diskette when the write-protection mechanism
  1226. is functioning properly.
  1227.  
  1228. But remember:
  1229.  
  1230. (a) A computer may have a faulty write-protect system (this happens!)
  1231.     - you can test it by trying to copy a file to the diskette when it
  1232.     is presumably write-protected.
  1233. (b) Someone may have removed the tab for a while, allowing a virus on.
  1234. (c) The files may have been infected before the disk was protected.
  1235.     Even some diskettes "straight from the factory" have been known to be
  1236.     infected in the production processes.
  1237.  
  1238. So it is worthwhile scanning even write-protected disks for viruses.
  1239.  
  1240.  
  1241. D9) Do local area networks (LANs) help to stop viruses or do they
  1242.     facilitate their spread?
  1243.  
  1244. Both.  A set of computers connected in a well managed LAN, with
  1245. carefully established security settings, with minimal privileges for
  1246. each user, and without a transitive path of information flow between
  1247. the users (i.e., the objects writable by any of the users are not
  1248. readable by any of the others) is more virus-resistant than the same
  1249. set of computers if they are not interconnected.  The reason is that
  1250. when all computers have (read-only) access to a common pool of
  1251. executable programs, there is usually less need for diskette swapping
  1252. and software exchange between them, and therefore less ways through
  1253. which a virus could spread.
  1254.  
  1255. However, if the LAN is not well managed, with lax security, it could
  1256. help a virus to spread like wildfire.  It might even be impossible to
  1257. remove the infection without shutting down the entire LAN.
  1258.  
  1259. A network that supports login scripting is inherently more resistant
  1260. to viruses than one that does not, if this is used to validate the
  1261. client before allowing access to the network.
  1262.  
  1263.  
  1264. D10) What is the proper way to make backups?
  1265.  
  1266. Data and text files, and programs in source form, should be backed up
  1267. each time they are modified.  However, the only backups you should
  1268. keep of COM, EXE and other *executable* files are the *original*
  1269. versions, since if you back up an executable file on your hard disk
  1270. over and over, it may have become infected meanwhile, so that you may
  1271. no longer have an uninfected backup of that file.  Therefore:
  1272.   1. If you've downloaded shareware, copy it (preferably as a ZIP or
  1273. other original archive file) onto your backup medium and do not
  1274. re-back it up later.
  1275.   2. If you have purchased commercial software, it's best to create a
  1276. ZIP (or other) archive from the original diskettes (assuming they're
  1277. not copy protected) and transfer the archive onto that medium.  Again,
  1278. do not re-back up.
  1279.   3. If you write your own programs, back up only the latest version
  1280. of the *source* programs.  Depend on recompilation to reproduce the
  1281. executables.
  1282.   4. If an executable has been replaced by a new version, then of
  1283. course you will want to keep a backup of the new version.  However, if
  1284. it has been modified as a result of your having changed configuration
  1285. information, it seems safer *not* to back up the modified file; you
  1286. can always re-configure the backup copy later if you have to.
  1287.   5. Theoretically, source programs could be infected, but until such
  1288. a virus is discovered, it seems preferable to treat such files as
  1289. non-executables and back them up whenever you modify them.  The same
  1290. advice is probably appropriate for batch files as well, despite the
  1291. fact that a few batch file infectors have been discovered.
  1292.  
  1293.  
  1294. =======================================================
  1295. = Section E.    Facts and Fibs about computer viruses =
  1296. =======================================================
  1297.  
  1298. E1) Can boot sector viruses infect non-bootable floppy disks?
  1299.  
  1300. Any diskette that has been properly formatted contains an executable
  1301. program in the boot sector.  If the diskette is not "bootable," all
  1302. that boot sector does is print a message like "Non-system disk or disk
  1303. error; replace and strike any key when ready", but it's still
  1304. executable and still vulnerable to infection.  If you accidentally
  1305. turn your machine on with a "non-bootable" diskette in the drive, and
  1306. see that message, it means that any boot virus that may have been on
  1307. that diskette *has* run, and has had the chance to infect your hard
  1308. drive, or whatever.  So when thinking about viruses, the word
  1309. "bootable" (or "non-bootable") is really misleading.  All formatted
  1310. diskettes are capable of carrying a virus.
  1311.  
  1312.  
  1313. E2) Can a virus hide in a PC's CMOS memory?
  1314.  
  1315. No.  The CMOS RAM in which system information is stored and backed up
  1316. by batteries is ported, not addressable.  That is, in order to get
  1317. anything out, you use I/O instructions.  So anything stored there is
  1318. not directly sitting in memory.  Nothing in a normal machine loads the
  1319. data from there and executes it, so a virus that "hid" in the CMOS RAM
  1320. would still have to infect an executable object of some kind in order
  1321. to load and execute whatever it had written to CMOS.  A malicious
  1322. virus can of course *alter* values in the CMOS as part of its payload,
  1323. but it can't spread through, or hide itself in, the CMOS.
  1324.  
  1325. A virus could also use the CMOS RAM to hide a small part of its
  1326. body (e.g., the payload, counters, etc.).  However, any executable
  1327. code stored there must be first extracted to ordinary memory in order
  1328. to be executed.
  1329.  
  1330.  
  1331. E3) Can a virus hide in Extended or in Expanded RAM?
  1332.  
  1333. Theoretically yes, although no such viruses are known yet.  However,
  1334. even if they are created, they will have to have a small part resident
  1335. in conventional RAM; they cannot reside *entirely* in Extended or in
  1336. Expanded RAM.
  1337.  
  1338.  
  1339. E4) Can a virus hide in Upper Memory or in High Memory?
  1340.  
  1341. Yes, it is possible to construct a virus which will locate itself
  1342. in Upper Memory (640K to 1024K) or in High Memory (1024K to 1088K),
  1343. and a few currently known viruses (e.g. EDV) do hide in Upper Memory.
  1344.  
  1345. It might be thought that there is no point in scanning in these areas
  1346. for any viruses other than those which are specifically known to
  1347. inhabit them.  However, there are cases when even ordinary viruses can
  1348. be found in Upper Memory.  Suppose that a conventional memory-resident
  1349. virus infects a TSR program and this program is loaded high by the
  1350. user (for instance, from AUTOEXEC.BAT).  Then the virus code will also
  1351. reside in Upper Memory.  Therefore, an effective scanner must be able
  1352. to scan this part of memory for viruses too.
  1353.  
  1354.  
  1355. E5) Can a virus infect data files?
  1356.  
  1357. Some viruses (e.g., Frodo, Cinderella) modify non-executable files.
  1358. However, in order to spread, the virus must be executed.  Therefore
  1359. the "infected" non-executable files cannot be sources of further
  1360. infection.
  1361.  
  1362. However, note that it is not always possible to make a sharp
  1363. distinction between executable and non-executable files.  One man's
  1364. code is another man's data and vice versa.  Some files that are not
  1365. directly executable contain code or data which can under some
  1366. conditions be executed or interpreted.
  1367.  
  1368. Some examples from the IBM PC world are .OBJ files, libraries, device
  1369. drivers, source files for any compiler or interpreter, macro files
  1370. for some packages like MS Word and Lotus 1-2-3, and many others.
  1371. Currently there are viruses that infect boot sectors, master boot
  1372. records, COM files, EXE files, BAT files, and device drivers, although
  1373. any of the objects mentioned above can theoretically be used as an
  1374. infection carrier.  PostScript files can also be used to carry a virus,
  1375. although no currently known virus does that.
  1376.  
  1377.  
  1378. E6) Can viruses spread from one type of computer to another?
  1379.  
  1380. The simple answer is that no currently known viruses can do this.
  1381. Although the disk formats may be the same (e.g. Atari ST and DOS), the
  1382. different machines interpret the code differently.  For example, the
  1383. Stoned virus cannot infect an Atari ST as the ST cannot execute the
  1384. virus code in the bootsector.  The Stoned virus contains instructions
  1385. for the 80x86 family of CPU's that the 680x0-family CPU (Atari ST)
  1386. can't understand or execute.
  1387.  
  1388. The more general answer is that such viruses are possible, but
  1389. unlikely.  Such a virus would be quite a bit larger than current
  1390. viruses and might well be easier to find.  Additionally, the low
  1391. incidence of cross-machine sharing of software means that any such
  1392. virus would be unlikely to spread -- it would be a poor environment
  1393. for virus growth.
  1394.  
  1395.  
  1396. E7) Can DOS viruses run on non-DOS machines (e.g. Mac, Amiga)?
  1397.  
  1398. In general, no.  However, on machines running DOS emulators (either
  1399. hardware or software based), DOS viruses - just like any DOS program -
  1400. may function.  These viruses would be subject to the file access
  1401. controls of the host operating system.  An example is when running a
  1402. DOS emulator such as VP/ix under a 386 UNIX environment, DOS
  1403. programs are not permitted access to files which the host UNIX system
  1404. does not allow them to.  Thus, it is important to administer these
  1405. systems carefully.
  1406.  
  1407.  
  1408. E8) Can mainframe computers be susceptible to computer viruses?
  1409.  
  1410. Yes.  Numerous experiments have shown that computer viruses spread
  1411. very quickly and effectively on mainframe systems.  However, to our
  1412. knowledge, no non-research computer virus has been seen on mainframe
  1413. systems.  (The Internet worm of November 1988 was not a computer virus
  1414. by most definitions, although it had some virus-like characteristics.)
  1415.  
  1416. Computer viruses are actually a special case of something else called
  1417. "malicious logic", and other forms of malicious logic -- notably
  1418. Trojan horses -- are far quicker, more effective, and harder to detect
  1419. than computer viruses.  Nevertheless, on personal computers many more
  1420. viruses are written than Trojans.  There are two reasons for this:
  1421. (1) Since a virus propagates, the number of users to which damage can
  1422. be caused is much greater than in the case of a Trojan; (2) It's
  1423. almost impossible to trace the source of a virus since viruses are
  1424. not attached to any particular program.
  1425.  
  1426. For further information on malicious programs on multi-user systems,
  1427. see Matt Bishop's paper, "An Overview of Malicious Logic in a Research
  1428. Environment", available by anonymous FTP on Dartmouth.edu
  1429. (129.170.16.4) as "pub/security/mallogic.ps".
  1430.  
  1431.  
  1432. E9) Some people say that disinfecting files is a bad idea.  Is that
  1433.     true?
  1434.  
  1435. Disinfecting a file is completely "safe" only if the disinfecting
  1436. process restores the non-infected state of the object completely.  That
  1437. is, not only the virus must be removed from the file, but the original
  1438. length of the file must be restored exactly, as well as its time and
  1439. date of last modification, all fields in the header, etc.  Sometimes
  1440. it is necessary to be sure that the file is placed on the same
  1441. clusters of the disk that it occupied prior to infection.  If this is
  1442. not done, then a program which uses some kind of self-checking or
  1443. copy protection may stop functioning properly, if at all.
  1444.  
  1445. None of the currently available disinfecting programs do all this.
  1446. For instance, because of the bugs that exist in many viruses, some of
  1447. the information of the original file is destroyed and cannot be
  1448. recovered. Other times, it is even impossible to detect that this
  1449. information has been destroyed and to warn the user.  Furthermore,
  1450. some viruses corrupt information very slightly and in a random way
  1451. (Nomenklatura, Phoenix), so that it is not even possible to tell which
  1452. files have been corrupted.
  1453.  
  1454. Therefore, it is usually better to replace the infected objects with
  1455. clean backups, provided you are certain that your backups are
  1456. uninfected (see D10).  You should try to disinfect files only if they
  1457. contain some valuable data that cannot be restored from backups or
  1458. compiled from their original source.
  1459.  
  1460.  
  1461. E10) Can I avoid viruses by avoiding shareware/free software/games?
  1462.  
  1463. No.  There are many documented instances in which even commercial
  1464. "shrink wrap" software was inadvertently distributed containing
  1465. viruses.  Avoiding shareware, freeware, games, etc. only isolates you
  1466. from a vast collection of software (some of it very good, some of it
  1467. very bad, most of it somewhere in between...).
  1468.  
  1469. The important thing is not to avoid a certain type of software, but to
  1470. be cautious of ANY AND ALL newly acquired software.  Simply scanning
  1471. all new software media for known viruses would be rather effective at
  1472. preventing virus infections, especially when combined with some other
  1473. prevention/detection strategy such as integrity management of
  1474. programs.
  1475.  
  1476.  
  1477. E11) Can I contract a virus on my PC by performing a "DIR" of an
  1478.      infected floppy disk?
  1479.  
  1480. If you assume that the PC you are using is virus free before you
  1481. perform the DIR command, then the answer is no.  However, when you
  1482. perform a DIR, the contents of the boot sector of the diskette are
  1483. loaded into a buffer for use when determining disk layout etc., and
  1484. certain anti-virus products will scan these buffers.  If a boot sector
  1485. virus has infected your diskette, the virus code will be contained in
  1486. the buffer, which may cause some anti-virus packages to give the
  1487. message "xyz virus found in memory, shut down computer immediately".
  1488. In fact, the virus is not a threat at this point since control of the
  1489. CPU is never passed to the virus code residing in the buffer.  But,
  1490. even though the virus is really not a threat at this point, this
  1491. message should not be ignored.  If you get a message like this, and
  1492. then reboot from a clean DOS diskette and scan your hard-drive and
  1493. find no virus, then you know that the false positive was caused by the
  1494. fact that the infected boot-sector was loaded into a buffer, and the
  1495. diskette should be appropriately disinfected before use.  The use of
  1496. DIR will not infect a clean system, even if the diskette it is being
  1497. performed on does contain a virus.
  1498.  
  1499.  
  1500. E12) Is there any risk in copying data files from an infected floppy
  1501.     disk to a clean PC's hard disk?
  1502.  
  1503. Assuming that you did not boot or run any executable programs from the
  1504. infected disk, the answer is generally no.  There are two caveats: 1)
  1505. you should be somewhat concerned about checking the integrity of these
  1506. data files as they may have been destroyed or altered by the virus,
  1507. and 2) if any of the "data" files are interpretable as executable by
  1508. some other program (such as a Lotus macro) then these files should be
  1509. treated as potentially malicious until the symptoms of the infection
  1510. are known.  The copying process itself is safe (given the above
  1511. scenario).  However, you should be concerned with what type of files
  1512. are being copied to avoid introducing other problems.
  1513.  
  1514.  
  1515. E13) Can a DOS virus survive and spread on an OS/2 system using the
  1516.      HPFS file system?
  1517.  
  1518. Yes, both file-infecting and boot sector viruses can infect HPFS
  1519. partitions.  File-infecting viruses function normally and can activate
  1520. and do their dirty deeds, and boot sector viruses can prevent OS/2
  1521. from booting if the primary bootable partition is infected.  Viruses
  1522. that try to directly address disk sectors cannot function because OS/2
  1523. prevents this activity.
  1524.  
  1525.  
  1526. E14) Under OS/2 2.0, could a virus infected DOS session infect another
  1527.     DOS session?
  1528.  
  1529. Each DOS program is run in a separate Virtual DOS Machine (their
  1530. memory spaces are kept separated by OS/2).  However, any DOS program
  1531. has almost complete access to the files and disks, so infection can
  1532. occur if the virus infects files; any other DOS session that executes
  1533. a program infected by a virus that makes itself memory resident would
  1534. itself become infected.
  1535.  
  1536. However, bear in mind that all DOS sessions share the same copy of the
  1537. command interpreter.  Hence if it becomes infected, the virus will be
  1538. active in *all* DOS sessions.
  1539.  
  1540.  
  1541. E15) Can normal DOS viruses work under MS Windows?
  1542.  
  1543. Most of them cannot.  A system that runs exclusively MS Windows is,
  1544. in general, more virus-resistant than a plain DOS system.  The reason
  1545. is that most resident viruses are not compatible with the memory
  1546. management in Windows.  Furthermore, most of the existing viruses will
  1547. damage the Windows applications if they try to infect them as normal
  1548. EXE files.  The damaged applications will stop working and this will
  1549. alert the user that something is wrong.
  1550.  
  1551. However, virus-resistant is by no means virus-proof.  For instance,
  1552. most of the well-behaved resident viruses that infect only COM files
  1553. (Cascade is an excellent example), will work perfectly in a DOS
  1554. window.  All non-resident COM infectors will be able to run and infect
  1555. too.  And currently there exists at least one Windows-specific virus
  1556. which is able to properly infect Windows applications (it is
  1557. compatible with the NewEXE file format).
  1558.  
  1559. Any low level trapping of Interrupt 13, as by resident boot sector and
  1560. MBR viruses, can also affect Windows operation, particularly if
  1561. protected disk access (32BitDiskAccess=ON in SYSTEM.INI) is used.
  1562.  
  1563.  
  1564. =========================================
  1565. = Section F.    Miscellaneous Questions =
  1566. =========================================
  1567.  
  1568. F1) How many viruses are there?
  1569.  
  1570. It is not possible to give an exact number because new viruses are
  1571. being created literally every day.  Furthermore, different anti-virus
  1572. researchers use different criteria to decide whether two viruses are
  1573. different or one and the same.  Some count viruses as different if
  1574. they differ by at least one bit in their non-variable code.  Others
  1575. group the viruses in families and do not count the closely related
  1576. variants in one family as different viruses.
  1577.  
  1578. Taking a rough average, as of October 1992 there were about 1,800 IBM
  1579. PC viruses, about 150 Amiga viruses, about 30 Macintosh viruses, about
  1580. a dozen Acorn Archimedes viruses, several Atari ST viruses, and a few
  1581. Apple II viruses.
  1582.  
  1583. However, very few of the existing viruses are widespread.  For
  1584. instance, only about three dozen of the known IBM PC viruses are
  1585. causing most of the reported infections.
  1586.  
  1587.  
  1588. F2) How do viruses spread so quickly?
  1589.  
  1590. This is a very complex issue.  Most viruses don't spread very quickly.
  1591. Those that do spread widely are able to do so for a variety of
  1592. reasons.  A large target population (i.e., millions of compatible
  1593. computers) helps...  A large virus population helps...  Vendors whose
  1594. quality assurance mechanisms rely on, for example, outdated scanners
  1595. help...  Users who gratuitously insert new software into their systems
  1596. without making any attempt to test for viruses help...  All of these
  1597. things are factors.
  1598.  
  1599.  
  1600. F3) What is the plural of "virus"?  "Viruses" or "viri" or "virii" or...
  1601.  
  1602. The correct English plural of "virus" is "viruses."  The Latin word is
  1603. a mass noun (like "air"), and there is no correct Latin plural.
  1604. Please use "viruses," and if people use other forms, please don't use
  1605. VIRUS-L/comp.virus to correct them.
  1606.  
  1607.  
  1608. F4) When reporting a virus infection (and looking for assistance), what
  1609.     information should be included?
  1610.  
  1611. People frequently post messages to VIRUS-L/comp.virus requesting
  1612. assistance on a suspected virus problem.  Quite often, the information
  1613. supplied is not sufficient for the various experts on the list to be
  1614. able to help out.  Also note that any such assistance from members of
  1615. the list is provided on a volunteer basis; be grateful for any help
  1616. received.  Try to provide the following information in your requests
  1617. for assistance:
  1618.         - The name of the virus (if known);
  1619.         - The name of the program that detected it;
  1620.         - The version of the program that detected it;
  1621.         - Any other anti-virus software that you are running and
  1622. whether it has been able to detect the virus or not, and if yes, by
  1623. what name did it call it;
  1624.         - Your software and hardware configuration (computer type,
  1625. kinds of disk(ette) drives, amount of memory and configuration
  1626. (extended/expanded/conventional), TSR programs and device drivers
  1627. used, OS version, etc.)
  1628.  
  1629. It is helpful if you can use more than one scanning program to
  1630. identify a virus, and to say which scanner gave which identification.
  1631. However, some scanning programs leave "signatures" in memory which
  1632. will confuse others, so it is best to do a "cold reboot" between runs
  1633. of successive scanners, particularly if you are getting confusing
  1634. results.
  1635.  
  1636.  
  1637. F5) How often should we upgrade our anti-virus tools to minimize
  1638.     software and labor costs and maximize our protection?
  1639.  
  1640. This is a difficult question to answer.  Antiviral software is a kind
  1641. of insurance, and these type of calculations are difficult.
  1642.  
  1643. There are two things to watch out for here: the general "style" of the
  1644. software, and the signatures which scanners use to identify viruses.
  1645. Scanners should be updated more frequently than other software, and it
  1646. is probably a good idea to update your set of signatures at least once
  1647. every two months.
  1648.  
  1649. Some antiviral software looks for changes to programs or specific
  1650. types of viral "activity," and these programs generally claim to be
  1651. good for "all current and future viral programs."  However, even these
  1652. programs cannot guarantee to protect against all future viruses, and
  1653. should probably be upgraded once per year.
  1654.  
  1655. Of course, not every anti-virus product is effective against all
  1656. viruses, even if upgraded regularly.  Thus, do *not* depend on the
  1657. fact that you have upgraded your product recently as a guarantee that
  1658. your system is free of viruses!
  1659.  
  1660.  
  1661. =====================================================================
  1662. = Section G.    Specific Virus and Anti-viral software Questions... =
  1663. =====================================================================
  1664.  
  1665.  
  1666. G1) I was infected by the Jerusalem virus and disinfected the infected
  1667.     files with my favorite anti-virus program.  However, Wordperfect
  1668.     and some other programs still refuse to work.  Why?
  1669.  
  1670. The Jerusalem virus and WordPerfect 4.2 program combination is an
  1671. example of a virus and program that cannot be completely disinfected
  1672. by an anti-virus tool.  In some cases such as this one, the virus will
  1673. destroy code by overwriting it instead of appending itself to the
  1674. file.  The only solution is to re-install the programs from clean
  1675. (non-infected) backups or distribution media.  (See question D10.)
  1676.  
  1677.  
  1678. G2) I was told that the Stoned virus displays the text "Your PC is now
  1679.     Stoned" at boot time.  I have been infected by this virus several
  1680.     times, but have never seen the message.  Why?
  1681.  
  1682. The "original" Stoned message was ".Your PC is now Stoned!", where the
  1683. "." represents the "bell" character (ASCII 7 or "PC speaker beep").
  1684. The message is displayed with a probability of 1 in 8 only when a PC is
  1685. booted from an infected diskette.  When booting from an infected hard
  1686. disk, Stoned never displays this message.
  1687.  
  1688. Recently, versions of Stoned with no message whatsoever or only the
  1689. leading bell character have become very common.  These versions of
  1690. Stoned are likely to go unnoticed by all but the most observant, even
  1691. when regularly booting from infected diskettes.
  1692.  
  1693. Contrary to some reports, the Stoned virus -does NOT- display the
  1694. message "LEGALISE MARIJUANA", although such a string is quite clearly
  1695. visible in the boot sectors of diskettes infected with the "original"
  1696. version of Stoned in "standard" PC's.
  1697.  
  1698.  
  1699. G3) I was infected by both Stoned and Michelangelo.  Why has my
  1700.     computer became unbootable?  And why, each time I run my favorite
  1701.     scanner, does it find one of the viruses and say that it is
  1702.     removed, but when I run it again, it says that the virus is still
  1703.     there?
  1704.  
  1705. These two viruses store the original Master Boot Record at one and the
  1706. same place on the hard disk.  They do not recognize each other, and
  1707. therefore a computer can become infected with both of them at the same
  1708. time.
  1709.  
  1710. The first of these viruses that infects the computer will overwrite
  1711. the Master Boot Record with its body and store the original MBR at a
  1712. certain place on the disk.  So far, this is normal for a boot-record
  1713. virus.  But if now the other virus infects the computer too, it will
  1714. replace the MBR (which now contains the virus that has come first)
  1715. with its own body, and store what it believes is the original MBR (but
  1716. in fact is the body of the first virus) AT THE SAME PLACE on the hard
  1717. disk, thus OVERWRITING the original MBR.  When this happens, the
  1718. contents of the original MBR are lost.  Therefore the disk becomes
  1719. non-bootable.
  1720.  
  1721. When a virus removal program inspects such a hard disk, it will see
  1722. the SECOND virus in the MBR and will try to remove it by overwriting
  1723. it with the contents of the sector where this virus normally stores
  1724. the original MBR.  However, now this sector contains the body of the
  1725. FIRST virus.  Therefore, the virus removal program will install the
  1726. first virus in trying to remove the second.  In all probability it
  1727. will not wipe out the sector where the (infected) MBR has been stored.
  1728.  
  1729. When the program is run again, it will find the FIRST virus in the
  1730. MBR.  By trying to remove it, the program will get the contents of the
  1731. sector where this virus normally stores the original MBR, and will
  1732. move it over the current (infected) MBR.  Unfortunately, this sector
  1733. still contains the body of the FIRST virus.  Therefore, the body of
  1734. this virus will be re-installed over the MBR ad infinitum.
  1735.  
  1736. There is no easy solution to this problem, since the contents of the
  1737. original MBR is lost.  The only solution for the anti-virus program is
  1738. to detect that there is a problem, and to overwrite the contents of
  1739. the MBR with a valid MBR program, which the anti-virus program will
  1740. have to carry with itself.  If your favorite anti-virus program is not
  1741. that smart, consider replacing it with a better one, or just boot from
  1742. a write-protected uninfected DOS 5.0 diskette, and execute the program
  1743. FDISK with the option /MBR.  This will re-create the executable code
  1744. in the MBR without modifying the partition table data.
  1745.  
  1746. In general, infection by multiple viruses of the same file or area is
  1747. possible and vital areas of the original may be lost.  This can make
  1748. it difficult or impossible for virus disinfection tools to be
  1749. effective, and replacement of the lost file/area will be necessary.
  1750.  
  1751. ====================
  1752. [End of VIRUS-L/comp.virus FAQ]
  1753.