home *** CD-ROM | disk | FTP | other *** search
/ WDR Computer Club Digital 1998 January / CC980102.BIN / VIRUS / DRWEB / DRWEB.ME < prev    next >
Text File  |  1997-10-27  |  88KB  |  1,856 lines

  1.  
  2.  
  3.  
  4.   DDDDDDD     RRRRRRR        WW        WWW        WW   EEEEEEEEE   BBBBBBB
  5.   DDDDDDDD    RRRRRRRR        WW       WWWW       WW   EEEEEEEEE   BBBBBBBB
  6.   DD     DD   RR     RR        WW      WW WW      WW   EE          BB     BB
  7.   DD     DD   RR     RR         WW     WW  WW     WW   EE          BB     BB
  8.   DD     DD   RRRRRRRR           WW    WW   WW    WW   EEEEEEEEE   BBBBBBBB
  9.   DD     DD   RRRRRRR             WW   WW    WW   WW   EEEEEEEEE   BBBBBBBB
  10.   DD     DD   RR  RR               WW  WW     WW  WW   EE          BB     BB
  11.   DD     DD   RR   RR     ■■        WW WW      WW WW   EE          BB     BB
  12.   DDDDDDDD    RR    RR   ■■■■        WWWW       WWWW   EEEEEEEEE   BBBBBBBB
  13.   DDDDDDD     RR     RR   ■■          WWW        WWW   EEEEEEEEE   BBBBBBB
  14.  
  15.                 A KILLER FOR POLYMORPHIC VIRUSES
  16.  
  17.                           USER'S GUIDE
  18.  
  19.              Version 3.26 Released October 28, 1997.
  20.  
  21.                         by Igor Daniloff
  22.  
  23.  
  24.  
  25.                         LICENSE AGREEMENT
  26.  
  27. Dr. Web  anti-virus  program  is  distributed  "AS  IS"   without
  28. warranty of any kind, either expressed  or  implied.  The  entire
  29. risk as to the quality and performance of the program  lies  with
  30. the user. Should the program prove defective, the designer or his
  31. authorized distributor or dealers bear no responsibility.
  32.  
  33.  
  34. If you have an illegal copy of Dr. Web
  35.  
  36. Registered users and ... virus designers may skip this paragraph.
  37. Dr. Web Anti-virus program is a commercial software  product.  If
  38. you have found it helpful and want to use  it  in  your  everyday
  39. computer sessions - please, procure a licensed copy and  register
  40. it. The value of information in your computer is incomparable  to
  41. the cost of Dr. Web program!
  42.  
  43.  
  44. Dr. Web  Anti-virus Package includes the following files:
  45. ┌────────────┬────────┬─────────────────────────────────────────┐
  46. │ File       │  Size  │  Description                            │
  47. ├────────────┼────────┼─────────────────────────────────────────┤
  48. │HISTORY.WEB │    -   │ Brief history of Dr. Web program        │
  49. │VIRTABLE.WEB│ 281318 │ Catalogue of viruses recognized and     │
  50. │            │        │ killed by Dr. Web                       │
  51. │VIRLIST.WEB │    -   │ Brief description of the viruses known  │
  52. │            │        │ to Dr. Web                              │
  53. ├────────────┼────────┼─────────────────────────────────────────┤
  54. │DRWEB.EXE   │ 255700 │ Dr. Web anti-virus program              │
  55. │DRWEB.HLP   │  18638 │ Help file in English                    │
  56. │DRWEB.ICO   │    766 │ Icon file for MS-Windows                │
  57. │DRWEB.INI   │   1024 │ Dr. Web configuration file              │
  58. │DRWEB.ME    │  88451 │ User's guide                            │
  59. │DRWEB.PGP   │    294 │ Dr. Web validation signature            │
  60. │WEBymmdd.vvv│    nnn │ Add-on file to the virus database       │
  61. └────────────┴────────┴─────────────────────────────────────────┘
  62.  
  63.      REMARK. Dr. Web package  may also contain one or more add-on
  64.              files.  How  to  append add-on files  to the Dr. Web
  65.              program is described in Section 1.4 The UPDATE item.
  66.  
  67.  
  68.                          C O N T E N T S
  69.  
  70. OVERVIEW
  71.      What is Doctor Web?
  72. 1. RUNNING DR. WEB IN INTERACTIVE MODE
  73.      1.1 The DR. WEB menu
  74.      1.2 The TEST menu
  75.      1.3 The SETUP menu
  76.      1.4 The UPDATE item
  77.      1.5 The HELP menu
  78.      1.6 Speedkeys
  79. 2. RUNNING DR. WEB FROM ITS COMMAND LINE
  80.      2.1 List of command options and their purpose
  81.      2.2 Running Dr. Web in batch mode
  82. REFERENCES
  83.  
  84.  
  85.                          O V E R V I E W
  86.  
  87. What is Doctor Web?
  88.  
  89. Dr. Web searches the memory and disks for viruses known to it and
  90. eradicates them. It can also  conduct  a  heuristic  analysis  of
  91. files and system areas for detecting new and unknown viruses.
  92.  
  93. It is a good idea to have Dr. Web on a  write-protected  bootable
  94. diskette for testing your machine. Prior to making this copy,  it
  95. is quite important that the computer  is  started  from  a  clean
  96. bootable system diskette.
  97.  
  98. In case you rename the DRWEB.EXE file (to hide it  from  resident
  99. viruses capable of attacking Dr. Web), the DRWEB.INI file (if  it
  100. is used in operation) must also be renamed to the  same  name  as
  101. DRWEB.EXE without altering the extension  INI;  for  example,  if
  102. DRWEB.EXE is renamed  as  ANTIVIR.EXE,  then  DRWEB.INI  must  be
  103. renamed as ANTIVIR.INI.
  104.  
  105. First,  install  Dr. Web  in  your  machine.  For this,  create a
  106. directory named DRWEB in drive C,  log on to this directory,  and
  107. finally  copy  all  files  from the installation diskette to this
  108. directory.
  109.  
  110. Dr. Web can be run either in interactive  or  batch  mode.  Batch
  111. mode is particularly convenient for automatically running Dr. Web
  112. from the AUTOEXEC.BAT file every time the  computer  is  started.
  113. How to run Dr. Web from the AUTOEXEC.BAT  file  and  the  command
  114. options will be described latter. Now we describe the interactive
  115. mode.
  116.  
  117.  
  118.  
  119.              1. RUNNING DR. WEB IN INTERACTIVE MODE
  120.  
  121. To start Dr. Web in interactive mode, at the DOS prompt type  the
  122. command
  123.  
  124.      drweb
  125.  
  126. and press <Enter>.
  127.  
  128. On starting the program, the screen displays the main menu:
  129.  
  130. Dr.Web  Test  Setup  Update                             [F1] Help
  131. █████████████████████████████████████████████████████████████████
  132. █╔═════════════════════ Scanning progress ═════════════════════╗█
  133. █║                                                             ║█
  134.                  Fig.1. Dr. Web's main menu
  135.  
  136. Using the menu items and commands, you can configure the  program
  137. to suit your preferences, choose various  program  modes,  update
  138. your  Dr. Web  by  appending  add-on  files  to  the  main  virus
  139. database, and get on-line help on various topics.
  140.  
  141. ═══════════╦═════════════════════════════════════════════════════
  142.  Menu item ║  Purpose
  143. ═══════════╬═════════════════════════════════════════════════════
  144.  Dr.Web    ║ The commands in this menu are used to display
  145.            ║ information about the program version, to shell
  146.            ║ to DOS screen, and to end a Dr. Web session.
  147. ───────────╫─────────────────────────────────────────────────────
  148.  Test      ║ The commands in this menu are used to test and
  149.            ║ cure the machine, and to display the report of
  150.            ║ the current scanning session.
  151. ───────────╫─────────────────────────────────────────────────────
  152.  Setup     ║ The commands in this menu are used to customize
  153.            ║ the operation of Dr. Web to suit your preferences.
  154. ───────────╫─────────────────────────────────────────────────────
  155.  Update    ║ This command is used to append add-on files to
  156.            ║ the main virus database of the program.
  157. ───────────╫─────────────────────────────────────────────────────
  158.  [F1] Help ║ displays on-line help on various topics.
  159. ═══════════╩═════════════════════════════════════════════════════
  160.  
  161. You may navigate through the menu with the keyboard or mouse.  To
  162. pull  the menu of an item on the menu bar or to execute a command
  163. in the menu, point to the item and click the left mouse button.
  164.  
  165. To access any item on the menu bar,  first  press  <F10>  or  the
  166. spacebar  to activate the menu.  Then using the <Left> or <Right>
  167. keys, you may move over the menu bar. To pull down the menu of an
  168. item on the menu bar, choose the item and press <Enter>.
  169.  
  170. One letter  in  the  name  of  every  menu item is highlighted or
  171. displayed with contrasting intensity. To open the menu of an item
  172. on the menu bar or to execute a command in any menu panel,  while
  173. keeping <Alt> pressed down,  press  the  appropriate  highlighted
  174. letter  in  the  name of the menu.  For example,  the letter D is
  175. highlighted in the name of the menu item Dr.Web. To open the menu
  176. of this item, press <Alt+D>.
  177.  
  178. Depending on the command chosen from the menu panels,  the screen
  179. displays dialog panels for customizing the  interface,  specifing
  180. the scan modes,  appending additional virus databases, etc. These
  181. panels contain controls - text  fields,  command  buttons,  check
  182. boxes, and option buttons.
  183.  
  184. One of the controls in every dialog panel by default is selected,
  185. i.e.,  highlighted.  You can straight away work with this control
  186. (enter  text  in the text field,  change the status of the option
  187. button, execute the command button) from your keyboard. To select
  188. a  different  control,  press  <Tab> once or repeatedly until the
  189. desired control is selected,  or point to the desired control and
  190. click the mouse left button.
  191.  
  192. Pressing <Shift+Tab>, you may select one control after another in
  193. the reverse order.
  194.  
  195. The check boxes and option buttons  in  a  dialog  panel  may  be
  196. grouped  together.  On  pressing  <Tab>,  you can only select the
  197. first button in a group.  To select any  other  button  within  a
  198. group, use the <Up> and <Down> keys.
  199.  
  200. In certain  operation  modes and configuration settings,  certain
  201. controls may be grayed,  i.e.,  they are disabled  for  the  time
  202. being.
  203.  
  204. Table below gives brief information on each type of controls.
  205. ═══════════════╦═════════════════════════════════════════════════
  206.  Control       ║  Description
  207. ═══════════════╬═════════════════════════════════════════════════
  208. Text field     ║ You may  enter  new  text  or  edit  the already
  209.                ║ existing text.
  210. ───────────────╫─────────────────────────────────────────────────
  211. Check box      ║ Check boxes  are  delimited  by a pair of square
  212.                ║ brackets [].  A check box may be enabled [X]  or
  213.                ║ disabled  [ ].  To change  the status of a check
  214.                ║ box, either click the box, or select the box and
  215.                ║ then press the spacebar.
  216. ───────────────╫─────────────────────────────────────────────────
  217. Option button  ║ Option buttons  are delimited by a pair of round
  218.                ║ brackets ().  Only one  of  the  option  buttons
  219.                ║ within a group can be chosen at a time.  A thick
  220.                ║ circle within the round brackets means that  the
  221.                ║ option  is selected.  To enable an option button
  222.                ║ within a group,  click the button or move to the
  223.                ║ desired  button  with  arrow  keys and press the
  224.                ║ spacebar.
  225. ───────────────╫─────────────────────────────────────────────────
  226. Command button ║ To execute a command button,  either  click  the
  227.                ║ button or select the button and press <Enter>.
  228. ═══════════════╩═════════════════════════════════════════════════
  229.  
  230. Most of the dialog panels for configuring the settings of Dr. Web
  231. and displaying messages contain the command buttons  OK,  CANCEL,
  232. and HELP.
  233.  
  234. The OK button will accept the settings specified in the panel, or
  235. start scanning and curing procedures,  confirm the inquiry in the
  236. panel, etc. The CANCEL button will close the panel with executing
  237. any command.  To close a panel without executing any command, you
  238. may  also  press <Esc> or click the down arrowhead [] at the top
  239. left corner of the panel.
  240.  
  241. Click HELP to open the help window on the currently opened panel.
  242.  
  243. The dialog panel  for  customizing  the  parameter  settings  and
  244. operation modes of Dr. Web  contain a SAVE button for writing the
  245. modified settings to the initiation file (DRWEB.INI) so that  Dr.
  246. Web  is started automatically with the new configuration settings
  247. in subsequent sessions.
  248.  
  249. The confirmation panel that ascertains the intention of the  user
  250. for  implementing  an  operation  usually  contains  YES  and  NO
  251. buttons.  Click YES to confirm the inquiry,  and NO to close  the
  252. panel without executing any command.
  253.  
  254.  
  255.                       1.1 The DR. WEB menu
  256.  
  257. contains three commands: DOS SHELL, ABOUT, and EXIT.
  258.  
  259.   Dr.Web  Test  Setup  Update                          [F1] Help
  260. ┌──────────────┐█████████████████████████████████████████████████
  261. │ Dos shell    │══════════ Scanning progress ══════════════════╗█
  262. │ About...     │                                               ║█
  263. │ Exit   Alt-X │                                               ║█
  264. └──────────────┘       Fig.2. Dr.Web menu
  265.  
  266.  
  267. The DOS SHELL command
  268.  
  269. Choosing this command, you can temporarily exit from the  current
  270. Dr. Web session for shelling to the DOS screen:
  271.  
  272.       ┌──────────────────────────────────────────────────┐
  273.       │ Type EXIT to return to Dr. Web...                │
  274.       │                                                  │
  275.       │ Microsoft(R) Windows 95                          │
  276.       │          (C) Copyright Microsoft Corp 1981-1995. │
  277.       │                                                  │
  278.       │ C:\DRWEB>                                        │
  279.       └──────────────────────────────────────────────────┘
  280.                        Fig.3. DOS screen
  281.  
  282. You can use  this  command,  for  example,  to  copy  and  rename
  283. infected files, to create a backup copy of valuable  files,  etc.
  284. After you are done with your DOS session,  type  EXIT  and  press
  285. <Enter> to return the Dr. Web main menu window.
  286.  
  287.      NOTE. Never  use  this  command  to  end  a Dr. Web session,
  288.      because the program resides in the memory and thus  occupies
  289.      some memory space.
  290.  
  291.  
  292. The ABOUT command
  293.  
  294. Choosing this command,  you  can  view  the  version  number  and
  295. relevant information about the designer of Dr. Web.
  296.  
  297. If your version is two-month obsolete, this panel will remind you
  298. that your version is  outdated  and  prompt  you  to  update  the
  299. program,  because  new  viruses  might  have  appeared  since the
  300. release of your version. To remove these new viruses, you require
  301. the  latest  version  or appropriate add-on virus database files.
  302. For details on appending add-on files to your program,  refer  to
  303. Section 1.4 The UPDATE item.
  304.  
  305. When run in the heuristic analysis mode, even an outdated version
  306. of Dr. Web will effectively detect new viruses.
  307.  
  308.  
  309. The EXIT command
  310.  
  311. Choosing this command,  you end  a Dr. Web session.  You can also
  312. end  a session,  pressing the  speedkey  combination  <Alt+X>  or
  313. <Alt+F4>.
  314.  
  315.  
  316.                         1.2 The TEST menu
  317.  
  318. contains five commands: TEST MEMORY, SCAN, CURE, STATICTICS,  and
  319. REPORT  for searching  and  removing  viruses,  and  viewing  the
  320. statistics of the current session and the report of  the  current
  321. and previous scanning sessions.
  322.  
  323.  Dr.Web  Test  Setup  Update                           [F1] Help
  324. ████████┌────────────────┐███████████████████████████████████████
  325. ██╔═════│ Test memory    │══ Scanning progress ═══════════════╗██
  326. ██║     │ Scan        F5 │                                    ║██
  327. ██║     │ Cure   Ctrl-F5 │                                    ║██
  328. ██║     │ Statistics     │                                    ║██
  329. ██║     │ Report         │                                    ║██
  330. ██║     └────────────────┘    Fig.4. Test menu
  331.  
  332.  
  333. The TEST MEMORY command
  334.  
  335. Choosing this command, you can test the memory for viruses at any
  336. time. If an unknown virus is detected in the memory, Dr.Web warns
  337. you as follows:
  338.  
  339. Memory (F900:0350) may be infected by RESIDENT VIRUS!
  340.  
  341. On detecting a known virus in the memory, Dr. Web prints its name
  342. on the screen:
  343.  
  344. Memory (F900:0350) infected with Eddie.1800 - eradicated!
  345.  
  346. In most cases, Dr. Web kills the known viruses in memory. In case
  347. there is a virus  in  the  memory,  start  the  computer  from  a
  348. bootable diskette containing the  Dr. Web program,  and clean the
  349. computer  for viruses.  Sometimes,  Dr. Web may warn for virus in
  350. the memory, while retesting the memory after killing a virus.
  351.  
  352.  
  353. The SCAN command
  354.  
  355. Choosing this command, you can test the machine for  viruses.  Or
  356. simply press the speedkey <F5> to  start  scanning  for  viruses.
  357. Immediately, the screen displays a SCAN PATH panel.
  358.  
  359.          ╔═[]════════════ Scan path ═════════════════╗
  360.          ║    ┌────────────────────────────────┬─┐    ║
  361.          ║    │*                               ││    ║
  362.          ║    └────────────────────────────────┴─┘    ║
  363.          ║      [X] including subdirectories          ║
  364.          ║                                            ║
  365.          ║        Ok   ▄     Cancel ▄      Help  ▄    ║
  366.          ║     ▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀    ║
  367.          ╚════════════════════════════════════════════╝
  368.                      Fig.5. Scan path panel
  369.  
  370. In the text field containing an asterisk, type the full pathnames
  371. of the files  you  want  to  test.  You  can  also  use  wildcard
  372. characters in file specifications, directory path, and drive name
  373. letter. Here are few examples of specifying the scan path:
  374.  
  375. ═══════════════╦═════════════════════════════════════════════════
  376.  Scan path     ║   Description
  377. ═══════════════╬═════════════════════════════════════════════════
  378.  * or *:       ║ scan all logical drives in the hard disk
  379. ───────────────╫─────────────────────────────────────────────────
  380.  C:            ║ scan all files in drive C
  381. ───────────────╫─────────────────────────────────────────────────
  382.  C:\DOS        ║ scan all files in the directory C:\DOS
  383.  C:\DOS\*      ║
  384.  C:\DOS\*.*    ║
  385. ───────────────╫─────────────────────────────────────────────────
  386.  C:\DOS\FILE.* ║ scan all files of the name FILE with any
  387.                ║ extension in the directory C:\DOS
  388. ───────────────╫─────────────────────────────────────────────────
  389.  C:\DOS\*.EXE  ║ scan all files having the extension EXE in the
  390.                ║ directory C:\DOS
  391. ═══════════════╩═════════════════════════════════════════════════
  392.      NOTE.  If  you  use  a  wildcard  character  "*"   in  drive
  393.      specification,  only  the logical drives in the hard disk of
  394.      the machine will be scanned;  virtual drives created by  the
  395.      DOS  SUBST command,  CD-ROM drives,  and network drives will
  396.      not be tested.
  397.  
  398. You  can   also  specify  several  files  located  in   different
  399. directories, separating  the  entries  by  an  intervening  white
  400. space;  for example,  to scan all  files  in  the  drive  A,  the
  401. directories  C:\DOS,  C:\UTIL\PROG,  and D:\WINDOWS,  in the text
  402. field type
  403.  
  404. A: C:\DOS C:\UTIL\PROG D:\WINDOWS
  405.  
  406. By default,  Dr. Web checks the files not  only  in  directories,
  407. but also in subdirectories. If  you  do  not  want  to  scan  the
  408. subdirectories, you can tell Dr. Web to skip  the  subdirectories
  409. by deselecting the INCLUDING SUBDIRECTORIES option box.
  410.  
  411. If you click the down arrowhead [] at the top left corner of the
  412. SCAN PATH panel,  or press the down arrow key while the cursor is
  413. located in the text field, a history panel is opened, showing the
  414. pathnames specified for scanning in previous  sessions.  You  may
  415. select  any  pathname  from  this  list with arrow keys.  This is
  416. particularly useful if you regularly scan the same directories  -
  417. there is no need to type the pathname every time, just select the
  418. appropriate pathname from the history panel.
  419.  
  420. After typing the scan path, choose or  click  the  OK  button  to
  421. start scanning. To close  the  box  without  executing  the  scan
  422. command, choose or click the CANCEL button.
  423.  
  424. On choosing  the  OK button,  the screen displays in the SCANNING
  425. PROGRESS window the names of files scanned, the name of the virus
  426. after  the  filename of infected files,  the name of the achiever
  427. program after the filenames of packed files.
  428.  
  429.    ╔═══════════════════ Scanning progress ═══════════════════╗
  430.    ║ Searching for viruses and infected programs in drive A: ║
  431.    ║ BOOT SECTOR infected by Form                            ║
  432.    ║ A:\FORMAT.COM infected by Tiny.129                      ║
  433.    ║ A:\VIRUS.COM infected by Fy.338                         ║
  434.    ║ A:\SMARTDRV.EXE infected by Tchechen.1912               ║
  435.    ║ A:\FTW1.COM packed by PKLITE                            ║
  436.    ║ A:\C-639.COM infected by Hizhnak.639                    ║
  437.    ║ A:\AINEXT.EXE infected by RDA.Fighter.7408              ║
  438.    ║ A:\COMMAND.COM infected by Ox.475                       ║
  439.    ║ Scanning report for drive A:                            ║
  440.    ║    Scanned : files, programs, and sectors     -  9      ║
  441.    ║    detected: viruses and infected programs    -  7      ║
  442.    ║    Scanned time:                          00:00:07      ║
  443.    ╚═════════════════════════════════════════════════════════╝
  444.                 Fig.6. Report on detected viruses
  445.  
  446. After the  completion  of  scanning  a drive,  you get a scanning
  447. report:
  448.  
  449.        ╔═[]═════════════════════════════════════════════╗
  450.        ║ Scanning report for drive A:                    ║
  451.        ║ Scanned : files, programs and sectors      - 25 ║
  452.        ║ Detected: viruses and infected programs    - 7  ║
  453.        ║           including in archived files      - 5  ║
  454.        ║           posible virus modifications      - 1  ║
  455.        ║           files suspected for infection    - 2  ║
  456.        ║           including archived files         - 2  ║
  457.        ║ Scanned time:                         00:00:21  ║
  458.        ║            Ok    ▄              Help  ▄         ║
  459.        ║         ▀▀▀▀▀▀▀▀▀▀            ▀▀▀▀▀▀▀▀▀         ║
  460.        ╚═════════════════════════════════════════════════╝
  461.                   Fig.7. Scanning report panel
  462.  
  463. This panel is displayed only if you have selected the REPORT  FOR
  464. EACH DRIVE  box  in the DESKTOP panel of the DESKTOP command.  If
  465. this box is deselected,  the scanning report is appended  at  the
  466. bottom of the SCANNING PROGRESS window.
  467.  
  468. In both cases,  information about virus modifications,  suspected
  469. files,  and archived files are printed only if the  corresponding
  470. counters are greater than 0.
  471.  
  472. In  the  example  above,   Dr. Web  detected  the  viruses  Form,
  473. Tiny.129, Fy.338, Tchechen.1912,  Hizhnak.639,  RDA.Fighter.7408,
  474. and Ox.475. After the completion of the scanning mission, you can
  475. cure the infected files in the machine.
  476.  
  477.  
  478. The CURE command
  479.  
  480. To remove the viruses detected by Dr. Web in a scanning  session,
  481. choose this command or press its speedkey combination <Ctrl+F5>.
  482.  
  483. The screen will then display a CURE PATH panel:
  484.  
  485.     ╔═[]════════════ Cure path ═════════════════╗
  486.     ║    ┌────────────────────────────────┬─┐    ║
  487.     ║    │*                               ││    ║
  488.     ║    └────────────────────────────────┴─┘    ║
  489.     ║      [X] including subdirectories          ║
  490.     ║                                            ║
  491.     ║        Ok   ▄     Cancel ▄      Help  ▄    ║
  492.     ║     ▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀    ║
  493.     ╚════════════════════════════════════════════╝
  494.                 Fig.8. Cure path panel
  495.  
  496. Type the full pathname of the files to be cured and  then  choose
  497. OK. The conventions for typing the specifications  in  this  text
  498. field are the same as those described for the text field  in  the
  499. SCAN PATH panel of the SCAN command.
  500.  
  501. Prior to curing infected files, it is good idea to copy them on a
  502. separate diskette. Change the extension of copied infected  files
  503. so that you may not accidentally run any  infected  program  from
  504. the diskette. For example, if MSD.EXE is infected, rename  it  as
  505. MSD.EX or MSD.VIR. Infected files may  be  needed  in  subsequent
  506. virus analysis.
  507.  
  508. The  CURE  command  initiates  Dr. Web  to  handle infected files
  509. differently (for curing,  deleting,  or renaming files) depending
  510. on your choice in the INFECTED FILES field of the OPTIONS panel.
  511.  
  512. In the  course  of  handling  files their names are printed in an
  513. on-screen panel as follows:
  514.  
  515.    ╔══════════════════ Scanning progress ════════════════════╗
  516.    ║ Searching for viruses and infected programs in drive A: ║
  517.    ║ BOOT SECTOR infected by Form - cured!                   ║
  518.    ║ A:\FORMAT.COM infected by Tiny.129 - cured!             ║
  519.    ║ A:\FORMAT.COM packed by PKLITE                          ║
  520.    ║ A:\VIRUS.COM infected by Fy.338 - cured!                ║
  521.    ║ A:\SMARTDRV.EXE infected by Tchechen.1912 - cured!      ║
  522.    ║ A:\FTW1.COM packed by PKLITE                            ║
  523.    ║ A:\C-639.COM infected by Hizhnak.639 - cured!           ║
  524.    ║ A:\AINEXT.EXE infected by RDA.Fighter.7408 - cured!     ║
  525.    ║ A:\COMMAND.COM infected by Ox.475 - cured!              ║
  526.    ║ Scanning report for drive A:                            ║
  527.    ║    Scanned : files, programs and sectors      - 9       ║
  528.    ║    Detected: viruses and infected programs    - 7       ║
  529.    ║    Cured: files and boot sectors              - 7       ║
  530.    ║    Scanned time:                         00:00:15       ║
  531.    ╚═════════════════════════════════════════════════════════╝
  532.                 Fig.9. List of restored files
  533.  
  534. While curing a disk for boot viruses which Dr. Web detected in  a
  535. scanning mission, you may get a warning message:
  536.  
  537.    ╔══[]════════════════════════════════════════════════╗
  538.    ║       Boot sector may not be cured properly!        ║
  539.    ║                   Continue curing?                  ║
  540.    ║                                                     ║
  541.    ║         Ok    ▄       Cancel  ▄        Help  ▄      ║
  542.    ║      ▀▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀      ║
  543.    ╚═════════════════════════════════════════════════════╝
  544.            Fig.10. Incorrect restoration message
  545.  
  546. You get this warning when Dr. Web  does  not  find  the  original
  547. master boot record or the boot sector in the area where the virus
  548. ought to have hidden  them.  This  happens  if  the  virus  is  a
  549. plagiarism of some well-known virus and  saves  the  actual  boot
  550. sectors in an area different from where its original virus saves,
  551. or if the computer is infected with  several  boot  viruses  such
  552. that one virus is superimposed on  another.  In  such  cases  the
  553. "head" of the second virus is found in the sector where the first
  554. virus ought to have saved the master boot record.
  555.  
  556. Dr. Web does not immediately analyze the hidden boot  sector  for
  557. other  viruses  in  it;  therefore,  this  message  is  displayed
  558. whenever the boot sector that Dr. Web found does not  agree  with
  559. the original boot  sector.  If  you  press  <Enter>  to  continue
  560. curing, Dr. Web kills the viruses known to it one by one.
  561.  
  562. When the disk is infected with several  boot  viruses,  the  boot
  563. sector may be lost if different viruses hide the boot  sector  in
  564. the same sector or if several resident viruses  infect  the  boot
  565. sectors repeatedly. In such cases, the machine, as a rule but not
  566. necessarily, hangs up on booting from the infected drive. Dr. Web
  567. conducts 10  cycles  to  cure  the  viruses  one  after  another.
  568. Therefore it is advisable  to  stop  curing  in  such  cases  and
  569. restore the system areas by MS DOS tools.
  570.  
  571. To restore the system  areas,  boot  the  machine  from  a  clean
  572. bootable system diskette and  use  the  command  SYS  C:  or  the
  573. command FDISK /MBR.
  574.  
  575.      IMPORTANT! While restoring the boot sectors by MS DOS tools,
  576.      some data on the hard disk may be lost; particularly if  the
  577.      virus has encoded a part of  the  disk  sectors.  Therefore,
  578.      call computer analyst for help.
  579.  
  580.  
  581. The STATISTICS command
  582.  
  583. Upon the completion of a  scanning  mission,  you  can  view  the
  584. statistics  of  the  current  mission  results  by  choosing  the
  585. STATISTICS command, which displays an on-screen statistics  panel
  586. similar to the panel shown in Fig.7  with a separate  report  for
  587. each drive scanned.
  588.  
  589.        ╔═[]══════════════════════════════════════════════╗
  590.        ║ Scanning report for drive C:                     
  591.        ║ Scanned : files, programs and sectors      - 120 ░
  592.        ║ Detected: viruses and infected programs    - 0   ░
  593.        ║ Scanned time:                         00:01:07   ░
  594.        ║                                                  ░
  595.        ║ Scanning report for drive D:                     ░
  596.        ║ Scanned : files, programs and sectors      - 51  ░
  597.        ║ Detected: viruses and infected programs    - 1   ░
  598.        ║ Scanned time:                         00:00:23   
  599.        ╚══════════════════════════════════════════════════╝
  600.                   Fig.11. Statictics panel
  601.  
  602.  
  603. The REPORT command
  604.  
  605. If you want to save the results of scanning  missions,  you  must
  606. tell Dr. Web to create a scanning report file. For this, see  the
  607. OPTIONS and PATHS commands of the SETUP menu.
  608.  
  609. At the end of every scanning session, Dr. Web appends the results
  610. of the current session in the report file containing the  results
  611. of previous scanning sessions.
  612.  
  613. This file can be  opened  for  viewing  by  choosing  the  REPORT
  614. command  from  the TEST menu.  The report panel looks somewhat as
  615. follows:
  616.  
  617.    ╔═[]════════════════════════════════════════════════════╗
  618.    ║ Dr. Web, version 3.21 (1997 Apr 29),                   
  619.    ║ Copyright (c) by Igor Daniloff, 1992-97                ░
  620.    ║ Scanning Report dated 1997 May 30  22:58:44            ░
  621.    ║ Command line:                                          ░
  622.    ║ ────────────────────────────────────────               ░
  623.    ║ No viruses found in memory                             ░
  624.    ║  Add-on file WEB70529.321:                             ░
  625.    ║ Add-on file appended to program virus base.            ░
  626.    ║ Added new virus descriptions - 50                      ░
  627.    ║ Searching for viruses and infected programs in disk C: ░
  628.    ║ Scanning report for drive C:                           ░
  629.    ║    Scanned : files, programs and sectors   - 120       ░
  630.    ║    Detected: viruses and infected programs - 0         ░
  631.    ║    Scanned time:                      00:01:07         
  632.    ╚════════════════════════════════════════════════════════╝
  633.                   Fig.12. Scanning report file
  634.  
  635. It is a simple text file and can be opened and edited, using  any
  636. ASCII text editor. By default, scanning results are  saved  in  a
  637. REPORT.WEB file which is created in the directory where drweb.exe
  638. is installed. It can be given any name and extension, and located
  639. anywhere you like (see The SETUP menu).
  640.  
  641.  
  642.                        1.3 The SETUP menu
  643.  
  644. Using the  commands  in  the  SETUP  menu,  you can customize the
  645. operation of Dr. Web  to suit your preferences.  On choosing this
  646. item, its menu has three commands: DESKTOP, OPTIONS, and PATHS.
  647.  
  648.  Dr.Web  Test  Setup  Update                          [F1] Help
  649. ██████████████┌───────────────┐█████████████████████████████████
  650. ██╔═══════════│ Desktop...    │═ Scanning progress ═══════════╗█
  651. ██║           │ Options... F9 │                               ║█
  652. ██║           │ Paths...      │                               ║█
  653. ██║           └───────────────┘    Fig.13. Setup menu
  654.  
  655.  
  656. The DESKTOP command
  657.  
  658. To customize the way in which Dr. Web screen is displayed, choose
  659. the DESKTOP command to open the DESKTOP dialog panel:
  660.  
  661.      ╔═[]════════════════════ Desktop ═══════════════════╗
  662.      ║ ┌ Screen mode ─────────────────┐ ┌ Language ─────┐ ║
  663.      ║ │ [X] Expanding windows        │ │ ( ) Russian   │ ║
  664.      ║ │ [X] Mouse support            │ │ () English   │ ║
  665.      ║ │ [ ] Load screen font         │ └───────────────┘ ║
  666.      ║ │ [X] Beep                     │ ┌ Color scheme ─┐ ║
  667.      ║ │ [ ] Autosave setup           │ │ () Color 1   │ ║
  668.      ║ └──────────────────────────────┘ │ ( ) Color 2   │ ║
  669.      ║ ┌ Additional preferences ──────┐ │ ( ) Color 3   │ ║
  670.      ║ │ [ ] "Snow" prevention        │ │ ( ) Color 4   │ ║
  671.      ║ │ [ ] Screen output via BIOS   │ │ ( ) Mono  1   │ ║
  672.      ║ │ [ ] Print "Ok" after filename│ │ ( ) Mono  2   │ ║
  673.      ║ │ [X] Print packer name        │ └───────────────┘ ║
  674.      ║ │ [ ] Report for each drive    │ ┌ Screen height ┐ ║
  675.      ║ │ [ ] Test one floppy only     │ │ () 25 lines  │ ║
  676.      ║ └──────────────────────────────┘ │ ( ) 30 lines  │ ║
  677.      ║      Ok    ▄      Save   ▄       │ ( ) 45 lines  │ ║
  678.      ║   ▀▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀▀       └───────────────┘ ║
  679.      ║     Cancel ▄      Help   ▄                         ║
  680.      ║   ▀▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀▀                         ║
  681.      ╚════════════════════════════════════════════════════╝
  682.                   Fig.14. Desktop dialog panel
  683.  
  684. This panel  has  five  groups  of fields SCREEN MODE,  ADDITIONAL
  685. PREFERENCES,  LANGUAGE,  COLOR SCHEME,  and  SCREEN HEIGHT  (each
  686. containing a few check boxes or option buttons), and four command
  687. buttons OK, SAVE, CANCEL, and HELP.
  688.  
  689. After setting  your  choices  for  the  check  boxes  and  option
  690. buttons, choose the SAVE button to write your preferences in  the
  691. DRWEB.INI file so that Dr. Web may start the subsequent  sessions
  692. with your operation preferences.
  693.  
  694. If the AUTOSAVE SETUP box is checked, there is no  need  to  save
  695. your settings; Dr. Web will automatically save them  on  choosing
  696. the OK button. The SAVE command button is  also  present  in  the
  697. other dialog panels of the SETUP menu.
  698.  
  699. After setting the preferences  for  the  fields  in  this  panel,
  700. either choose the OK button to bring the new settings into effect
  701. or the CANCEL button to cancel  them  in  case  you  change  your
  702. decision.
  703.  
  704. The purpose of each field in this panel is described below.
  705.  
  706.  
  707. * The SCREEN MODE field
  708.  
  709. contains the following check boxes.
  710. ═════════════════╦════════════════════════════════════════════════
  711. EXPANDING WINDOWS║ If this check box is selected, the superimposed
  712.                  ║ pop-up panels in the course of a  session  will
  713.                  ║ expand smoothly and gradually. To speed up  the
  714.                  ║ operation of the program, deselect this box.
  715. ─────────────────╫────────────────────────────────────────────────
  716. MOUSE SUPPORT    ║ If  this  check  box  is  selected, you can use
  717.                  ║ your   mouse in scanning sessions to choose the
  718.                  ║ menu  items, to  select check and option boxes,
  719.                  ║ choose   command   buttons,  etc.   If  Dr. Web
  720.                  ║ conflicts with the nonconventional mouse driver
  721.                  ║ in your system, deselect this box.
  722. ─────────────────╫────────────────────────────────────────────────
  723. LOAD SCREEN FONT ║ If  this box is selected, Dr. Web loads its own
  724.                  ║ screen fonts for  displaying   text information
  725.                  ║ Use  this  option,   if   your   Dr. Web  is  a
  726.                  ║ customized  version with no support of national
  727.                  ║ characters for your monitor.
  728. ─────────────────╫────────────────────────────────────────────────
  729. BEEP             ║ If this check  box  is  selected,  Dr. Web will
  730.                  ║ beep on detecting a virus.
  731. ─────────────────╫────────────────────────────────────────────────
  732. AUTOSAVE SETUP   ║ If this check box is selected, the settings you
  733.                  ║ specify   in   option  panels   will  be  saved
  734.                  ║ automatically in the Dr. Web initiation file on
  735.                  ║ closing the panel without the need for choosing
  736.                  ║ the SAVE button in the panel.
  737. ═════════════════╩════════════════════════════════════════════════
  738.  
  739.  
  740. * The ADDITIONAL PREFERENCES field
  741.  
  742. contains the following check boxes.
  743. ═════════════════╦════════════════════════════════════════════════
  744. SNOW PREVENTION  ║ This check box is to be selected only if output
  745.                  ║ to the screen is  done  via  BIOS (see the next
  746.                  ║ item). Select this box if snow appears on a CGA
  747.                  ║ monitor.
  748. ─────────────────╫────────────────────────────────────────────────
  749. SCREEN OUTPUT VIA║ Dr. Web prints messages on  the screen directly
  750. BIOS             ║ via BIOS. If this  box  is  deselected, Dr. Web
  751.                  ║ will dump  messages   to  videomemory  and this
  752.                  ║ speeds up  the  operation. If your videoadapter
  753.                  ║ is  not  compatible  with   CGA,  EGA,  or  VGA
  754.                  ║ adapters, check this box.
  755. ─────────────────╫────────────────────────────────────────────────
  756. PRINT "OK" AFTER ║ In  a scanning mission, if Dr. Web finds that a
  757. FILENAME         ║ file  is  not  infected,  it prints the letters
  758.                  ║ "Ok"   after  the  name   of  this  file in the
  759.                  ║ scanning  progress  window.  If you do not wish
  760.                  ║ to clutter the screen with superfluous messages,
  761.                  ║ deselect this box.
  762. ─────────────────╫────────────────────────────────────────────────
  763. PRINT PACKER NAME║ If you  have  selected the CHECK PACKED,  CHECK
  764.                  ║ ARCHIVES,  or CHECK E-MAIL boxes in  the  FILES
  765.                  ║ field  (see command options /UP,  /AR ¿ /ML) in
  766.                  ║ the panel displayed  on  choosing  the  OPTIONS
  767.                  ║ command from the SETUP menu,  Dr.Web will print
  768.                  ║ the  name  of  the  packer,  achiever,  or  the
  769.                  ║ encoder   in   the  scanning  progress  window.
  770.                  ║ Deselect  this   box   to   keep   the   screen
  771.                  ║ uncluttered. You may also suppress the printing
  772.                  ║ of the names  of  these  programs  individually
  773.                  ║ with  the  command  options /UPN,  /ARN,  /MLN,
  774.                  ║ respectively.
  775. ─────────────────╫────────────────────────────────────────────────
  776. REPORT FOR EACH  ║ If this check  box  is   selected, Dr. Web will
  777. DRIVE            ║ create  a  report  separately  for  each  drive
  778.                  ║ scanned.
  779. ─────────────────╫────────────────────────────────────────────────
  780. TEST ONE FLOPPY  ║ If this  check  box is selected,  Dr. Web  will
  781. ONLY             ║ check only one floppy  diskette  and  will  not
  782.                  ║ promt   you  to  insert  another  diskette  for
  783.                  ║ checking.  Deselect this box whenever you  want
  784.                  ║ to scan several floppy diskettes in a session.
  785. ═════════════════╩════════════════════════════════════════════════
  786.  
  787.  
  788. * The LANGUAGE field
  789.  
  790. is present in the DESKTOP  panel  only  in  bilingual  customized
  791. versions of Dr. Web. In this case, this field contains two option
  792. buttons  for  specifying  your  choice  between  the  alternative
  793. languages. This field is not present in single-language versions.
  794.  
  795.  
  796. * The COLOR SCHEME field
  797.  
  798. contains six option buttons  for  choosing  a  color  scheme  for
  799. displaying information on the screen:
  800.  
  801. ═════════╦═══════════════════════════════════════════════════════
  802.  Color 1 ║  The default color scheme of Dr. Web program.
  803. ─────────╫───────────────────────────────────────────────────────
  804.  Color 2 ║  This scheme is drawn from TurboVision program.
  805. ─────────╫───────────────────────────────────────────────────────
  806.  Color 3 ║  This scheme is drawn from Norton Utilities.
  807. ─────────╫───────────────────────────────────────────────────────
  808.  Color 4 ║  This scheme is drawn from ADinf program.
  809. ─────────╫───────────────────────────────────────────────────────
  810.  Mono 1, ║  Both these  schemes  display  the  message  in  white
  811.  Mono 2  ║  against  black  background.  Choose  the  scheme best
  812.          ║  suited for your monitor.
  813. ═════════╩═══════════════════════════════════════════════════════
  814.  
  815.  
  816. * The SCREEN HEIGHT field
  817.  
  818. contains three option buttons to adjust the full vertical size of
  819. screen to a height of 25, 30, or 45 lines.  Choose  a  button  to
  820. suit your convenience.
  821.  
  822.  
  823. The OPTIONS command
  824.  
  825. On choosing this command from the drop-down  menu  of  the  SETUP
  826. item of the main menu, you get a panel containing a  few  choices
  827. for customizing the operation modes of Dr. Web program.  You  may
  828. also press <F9> to pop up this panel directly.
  829.  
  830.      ╔═[]═══════════════════ Options ════════════════════╗
  831.      ║ ┌ Main settings ─────────┐  ┌ Files ─────────────┐ ║
  832.      ║ │ [X] Memory test        │  │ [X] Check packed   │ ║
  833.      ║ │ [X] Boot sector test   │  │ [X] Check archives │ ║
  834.      ║ │ [X] Heuristic analysis │  │ [ ] Check E-mail   │ ║
  835.      ║ │ [X] Check TSR viruses  │  │ [ ] Delete damaged │ ║
  836.      ║ └────────────────────────┘  │ [ ] Prompt for cure│ ║
  837.      ║ ┌ Heuristic level ───────┐  └────────────────────┘ ║
  838.      ║ │ () Minimal            │  ┌ Memory range ──────┐ ║
  839.      ║ │ ( ) "Paranoid"         │  │ ( )  640 Kb        │ ║
  840.      ║ └────────────────────────┘  │ () 1088 Kb        │ ║
  841.      ║ ┌ Infected files ────────┐  └────────────────────┘ ║
  842.      ║ │ () Cure               │  ┌ Report file ───────┐ ║
  843.      ║ │ ( ) Delete             │  │ ( ) Don't create   │ ║
  844.      ║ │ ( ) Rename             │  │ ( ) Overwrite      │ ║
  845.      ║ └────────────────────────┘  │ () Append         │ ║
  846.      ║                             └────────────────────┘ ║
  847.      ║      Ok    ▄     Save  ▄    Cancel ▄    Help   ▄   ║
  848.      ║   ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀   ║
  849.      ╚════════════════════════════════════════════════════╝
  850.              Fig.15. Operation options dialog panel
  851.  
  852. This panel contains six fields MAIN  SETTINGS,  HEURISTIC  LEVEL,
  853. INFECTED FILES, FILES, MEMORY RANGE, and REPORT FILE for  setting
  854. the way in which you wish Dr. Web to scan your machine  and  four
  855. command buttons: OK, SAVE, CANCEL, and HELP.
  856.  
  857.  
  858. * The MAIN SETTINGS field
  859.  
  860. The check boxes in this field define the areas  that  are  to  be
  861. scanned in every session. Check  all  boxes  in  this  field  for
  862. greater reliability of virus protection.
  863.  
  864.   The MEMORY TEST box
  865.  
  866. If this box is selected, the memory  in  your  computer  will  be
  867. scanned for active viruses on starting the program.  By  default,
  868. Dr. Web restricts the memory test  to  the  conventional  memory,
  869. i.e., the first 640 Kb.  In  a  computer  with  more  than  640Kb
  870. memory, you can additionally tell Dr. Web to scan the high memory
  871. area and upper memory blocks. If the 1088 Kb option button  under
  872. the MEMORY RANGE field is selected, all memory  range  accessible
  873. in real operation will be tested, i.e., the first  1088  Kb  that
  874. include the high memory area and upper memory blocks.
  875.  
  876. If you have extended memory in the computer for loading  resident
  877. programs and operation system modules, select the 1088 Kb  option
  878. button in the MEMORY RANGE field.
  879.  
  880.   The BOOT SECTOR TEST box
  881.  
  882. tells Dr. Web to scan the master boot record of the hard disk and
  883. the boot  sectors  of  drives  and  diskettes.  If  this  box  is
  884. deselected, Dr. Web will detect the  boot  viruses  in  the  boot
  885. sectors of diskettes and hard disks.
  886.  
  887.   The HEURISTIC ANALYSIS box
  888.  
  889. A powerful tool incorporated in Dr. Web is the heuristic analysis
  890. of files and boot sectors.  If this box is selected, Dr. Web will
  891. detect  new  and hithertounknown viruses.  In this mode,  Dr. Web
  892. analyzes the code  of  all  suspicious  programs  and  determines
  893. whether   their   codes   are   capable  of  executing  functions
  894. characteristic of viruses.
  895.  
  896. On detecting a suspicious program, Dr. Web warns that the program
  897. is  possibly  infected  with  some  unknown  virus    (COM.Virus,
  898. EXE.Virus,    COM.EXE.Virus,    COM.TSR.Virus,     EXE.TSR.Virus,
  899. COM.EXE.TSR.Virus, MACRO.Virus, or BOOT.Virus).
  900.  
  901. The terms used to describe unknown  viruses  have  the  following
  902. meaning:
  903. ═══════╦═════════════════════════════════════════════
  904.  Term  ║ Meaning
  905. ═══════╬═════════════════════════════════════════════
  906.  COM   ║ The virus infects COM files.
  907.  EXE   ║ The virus infects EXE files.
  908.  TSR   ║ The virus is memory resident.
  909.  MACRO ║ The virus infects WinWord documents.
  910.  BOOT  ║ The virus infects boot sectors of disks.
  911.  CRYPT ║ The virus code is encrypted or polymorphic.
  912. ═══════╩═════════════════════════════════════════════
  913.  
  914. Use also the HEURISTIC LEVEL field to specify the analysis level.
  915. This fieldhas two option buttons  MINIMAL,  "PARANOID".  When  no
  916. level is specified, Doctor Web defaults to the minimal level.
  917.  
  918. In a test conducted with 10,000 different viruses, Dr. Web showed
  919. unknown virus detection  efficiency  of  87%  under  the  minimal
  920. level, and 89-91% under the maximal level.
  921.  
  922. The following is a list of a few examples of the warning messages
  923. which  Dr. Web  displays  in  the  scanning  progress  window  on
  924. detecting suspicious files while running under heuristic analysis
  925. mode:
  926.  
  927. D:\GAMES\DOOM\NCA.EXE possibly infected with EXE.CRYPT.Virus
  928. D:\GAMES\ENGL\README.EXE possibly infected with EXE.TSR.Virus
  929. D:\GAMES\ENGL\LM.EXE possibly infected with COM.EXE.TSR.CRYPT.Virus
  930. C:\WORDS\NORMAL.DOT possibly infected with MACRO.Virus
  931.  
  932. In   the   "paranoid"  mode,  Dr. Web  additionally  checks   the
  933. suspicious settings of file  date  stamps.  Certain  viruses  set
  934. unreal values to file creation time  and  date  as  an  infection
  935. label or flag; for example, seconds in file creation time may  be
  936. set to 62  or the year to  2000!  On  detecting  a  file  with  a
  937. strange date stamp, Dr. Web prints  a  warning  in  the  scanning
  938. progress window as follows:
  939.  
  940. D:\DOD.COM strange  date  stamp  2031 ??? 31 25:60:00
  941.  
  942. In the  heuristic  analysis  mode,  Dr. Web  may  generate  FALSE
  943. ALARMS!  The  higher  the  analysis  level,  the   greater    the
  944. possibility of false alarms. Such a possibility  is  particularly
  945. great in "paranoid" analysis level.
  946.  
  947. As a rule, false alarms are generated in testing a program  under
  948. heuristic analysis mode, if the program uses file open  and  file
  949. write operations, particularly if the program is TSR.
  950.  
  951.      IMPORTANT! Always test the program you get hold of  for  the
  952.      first time  under  heuristic mode to avoid infection of your
  953.      machine. Handle the programs with special care which Dr. Web
  954.      suspects as "possibly" infected.
  955.  
  956. Dr. Web  takes longer time to  scan  a  machine  under  heuristic
  957. analysis mode.
  958.  
  959.   The CHECK TSR VIRUSES box
  960.  
  961. Many resident viruses infect a file when it is opened for reading
  962. or writing. This is helpful in detecting an active virus, because
  963. the  file  size  increases  after opening (if there is a virus in
  964. it).
  965.  
  966. If the CHECK TSR VIRUS box is selected, Dr. Web  will  check  the
  967. changes in the size (if any) of files at the  time  of  executing
  968. the seek and open commands.
  969.  
  970. File size check also reveals active stealth  viruses  which  hide
  971. their presence in the files they have infected. Once activated, a
  972. stealth virus stays resident in the memory  and  manipulates  the
  973. size find operations. If any program calls for  the  size  of  an
  974. infected file, the stealth virus residing in the file returns the
  975. clean file size in order to conceal the increased size.
  976.  
  977. If the CHECK TSR VIRUSES box is selected, on  detecting  a  virus
  978. Dr. Web may warn:
  979.  
  980.    ╔══[]════════════════════════════════════════════════╗
  981.    ║                                                     ║
  982.    ║                 C:\DOS\COMMAND.COM                  ║
  983.    ║      WARNING!  On opening this file, its size       ║
  984.    ║      changed by +800 bytes! Memory may contain      ║
  985.    ║              an ACTIVE RESIDENT VIRUS!              ║
  986.    ║                 Continue scanning?                  ║
  987.    ║                                                     ║
  988.    ║         Ok    ▄       Cancel  ▄        Help  ▄      ║
  989.    ║      ▀▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀      ║
  990.    ╚═════════════════════════════════════════════════════╝
  991.     Fig.16. Warning message for an active resident virus
  992.  
  993. to alert you that the  file  had  one  size  before  opening  for
  994. reading and  a  different  size  after  opening.  Possibly,  some
  995. unknown resident virus, which infected the file, might have  been
  996. residing in the memory at the time of opening this  file  by  the
  997. DOS open command. In this case, the file size increases. The file
  998. size may also decrease if the memory contains a "stealth"  virus,
  999. which tries to hide its presence in the file being scanned.
  1000.  
  1001. In either case, it is a good idea to stop  Dr. Web,  reboot  your
  1002. computer  from  a  clean  write-protected    bootable    diskette
  1003. containing the Dr. Web program and scan the suspected files  with
  1004. Dr. Web once again.
  1005.  
  1006.  
  1007. * The HEURISTIC LEVEL field
  1008.  
  1009. See the HEURISTIC ANALYSIS in the MAIN SETTING field.
  1010.  
  1011.  
  1012. * The INFECTED FILES field
  1013.  
  1014. contains three option buttons CURE, DELETE, and RENAME, of  which
  1015. only one can be active at a time. The first  two  option  buttons
  1016. CURE  and  DELETE  are  self-explanatory  and  need  no   further
  1017. comments. If you  select  the  third  button,  RENAME,  then  the
  1018. infected files will be renamed: the filename will be same as  the
  1019. original filename, but the letter V will be substituted  for  the
  1020. first  letter  in  the  extension;  for  example,  the   filename
  1021. extensions  COM  and  EXE  will  be  changed  as  VOM  and   VXE,
  1022. respectively.
  1023.  
  1024. Prior to handling an infected file,  Dr. Web  will ascertain your
  1025. permission  if  you  have selected the PROMPT FOR CURE box in the
  1026. FILES field:
  1027.  
  1028.     ╔══[]══════════════ B:\FORMAT.COM ═══════════════════╗
  1029.     ║                                                     ║
  1030.     ║        This file is infected with Tiny.129          ║
  1031.     ║                     Rename it?                      ║
  1032.     ║                                                     ║
  1033.     ║      Yes   ▄            No   ▄           Help  ▄    ║
  1034.     ║   ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀    ║
  1035.     ╚═════════════════════════════════════════════════════╝
  1036.             Fig.17. Inquiry for renaming a file
  1037.  
  1038.  
  1039. * The FILES field
  1040.  
  1041. contains check  boxes  with which you can opt for checking packed
  1042. files,  delete damaged files,  and tell Dr. Web to ascertain your
  1043. intention prior to handling an infected file.
  1044.  
  1045.   The CHECK PACKED box
  1046.  
  1047. If this box is selected,  Dr. Web  will test the files  that  are
  1048. packed  with  DIET,  LZEXE,  PKLITE,  EXEPACK,  COMPACK,  OPTLINK
  1049. compression  utilities,  the  files  converted   with   COMTOEXE,
  1050. PROTECT,  CRYPTCOM, TYNYPROG, as well as the files immunized with
  1051. CPAV, F-XLOCK vaccines. The packed files are temporarily exploded
  1052. in  some drive and then scanned for viruses.  You can specify any
  1053. drive for creating these temporary files under the  text  box  of
  1054. the TEMP DRIVE field in the PATHS panel displayed on choosing the
  1055. PATHS command from the SETUP menu.
  1056.  
  1057.      NOTE. It is a good idea to specify the fastest drive in your
  1058.      computer as the TEMP drive for temporarily exploding  packed
  1059.      files. Furthermore, there must always be enough space in the
  1060.      drive for temporarily exploding the packed files.
  1061.  
  1062. The name of used utility is  printed  in  the  scanning  progress
  1063. window  as  well as in the report if the PRINT PACKER NAME box is
  1064. checked in the panel displayed on choosing  the  OPTIONS  command
  1065. from the SETUP menu.
  1066.  
  1067.   The CHECK ARCHIVES box
  1068.  
  1069. To save space on hard and floppy disks, users often make  use  of
  1070. archive programs. If an  infected  program  is  contained  in  an
  1071. archive file,  most of the anti-virus utilities cannot check such
  1072. a program.
  1073.  
  1074. Dr. Web  can  check  any  file included in an archived file.  For
  1075. this,  select the CHECK ARCHIVES box.  Dr. Web  easily tests  the
  1076. archive files created with  ARJ, PKZIP, LHA,  RAR, ZOO, ICE,  and
  1077. HA.
  1078.  
  1079. The name  of achiever program is printed in the scanning progress
  1080. window as well as in the report if the PRINT PACKER NAME  box  is
  1081. checked  in  the  panel displayed on choosing the OPTIONS command
  1082. from the SETUP menu.
  1083.  
  1084.   The CHECK E-MAIL box
  1085.  
  1086. When this box is selected,  Doctor Web will search for  and  scan
  1087. e-mail  files  encoded  by  UUENCODE and MIME utilities.  In this
  1088. mode,  Doctor Web will search for files in UUE  and  MIME  format
  1089. inside every file being scanned and scan the encoded files to the
  1090. maximum extent.  This is a slow process and it is a good idea  to
  1091. use this mode only for checking your e-mail.
  1092.  
  1093. The name  of encoding program is printed in the scanning progress
  1094. window as well as in the report if the PRINT PACKER NAME  box  is
  1095. checked  in  the  panel displayed on choosing the OPTIONS command
  1096. from the SETUP menu.
  1097.  
  1098.   The DELETE DAMAGED box
  1099.  
  1100. In certain cases, packed files that are infected and  damaged  by
  1101. viruses may not yield to full restoration. If the DELETE  DAMAGED
  1102. box in the FILES field is selected,  Dr. Web  will  automatically
  1103. delete such files.
  1104.  
  1105.   The PROMPT FOR CURE box
  1106.  
  1107. If you wish that Dr. Web should ascertain your intention prior to
  1108. handling infected files  (for  curing,  deleting,  or  renaming),
  1109. select  the PROMPT FOR CURE box in the FILES field of the OPTIONS
  1110. panel.  Otherwise,  infected files will be handled  automatically
  1111. without ascertaining your permission.
  1112.  
  1113.      ╔═[]═══════════════ B:\FORMAT.COM ═══════════════════╗
  1114.      ║                                                     ║
  1115.      ║        This file is infected with Tiny.129          ║
  1116.      ║          Remove the virus from the file?            ║
  1117.      ║                                                     ║
  1118.      ║      Yes   ▄            No   ▄           Help  ▄    ║
  1119.      ║   ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀    ║
  1120.      ╚═════════════════════════════════════════════════════╝
  1121.               Fig.18. Inquiry for removing a virus
  1122.  
  1123.  
  1124. * The MEMORY RANGE field
  1125.  
  1126. See the MEMORY TEST box in the MAIN SETTINGS field.
  1127.  
  1128.  
  1129. * The REPORT FILE field
  1130.  
  1131. contains three option buttons DON'T CREATE, OVERWRITE, and APPEND.
  1132.  
  1133. If you select the DON'T CREATE button, no report file is  created
  1134. at the end of scanning and curing sessions.  If  you  select  the
  1135. OVERWRITE button, at the end of a  session  the  results  of  the
  1136. current session will be overwritten on the contents of the report
  1137. file; so the report file will always contain the results  of  the
  1138. last scanning session. If  you  select  the  APPEND  button,  the
  1139. report  of the current scanning session is appended at the end of
  1140. the report file; so the report file contains the results  of  all
  1141. previous scanning sessions since you last cleared up  the  report
  1142. file.
  1143.  
  1144. You can open the report file for viewing by choosing  the  REPORT
  1145. command from the TEST menu and edit it with any text editor.
  1146.  
  1147. By default, the report file is named REPORT.WEB and is created in
  1148. the directory  where  Dr. Web  is  installed.  However,  you  can
  1149. specify a different name and location (see the REPORT  FILE  NAME
  1150. field under the PATHS command).
  1151.  
  1152.  
  1153. The PATHS command
  1154.  
  1155. On choosing this command, you get a panel containing text  fields
  1156. for specifying certain pathnames and option buttons for  choosing
  1157. the type of files to be tested:
  1158.  
  1159.       ╔═[]═══════════════════ Paths ═══════════════════════╗
  1160.       ║ ┌ Add-on search pattern ┐ ┌ Report file name ─────┐ ║
  1161.       ║ │ WEB?????.3??          │ │ REPORT.WEB            │ ║
  1162.       ║ └───────────────────────┘ └───────────────────────┘ ║
  1163.       ║                           ┌ File type ────────────┐ ║
  1164.       ║ ┌ Add-on pathname ──────┐ │ ( ) All files         │ ║
  1165.       ║ │                       │ │ () Programs          │ ║
  1166.       ║ └───────────────────────┘ │ ( ) User defined      │ ║
  1167.       ║                           │  └ *.EXE *.COM *.SYS │ ║
  1168.       ║ ┌ Temp drive ┐            └───────────────────────┘ ║
  1169.       ║ │    C:      │                 Ok   ▄     Cancel ▄  ║
  1170.       ║ └────────────┘             ▀▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀  ║
  1171.       ║                               Save  ▄      Help  ▄  ║
  1172.       ║                            ▀▀▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀▀  ║
  1173.       ╚═════════════════════════════════════════════════════╝
  1174.                    Fig.19. Paths dialog panel
  1175.  
  1176.  
  1177. * The ADD-ON SEARCH PATTERN field
  1178.  
  1179. In the text box of this field, type the  names  of  add-on  files
  1180. that are to be appended to your main virus database. You can  use
  1181. wildcard characters in typing the filename.
  1182.  
  1183.  
  1184. * The ADD-ON PATHNAME field
  1185.  
  1186. In the text box of this field, type the  path  of  the  directory
  1187. where add-on files exist.
  1188.  
  1189. All add-on files matching  the  specifications  typed  in  add-on
  1190. search pattern and add-on pathname  fields  that  are  compatible
  1191. with the version of Dr. Web will be automatically appended to the
  1192. main virus database on choosing the OK command button.
  1193.  
  1194. You can also append add-on files to the main virus database  with
  1195. the help of the UPDATE item in the main menu.
  1196.  
  1197.  
  1198. * The TEMP DRIVE field
  1199.  
  1200. In the text box of this field, type the name letter of the  drive
  1201. where you want Dr. Web to create temporary files. This drive must
  1202. not be READ ONLY drive. Dr. Web temporarily explodes packed files
  1203. prior to checking them for viruses. There must be sufficient disk
  1204. space (500 Kb to 1 Mb) in the drive specified under this field.
  1205.  
  1206. If there is  not sufficient free  space  in  the  drive,  Dr. Web
  1207. displays an error message:
  1208.  
  1209.     ╔═[]══════════════ C:\DOS\ATTRIB.EXE ════════════════╗
  1210.     ║                                                     ║
  1211.     ║      No space on disk to decompress the file!       ║
  1212.     ║                 Continue scanning?                  ║
  1213.     ║                                                     ║
  1214.     ║      Yes   ▄           No    ▄           Help  ▄    ║
  1215.     ║   ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀    ║
  1216.     ╚═════════════════════════════════════════════════════╝
  1217.        Fig.20. Insufficient free space warning message
  1218.  
  1219. If you choose YES, Dr. Web will resume its mission, but skip  the
  1220. packed file from scanning.  Therefore,  choosing  NO,  abort  the
  1221. scanning mission, create sufficient free space on the  disk,  and
  1222. then start Dr. Web once again.
  1223.  
  1224. In order to speed up the operation, specify the fastest drive  in
  1225. your system as the temporary drive. It is a good idea to  specify
  1226. RAM disk (if any) as the temporary drive. DOS ramdrive.sys can be
  1227. conveniently used to create a virtual disk.
  1228.  
  1229.  
  1230. * The REPORT FILE NAME field
  1231.  
  1232. In the text box of this field, type  the  full  pathname  of  the
  1233. report file where you  wish  to  save  the  results  of  scanning
  1234. missions. By default, it is named report.web and created  in  the
  1235. same directory where Dr. Web is  installed.  Typing  a  different
  1236. full pathname, you can change the filename,  its  extension,  the
  1237. directory, and the drive where it is to be created.
  1238.  
  1239.  
  1240. * The FILE TYPE field
  1241.  
  1242. gives three option buttons for specifying the type of files to be
  1243. tested in scanning.
  1244.  
  1245.   The ALL FILES button
  1246.  
  1247. tells Dr. Web to scan all files regardless of the file  name  and
  1248. extension.
  1249.  
  1250.   The PROGRAMS button
  1251.  
  1252. tells Dr. Web to scan  executable  files  only,  i.e.,  files  of
  1253. extension COM,  EXE, SYS, BAT, DRV, BIN, DLL, BOO, OV?, PRG, VXD,
  1254. 386, DOC, and DOT.
  1255.  
  1256.   The USER DEFINED button
  1257.  
  1258. tells Dr. Web to scan only the files specified by the user in the
  1259. text field under this option box. Press <Tab> to go to  the  text
  1260. field, and then type  the  file  specifications,  separating  the
  1261. entries by an intervening  white  space.  You  can  use  wildcard
  1262. characters, "*" and "?", in file specifications.
  1263.  
  1264. In scanning and curing sessions, Dr. Web always  scans  files  of
  1265. the type specified in this FILE TYPE field,  unless  you  type  a
  1266. different specification in  the  SCAN  PATH  panel  displayed  on
  1267. choosing the SCAN command from the TEST menu at the  start  of  a
  1268. session,  i.e.,  only  for  the  current   session    the    file
  1269. specifications  in  the  SCAN  PATH  panel  override  the    file
  1270. specifications under the FILE TYPE field.
  1271.  
  1272.  
  1273.                        1.4 The UPDATE item
  1274.  
  1275. in the main menu has no submenu, because it  is  a  command.  Its
  1276. purpose is to upgrade your Dr. Web with  the  appearance  of  new
  1277. viruses.
  1278.  
  1279. For Dr. Web to cope with the new virus  specimens,  its  database
  1280. must be upgraded constantly by appending add-on files  containing
  1281. data about the new viruses.
  1282.  
  1283. Add-on files are released almost once in a week. Registered users
  1284. can obtain them free of cost from our official dealers.
  1285.  
  1286.  
  1287.      If a virus unknown to DR. WEB has invaded your machine
  1288.  
  1289. Please, immediately send (for example, by e-mail) a copy  of  the
  1290. virus or infected file to DialogueScience, Inc.,  Moscow,  or  to
  1291. the designer of Dr. Web. If you are a registered user, within  48
  1292. hours you will receive an add-on file (an  external  appendix  to
  1293. the main database) to detect and remove the new virus from  files
  1294. and system  areas  (master  boot  record,  boot  sector)  of  the
  1295. computer.
  1296.  
  1297. The add-on files are named as WEBymmdd.vvv, where y  denotes  the
  1298. last figure in the current year, mm the number of the  month,  dd
  1299. the day of the date of release of an add-on file, vvv the version
  1300. number (v.vv) of the Dr. Web for which the  add-on  is  designed.
  1301. For example, web70408.320 means that the add-on file is  released
  1302. on April 08, 1997 for Dr. Web version 3.20.
  1303.  
  1304. Prior to copying the add-on files to  the  computer,  check  that
  1305. they are compatible with your Dr. Web version. For this, open the
  1306. add-on file through any text editor: its beginning reads somewhat
  1307. as follows:
  1308.  
  1309. New Virus Base Add-on for Anti-Virus Dr. Web version 3.05+,
  1310.  
  1311. where 3.05+  means  that  this  add-on  is  designed for  Dr. Web
  1312. version 3.05 and higher.  Then,  copy it to the  directory  where
  1313. drweb.exe is installed.
  1314.  
  1315. The add-on files can be appended to the main  virus  database  in
  1316. two different ways. By the first method,  the  add-on  files  are
  1317. automatically appended in a scanning session. For this, open  the
  1318. SETUP menu,  choose  the  PATHS command,  and type an appropriate
  1319. text string in the ADD-ON SEARCH PATTERN and ADD-ON PATH fields.
  1320.  
  1321.      IMPORTANT! The  add-on  files  for Dr.  Web version 3.xx are
  1322.      released with the name WEB?????.3??.  You can type this text
  1323.      string  in  the  ADD-ON  SEARCH  PATTERN field.  If you have
  1324.      copied the add-on files to the directory where  Dr.  Web  is
  1325.      installed, you may leave the ADD-ON PATH field unfilled.
  1326.  
  1327. By the second  method,  you  can  manually  append  add-on  files
  1328. located in different directories. For  this,  choose  the  UPDATE
  1329. command from the main menu to pull down its dialog panel:
  1330.  
  1331.             ╔═[]════════ Add-on files ════════════╗
  1332.             ║                                      ║
  1333.             ║   ┌─────────────────────────────┐    ║
  1334.             ║   │ WEB?????.3??                │    ║
  1335.             ║   └─────────────────────────────┘    ║
  1336.             ║                                      ║
  1337.             ║    Search  ▄   Cancel  ▄    Help   ▄ ║
  1338.             ║   ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀ ║
  1339.             ╚══════════════════════════════════════╝
  1340.                    Fig.21. Add-on dialog panel
  1341.  
  1342. In the text field, type the full pathname or a search pattern for
  1343. finding and appending the add-on files. Then  choose  the  SEARCH
  1344. button. If the add-on files are successfully appended, the screen
  1345. displays a message showing the number of add-on files appended  to
  1346. the database.
  1347.  
  1348. After  purchasing  a new upgraded version  of Dr. Web  capable of
  1349. independently detecting and removing new viruses without the  aid
  1350. of add-on files,  delete all old versions of add-on files as they
  1351. are no longer needed for the upgraded Dr. Web program.
  1352.  
  1353.  
  1354.                         1.5 The HELP menu
  1355.  
  1356. Dr. Web's help system is context-sensitive and  provides  on-line
  1357. assistance to the user in the current topic on pressing the  <F1>
  1358. key. Alternatively, you may click the [F1] Help box. Using <PgUp>
  1359. and <PgDn> keys, you can browse through the  help  window.  Press
  1360. <Esc> to close the help window.
  1361.  
  1362.  
  1363.                           1.6 Speedkeys
  1364.  
  1365. To speed up the work with the keyboard, you can use the following
  1366. combinations of keys to implement the commands listed below.
  1367. ══════════════════╦══════════════════════════════════════════════
  1368.  Key combination  ║ Command executed
  1369. ══════════════════╬══════════════════════════════════════════════
  1370.  <Alt+X>,<Alt+F4> ║ Quit Dr. Web.
  1371. ──────────────────╫──────────────────────────────────────────────
  1372.  <F1>             ║ Call on-line help.
  1373. ──────────────────╫──────────────────────────────────────────────
  1374.  <F5>             ║ Scan (files, boot sectors, etc.) for
  1375.                   ║ infection.
  1376. ──────────────────╫──────────────────────────────────────────────
  1377.  <Ctrl+F5>        ║ Search for and remove viruses.
  1378. ──────────────────╫──────────────────────────────────────────────
  1379.  <F9>             ║ Display OPTIONS panel for specifying Dr. Web
  1380.                   ║ operation settings.
  1381. ──────────────────╫──────────────────────────────────────────────
  1382.  <F10>,<Spacebar> ║ Initiate the main menu. Thereafter, use right
  1383.                   ║ and left arrow keys to move through the menu
  1384.                   ║ bar.
  1385. ──────────────────╫──────────────────────────────────────────────
  1386.  <Tab>,<Shift+Tab>║ Move from one field to another in dialog
  1387.                   ║ panels.
  1388. ──────────────────╫──────────────────────────────────────────────
  1389.  <Esc>            ║ Abort scanning mission. Close dialog panels
  1390.                   ║ and message panels currently displayed on the
  1391.                   ║ screen. This key is inoperate if you
  1392.                   ║ specified /NS option in Dr. Web command line.
  1393. ══════════════════╩══════════════════════════════════════════════
  1394.  
  1395.  
  1396.  
  1397.             2. RUNNING DR. WEB FROM ITS COMMAND LINE
  1398.  
  1399. This section explains how to run Dr. Web with  its  command  line
  1400. and command options.
  1401.  
  1402. The syntax of Dr. Web's command line is
  1403.  
  1404. drweb [<drive>:[<path>]] [<option>] . . . [<option>]
  1405.  
  1406. The command name and the command options must be separated by  an
  1407. intervening white space. Items shown within square  brackets  are
  1408. optional. To include option parameters in the command line,  only
  1409. type the information inside the brackets. Do not type the  square
  1410. brackets.
  1411.  
  1412. The first parameter, <drive>, is the name letter of the drive  to
  1413. be scanned, for example, f: or  a:.  If  you  wish  to  test  all
  1414. logical drives in the hard  disk(s)  of  your  system,  type  the
  1415. global character "*" in place of the drive name letter.  To  test
  1416. the current directory, just type a stop character "."  after  the
  1417. command name drweb.
  1418.  
  1419. To test the files in separate directories, include the <path>  to
  1420. the directories in the command line. Alternatively, you can  also
  1421. type the <path> parameter, using global characters  in  filenames
  1422. and extensions.
  1423.  
  1424. Other parameters  define  the  operation modes  of Dr. Web.  Many
  1425. operation  modes  can  also  be  saved  in  the  initiation  file
  1426. (DRWEB.INI).  The  settings written in the initiation file can be
  1427. modified at any time with the SETUP menu.
  1428.  
  1429. The parameters  specified  in  the  command  line  override   the
  1430. settings saved in the initiation file.
  1431.  
  1432. The current settings can be modified in any subsequent session by
  1433. starting  Dr. Web in inactive mode.  The settings modified  in  a
  1434. session  can  be  used for the current session only or written to
  1435. the initiation file manually with the SAVE button  (available  in
  1436. many dialog  panels) or with the /SS option,  or automatically if
  1437. the AUTOSAVE SETUP is enabled in the DESKTOP panel  (or  the  /SV
  1438. option is specified in the command line).
  1439.  
  1440. The current  settings in the initiation file (DRWEB.INI) are used
  1441. for starting  Dr. Web.  Initially,  the initiation file  contains
  1442. certain default settings.
  1443.  
  1444. Most of  the  operation  modes can be disabled by including their
  1445. negative command option in the command  line  even  if  they  are
  1446. specified  in  the  initiation  file.  For  example,  the default
  1447. setting  for  scanning  of  subdirectories   specified   in   the
  1448. initiation  file  can  be  disabled  for  the  current session by
  1449. including the /SD- option in the  command  line.  A  new  command
  1450. option specification can be written to the initiation file by the
  1451. /SS command option (save to the initiation file).
  1452.  
  1453. The /NI command option disregards all settings in the  initiation
  1454. file for starting the current session.
  1455.  
  1456. Below is  a  list  of command options.  The symbols in the Status
  1457. column have the following meaning:
  1458. ═══╦═════════════════════════════════════════════════════════════
  1459.  i ║ The parameter value can be saved in the DRWEB.INI file.
  1460. ───╫─────────────────────────────────────────────────────────────
  1461.  - ║ The option can be disabled for the current session by
  1462.    ║ including its negative form in the command line.
  1463. ───╫─────────────────────────────────────────────────────────────
  1464.  x ║ The mode is enabled in the initiation file as a default
  1465.    ║ setting.
  1466. ═══╩═════════════════════════════════════════════════════════════
  1467.  
  1468.  
  1469. 2.1 List of command options and their purpose
  1470.  
  1471. ════════════╦══════╦═════════════════════════════════════════════
  1472.  Option     ║Status║   Description
  1473. ════════════╬══════╬═════════════════════════════════════════════
  1474.  /&<file>   ║      ║ use the initiation file named <file>.
  1475. ────────────╫──────╫─────────────────────────────────────────────
  1476.  /?         ║      ║ display help information.
  1477. ────────────╫──────╫─────────────────────────────────────────────
  1478.  /@[+]<file>║      ║ The integrity checker ADinf generates a list
  1479.             ║      ║ of files that are to be scanned by scanners.
  1480.             ║      ║ Dr. Web  will check only the files specified
  1481.             ║      ║ in this list without scanning other files in
  1482.             ║      ║ the machines.  Such an information  exchange
  1483.             ║      ║ mode greatly speeds up a scanning session.
  1484.             ║      ║ To tell  that  Dr. Web should check only the
  1485.             ║      ║ files  in  this  information-exchange  list,
  1486.             ║      ║ include  the  /@ option immediately followed
  1487.             ║      ║ by the  name  of  this  information-exchange
  1488.             ║      ║ file.  By default, Dr. Web checks only those
  1489.             ║      ║ files in this list with filename  extensions
  1490.             ║      ║ that   are   listed   in   the   /AL  option
  1491.             ║      ║ description.  In order to check all files in
  1492.             ║      ║ the information-exchange list,  additionally
  1493.             ║      ║ include the /AL option.
  1494.             ║      ║ After   completion    of    scanning,    the
  1495.             ║      ║ information-exchange  file  will be deleted.
  1496.             ║      ║ But  if  the  plus  sign  is  included,  the
  1497.             ║      ║ information-exchange   file   will   not  be
  1498.             ║      ║ deleted.
  1499.             ║      ║ For full information on the use  of  the  /@
  1500.             ║      ║ option, refer to the ADinf User's Guide.
  1501. ────────────╫──────╫─────────────────────────────────────────────
  1502.  /25        ║ i x  ║ adjust the screen vertical size to 25 lines.
  1503. ────────────╫──────╫─────────────────────────────────────────────
  1504.  /30        ║ i    ║ the same for 30 lines.
  1505. ────────────╫──────╫─────────────────────────────────────────────
  1506.  /45        ║ i    ║ the same for 45 lines.
  1507. ────────────╫──────╫─────────────────────────────────────────────
  1508.  /AL        ║ i-   ║ scan all  files  in  a given drive (not only
  1509.             ║      ║ files of extension COM,  EXE, SYS, BAT, DRV,
  1510.             ║      ║ BIN, DLL, BOO, OV?, PRG, VXD, 386,  DOC,  or
  1511.             ║      ║ DOT, but also files of all other extensions).
  1512. ────────────╫──────╫─────────────────────────────────────────────
  1513. /AR[N][W][T]║ i-x  ║ scan all files inside the  archives  created
  1514.             ║      ║ with ARJ,  PKZIP, LHA, RAR, ZOO, ICE, and HA
  1515.             ║      ║ compression utilities.  N - don't print  the
  1516.             ║      ║ name  of  archiver  after  the  name  of the
  1517.             ║      ║ archived  file,  W  -  extract  files   from
  1518.             ║      ║ archive to the current directory,  T - (only
  1519.             ║      ║ with  W  parameter)  extract  files  to  the
  1520.             ║      ║ temporary     directory    specified    with
  1521.             ║      ║ environment variable TEMP or TMP.
  1522. ────────────╫──────╫─────────────────────────────────────────────
  1523.  /BW[<num>] ║ i    ║ print messages  in  black-and-white  display
  1524.             ║      ║ mode.  You can type 1 or 2 for <num> that is
  1525.             ║      ║ best suite for your monitor.
  1526. ────────────╫──────╫─────────────────────────────────────────────
  1527.  /CH        ║      ║ disable self-test.
  1528. ────────────╫──────╫─────────────────────────────────────────────
  1529.  /CL        ║      ║ run in command line mode  and  suppress  the
  1530.             ║      ║ dialog interface.
  1531. ────────────╫──────╫─────────────────────────────────────────────
  1532.  /CO[<num>] ║ i x  ║ run in color display mode. You can type 1 to
  1533.             ║      ║ 4 for <num> that is  best  suited  for  your
  1534.             ║      ║ monitor.
  1535. ────────────╫──────╫─────────────────────────────────────────────
  1536. /CU[D][R][P]║      ║ cure  drives  and   files  by  removing  the
  1537.             ║      ║ viruses  found.  If  the  D   parameter   is
  1538.             ║      ║ included, infected files will be deleted. If
  1539.             ║      ║ the R parameter is included,  infected files
  1540.             ║      ║ will be renamed by substituting the letter V
  1541.             ║      ║ for  the  first  letter  in   the   filename
  1542.             ║      ║ extension;  for example,  the extensions COM
  1543.             ║      ║ and EXE in infected files will be changed as
  1544.             ║      ║ VOM and VXE,  respectively.  The P parameter
  1545.             ║      ║ tells  Dr. Web to  prompt  the  user  before
  1546.             ║      ║ curing an infected file.
  1547. ────────────╫──────╫─────────────────────────────────────────────
  1548.  /DA        ║ i-   ║ run  Dr. Web  only  once in a day.  For this
  1549.             ║      ║ option,  the  initiation  file,   DRWEB.INI,
  1550.             ║      ║ containing  the  date  of  the last scanning
  1551.             ║      ║ session must  be  present.  This  option  is
  1552.             ║      ║ useful  for  starting  Dr. Web automatically
  1553.             ║      ║ from the AUTOEXEC.BAT file only  once  in  a
  1554.             ║      ║ day on booting the computer.
  1555. ────────────╫──────╫─────────────────────────────────────────────
  1556.  /DL        ║ i-   ║ delete infected files  if  they do not yield
  1557.             ║      ║ to restoration.
  1558. ────────────╫──────╫─────────────────────────────────────────────
  1559.  /FN        ║ i-   ║ load alternative   screen  fonts  for  video
  1560.             ║      ║ adapter  with   no   support   of   national
  1561.             ║      ║ characters for your monitor. Use this option
  1562.             ║      ║ if your Dr. Web is a customized version.
  1563. ────────────╫──────╫─────────────────────────────────────────────
  1564.  /GO        ║      ║ run without stopping for instructions  about
  1565.             ║      ║ what   to   do   next,   e.g.,  in  case  of
  1566.             ║      ║ insufficient  disk   space   for   unpacking
  1567.             ║      ║ compressed files,  removal of damaged files,
  1568.             ║      ║ self-infection  of  Dr. Web  program  by  an
  1569.             ║      ║ unknown virus, etc. This mode is very useful
  1570.             ║      ║ for testing e-mail at BBS.
  1571. ────────────╫──────╫─────────────────────────────────────────────
  1572.  /HA        ║ i-x  ║ heuristic analysis of  files  for  searching
  1573.   [<level>] ║      ║ hitherto  unknown  viruses  with an optional
  1574.             ║      ║ level parameter:  0 -  minimal  level,  1  -
  1575.             ║      ║ "paranoid" level.  False alarms are possible
  1576.             ║      ║ under the  "paranoid"  level.  If  no  level
  1577.             ║      ║ parameter is specified,  Dr. Web defaults to
  1578.             ║      ║ the minimal level.
  1579. ────────────╫──────╫─────────────────────────────────────────────
  1580.  /HI        ║ i-x  ║ scan memory up to 1088 Kb in addition to the
  1581.             ║      ║ conventional memory from 0 to 640 Kb.
  1582. ────────────╫──────╫─────────────────────────────────────────────
  1583.  /LF[<num>] ║ i-   ║ in emergency  situations,  for  example,  on
  1584.             ║      ║ detecting  a  virus,   flicker   the  screen
  1585.             ║      ║ boarder  along  with  beeps.  The   <number>
  1586.             ║      ║ parameter  defines  the  boarder color.  The
  1587.             ║      ║ number must be specified in  hex  form.  You
  1588.             ║      ║ may specify from 1 to F.
  1589. ────────────╫──────╫─────────────────────────────────────────────
  1590.  /LN        ║ i-   ║ print  messages in the alternative language.
  1591.             ║      ║ Available  only  in   bilingual   customized
  1592.             ║      ║ versions.
  1593. ────────────╫──────╫─────────────────────────────────────────────
  1594. /ML[N][W]   ║ i-   ║ check e-mail files encoded  by  UUENCODE  and
  1595.             ║      ║ MIME utilities.  The parameter N tells Dr.Web
  1596.             ║      ║ not to print the name of  the  encoder  after
  1597.             ║      ║ the name of the e-mail file.  The parameter W
  1598.             ║      ║ will decode the files  in  e-mail  files  and
  1599.             ║      ║ save   the   decoded   file  in  the  current
  1600.             ║      ║ directory.
  1601. ────────────╫──────╫─────────────────────────────────────────────
  1602.  /MS        ║ i-x  ║ enable mouse support.
  1603. ────────────╫──────╫─────────────────────────────────────────────
  1604.  /MT<time>  ║      ║ the  latest  polymorphic  viruses  require a
  1605.             ║      ║ long time to decode. By specifying a time in
  1606.             ║      ║ seconds,  you  limit the time for scanning a
  1607.             ║      ║ file.  The default time values for different
  1608.             ║      ║ processors are
  1609.             ║      ║   Pentium -  30 sec
  1610.             ║      ║   486     -  30 sec
  1611.             ║      ║   386     -  60 sec
  1612.             ║      ║   286     - 120 sec
  1613.             ║      ║   8088    - 240 sec
  1614.             ║      ║   8086    - 240 sec
  1615.             ║      ║ Double the default time is needed  to detect
  1616.             ║      ║ advanced polymorphic viruses.
  1617. ────────────╫──────╫─────────────────────────────────────────────
  1618.  /NI        ║      ║ ignore  the settings  in  the  initial  file
  1619.             ║      ║ DRWEB.INI.
  1620. ────────────╫──────╫─────────────────────────────────────────────
  1621.  /NM        ║ i    ║ don't scan memory  for viruses.  This option
  1622.             ║      ║ is overriden by the /HI option.
  1623. ────────────╫──────╫─────────────────────────────────────────────
  1624.  /NR        ║ i    ║ do not create report file.
  1625. ────────────╫──────╫─────────────────────────────────────────────
  1626.  /NS        ║      ║ disable the use  of <Esc> key for aborting a
  1627.             ║      ║ session.
  1628. ────────────╫──────╫─────────────────────────────────────────────
  1629.  /OK        ║ i-   ║ print "Ok" after the names of clean files.
  1630. ────────────╫──────╫─────────────────────────────────────────────
  1631.  /PF        ║ i-x  ║ display   "Scan  another  diskette?"  prompt
  1632.             ║      ║ after  checking a diskette.
  1633. ────────────╫──────╫─────────────────────────────────────────────
  1634.  /QU        ║      ║ quit to DOS screen  after  the completion of
  1635.             ║      ║ test.
  1636. ────────────╫──────╫─────────────────────────────────────────────
  1637.  /RP[+]     ║ i x  ║ write  the scanning results  in the file (by
  1638.   [<file>]  ║      ║ default  REPORT.WEB  in  the directory where
  1639.             ║      ║ Dr. Web is installed),  <file> is  the  full
  1640.             ║      ║ pathname  of  the  report file.  If the plus
  1641.             ║      ║ sign is included,  the report of the current
  1642.             ║      ║ session  will  be appended at the end of the
  1643.             ║      ║ report file;  otherwise the report  will  be
  1644.             ║      ║ overwritten in the report file.
  1645. ────────────╫──────╫─────────────────────────────────────────────
  1646.  /RV        ║ i-x  ║ scan files for active TSR viruses.
  1647. ────────────╫──────╫─────────────────────────────────────────────
  1648.  /SD        ║ i-x  ║ include subdirectories in scanning.
  1649. ────────────╫──────╫─────────────────────────────────────────────
  1650.  /SH<no>    ║      ║ the  first five figures of the serial number
  1651.             ║      ║ of Sheriff security system (if installed  in
  1652.             ║      ║ the  computer)   so  that  Dr. Web  may  run
  1653.             ║      ║ jointly with Sheriff without conflicts.
  1654. ────────────╫──────╫─────────────────────────────────────────────
  1655.  /SN        ║ i-   ║ "snow" prevention for CGA adapters.
  1656. ────────────╫──────╫─────────────────────────────────────────────
  1657.  /SO        ║ i-x  ║ enable beeps.
  1658. ────────────╫──────╫─────────────────────────────────────────────
  1659.  /SS        ║      ║ save  the settings  of  the  current session
  1660.             ║      ║ before exiting  (unlike the /SV option,  the
  1661.             ║      ║ /SS option  is  operative  only  in  current
  1662.             ║      ║ session).
  1663. ────────────╫──────╫─────────────────────────────────────────────
  1664.  /SV        ║ i-   ║ save  the settings  of  the  current session
  1665.             ║      ║ before exiting  (unlike the /SS option,  the
  1666.             ║      ║ /SV  option  automatically  saves  in  every
  1667.             ║      ║ session the setting changes in the DRWEB.INI
  1668.             ║      ║ file. This is the equivalent of the AUTOSAVE
  1669.             ║      ║ mode, see the DESKTOP  panel  of  the  SETUP
  1670.             ║      ║ menu).
  1671. ────────────╫──────╫─────────────────────────────────────────────
  1672.  /TB        ║ i-x  ║ scan boot sectors and master boot record.
  1673. ────────────╫──────╫─────────────────────────────────────────────
  1674.  /TD<disk>: ║ i    ║ drive  name letter  of the disk for creating
  1675.             ║      ║ temporary files.
  1676. ────────────╫──────╫─────────────────────────────────────────────
  1677.  /UB        ║ i-   ║ output to screen via BIOS.
  1678. ────────────╫──────╫─────────────────────────────────────────────
  1679.  /UP[N][W]  ║ i-x  ║ scan the files packed by LZEXE, DIET, PKLITE,
  1680.             ║      ║ EXEPACK,   COMPACK,   OPTLINK,   the   files
  1681.             ║      ║ converted by  COMTOEXE,  PROTECT,  CRYPTCOM,
  1682.             ║      ║ TINYPROG,  and the files vaccinated by CPAV,
  1683.             ║      ║ F-XLOCK.  N  -  don't  print  the  name   of
  1684.             ║      ║ compression  utility  after  the name of the
  1685.             ║      ║ packed file,  W - restore files  and  remove
  1686.             ║      ║ the  decompressor.  Under the /UP option,  a
  1687.             ║      ║ packed file is first exploded in a temporary
  1688.             ║      ║ file  and  then the exploded file is tested.
  1689.             ║      ║ If the W parameter is additionally included,
  1690.             ║      ║ then  after  testing,  the  exploded file is
  1691.             ║      ║ overwritten on sthe original file.  Thus, an
  1692.             ║      ║ originally   packed   (vaccinated)  file  is
  1693.             ║      ║ converted into  an  exploded  (devaccinated)
  1694.             ║      ║ file  after testing is completed.  This also
  1695.             ║      ║ happens during curing: a packed (vaccinated)
  1696.             ║      ║ file is exploded, tested, cured, and finally
  1697.             ║      ║ saved as an exploded (devaccinated) file.
  1698. ────────────╫──────╫─────────────────────────────────────────────
  1699.  /WA        ║ i-   ║ display scan report for every drive.
  1700. ────────────╫──────╫─────────────────────────────────────────────
  1701.  /WF        ║ i-x  ║ use Windows  95  long-name  convention   for
  1702.             ║      ║ files  and  directories.  Windows  95 admits
  1703.             ║      ║ files and directories with names longer than
  1704.             ║      ║ eight   characters,   including  spaces  and
  1705.             ║      ║ certain other separators.  Dr. Web  supports
  1706.             ║      ║ Windows 95 long-name convention and displays
  1707.             ║      ║ the long  names  of  files  and  directories
  1708.             ║      ║ properly.  If this option is disabled,  long
  1709.             ║      ║ names  are  truncated  to  eight  characters
  1710.             ║      ║ according to the DOS convention.
  1711. ════════════╩══════╩═════════════════════════════════════════════
  1712.  
  1713.      NOTE. As a rule,  the /UPW option is  needed  only  in  rare
  1714.      cases,  for example,  when  Dr. Web suspects that an unknown
  1715.      virus may be present in a "packed" file.  In such cases, the
  1716.      suspect  file  can  be  exploded  with  the  /UPW option for
  1717.      independent in-depth  infection  analysis.  This  option  is
  1718.      helpful  only  to  system  analysts  knowledgeable  in virus
  1719.      technology.  The /UP option is quite adequate  for  ordinary
  1720.      users in routine checks.
  1721.  
  1722. After the  introduction  of  the negative form,  certain previous
  1723. command  options  have  lost  their  usefulness.  They  are   now
  1724. undocumented  and have been retained only for back compatibility.
  1725. Below is a list of outdated options and their replacements.
  1726.  
  1727. ════════════════╦═════════════
  1728. Outdated option ║ replaced by
  1729. ════════════════╬═════════════
  1730.  /MO            ║  /MS-
  1731.  /NB            ║  /TB-
  1732.  /ND            ║  /SD-
  1733.  /OF            ║  /PF-
  1734.  /SF            ║  /WF-
  1735.  /SI            ║  /SO-
  1736. ════════════════╩═════════════
  1737.  
  1738.  
  1739. 2.2 Running Dr. Web in batch mode
  1740.  
  1741. If you  wish  to  start  Dr. Web  automatically  every  time  the
  1742. computer  is  booted,  you must tack the command line of  Dr. Web
  1743. with the options of your choice to your AUTOEXEC.BAT file.
  1744.  
  1745. Alternatively, you may write a batch file containing the  command
  1746. line  with  all  necessary  command  options and CALL it from the
  1747. AUTOEXEC.BAT file.
  1748.  
  1749. The /CL option, if included in the commandes. line, tells Dr. Web
  1750. not to use the dialog mode.
  1751.  
  1752. Dr. Web sets an errorlevel,  and this can be used in a batch file
  1753. to determine to what actions are then to be taken.
  1754.  
  1755. ════════════╦══════════════════════════════════════════════
  1756.  ERRORLEVEL ║ Meaning:
  1757. ════════════╬══════════════════════════════════════════════
  1758.      0      ║ viruses not found
  1759.      1      ║ known viruses detected
  1760.      2      ║ unknown viruses detected or suspicious files
  1761. ════════════╩══════════════════════════════════════════════
  1762.  
  1763. Below is a sample batch file for starting Dr. Web in  batch  mode
  1764. and testing the errorlevel returned. On detecting  a  virus,  the
  1765. screen would display a cyclic message.
  1766.  
  1767.    drweb C: /CL /NM
  1768.    echo off
  1769.    if errorlevel 2 goto new_vir
  1770.    if errorlevel 1 goto vir
  1771.    goto end
  1772.  
  1773. :vir
  1774.    echo WARNING! A KNOWN VIRUS DETECTED
  1775.    pause
  1776.    goto vir
  1777.  
  1778. :new_vir
  1779.    echo WARNING! I SUSPECT THAT AN UNKNOWN VIRUS IS PRESENT IN YOUR MACHINE
  1780.    pause
  1781.    goto new_vir
  1782.  
  1783. :end
  1784.  
  1785.  
  1786.                            REFERENCES
  1787.  
  1788. DialogueScience, DSAV,  and  ADinf  are  registered trademarks of
  1789. DialogueScience, Inc., Moscow, Russia.
  1790.  
  1791. Sheriff is a registered trademark of FomSoft, Moscow, Russia.
  1792.  
  1793. Other names  are  registered  trademarks  or  trademarks  of  the
  1794. respective companies.
  1795.  
  1796.  
  1797.                            *  *  *
  1798.  
  1799. I  express   my  thanks  to  Vsevolod  Lutovinov  for  his  great
  1800. contribution in development of the program,  Grigory  Frolov  for
  1801. his help in preparing the Russian manuscript of this manual. I am
  1802. especially  indebted  to  Dr. Naidu P.S.V.  for  translating  and
  1803. revising   the   Russian   manuscript,   and  for  preparing  the
  1804. translation of the internal texts of the program.
  1805.  
  1806. Musical effects drawn from the polymorphic virus  Holms.6161  are
  1807. incorporated in Dr. Web program.
  1808.  
  1809.  
  1810.                            *  *  *
  1811.  
  1812. Below is a PGP public key that can  be  used  for  verifying  the
  1813. integrity of  the  Doctor  Web  program  with  the  help  of  the
  1814. signature in the drweb.pgp file. It can also be  used  to  encode
  1815. the virus specimens when a user wishes to e-mail them to me.
  1816.  
  1817. -----BEGIN PGP PUBLIC KEY BLOCK-----
  1818. Version: 2.6
  1819.  
  1820. mQCNAi3R1+AAAAEEAMeH97dViOlTOwWjd6iLsRnEvDuNMnfQor+7NtuxV0v7Dgig
  1821. Kd4cE8dcSdfINr89mmIcPVCgI+uSDoDdgGK0WAl2pkJUigmJtidMpjFgyPoUTU6T
  1822. cqmss4CyDFH9UoM74RUEqSG0cwsnt+rz46yELf+v6kS9QZC3r53C6gEbhxltAAUR
  1823. tCFJZ29yIEEuIERhbmlsb2ZmIDxpZEBzYWxkLnNwYi5zdT6JAJUDBRAugG2cOpoV
  1824. rn3diFEBAeD3A/9jGJRp5TqD2FBrwkIaJd6SqJVvSbYQnE39th/u4csghFYEYcdS
  1825. GqPnVjxl0Sri1N5OqYB2uTRn0d0kqsrD24fuWFbZwvKlcZQO2C6W1zZSmwqAfw2p
  1826. jAD+tTvRZDSx2z0+zgRZ/EhDIaH/louf8zcL3UlrW2YPNRODzJW6VUiouIkAlQMF
  1827. EC8n2IANOmycNvS2swEBvqYEAJgRxQjfQhJI+iTMMUhWS8whvgitjzDeD+5u2tKz
  1828. KwqSa4TaOfgf2000rN2SbqyTg5gDirLsVF8x80PusKFRxedwBzBNLl9ar78HB/x4
  1829. lOEO+/obRUH4wT+bH6KfUkDuqVvYsTRZ3mDoLfyJw9pCtkDiFQdCrWcGh+UNr8nJ
  1830. oNBx
  1831. =kuRk
  1832. -----END PGP PUBLIC KEY BLOCK-----
  1833.  
  1834. My "fingerprint" of PGP key:
  1835.  
  1836. C0 56 A6 24 91 99 B5 A1  C7 78 6A 8B D9 6D 8F B0
  1837.  
  1838.  
  1839.                            *  *  *
  1840.  
  1841. Dr. Web Anti-Virus Package is available at
  1842.  
  1843. DialogueScience, Inc.,
  1844. Computing Center of the Russian Academy of Sciences,
  1845. Office No 103a, House No 40, Vavilov street,
  1846. 117967, Moscow, Russia.
  1847.  
  1848. Tel.:     (+7-095) 137-0150, 135-6253
  1849. Tel./Fax: (+7-095) 938-2970, 938-2855
  1850. BBS:      (+7-095) 938-2856 (28800/V.34)
  1851. FidoNet:  2:5020/69
  1852.  
  1853. E-mail: antivir@dials.ru
  1854. FTP-server: ftp.dials.ccas.ru, ftp.dials.ru
  1855. WWW: http://www.dials.ru, http://www.dials.ccas.ru
  1856.