home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc2196 < prev    next >
Text File  |  1997-09-15  |  192KB  |  4,204 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                      B. Fraser
  8. Request for Comments: 2196                                    Editor
  9. FYI: 8                                                       SEI/CMU
  10. Obsoletes: 1244                                       September 1997
  11. Category: Informational
  12.  
  13.  
  14.                          Site Security Handbook
  15.  
  16.  
  17. Status of this Memo
  18.  
  19.    This memo provides information for the Internet community.  It does
  20.    not specify an Internet standard of any kind.  Distribution of this
  21.    memo is unlimited.
  22.  
  23. Abstract
  24.  
  25.    This handbook is a guide to developing computer security policies and
  26.    procedures for sites that have systems on the Internet.  The purpose
  27.    of this handbook is to provide practical guidance to administrators
  28.    trying to secure their information and services.  The subjects
  29.    covered include policy content and formation, a broad range of
  30.    technical system and network security topics, and security incident
  31.    response.
  32.  
  33.  
  34. Table of Contents
  35.  
  36. 1.   Introduction....................................................  2
  37. 1.1  Purpose of this Work............................................  3
  38. 1.2  Audience........................................................  3
  39. 1.3  Definitions.....................................................  3
  40. 1.4  Related Work....................................................  4
  41. 1.5  Basic Approach..................................................  4
  42. 1.6  Risk Assessment.................................................  5
  43. 2.   Security Policies...............................................  6
  44. 2.1  What is a Security Policy and Why Have One?.....................  6
  45. 2.2  What Makes a Good Security Policy?..............................  9
  46. 2.3  Keeping the Policy Flexible..................................... 11
  47. 3.   Architecture.................................................... 11
  48. 3.1  Objectives...................................................... 11
  49. 3.2  Network and Service Configuration............................... 14
  50. 3.3  Firewalls....................................................... 20
  51. 4.   Security Services and Procedures................................ 24
  52. 4.1  Authentication.................................................. 24
  53. 4.2  Confidentiality................................................. 28
  54. 4.3  Integrity....................................................... 28
  55.  
  56.  
  57.  
  58. Fraser, Ed.                Informational                        [Page 1]
  59.  
  60. RFC 2196              Site Security Handbook              September 1997
  61.  
  62.  
  63. 4.4  Authorization................................................... 29
  64. 4.5  Access.......................................................... 30
  65. 4.6  Auditing........................................................ 34
  66. 4.7  Securing Backups................................................ 37
  67. 5.   Security Incident Handling...................................... 37
  68. 5.1  Preparing and Planning for Incident Handling.................... 39
  69. 5.2  Notification and Points of Contact.............................. 42
  70. 5.3  Identifying an Incident......................................... 50
  71. 5.4  Handling an Incident............................................ 52
  72. 5.5  Aftermath of an Incident........................................ 58
  73. 5.6  Responsibilities................................................ 59
  74. 6.   Ongoing Activities.............................................. 60
  75. 7.   Tools and Locations............................................. 60
  76. 8.   Mailing Lists and Other Resources............................... 62
  77. 9.   References...................................................... 64
  78.  
  79. 1.  Introduction
  80.  
  81.    This document provides guidance to system and network administrators
  82.    on how to address security issues within the Internet community.  It
  83.    builds on the foundation provided in RFC 1244 and is the collective
  84.    work of a number of contributing authors. Those authors include:
  85.    Jules P. Aronson (aronson@nlm.nih.gov), Nevil Brownlee
  86.    (n.brownlee@auckland.ac.nz), Frank Byrum (byrum@norfolk.infi.net),
  87.    Joao Nuno Ferreira (ferreira@rccn.net), Barbara Fraser
  88.    (byf@cert.org), Steve Glass (glass@ftp.com), Erik Guttman
  89.    (erik.guttman@eng.sun.com), Tom Killalea (tomk@nwnet.net), Klaus-
  90.    Peter Kossakowski (kossakowski@cert.dfn.de), Lorna Leone
  91.    (lorna@staff.singnet.com.sg), Edward.P.Lewis
  92.    (Edward.P.Lewis.1@gsfc.nasa.gov), Gary Malkin (gmalkin@xylogics.com),
  93.    Russ Mundy (mundy@tis.com), Philip J. Nesser
  94.    (pjnesser@martigny.ai.mit.edu), and Michael S. Ramsey
  95.    (msr@interpath.net).
  96.  
  97.    In addition to the principle writers, a number of reviewers provided
  98.    valuable comments. Those reviewers include: Eric Luiijf
  99.    (luiijf@fel.tno.nl), Marijke Kaat (marijke.kaat@sec.nl), Ray Plzak
  100.    (plzak@nic.mil) and Han Pronk (h.m.pronk@vka.nl).
  101.  
  102.    A special thank you goes to Joyce Reynolds, ISI, and Paul Holbrook,
  103.    CICnet, for their vision, leadership, and effort in the creation of
  104.    the first version of this handbook. It is the working group's sincere
  105.    hope that this version will be as helpful to the community as the
  106.    earlier one was.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Fraser, Ed.                Informational                        [Page 2]
  115.  
  116. RFC 2196              Site Security Handbook              September 1997
  117.  
  118.  
  119. 1.1  Purpose of This Work
  120.  
  121.    This handbook is a guide to setting computer security policies and
  122.    procedures for sites that have systems on the Internet (however, the
  123.    information provided should also be useful to sites not yet connected
  124.    to the Internet).  This guide lists issues and factors that a site
  125.    must consider when setting their own policies.  It makes a number of
  126.    recommendations and provides discussions of relevant areas.
  127.  
  128.    This guide is only a framework for setting security policies and
  129.    procedures.  In order to have an effective set of policies and
  130.    procedures, a site will have to make many decisions, gain agreement,
  131.    and then communicate and implement these policies.
  132.  
  133. 1.2  Audience
  134.  
  135.    The audience for this document are system and network administrators,
  136.    and decision makers (typically "middle management") at sites.  For
  137.    brevity, we will use the term "administrator" throughout this
  138.    document to refer to system and network administrators.
  139.  
  140.    This document is not directed at programmers or those trying to
  141.    create secure programs or systems.  The focus of this document is on
  142.    the policies and procedures that need to be in place to support the
  143.    technical security features that a site may be implementing.
  144.  
  145.    The primary audience for this work are sites that are members of the
  146.    Internet community.  However, this document should be useful to any
  147.    site that allows communication with other sites.  As a general guide
  148.    to security policies, this document may also be useful to sites with
  149.    isolated systems.
  150.  
  151. 1.3  Definitions
  152.  
  153.    For the purposes of this guide, a "site" is any organization that
  154.    owns computers or network-related resources. These resources may
  155.    include host computers that users use, routers, terminal servers, PCs
  156.    or other devices that have access to the Internet.  A site may be an
  157.    end user of Internet services or a service provider such as a mid-
  158.    level network.  However, most of the focus of this guide is on those
  159.    end users of Internet services.  We assume that the site has the
  160.    ability to set policies and procedures for itself with the
  161.    concurrence and support from those who actually own the resources. It
  162.    will be assumed that sites that are parts of larger organizations
  163.    will know when they need to consult, collaborate, or take
  164.    recommendations from, the larger entity.
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Fraser, Ed.                Informational                        [Page 3]
  171.  
  172. RFC 2196              Site Security Handbook              September 1997
  173.  
  174.  
  175.    The "Internet" is a collection of thousands of networks linked by a
  176.    common set of technical protocols which make it possible for users of
  177.    any one of the networks to communicate with, or use the services
  178.    located on, any of the other networks (FYI4, RFC 1594).
  179.  
  180.    The term "administrator" is used to cover all those people who are
  181.    responsible for the day-to-day operation of system and network
  182.    resources.  This may be a number of individuals or an organization.
  183.  
  184.    The term "security administrator" is used to cover all those people
  185.    who are responsible for the security of information and information
  186.    technology.  At some sites this function may be combined with
  187.    administrator (above); at others, this will be a separate position.
  188.  
  189.    The term "decision maker" refers to those people at a site who set or
  190.    approve policy.  These are often (but not always) the people who own
  191.    the resources.
  192.  
  193. 1.4  Related Work
  194.  
  195.    The Site Security Handbook Working Group is working on a User's Guide
  196.    to Internet Security. It will provide practical guidance to end users
  197.    to help them protect their information and the resources they use.
  198.  
  199. 1.5  Basic Approach
  200.  
  201.    This guide is written to provide basic guidance in developing a
  202.    security plan for your site.  One generally accepted approach to
  203.    follow is suggested by Fites, et. al. [Fites 1989] and includes the
  204.    following steps:
  205.  
  206.    (1)  Identify what you are trying to protect.
  207.    (2)  Determine what you are trying to protect it from.
  208.    (3)  Determine how likely the threats are.
  209.    (4)  Implement measures which will protect your assets in a cost-
  210.         effective manner.
  211.    (5)  Review the process continuously and make improvements each time
  212.         a weakness is found.
  213.  
  214.    Most of this document is focused on item 4 above, but the other steps
  215.    cannot be avoided if an effective plan is to be established at your
  216.    site.  One old truism in security is that the cost of protecting
  217.    yourself against a threat should be less than the cost of recovering
  218.    if the threat were to strike you.  Cost in this context should be
  219.    remembered to include losses expressed in real currency, reputation,
  220.    trustworthiness, and other less obvious measures.  Without reasonable
  221.    knowledge of what you are protecting and what the likely threats are,
  222.    following this rule could be difficult.
  223.  
  224.  
  225.  
  226. Fraser, Ed.                Informational                        [Page 4]
  227.  
  228. RFC 2196              Site Security Handbook              September 1997
  229.  
  230.  
  231. 1.6  Risk Assessment
  232.  
  233. 1.6.1  General Discussion
  234.  
  235.    One of the most important reasons for creating a computer security
  236.    policy is to ensure that efforts spent on security yield cost
  237.    effective benefits.  Although this may seem obvious, it is possible
  238.    to be mislead about where the effort is needed.  As an example, there
  239.    is a great deal of publicity about intruders on computers systems;
  240.    yet most surveys of computer security show that, for most
  241.    organizations, the actual loss from "insiders" is much greater.
  242.  
  243.    Risk analysis involves determining what you need to protect, what you
  244.    need to protect it from, and how to protect it.  It is the process of
  245.    examining all of your risks, then ranking those risks by level of
  246.    severity.  This process involves making cost-effective decisions on
  247.    what you want to protect.  As mentioned above, you should probably
  248.    not spend more to protect something than it is actually worth.
  249.  
  250.    A full treatment of risk analysis is outside the scope of this
  251.    document.  [Fites 1989] and [Pfleeger 1989] provide introductions to
  252.    this topic.  However, there are two elements of a risk analysis that
  253.    will be briefly covered in the next two sections:
  254.  
  255.    (1) Identifying the assets
  256.    (2) Identifying the threats
  257.  
  258.    For each asset, the basic goals of security are availability,
  259.    confidentiality, and integrity.  Each threat should be examined with
  260.    an eye to how the threat could affect these areas.
  261.  
  262. 1.6.2  Identifying the Assets
  263.  
  264.    One step in a risk analysis is to identify all the things that need
  265.    to be protected.  Some things are obvious, like valuable proprietary
  266.    information, intellectual property, and all the various pieces of
  267.    hardware; but, some are overlooked, such as the people who actually
  268.    use the systems. The essential point is to list all things that could
  269.    be affected by a security problem.
  270.  
  271.    One list of categories is suggested by Pfleeger [Pfleeger 1989]; this
  272.    list is adapted from that source:
  273.  
  274.    (1)  Hardware: CPUs, boards, keyboards, terminals,
  275.         workstations, personal computers, printers, disk
  276.         drives, communication lines, terminal servers, routers.
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Fraser, Ed.                Informational                        [Page 5]
  283.  
  284. RFC 2196              Site Security Handbook              September 1997
  285.  
  286.  
  287.    (2)  Software: source programs, object programs,
  288.         utilities, diagnostic programs, operating systems,
  289.         communication programs.
  290.  
  291.    (3)  Data: during execution, stored on-line, archived off-line,
  292.         backups, audit logs, databases, in transit over
  293.         communication media.
  294.  
  295.    (4)  People: users, administrators, hardware maintainers.
  296.  
  297.    (5)  Documentation: on programs, hardware, systems, local
  298.         administrative procedures.
  299.  
  300.    (6)  Supplies: paper, forms, ribbons, magnetic media.
  301.  
  302. 1.6.3  Identifying the Threats
  303.  
  304.    Once the assets requiring protection are identified, it is necessary
  305.    to identify threats to those assets.  The threats can then be
  306.    examined to determine what potential for loss exists.  It helps to
  307.    consider from what threats you are trying to protect your assets.
  308.    The following are classic threats that should be considered.
  309.    Depending on your site, there will be more specific threats that
  310.    should be identified and addressed.
  311.  
  312.    (1)  Unauthorized access to resources and/or information
  313.    (2)  Unintented and/or unauthorized Disclosure of information
  314.    (3)  Denial of service
  315.  
  316. 2.  Security Policies
  317.  
  318.    Throughout this document there will be many references to policies.
  319.    Often these references will include recommendations for specific
  320.    policies. Rather than repeat guidance in how to create and
  321.    communicate such a policy, the reader should apply the advice
  322.    presented in this chapter when developing any policy recommended
  323.    later in this book.
  324.  
  325. 2.1  What is a Security Policy and Why Have One?
  326.  
  327.    The security-related decisions you make, or fail to make, as
  328.    administrator largely determines how secure or insecure your network
  329.    is, how much functionality your network offers, and how easy your
  330.    network is to use.  However, you cannot make good decisions about
  331.    security without first determining what your security goals are.
  332.    Until you determine what your security goals are, you cannot make
  333.    effective use of any collection of security tools because you simply
  334.    will not know what to check for and what restrictions to impose.
  335.  
  336.  
  337.  
  338. Fraser, Ed.                Informational                        [Page 6]
  339.  
  340. RFC 2196              Site Security Handbook              September 1997
  341.  
  342.  
  343.    For example, your goals will probably be very different from the
  344.    goals of a product vendor.  Vendors are trying to make configuration
  345.    and operation of their products as simple as possible, which implies
  346.    that the default configurations will often be as open (i.e.,
  347.    insecure) as possible.  While this does make it easier to install new
  348.    products, it also leaves access to those systems, and other systems
  349.    through them, open to any user who wanders by.
  350.  
  351.    Your goals will be largely determined by the following key tradeoffs:
  352.  
  353.    (1)  services offered versus security provided -
  354.         Each service offered to users carries its own security risks.
  355.         For some services the risk outweighs the benefit of the service
  356.         and the administrator may choose to eliminate the service rather
  357.         than try to secure it.
  358.  
  359.    (2)  ease of use versus security -
  360.         The easiest system to use would allow access to any user and
  361.         require no passwords; that is, there would be no security.
  362.         Requiring passwords makes the system a little less convenient,
  363.         but more secure.  Requiring device-generated one-time passwords
  364.         makes the system even more difficult to use, but much more
  365.         secure.
  366.  
  367.    (3)  cost of security versus risk of loss -
  368.         There are many different costs to security: monetary (i.e., the
  369.         cost of purchasing security hardware and software like firewalls
  370.         and one-time password generators), performance (i.e., encryption
  371.         and decryption take time), and ease of use (as mentioned above).
  372.         There are also many levels of risk: loss of privacy (i.e., the
  373.         reading of information by unauthorized individuals), loss of
  374.         data (i.e., the corruption or erasure of information), and the
  375.         loss of service (e.g., the filling of data storage space, usage
  376.         of computational resources, and denial of network access).  Each
  377.         type of cost must be weighed against each type of loss.
  378.  
  379.  
  380.    Your goals should be communicated to all users, operations staff, and
  381.    managers through a set of security rules, called a "security policy."
  382.    We are using this term, rather than the narrower "computer security
  383.    policy" since the scope includes all types of information technology
  384.    and the information stored and manipulated by the technology.
  385.  
  386. 2.1.1  Definition of a Security Policy
  387.  
  388.    A security policy is a formal statement of the rules by which people
  389.    who are given access to an organization's technology and information
  390.    assets must abide.
  391.  
  392.  
  393.  
  394. Fraser, Ed.                Informational                        [Page 7]
  395.  
  396. RFC 2196              Site Security Handbook              September 1997
  397.  
  398.  
  399. 2.1.2  Purposes of a Security Policy
  400.  
  401.    The main purpose of a security policy is to inform users, staff and
  402.    managers of their obligatory requirements for protecting technology
  403.    and information assets.  The policy should specify the mechanisms
  404.    through which these requirements can be met.  Another purpose is to
  405.    provide a baseline from which to acquire, configure and audit
  406.    computer systems and networks for compliance with the policy.
  407.    Therefore an attempt to use a set of security tools in the absence of
  408.    at least an implied security policy is meaningless.
  409.  
  410.    An Appropriate Use Policy (AUP) may also be part of a security
  411.    policy.  It should spell out what users shall and shall not do on the
  412.    various components of the system, including the type of traffic
  413.    allowed on the networks.  The AUP should be as explicit as possible
  414.    to avoid ambiguity or misunderstanding.  For example, an AUP might
  415.    list any prohibited USENET newsgroups. (Note: Appropriate Use Policy
  416.    is referred to as Acceptable Use Policy by some sites.)
  417.  
  418. 2.1.3  Who Should be Involved When Forming Policy?
  419.  
  420.    In order for a security policy to be appropriate and effective, it
  421.    needs to have the acceptance and support of all levels of employees
  422.    within the organization.  It is especially important that corporate
  423.    management fully support the security policy process otherwise there
  424.    is little chance that they will have the intended impact.  The
  425.    following is a list of individuals who should be involved in the
  426.    creation and review of security policy documents:
  427.  
  428.    (1)  site security administrator
  429.    (2)  information technology technical staff (e.g., staff from
  430.         computing center)
  431.    (3)  administrators of large user groups within the organization
  432.         (e.g., business divisions, computer science department within a
  433.         university, etc.)
  434.    (4)  security incident response team
  435.    (5)  representatives of the user groups affected by the security
  436.         policy
  437.    (6)  responsible management
  438.    (7)  legal counsel (if appropriate)
  439.  
  440.    The list above is representative of many organizations, but is not
  441.    necessarily comprehensive.  The idea is to bring in representation
  442.    from key stakeholders, management who have budget and policy
  443.    authority, technical staff who know what can and cannot be supported,
  444.    and legal counsel who know the legal ramifications of various policy
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Fraser, Ed.                Informational                        [Page 8]
  451.  
  452. RFC 2196              Site Security Handbook              September 1997
  453.  
  454.  
  455.    choices.  In some organizations, it may be appropriate to include EDP
  456.    audit personnel.  Involving this group is important if resulting
  457.    policy statements are to reach the broadest possible acceptance.  It
  458.    is also relevant to mention that the role of legal counsel will also
  459.    vary from country to country.
  460.  
  461. 2.2  What Makes a Good Security Policy?
  462.  
  463.    The characteristics of a good security policy are:
  464.  
  465.    (1)  It must be implementable through system administration
  466.         procedures, publishing of acceptable use guidelines, or other
  467.         appropriate methods.
  468.  
  469.    (2)  It must be enforcible with security tools, where appropriate,
  470.         and with sanctions, where actual prevention is not technically
  471.         feasible.
  472.  
  473.    (3)  It must clearly define the areas of responsibility for the
  474.         users, administrators, and management.
  475.  
  476.    The components of a good security policy include:
  477.  
  478.    (1)  Computer Technology Purchasing Guidelines which specify
  479.         required, or preferred, security features.  These should
  480.         supplement existing purchasing policies and guidelines.
  481.  
  482.    (2)  A Privacy Policy which defines reasonable expectations of
  483.         privacy regarding such issues as monitoring of electronic mail,
  484.         logging of keystrokes, and access to users' files.
  485.  
  486.    (3)  An Access Policy which defines access rights and privileges to
  487.         protect assets from loss or disclosure by specifying acceptable
  488.         use guidelines for users, operations staff, and management.  It
  489.         should provide guidelines for external connections, data
  490.         communications, connecting devices to a network, and adding new
  491.         software to systems.  It should also specify any required
  492.         notification messages (e.g., connect messages should provide
  493.         warnings about authorized usage and line monitoring, and not
  494.         simply say "Welcome").
  495.  
  496.    (4)  An Accountability Policy which defines the responsibilities of
  497.         users, operations staff, and management.  It should specify an
  498.         audit capability, and provide incident handling guidelines
  499.         (i.e., what to do and who to contact if a possible intrusion is
  500.         detected).
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Fraser, Ed.                Informational                        [Page 9]
  507.  
  508. RFC 2196              Site Security Handbook              September 1997
  509.  
  510.  
  511.    (5)  An Authentication Policy which establishes trust through an
  512.         effective password policy, and by setting guidelines for remote
  513.         location authentication and the use of authentication devices
  514.         (e.g., one-time passwords and the devices that generate them).
  515.  
  516.    (6)  An Availability statement which sets users' expectations for the
  517.         availability of resources.  It should address redundancy and
  518.         recovery issues, as well as specify operating hours and
  519.         maintenance down-time periods.  It should also include contact
  520.         information for reporting system and network failures.
  521.  
  522.    (7)  An Information Technology System & Network Maintenance Policy
  523.         which describes how both internal and external maintenance
  524.         people are allowed to handle and access technology. One
  525.         important topic to be addressed here is whether remote
  526.         maintenance is allowed and how such access is controlled.
  527.         Another area for consideration here is outsourcing and how it is
  528.         managed.
  529.  
  530.    (8)  A Violations Reporting Policy that indicates which types of
  531.         violations (e.g., privacy and security, internal and external)
  532.         must be reported and to whom the reports are made.  A non-
  533.         threatening atmosphere and the possibility of anonymous
  534.         reporting will result in a greater probability that a violation
  535.         will be reported if it is detected.
  536.  
  537.    (9)  Supporting Information which provides users, staff, and
  538.         management with contact information for each type of policy
  539.         violation; guidelines on how to handle outside queries about a
  540.         security incident, or information which may be considered
  541.         confidential or proprietary; and cross-references to security
  542.         procedures and related information, such as company policies and
  543.         governmental laws and regulations.
  544.  
  545.    There may be regulatory requirements that affect some aspects of your
  546.    security policy (e.g., line monitoring).  The creators of the
  547.    security policy should consider seeking legal assistance in the
  548.    creation of the policy.  At a minimum, the policy should be reviewed
  549.    by legal counsel.
  550.  
  551.    Once your security policy has been established it should be clearly
  552.    communicated to users, staff, and management.  Having all personnel
  553.    sign a statement indicating that they have read, understood, and
  554.    agreed to abide by the policy is an important part of the process.
  555.    Finally, your policy should be reviewed on a regular basis to see if
  556.    it is successfully supporting your security needs.
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Fraser, Ed.                Informational                       [Page 10]
  563.  
  564. RFC 2196              Site Security Handbook              September 1997
  565.  
  566.  
  567. 2.3  Keeping the Policy Flexible
  568.  
  569.    In order for a security policy to be viable for the long term, it
  570.    requires a lot of flexibility based upon an architectural security
  571.    concept. A security policy should be (largely) independent from
  572.    specific hardware and software situations (as specific systems tend
  573.    to be replaced or moved overnight).  The mechanisms for updating the
  574.    policy should be clearly spelled out.  This includes the process, the
  575.    people involved, and the people who must sign-off on the changes.
  576.  
  577.    It is also important to recognize that there are exceptions to every
  578.    rule.  Whenever possible, the policy should spell out what exceptions
  579.    to the general policy exist.  For example, under what conditions is a
  580.    system administrator allowed to go through a user's files.  Also,
  581.    there may be some cases when multiple users will have access to the
  582.    same userid.  For example, on systems with a "root" user, multiple
  583.    system administrators may know the password and use the root account.
  584.  
  585.    Another consideration is called the "Garbage Truck Syndrome."  This
  586.    refers to what would happen to a site if a key person was suddenly
  587.    unavailable for his/her job function (e.g., was suddenly ill or left
  588.    the company unexpectedly).  While the greatest security resides in
  589.    the minimum dissemination of information, the risk of losing critical
  590.    information increases when that information is not shared.  It is
  591.    important to determine what the proper balance is for your site.
  592.  
  593. 3.  Architecture
  594.  
  595. 3.1  Objectives
  596.  
  597. 3.1.1  Completely Defined Security Plans
  598.  
  599.    All sites should define a comprehensive security plan.  This plan
  600.    should be at a higher level than the specific policies discussed in
  601.    chapter 2, and it should be crafted as a framework of broad
  602.    guidelines into which specific policies will fit.
  603.  
  604.    It is important to have this framework in place so that individual
  605.    policies can be consistent with the overall site security
  606.    architecture.  For example, having a strong policy with regard to
  607.    Internet access and having weak restrictions on modem usage is
  608.    inconsistent with an overall philosophy of strong security
  609.    restrictions on external access.
  610.  
  611.    A security plan should define: the list of network services that will
  612.    be provided; which areas of the organization will provide the
  613.    services; who will have access to those services; how access will be
  614.    provided; who will administer those services; etc.
  615.  
  616.  
  617.  
  618. Fraser, Ed.                Informational                       [Page 11]
  619.  
  620. RFC 2196              Site Security Handbook              September 1997
  621.  
  622.  
  623.    The plan should also address how incident will be handled.  Chapter 5
  624.    provides an in-depth discussion of this topic, but it is important
  625.    for each site to define classes of incidents and corresponding
  626.    responses.  For example, sites with firewalls should set a threshold
  627.    on the number of attempts made to foil the firewall before triggering
  628.    a response?  Escallation levels should be defined for both attacks
  629.    and responses.  Sites without firewalls will have to determine if a
  630.    single attempt to connect to a host constitutes an incident? What
  631.    about a systematic scan of systems?
  632.  
  633.    For sites connected to the Internet, the rampant media magnification
  634.    of Internet related security incidents can overshadow a (potentially)
  635.    more serious internal security problem.  Likewise, companies who have
  636.    never been connected to the Internet may have strong, well defined,
  637.    internal policies but fail to adequately address an external
  638.    connection policy.
  639.  
  640. 3.1.2  Separation of Services
  641.  
  642.    There are many services which a site may wish to provide for its
  643.    users, some of which may be external.  There are a variety of
  644.    security reasons to attempt to isolate services onto dedicated host
  645.    computers.  There are also performance reasons in most cases, but a
  646.    detailed discussion is beyond to scope of this document.
  647.  
  648.    The services which a site may provide will, in most cases, have
  649.    different levels of access needs and models of trust.  Services which
  650.    are essential to the security or smooth operation of a site would be
  651.    better off being placed on a dedicated machine with very limited
  652.    access (see Section 3.1.3 "deny all" model), rather than on a machine
  653.    that provides a service (or services) which has traditionally been
  654.    less secure, or requires greater accessability by users who may
  655.    accidentally suborn security.
  656.  
  657.    It is also important to distinguish between hosts which operate
  658.    within different models of trust (e.g., all the hosts inside of a
  659.    firewall and any host on an exposed network).
  660.  
  661.    Some of the services which should be examined for potential
  662.    separation are outlined in section 3.2.3. It is important to remember
  663.    that security is only as strong as the weakest link in the chain.
  664.    Several of the most publicized penetrations in recent years have been
  665.    through the exploitation of vulnerabilities in electronic mail
  666.    systems.  The intruders were not trying to steal electronic mail, but
  667.    they used the vulnerability in that service to gain access to other
  668.    systems.
  669.  
  670.  
  671.  
  672.  
  673.  
  674. Fraser, Ed.                Informational                       [Page 12]
  675.  
  676. RFC 2196              Site Security Handbook              September 1997
  677.  
  678.  
  679.    If possible, each service should be running on a different machine
  680.    whose only duty is to provide a specific service.  This helps to
  681.    isolate intruders and limit potential harm.
  682.  
  683. 3.1.3  Deny all/ Allow all
  684.  
  685.    There are two diametrically opposed underlying philosophies which can
  686.    be adopted when defining a security plan.  Both alternatives are
  687.    legitimate models to adopt, and the choice between them will depend
  688.    on the site and its needs for security.
  689.  
  690.    The first option is to turn off all services and then selectively
  691.    enable services on a case by case basis as they are needed. This can
  692.    be done at the host or network level as appropriate.  This model,
  693.    which will here after be referred to as the "deny all" model, is
  694.    generally more secure than the other model described in the next
  695.    paragraph.  More work is required to successfully implement a "deny
  696.    all" configuration as well as a better understanding of services.
  697.    Allowing only known services provides for a better analysis of a
  698.    particular service/protocol and the design of a security mechanism
  699.    suited to the security level of the site.
  700.  
  701.    The other model, which will here after be referred to as the "allow
  702.    all" model, is much easier to implement, but is generally less secure
  703.    than the "deny all" model.  Simply turn on all services, usually the
  704.    default at the host level, and allow all protocols to travel across
  705.    network boundaries, usually the default at the router level.  As
  706.    security holes become apparent, they are restricted or patched at
  707.    either the host or network level.
  708.  
  709.    Each of these models can be applied to different portions of the
  710.    site, depending on functionality requirements, administrative
  711.    control, site policy, etc.  For example, the policy may be to use the
  712.    "allow all" model when setting up workstations for general use, but
  713.    adopt a "deny all" model when setting up information servers, like an
  714.    email hub.  Likewise, an "allow all" policy may be adopted for
  715.    traffic between LAN's internal to the site, but a "deny all" policy
  716.    can be adopted between the site and the Internet.
  717.  
  718.    Be careful when mixing philosophies as in the examples above.  Many
  719.    sites adopt the theory of a hard "crunchy" shell and a soft "squishy"
  720.    middle.  They are willing to pay the cost of security for their
  721.    external traffic and require strong security measures, but are
  722.    unwilling or unable to provide similar protections internally.  This
  723.    works fine as long as the outer defenses are never breached and the
  724.    internal users can be trusted.  Once the outer shell (firewall) is
  725.    breached, subverting the internal network is trivial.
  726.  
  727.  
  728.  
  729.  
  730. Fraser, Ed.                Informational                       [Page 13]
  731.  
  732. RFC 2196              Site Security Handbook              September 1997
  733.  
  734.  
  735. 3.1.4  Identify Real Needs for Services
  736.  
  737.    There is a large variety of services which may be provided, both
  738.    internally and on the Internet at large.  Managing security is, in
  739.    many ways, managing access to services internal to the site and
  740.    managing how internal users access information at remote sites.
  741.  
  742.    Services tend to rush like waves over the Internet.  Over the years
  743.    many sites have established anonymous FTP servers, gopher servers,
  744.    wais servers, WWW servers, etc. as they became popular, but not
  745.    particularly needed, at all sites.  Evaluate all new services that
  746.    are established with a skeptical attitude to determine if they are
  747.    actually needed or just the current fad sweeping the Internet.
  748.  
  749.    Bear in mind that security complexity can grow exponentially with the
  750.    number of services provided.  Filtering routers need to be modified
  751.    to support the new protocols.  Some protocols are inherently
  752.    difficult to filter safely (e.g., RPC and UDP services), thus
  753.    providing more openings to the internal network.  Services provided
  754.    on the same machine can interact in catastrophic ways.  For example,
  755.    allowing anonymous FTP on the same machine as the WWW server may
  756.    allow an intruder to place a file in the anonymous FTP area and cause
  757.    the HTTP server to execute it.
  758.  
  759. 3.2  Network and Service Configuration
  760.  
  761. 3.2.1  Protecting the Infrastructure
  762.  
  763.    Many network administrators go to great lengths to protect the hosts
  764.    on their networks.  Few administrators make any effort to protect the
  765.    networks themselves.  There is some rationale to this.  For example,
  766.    it is far easier to protect a host than a network.  Also, intruders
  767.    are likely to be after data on the hosts; damaging the network would
  768.    not serve their purposes.  That said, there are still reasons to
  769.    protect the networks.  For example, an intruder might divert network
  770.    traffic through an outside host in order to examine the data (i.e.,
  771.    to search for passwords).  Also, infrastructure includes more than
  772.    the networks and the routers which interconnect them.  Infrastructure
  773.    also includes network management (e.g., SNMP), services (e.g., DNS,
  774.    NFS, NTP, WWW), and security (i.e., user authentication and access
  775.    restrictions).
  776.  
  777.    The infrastructure also needs protection against human error.  When
  778.    an administrator misconfigures a host, that host may offer degraded
  779.    service.  This only affects users who require that host and, unless
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Fraser, Ed.                Informational                       [Page 14]
  787.  
  788. RFC 2196              Site Security Handbook              September 1997
  789.  
  790.  
  791.    that host is a primary server, the number of affected users will
  792.    therefore be limited.  However, if a router is misconfigured, all
  793.    users who require the network will be affected.  Obviously, this is a
  794.    far larger number of users than those depending on any one host.
  795.  
  796. 3.2.2  Protecting the Network
  797.  
  798.    There are several problems to which networks are vulnerable.  The
  799.    classic problem is a "denial of service" attack.  In this case, the
  800.    network is brought to a state in which it can no longer carry
  801.    legitimate users' data.  There are two common ways this can be done:
  802.    by attacking the routers and by flooding the network with extraneous
  803.    traffic.  Please note that the term "router" in this section is used
  804.    as an example of a larger class of active network interconnection
  805.    components that also includes components like firewalls, proxy-
  806.    servers, etc.
  807.  
  808.    An attack on the router is designed to cause it to stop forwarding
  809.    packets, or to forward them improperly.  The former case may be due
  810.    to a misconfiguration, the injection of a spurious routing update, or
  811.    a "flood attack" (i.e., the router is bombarded with unroutable
  812.    packets, causing its performance to degrade).  A flood attack on a
  813.    network is similar to a flood attack on a router, except that the
  814.    flood packets are usually broadcast.  An ideal flood attack would be
  815.    the injection of a single packet which exploits some known flaw in
  816.    the network nodes and causes them to retransmit the packet, or
  817.    generate error packets, each of which is picked up and repeated by
  818.    another host.  A well chosen attack packet can even generate an
  819.    exponential explosion of transmissions.
  820.  
  821.    Another classic problem is "spoofing."  In this case, spurious
  822.    routing updates are sent to one or more routers causing them to
  823.    misroute packets.  This differs from a denial of service attack only
  824.    in the purpose behind the spurious route.  In denial of service, the
  825.    object is to make the router unusable; a state which will be quickly
  826.    detected by network users.  In spoofing, the spurious route will
  827.    cause packets to be routed to a host from which an intruder may
  828.    monitor the data in the packets.  These packets are then re-routed to
  829.    their correct destinations.  However, the intruder may or may not
  830.    have altered the contents of the packets.
  831.  
  832.    The solution to most of these problems is to protect the routing
  833.    update packets sent by the routing protocols in use (e.g., RIP-2,
  834.    OSPF).  There are three levels of protection: clear-text password,
  835.    cryptographic checksum, and encryption.  Passwords offer only minimal
  836.    protection against intruders who do not have direct access to the
  837.    physical networks.  Passwords also offer some protection against
  838.    misconfigured routers (i.e, routers which, out of the box, attempt to
  839.  
  840.  
  841.  
  842. Fraser, Ed.                Informational                       [Page 15]
  843.  
  844. RFC 2196              Site Security Handbook              September 1997
  845.  
  846.  
  847.    route packets).  The advantage of passwords is that they have a very
  848.    low overhead, in both bandwidth and CPU consumption.  Checksums
  849.    protect against the injection of spurious packets, even if the
  850.    intruder has direct access to the physical network.  Combined with a
  851.    sequence number, or other unique identifier, a checksum can also
  852.    protect again "replay" attacks, wherein an old (but valid at the
  853.    time) routing update is retransmitted by either an intruder or a
  854.    misbehaving router.  The most security is provided by complete
  855.    encryption of sequenced, or uniquely identified, routing updates.
  856.    This prevents an intruder from determining the topology of the
  857.    network.  The disadvantage to encryption is the overhead involved in
  858.    processing the updates.
  859.  
  860.    RIP-2 (RFC 1723) and OSPF (RFC 1583) both support clear-text
  861.    passwords in their base design specifications.  In addition, there
  862.    are extensions to each base protocol to support MD5 encryption.
  863.  
  864.    Unfortunately, there is no adequate protection against a flooding
  865.    attack, or a misbehaving host or router which is flooding the
  866.    network.  Fortunately, this type of attack is obvious when it occurs
  867.    and can usually be terminated relatively simply.
  868.  
  869. 3.2.3  Protecting the Services
  870.  
  871.    There are many types of services and each has its own security
  872.    requirements.  These requirements will vary based on the intended use
  873.    of the service.  For example, a service which should only be usable
  874.    within a site (e.g., NFS) may require different protection mechanisms
  875.    than a service provided for external use. It may be sufficient to
  876.    protect the internal server from external access.  However, a WWW
  877.    server, which provides a home page intended for viewing by users
  878.    anywhere on the Internet, requires built-in protection.  That is, the
  879.    service/protocol/server must provide whatever security may be
  880.    required to prevent unauthorized access and modification of the Web
  881.    database.
  882.  
  883.    Internal services (i.e., services meant to be used only by users
  884.    within a site) and external services (i.e., services deliberately
  885.    made available to users outside a site) will, in general, have
  886.    protection requirements which differ as previously described.  It is
  887.    therefore wise to isolate the internal services to one set of server
  888.    host computers and the external services to another set of server
  889.    host computers.  That is, internal and external servers should not be
  890.    co-located on the same host computer.  In fact, many sites go so far
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Fraser, Ed.                Informational                       [Page 16]
  899.  
  900. RFC 2196              Site Security Handbook              September 1997
  901.  
  902.  
  903.    as to have one set of subnets (or even different networks) which are
  904.    accessible from the outside and another set which may be accessed
  905.    only within the site.  Of course, there is usually a firewall which
  906.    connects these partitions.  Great care must be taken to ensure that
  907.    such a firewall is operating properly.
  908.  
  909.    There is increasing interest in using intranets to connect different
  910.    parts of a organization (e.g., divisions of a company). While this
  911.    document generally differentiates between external and internal
  912.    (public and private), sites using intranets should be aware that they
  913.    will need to consider three separations and take appropriate actions
  914.    when designing and offering services. A service offered to an
  915.    intranet would be neither public, nor as completely private as a
  916.    service to a single organizational subunit. Therefore, the service
  917.    would need its own supporting system, separated from both external
  918.    and internal services and networks.
  919.  
  920.    One form of external service deserves some special consideration, and
  921.    that is anonymous, or guest, access.  This may be either anonymous
  922.    FTP or guest (unauthenticated) login.  It is extremely important to
  923.    ensure that anonymous FTP servers and guest login userids are
  924.    carefully isolated from any hosts and file systems from which outside
  925.    users should be kept.  Another area to which special attention must
  926.    be paid concerns anonymous, writable access.  A site may be legally
  927.    responsible for the content of publicly available information, so
  928.    careful monitoring of the information deposited by anonymous users is
  929.    advised.
  930.  
  931.    Now we shall consider some of the most popular services: name
  932.    service, password/key service, authentication/proxy service,
  933.    electronic mail, WWW, file transfer, and NFS.  Since these are the
  934.    most frequently used services, they are the most obvious points of
  935.    attack.  Also, a successful attack on one of these services can
  936.    produce disaster all out of proportion to the innocence of the basic
  937.    service.
  938.  
  939. 3.2.3.1  Name Servers (DNS and NIS(+))
  940.  
  941.    The Internet uses the Domain Name System (DNS) to perform address
  942.    resolution for host and network names.  The Network Information
  943.    Service (NIS) and NIS+ are not used on the global Internet, but are
  944.    subject to the same risks as a DNS server.  Name-to-address
  945.    resolution is critical to the secure operation of any network.  An
  946.    attacker who can successfully control or impersonate a DNS server can
  947.    re-route traffic to subvert security protections.  For example,
  948.    routine traffic can be diverted to a compromised system to be
  949.    monitored; or, users can be tricked into providing authentication
  950.    secrets.  An organization should create well known, protected sites
  951.  
  952.  
  953.  
  954. Fraser, Ed.                Informational                       [Page 17]
  955.  
  956. RFC 2196              Site Security Handbook              September 1997
  957.  
  958.  
  959.    to act as secondary name servers and protect their DNS masters from
  960.    denial of service attacks using filtering routers.
  961.  
  962.    Traditionally, DNS has had no security capabilities. In particular,
  963.    the information returned from a query could not be checked for
  964.    modification or verified that it had come from the name server in
  965.    question.  Work has been done to incorporate digital signatures into
  966.    the protocol which, when deployed, will allow the integrity of the
  967.    information to be cryptographically verified (see RFC 2065).
  968.  
  969. 3.2.3.2  Password/Key Servers (NIS(+) and KDC)
  970.  
  971.    Password and key servers generally protect their vital information
  972.    (i.e., the passwords and keys) with encryption algorithms.  However,
  973.    even a one-way encrypted password can be determined by a dictionary
  974.    attack (wherein common words are encrypted to see if they match the
  975.    stored encryption).  It is therefore necessary to ensure that these
  976.    servers are not accessable by hosts which do not plan to use them for
  977.    the service, and even those hosts should only be able to access the
  978.    service (i.e., general services, such as Telnet and FTP, should not
  979.    be allowed by anyone other than administrators).
  980.  
  981. 3.2.3.3  Authentication/Proxy Servers (SOCKS, FWTK)
  982.  
  983.    A proxy server provides a number of security enhancements.  It allows
  984.    sites to concentrate services through a specific host to allow
  985.    monitoring, hiding of internal structure, etc.  This funnelling of
  986.    services creates an attractive target for a potential intruder.  The
  987.    type of protection required for a proxy server depends greatly on the
  988.    proxy protocol in use and the services being proxied.  The general
  989.    rule of limiting access only to those hosts which need the services,
  990.    and limiting access by those hosts to only those services, is a good
  991.    starting point.
  992.  
  993. 3.2.3.4  Electronic Mail
  994.  
  995.    Electronic mail (email) systems have long been a source for intruder
  996.    break-ins because email protocols are among the oldest and most
  997.    widely deployed services.  Also, by it's very nature, an email server
  998.    requires access to the outside world; most email servers accept input
  999.    from any source.  An email server generally consists of two parts: a
  1000.    receiving/sending agent and a processing agent.  Since email is
  1001.    delivered to all users, and is usually private, the processing agent
  1002.    typically requires system (root) privileges to deliver the mail.
  1003.    Most email implementations perform both portions of the service,
  1004.    which means the receiving agent also has system privileges.  This
  1005.    opens several security holes which this document will not describe.
  1006.    There are some implementations available which allow a separation of
  1007.  
  1008.  
  1009.  
  1010. Fraser, Ed.                Informational                       [Page 18]
  1011.  
  1012. RFC 2196              Site Security Handbook              September 1997
  1013.  
  1014.  
  1015.    the two agents.  Such implementations are generally considered more
  1016.    secure, but still require careful installation to avoid creating a
  1017.    security problem.
  1018.  
  1019. 3.2.3.5  World Wide Web (WWW)
  1020.  
  1021.    The Web is growing in popularity exponentially because of its ease of
  1022.    use and the powerful ability to concentrate information services.
  1023.    Most WWW servers accept some type of direction and action from the
  1024.    persons accessing their services.  The most common example is taking
  1025.    a request from a remote user and passing the provided information to
  1026.    a program running on the server to process the request.  Some of
  1027.    these programs are not written with security in mind and can create
  1028.    security holes.  If a Web server is available to the Internet
  1029.    community, it is especially important that confidential information
  1030.    not be co-located on the same host as that server.  In fact, it is
  1031.    recommended that the server have a dedicated host which is not
  1032.    "trusted" by other internal hosts.
  1033.  
  1034.    Many sites may want to co-locate FTP service with their WWW service.
  1035.    But this should only occur for anon-ftp servers that only provide
  1036.    information (ftp-get). Anon-ftp puts, in combination with WWW, might
  1037.    be dangerous (e.g., they could result in modifications to the
  1038.    information your site is publishing to the web) and in themselves
  1039.    make the security considerations for each service different.
  1040.  
  1041. 3.2.3.6  File Transfer (FTP, TFTP)
  1042.  
  1043.    FTP and TFTP both allow users to receive and send electronic files in
  1044.    a point-to-point manner.  However, FTP requires authentication while
  1045.    TFTP requires none. For this reason, TFTP should be avoided as much
  1046.    as possible.
  1047.  
  1048.    Improperly configured FTP servers can allow intruders to copy,
  1049.    replace and delete files at will, anywhere on a host, so it is very
  1050.    important to configure this service correctly.   Access to encrypted
  1051.    passwords and proprietary data, and the introduction of Trojan horses
  1052.    are just a few of the potential security holes that can occur when
  1053.    the service is configured incorrectly. FTP servers should reside on
  1054.    their own host.  Some sites choose to co-locate FTP with a Web
  1055.    server, since the two protocols share common security considerations
  1056.    However, the the practice isn't recommended, especially when the FTP
  1057.    service allows the deposit of files (see section on WWW above). As
  1058.    mentioned in the opening paragraphs of section 3.2.3, services
  1059.    offered internally to your site should not be co-located with
  1060.    services offered externally.  Each should have its own host.
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Fraser, Ed.                Informational                       [Page 19]
  1067.  
  1068. RFC 2196              Site Security Handbook              September 1997
  1069.  
  1070.  
  1071.    TFTP does not support the same range of functions as FTP, and has no
  1072.    security whatsoever.  This service should only be considered for
  1073.    internal use, and then it should be configured in a restricted way so
  1074.    that the server only has access to a set of predetermined files
  1075.    (instead of every world-readable file on the system).  Probably the
  1076.    most common usage of TFTP is for downloading router configuration
  1077.    files to a router.  TFTP should reside on its own host, and should
  1078.    not be installed on hosts supporting external FTP or Web access.
  1079.  
  1080. 3.2.3.7  NFS
  1081.  
  1082.    The Network File Service allows hosts to share common disks.  NFS is
  1083.    frequently used by diskless hosts who depend on a disk server for all
  1084.    of their storage needs.  Unfortunately, NFS has no built-in security.
  1085.    It is therefore necessary that the NFS server be accessable only by
  1086.    those hosts which are using it for service.  This is achieved by
  1087.    specifying which hosts the file system is being exported to and in
  1088.    what manner (e.g., read-only, read-write, etc.). Filesystems should
  1089.    not be exported to any hosts outside the local network since this
  1090.    will require that the NFS service be accessible externally. Ideally,
  1091.    external access to NFS service should be stopped by a firewall.
  1092.  
  1093. 3.2.4  Protecting the Protection
  1094.  
  1095.    It is amazing how often a site will overlook the most obvious
  1096.    weakness in its security by leaving the security server itself open
  1097.    to attack.  Based on considerations previously discussed, it should
  1098.    be clear that: the security server should not be accessible from
  1099.    off-site; should offer minimum access, except for the authentication
  1100.    function, to users on-site; and should not be co-located with any
  1101.    other servers.  Further, all access to the node, including access to
  1102.    the service itself, should be logged to provide a "paper trail" in
  1103.    the event of a security breach.
  1104.  
  1105. 3.3  Firewalls
  1106.  
  1107.    One of the most widely deployed and publicized security measures in
  1108.    use on the Internet is a "firewall."  Firewalls have been given the
  1109.    reputation of a general panacea for many, if not all, of the Internet
  1110.    security issues.  They are not.  Firewalls are just another tool in
  1111.    the quest for system security.  They provide a certain level of
  1112.    protection and are, in general, a way of implementing security policy
  1113.    at the network level.  The level of security that a firewall provides
  1114.    can vary as much as the level of security on a particular machine.
  1115.    There are the traditional trade-offs between security, ease of use,
  1116.    cost, complexity, etc.
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Fraser, Ed.                Informational                       [Page 20]
  1123.  
  1124. RFC 2196              Site Security Handbook              September 1997
  1125.  
  1126.  
  1127.    A firewall is any one of several mechanisms used to control and watch
  1128.    access to and from a network for the purpose of protecting it.  A
  1129.    firewall acts as a gateway through which all traffic to and from the
  1130.    protected network and/or systems passes.  Firewalls help to place
  1131.    limitations on the amount and type of communication that takes place
  1132.    between the protected network and the another network (e.g., the
  1133.    Internet, or another piece of the site's network).
  1134.  
  1135.    A firewall is generally a way to build a wall between one part of a
  1136.    network, a company's internal network, for example, and another part,
  1137.    the global Internet, for example.  The unique feature about this wall
  1138.    is that there needs to be ways for some traffic with particular
  1139.    characteristics to pass through carefully monitored doors
  1140.    ("gateways").  The difficult part is establishing the criteria by
  1141.    which the packets are allowed or denied access through the doors.
  1142.    Books written on firewalls use different terminology to describe the
  1143.    various forms of firewalls. This can be confusing to system
  1144.    administrators who are not familiar with firewalls. The thing to note
  1145.    here is that there is no fixed terminology for the description of
  1146.    firewalls.
  1147.  
  1148.    Firewalls are not always, or even typically, a single machine.
  1149.    Rather, firewalls are often a combination of routers, network
  1150.    segments, and host computers.  Therefore, for the purposes of this
  1151.    discussion, the term "firewall" can consist of more than one physical
  1152.    device.  Firewalls are typically built using two different
  1153.    components, filtering routers and proxy servers.
  1154.  
  1155.    Filtering routers are the easiest component to conceptualize in a
  1156.    firewall.  A router moves data back and forth between two (or more)
  1157.    different networks.  A "normal" router takes a packet from network A
  1158.    and "routes" it to its destination on network B.  A filtering router
  1159.    does the same thing but decides not only how to route the packet, but
  1160.    whether it should route the packet.  This is done by installing a
  1161.    series of filters by which the router decides what to do with any
  1162.    given packet of data.
  1163.  
  1164.    A discussion concerning capabilities of a particular brand of router,
  1165.    running a particular software version is outside the scope of this
  1166.    document.  However, when evaluating a router to be used for filtering
  1167.    packets, the following criteria can be important when implementing a
  1168.    filtering policy:  source and destination IP address, source and
  1169.    destination TCP port numbers, state of the TCP "ack" bit, UDP source
  1170.    and destination port numbers, and direction of packet flow (i.e.. A-
  1171.    >B or B->A).  Other information necessary to construct a secure
  1172.    filtering scheme are whether the router reorders filter instructions
  1173.    (designed to optimize filters, this can sometimes change the meaning
  1174.    and cause unintended access), and whether it is possible to apply
  1175.  
  1176.  
  1177.  
  1178. Fraser, Ed.                Informational                       [Page 21]
  1179.  
  1180. RFC 2196              Site Security Handbook              September 1997
  1181.  
  1182.  
  1183.    filters for inbound and outbound packets on each interface (if the
  1184.    router filters only outbound packets then the router is "outside" of
  1185.    its filters and may be more vulnerable to attack).  In addition to
  1186.    the router being vulnerable, this distinction between applying
  1187.    filters on inbound or outbound packets is especially relevant for
  1188.    routers with more than 2 interfaces.  Other important issues are the
  1189.    ability to create filters based on IP header options and the fragment
  1190.    state of a packet.  Building a good filter can be very difficult and
  1191.    requires a good understanding of the type of services (protocols)
  1192.    that will be filtered.
  1193.  
  1194.    For better security, the filters usually restrict access between the
  1195.    two connected nets to just one host, the bastion host.  It is only
  1196.    possible to access the other network via this bastion host.  As only
  1197.    this host, rather than a few hundred hosts, can get attacked, it is
  1198.    easier to maintain a certain level of security because only this host
  1199.    has to be protected very carefully.  To make resources available to
  1200.    legitimate users across this firewall, services have to be forwarded
  1201.    by the bastion host.  Some servers have forwarding built in (like
  1202.    DNS-servers or SMTP-servers), for other services (e.g., Telnet, FTP,
  1203.    etc.), proxy servers can be used to allow access to the resources
  1204.    across the firewall in a secure way.
  1205.  
  1206.    A proxy server is way to concentrate application services through a
  1207.    single machine.  There is typically a single machine (the bastion
  1208.    host) that acts as a proxy server for a variety of protocols (Telnet,
  1209.    SMTP, FTP, HTTP, etc.) but there can be individual host computers for
  1210.    each service.  Instead of connecting directly to an external server,
  1211.    the client connects to the proxy server which in turn initiates a
  1212.    connection to the requested external server.  Depending on the type
  1213.    of proxy server used, it is possible to configure internal clients to
  1214.    perform this redirection automatically, without knowledge to the
  1215.    user, others might require that the user connect directly to the
  1216.    proxy server and then initiate the connection through a specified
  1217.    format.
  1218.  
  1219.    There are significant security benefits which can be derived from
  1220.    using proxy servers.  It is possible to add access control lists to
  1221.    protocols, requiring users or systems to provide some level of
  1222.    authentication before access is granted.  Smarter proxy servers,
  1223.    sometimes called Application Layer Gateways (ALGs), can be written
  1224.    which understand specific protocols and can be configured to block
  1225.    only subsections of the protocol.  For example, an ALG for FTP can
  1226.    tell the difference between the "put" command and the "get" command;
  1227.    an organization may wish to allow users to "get" files from the
  1228.    Internet, but not be able to "put" internal files on a remote server.
  1229.    By contrast, a filtering router could either block all FTP access, or
  1230.    none, but not a subset.
  1231.  
  1232.  
  1233.  
  1234. Fraser, Ed.                Informational                       [Page 22]
  1235.  
  1236. RFC 2196              Site Security Handbook              September 1997
  1237.  
  1238.  
  1239.    Proxy servers can also be configured to encrypt data streams based on
  1240.    a variety of parameters.  An organization might use this feature to
  1241.    allow encrypted connections between two locations whose sole access
  1242.    points are on the Internet.
  1243.  
  1244.    Firewalls are typically thought of as a way to keep intruders out,
  1245.    but they are also often used as a way to let legitimate users into a
  1246.    site.  There are many examples where a valid user might need to
  1247.    regularly access the "home" site while on travel to trade shows and
  1248.    conferences, etc.  Access to the Internet is often available but may
  1249.    be through an untrusted machine or network.  A correctly configured
  1250.    proxy server can allow the correct users into the site while still
  1251.    denying access to other users.
  1252.  
  1253.    The current best effort in firewall techniques is found using a
  1254.    combination of a pair of screening routers with one or more proxy
  1255.    servers on a network between the two routers.  This setup allows the
  1256.    external router to block off any attempts to use the underlying IP
  1257.    layer to break security (IP spoofing, source routing, packet
  1258.    fragments), while allowing the proxy server to handle potential
  1259.    security holes in the higher layer protocols.  The internal router's
  1260.    purpose is to block all traffic except to the proxy server.  If this
  1261.    setup is rigidly implemented, a high level of security can be
  1262.    achieved.
  1263.  
  1264.    Most firewalls provide logging which can be tuned to make security
  1265.    administration of the network more convenient.  Logging may be
  1266.    centralized and the system may be configured to send out alerts for
  1267.    abnormal conditions.  It is important to regularly monitor these logs
  1268.    for any signs of intrusions or break-in attempts.  Since some
  1269.    intruders will attempt to cover their tracks by editing logs, it is
  1270.    desirable to protect these logs.  A variety of methods is available,
  1271.    including: write once, read many (WORM) drives; papers logs; and
  1272.    centralized logging via the "syslog" utility.  Another technique is
  1273.    to use a "fake" serial printer, but have the serial port connected to
  1274.    an isolated machine or PC which keeps the logs.
  1275.  
  1276.    Firewalls are available in a wide range of quality and strengths.
  1277.    Commercial packages start at approximately $10,000US and go up to
  1278.    over $250,000US.  "Home grown" firewalls can be built for smaller
  1279.    amounts of capital.  It should be remembered that the correct setup
  1280.    of a firewall (commercial or homegrown) requires a significant amount
  1281.    of skill and knowledge of TCP/IP.  Both types require regular
  1282.    maintenance, installation of software patches and updates, and
  1283.    regular monitoring.  When budgeting for a firewall, these additional
  1284.    costs should be considered in addition to the cost of the physical
  1285.    elements of the firewall.
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Fraser, Ed.                Informational                       [Page 23]
  1291.  
  1292. RFC 2196              Site Security Handbook              September 1997
  1293.  
  1294.  
  1295.    As an aside, building a "home grown" firewall requires a significant
  1296.    amount of skill and knowledge of TCP/IP.  It should not be trivially
  1297.    attempted because a perceived sense of security is worse in the long
  1298.    run than knowing that there is no security.  As with all security
  1299.    measures, it is important to decide on the threat, the value of the
  1300.    assets to be protected, and the costs to implement security.
  1301.  
  1302.    A final note about firewalls.  They can be a great aid when
  1303.    implementing security for a site and they protect against a large
  1304.    variety of attacks.  But it is important to keep in mind that they
  1305.    are only one part of the solution.  They cannot protect your site
  1306.    against all types of attack.
  1307.  
  1308. 4.  Security Services and Procedures
  1309.  
  1310.    This chapter guides the reader through a number of topics that should
  1311.    be addressed when securing a site.  Each section touches on a
  1312.    security service or capability that may be required to protect the
  1313.    information and systems at a site.  The topics are presented at a
  1314.    fairly high-level to introduce the reader to the concepts.
  1315.  
  1316.    Throughout the chapter, you will find significant mention of
  1317.    cryptography.  It is outside the scope of this document to delve into
  1318.    details concerning cryptography, but the interested reader can obtain
  1319.    more information from books and articles listed in the reference
  1320.    section of this document.
  1321.  
  1322. 4.1  Authentication
  1323.  
  1324.    For many years, the prescribed method for authenticating users has
  1325.    been through the use of standard, reusable passwords.  Originally,
  1326.    these passwords were used by users at terminals to authenticate
  1327.    themselves to a central computer.  At the time, there were no
  1328.    networks (internally or externally), so the risk of disclosure of the
  1329.    clear text password was minimal.  Today, systems are connected
  1330.    together through local networks, and these local networks are further
  1331.    connected together and to the Internet.  Users are logging in from
  1332.    all over the globe; their reusable passwords are often transmitted
  1333.    across those same networks in clear text, ripe for anyone in-between
  1334.    to capture.  And indeed, the CERT* Coordination Center and other
  1335.    response teams are seeing a tremendous number of incidents involving
  1336.    packet sniffers which are capturing the clear text passwords.
  1337.  
  1338.    With the advent of newer technologies like one-time passwords (e.g.,
  1339.    S/Key), PGP, and token-based authentication devices, people are using
  1340.    password-like strings as secret tokens and pins.  If these secret
  1341.    tokens and pins are not properly selected and protected, the
  1342.    authentication will be easily subverted.
  1343.  
  1344.  
  1345.  
  1346. Fraser, Ed.                Informational                       [Page 24]
  1347.  
  1348. RFC 2196              Site Security Handbook              September 1997
  1349.  
  1350.  
  1351. 4.1.1  One-Time passwords
  1352.  
  1353.    As mentioned above, given today's networked environments, it is
  1354.    recommended that sites concerned about the security and integrity of
  1355.    their systems and networks consider moving away from standard,
  1356.    reusable passwords.  There have been many incidents involving Trojan
  1357.    network programs (e.g., telnet and rlogin) and network packet
  1358.    sniffing programs.  These programs capture clear text
  1359.    hostname/account name/password triplets.  Intruders can use the
  1360.    captured information for subsequent access to those hosts and
  1361.    accounts.  This is possible because 1) the password is used over and
  1362.    over (hence the term "reusable"), and 2) the password passes across
  1363.    the network in clear text.
  1364.  
  1365.    Several authentication techniques have been developed that address
  1366.    this problem.  Among these techniques are challenge-response
  1367.    technologies that provide passwords that are only used once (commonly
  1368.    called one-time passwords). There are a number of products available
  1369.    that sites should consider using. The decision to use a product is
  1370.    the responsibility of each organization, and each organization should
  1371.    perform its own evaluation and selection.
  1372.  
  1373. 4.1.2  Kerberos
  1374.  
  1375.    Kerberos is a distributed network security system which provides for
  1376.    authentication across unsecured networks.  If requested by the
  1377.    application, integrity and encryption can also be provided.  Kerberos
  1378.    was originally developed at the Massachusetts Institute of Technology
  1379.    (MIT) in the mid 1980s.  There are two major releases of Kerberos,
  1380.    version 4 and 5, which are for practical purposes, incompatible.
  1381.  
  1382.    Kerberos relies on a symmetric key database using a key distribution
  1383.    center (KDC) which is known as the Kerberos server.  A user or
  1384.    service (known as "principals") are granted electronic "tickets"
  1385.    after properly communicating with the KDC.  These tickets are used
  1386.    for authentication between principals.  All tickets include a time
  1387.    stamp which limits the time period for which the ticket is valid.
  1388.    Therefore, Kerberos clients and server must have a secure time
  1389.    source, and be able to keep time accurately.
  1390.  
  1391.    The practical side of Kerberos is its integration with the
  1392.    application level.  Typical applications like FTP, telnet, POP, and
  1393.    NFS have been integrated with the Kerberos system.  There are a
  1394.    variety of implementations which have varying levels of integration.
  1395.    Please see the Kerberos FAQ available at http://www.ov.com/misc/krb-
  1396.    faq.html for the latest information.
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. Fraser, Ed.                Informational                       [Page 25]
  1403.  
  1404. RFC 2196              Site Security Handbook              September 1997
  1405.  
  1406.  
  1407. 4.1.3  Choosing and Protecting Secret Tokens and PINs
  1408.  
  1409.    When selecting secret tokens, take care to choose them carefully.
  1410.    Like the selection of passwords, they should be robust against brute
  1411.    force efforts to guess them.  That is, they should not be single
  1412.    words in any language, any common, industry, or cultural acronyms,
  1413.    etc.  Ideally, they will be longer rather than shorter and consist of
  1414.    pass phrases that combine upper and lower case character, digits, and
  1415.    other characters.
  1416.  
  1417.    Once chosen, the protection of these secret tokens is very important.
  1418.    Some are used as pins to hardware devices (like token cards) and
  1419.    these should not be written down or placed in the same location as
  1420.    the device with which they are associated.  Others, such as a secret
  1421.    Pretty Good Privacy (PGP) key, should be protected from unauthorized
  1422.    access.
  1423.  
  1424.    One final word on this subject.  When using cryptography products,
  1425.    like PGP, take care to determine the proper key length and ensure
  1426.    that your users are trained to do likewise.  As technology advances,
  1427.    the minimum safe key length continues to grow.  Make sure your site
  1428.    keeps up with the latest knowledge on the technology so that you can
  1429.    ensure that any cryptography in use is providing the protection you
  1430.    believe it is.
  1431.  
  1432. 4.1.4  Password Assurance
  1433.  
  1434.    While the need to eliminate the use of standard, reusable passwords
  1435.    cannot be overstated, it is  recognized that some organizations may
  1436.    still be using them.  While it's recommended that these organizations
  1437.    transition to the use of better technology, in the mean time, we have
  1438.    the following advice to help with the selection and maintenance of
  1439.    traditional passwords. But remember, none of these measures provides
  1440.    protection against disclosure due to sniffer programs.
  1441.  
  1442.    (1)  The importance of robust passwords - In many (if not most) cases
  1443.         of system penetration, the intruder needs to gain access to an
  1444.         account on the system. One way that goal is typically
  1445.         accomplished is through guessing the password of a legitimate
  1446.         user.  This is often accomplished by running an automated
  1447.         password cracking program, which utilizes a very large
  1448.         dictionary, against the system's password file.  The only way to
  1449.         guard against passwords being disclosed in this manner is
  1450.         through the careful selection of passwords which cannot be
  1451.         easily guessed (i.e., combinations of numbers, letters, and
  1452.         punctuation characters).  Passwords should also be as long as
  1453.         the system supports and users can tolerate.
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Fraser, Ed.                Informational                       [Page 26]
  1459.  
  1460. RFC 2196              Site Security Handbook              September 1997
  1461.  
  1462.  
  1463.    (2)  Changing default passwords - Many operating systems and
  1464.         application programs are installed with default accounts and
  1465.         passwords.  These must be changed immediately to something that
  1466.         cannot be guessed or cracked.
  1467.  
  1468.    (3)  Restricting access to the password file - In particular, a site
  1469.         wants to protect the encrypted password portion of the file so
  1470.         that would-be intruders don't have them available for cracking.
  1471.         One effective technique is to use shadow passwords where the
  1472.         password field of the standard file contains a dummy or false
  1473.         password.  The file containing the legitimate passwords are
  1474.         protected elsewhere on the system.
  1475.  
  1476.    (4)  Password aging - When and how to expire passwords is still a
  1477.         subject of controversy among the security community.  It is
  1478.         generally accepted that a password should not be maintained once
  1479.         an account is no longer in use, but it is hotly debated whether
  1480.         a user should be forced to change a good password that's in
  1481.         active use.  The arguments for changing passwords relate to the
  1482.         prevention of the continued use of penetrated accounts.
  1483.         However, the opposition claims that frequent password changes
  1484.         lead to users writing down their passwords in visible areas
  1485.         (such as pasting them to a terminal), or to users selecting very
  1486.         simple passwords that are easy to guess.  It should also be
  1487.         stated that an intruder will probably use a captured or guessed
  1488.         password sooner rather than later, in which case password aging
  1489.         provides little if any protection.
  1490.  
  1491.         While there is no definitive answer to this dilemma, a password
  1492.         policy should directly address the issue and provide guidelines
  1493.         for how often a user should change the password.  Certainly, an
  1494.         annual change in their password is usually not difficult for
  1495.         most users, and you should consider requiring it.  It is
  1496.         recommended that passwords be changed at least whenever a
  1497.         privileged account is compromised, there is a critical change in
  1498.         personnel (especially if it is an administrator!), or when an
  1499.         account has been compromised.  In addition, if a privileged
  1500.         account password is compromised, all passwords on the system
  1501.         should be changed.
  1502.  
  1503.    (5)  Password/account blocking - Some sites find it useful to disable
  1504.         accounts after a predefined number of failed attempts to
  1505.         authenticate.  If your site decides to employ this mechanism, it
  1506.         is recommended that the mechanism not "advertise" itself. After
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Fraser, Ed.                Informational                       [Page 27]
  1515.  
  1516. RFC 2196              Site Security Handbook              September 1997
  1517.  
  1518.  
  1519.         disabling, even if the correct password is presented, the
  1520.         message displayed should remain that of a failed login attempt.
  1521.         Implementing this mechanism will require that legitimate users
  1522.         contact their system administrator to request that their account
  1523.         be reactivated.
  1524.  
  1525.    (6)  A word about the finger daemon - By default, the finger daemon
  1526.         displays considerable system and user information. For example,
  1527.         it can display a list of all users currently using a system, or
  1528.         all the contents of a specific user's .plan file.  This
  1529.         information can be used by would-be intruders to identify
  1530.         usernames and guess their passwords. It is recommended that
  1531.         sites consider modifying finger to restrict the information
  1532.         displayed.
  1533.  
  1534. 4.2  Confidentiality
  1535.  
  1536.    There will be information assets that your site will want to protect
  1537.    from disclosure to unauthorized entities.  Operating systems often
  1538.    have built-in file protection mechanisms that allow an administrator
  1539.    to control who on the system can access, or "see," the contents of a
  1540.    given file.  A stronger way to provide confidentiality is through
  1541.    encryption.  Encryption is accomplished by scrambling data so that it
  1542.    is very difficult and time consuming for anyone other than the
  1543.    authorized recipients or owners to obtain the plain text.  Authorized
  1544.    recipients and the owner of the information will possess the
  1545.    corresponding decryption keys that allow them to easily unscramble
  1546.    the text to a readable (clear text) form.  We recommend that sites
  1547.    use encryption to provide confidentiality and protect valuable
  1548.    information.
  1549.  
  1550.    The use of encryption is sometimes controlled by governmental and
  1551.    site regulations, so we encourage administrators to become informed
  1552.    of laws or policies that regulate its use before employing it.  It is
  1553.    outside the scope of this document to discuss the various algorithms
  1554.    and programs available for this purpose, but we do caution against
  1555.    the casual use of the UNIX crypt program as it has been found to be
  1556.    easily broken.  We also encourage everyone to take time to understand
  1557.    the strength of the encryption in any given algorithm/product before
  1558.    using it.  Most well-known products are well-documented in the
  1559.    literature, so this should be a fairly easy task.
  1560.  
  1561. 4.3  Integrity
  1562.  
  1563.    As an administrator, you will want to make sure that information
  1564.    (e.g., operating system files, company data, etc.) has not been
  1565.    altered in an unauthorized fashion.  This means you will want to
  1566.    provide some assurance as to the integrity of the information on your
  1567.  
  1568.  
  1569.  
  1570. Fraser, Ed.                Informational                       [Page 28]
  1571.  
  1572. RFC 2196              Site Security Handbook              September 1997
  1573.  
  1574.  
  1575.    systems.  One way to provide this is to produce a checksum of the
  1576.    unaltered file, store that checksum offline, and periodically (or
  1577.    when desired) check to make sure the checksum of the online file
  1578.    hasn't changed (which would indicate the data has been modified).
  1579.  
  1580.    Some operating systems come with checksumming programs, such as the
  1581.    UNIX sum program.  However, these may not provide the protection you
  1582.    actually need.  Files can be modified in such a way as to preserve
  1583.    the result of the UNIX sum program!  Therefore, we suggest that you
  1584.    use a cryptographically strong program, such as the message digesting
  1585.    program MD5 [ref], to produce the checksums you will be using to
  1586.    assure integrity.
  1587.  
  1588.    There are other applications where integrity will need to be assured,
  1589.    such as when transmitting an email message between two parties. There
  1590.    are products available that can provide this capability.  Once you
  1591.    identify that this is a capability you need, you can go about
  1592.    identifying technologies that will provide it.
  1593.  
  1594. 4.4  Authorization
  1595.  
  1596.    Authorization refers to the process of granting privileges to
  1597.    processes and, ultimately, users.  This differs from authentication
  1598.    in that authentication is the process used to identify a user.  Once
  1599.    identified (reliably), the privileges, rights, property, and
  1600.    permissible actions of the user are determined by authorization.
  1601.  
  1602.    Explicitly listing the authorized activities of each user (and user
  1603.    process) with respect to all resources (objects) is impossible in a
  1604.    reasonable system.  In a real system certain techniques are used to
  1605.    simplify the process of granting and checking authorization(s).
  1606.  
  1607.    One approach, popularized in UNIX systems, is to assign to each
  1608.    object three classes of user: owner, group and world.  The owner is
  1609.    either the creator of the object or the user assigned as owner by the
  1610.    super-user.  The owner permissions (read, write and execute) apply
  1611.    only to the owner.  A group is a collection of users which share
  1612.    access rights to an object.  The group permissions (read, write and
  1613.    execute) apply to all users in the group (except the owner).  The
  1614.    world refers to everybody else with access to the system.  The world
  1615.    permissions (read, write and execute) apply to all users (except the
  1616.    owner and members of the group).
  1617.  
  1618.    Another approach is to attach to an object a list which explicitly
  1619.    contains the identity of all permitted users (or groups).  This is an
  1620.    Access Control List (ACL).  The advantage of ACLs are that they are
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Fraser, Ed.                Informational                       [Page 29]
  1627.  
  1628. RFC 2196              Site Security Handbook              September 1997
  1629.  
  1630.  
  1631.    easily maintained (one central list per object) and it's very easy to
  1632.    visually check who has access to what. The disadvantages are the
  1633.    extra resources required to store such lists, as well as the vast
  1634.    number of such lists required for large systems.
  1635.  
  1636. 4.5  Access
  1637.  
  1638. 4.5.1  Physical Access
  1639.  
  1640.    Restrict physical access to hosts, allowing access only to those
  1641.    people who are supposed to use the hosts.  Hosts include "trusted"
  1642.    terminals (i.e., terminals which allow unauthenticated use such as
  1643.    system consoles, operator terminals and terminals dedicated to
  1644.    special tasks), and individual microcomputers and workstations,
  1645.    especially those connected to your network.  Make sure people's work
  1646.    areas mesh well with access restrictions; otherwise they will find
  1647.    ways to circumvent your physical security (e.g., jamming doors open).
  1648.  
  1649.    Keep original and backup copies of data and programs safe.  Apart
  1650.    from keeping them in good condition for backup purposes, they must be
  1651.    protected from theft.  It is important to keep backups in a separate
  1652.    location from the originals, not only for damage considerations, but
  1653.    also to guard against thefts.
  1654.  
  1655.    Portable hosts are a particular risk.  Make sure it won't cause
  1656.    problems if one of your staff's portable computer is stolen.
  1657.    Consider developing guidelines for the kinds of data that should be
  1658.    allowed to reside on the disks of portable computers as well as how
  1659.    the data should be protected (e.g., encryption) when it is on a
  1660.    portable computer.
  1661.  
  1662.    Other areas where physical access should be restricted is the wiring
  1663.    closets and important network elements like file servers, name server
  1664.    hosts, and routers.
  1665.  
  1666. 4.5.2  Walk-up Network Connections
  1667.  
  1668.    By "walk-up" connections, we mean network connection points located
  1669.    to provide a convenient way for users to connect a portable host to
  1670.    your network.
  1671.  
  1672.    Consider whether you need to provide this service, bearing in mind
  1673.    that it allows any user to attach an unauthorized host to your
  1674.    network.  This increases the risk of attacks via techniques such as
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Fraser, Ed.                Informational                       [Page 30]
  1683.  
  1684. RFC 2196              Site Security Handbook              September 1997
  1685.  
  1686.  
  1687.    IP address spoofing, packet sniffing, etc.  Users and site management
  1688.    must appreciate the risks involved.  If you decide to provide walk-up
  1689.    connections, plan the service carefully and define precisely where
  1690.    you will provide it so that you can ensure the necessary physical
  1691.    access security.
  1692.  
  1693.    A walk-up host should be authenticated before its user is permitted
  1694.    to access resources on your network.  As an alternative, it may be
  1695.    possible to control physical access. For example, if the service is
  1696.    to be used by students, you might only provide walk-up connection
  1697.    sockets in student laboratories.
  1698.  
  1699.    If you are providing walk-up access for visitors to connect back to
  1700.    their home networks (e.g., to read e-mail, etc.) in your facility,
  1701.    consider using a separate subnet that has no connectivity to the
  1702.    internal network.
  1703.  
  1704.    Keep an eye on any area that contains unmonitored access to the
  1705.    network, such as vacant offices.  It may be sensible to disconnect
  1706.    such areas at the wiring closet, and consider using secure hubs and
  1707.    monitoring attempts to connect unauthorized hosts.
  1708.  
  1709. 4.5.3  Other Network Technologies
  1710.  
  1711.    Technologies considered here include X.25, ISDN, SMDS, DDS and Frame
  1712.    Relay.  All are provided via physical links which go through
  1713.    telephone exchanges, providing the potential for them to be diverted.
  1714.    Crackers are certainly interested in telephone switches as well as in
  1715.    data networks!
  1716.  
  1717.    With switched technologies, use Permanent Virtual Circuits or Closed
  1718.    User Groups whenever this is possible.  Technologies which provide
  1719.    authentication and/or encryption (such as IPv6) are evolving rapidly;
  1720.    consider using them on links where security is important.
  1721.  
  1722. 4.5.4  Modems
  1723.  
  1724. 4.5.4.1  Modem Lines Must Be Managed
  1725.  
  1726.    Although they provide convenient access to a site for its users, they
  1727.    can also provide an effective detour around the site's firewalls.
  1728.    For this reason it is essential to maintain proper control of modems.
  1729.  
  1730.    Don't allow users to install a modem line without proper
  1731.    authorization.  This includes temporary installations (e.g., plugging
  1732.    a modem into a facsimile or telephone line overnight).
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Fraser, Ed.                Informational                       [Page 31]
  1739.  
  1740. RFC 2196              Site Security Handbook              September 1997
  1741.  
  1742.  
  1743.    Maintain a register of all your modem lines and keep your register up
  1744.    to date.  Conduct regular (ideally automated) site checks for
  1745.    unauthorized modems.
  1746.  
  1747. 4.5.4.2  Dial-in Users Must Be Authenticated
  1748.  
  1749.    A username and password check should be completed before a user can
  1750.    access anything on your network.  Normal password security
  1751.    considerations are particularly important (see section 4.1.1).
  1752.  
  1753.    Remember that telephone lines can be tapped, and that it is quite
  1754.    easy to intercept messages to cellular phones.  Modern high-speed
  1755.    modems use more sophisticated modulation techniques, which makes them
  1756.    somewhat more difficult to monitor, but it is prudent to assume that
  1757.    hackers know how to eavesdrop on your lines.  For this reason, you
  1758.    should use one-time passwords if at all possible.
  1759.  
  1760.    It is helpful to have a single dial-in point (e.g., a single large
  1761.    modem pool) so that all users are authenticated in the same way.
  1762.  
  1763.    Users will occasionally mis-type a password.  Set a short delay - say
  1764.    two seconds - after the first and second failed logins, and force a
  1765.    disconnect after the third.  This will slow down automated password
  1766.    attacks.  Don't tell the user whether the username, the password, or
  1767.    both, were incorrect.
  1768.  
  1769. 4.5.4.3  Call-back Capability
  1770.  
  1771.    Some dial-in servers offer call-back facilities (i.e., the user dials
  1772.    in and is authenticated, then the system disconnects the call and
  1773.    calls back on a specified number).  Call-back is useful since if
  1774.    someone were to guess a username and password, they are disconnected,
  1775.    and the system then calls back the actual user whose password was
  1776.    cracked; random calls from a server are suspicious, at best.  This
  1777.    does mean users may only log in from one location (where the server
  1778.    is configured to dial them back), and of course there may be phone
  1779.    charges associated with there call-back location.
  1780.  
  1781.    This feature should be used with caution; it can easily be bypassed.
  1782.    At a minimum, make sure that the return call is never made from the
  1783.    same modem as the incoming one.  Overall, although call-back can
  1784.    improve modem security, you should not depend on it alone.
  1785.  
  1786. 4.5.4.4  All Logins Should Be Logged
  1787.  
  1788.    All logins, whether successful or unsuccessful should be logged.
  1789.    However, do not keep correct passwords in the log. Rather, log them
  1790.    simply as a successful login attempt.  Since most bad passwords are
  1791.  
  1792.  
  1793.  
  1794. Fraser, Ed.                Informational                       [Page 32]
  1795.  
  1796. RFC 2196              Site Security Handbook              September 1997
  1797.  
  1798.  
  1799.    mistyped by authorized users, they only vary by a single character
  1800.    from the actual password.  Therefore if you can't keep such a log
  1801.    secure, don't log it at all.
  1802.  
  1803.    If Calling Line Identification is available, take advantage of it by
  1804.    recording the calling number for each login attempt.  Be sensitive to
  1805.    the privacy issues raised by Calling Line Identification.  Also be
  1806.    aware that Calling Line Identification is not to be trusted (since
  1807.    intruders have been known to break into phone switches and forward
  1808.    phone numbers or make other changes); use the data for informational
  1809.    purposes only, not for authentication.
  1810.  
  1811. 4.5.4.5  Choose Your Opening Banner Carefully
  1812.  
  1813.    Many sites use a system default contained in a message of the day
  1814.    file for their opening banner. Unfortunately, this often includes the
  1815.    type of host hardware or operating system present on the host.  This
  1816.    can provide valuable information to a would-be intruder. Instead,
  1817.    each site should create its own specific login banner, taking care to
  1818.    only include necessary information.
  1819.  
  1820.    Display a short banner, but don't offer an "inviting" name (e.g.,
  1821.    University of XYZ, Student Records System).  Instead, give your site
  1822.    name, a short warning that sessions may be monitored, and a
  1823.    username/password prompt.  Verify possible legal issues related to
  1824.    the text you put into the banner.
  1825.  
  1826.    For high-security applications, consider using a "blind" password
  1827.    (i.e., give no response to an incoming call until the user has typed
  1828.    in a password).  This effectively simulates a dead modem.
  1829.  
  1830. 4.5.4.6  Dial-out Authentication
  1831.  
  1832.    Dial-out users should also be authenticated, particularly since your
  1833.    site will have to pay their telephone charges.
  1834.  
  1835.    Never allow dial-out from an unauthenticated dial-in call, and
  1836.    consider whether you will allow it from an authenticated one.  The
  1837.    goal here is to prevent callers using your modem pool as part of a
  1838.    chain of logins.  This can be hard to detect, particularly if a
  1839.    hacker sets up a path through several hosts on your site.
  1840.  
  1841.    At a minimum, don't allow the same modems and phone lines to be used
  1842.    for both dial-in and dial-out.  This can be implemented easily if you
  1843.    run separate dial-in and dial-out modem pools.
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. Fraser, Ed.                Informational                       [Page 33]
  1851.  
  1852. RFC 2196              Site Security Handbook              September 1997
  1853.  
  1854.  
  1855. 4.5.4.7  Make Your Modem Programming as "Bullet-proof" as Possible
  1856.  
  1857.    Be sure modems can't be reprogrammed while they're in service.  At a
  1858.    minimum, make sure that three plus signs won't put your dial-in
  1859.    modems into command mode!
  1860.  
  1861.    Program your modems to reset to your standard configuration at the
  1862.    start of each new call.  Failing this, make them reset at the end of
  1863.    each call.  This precaution will protect you against accidental
  1864.    reprogramming of your modems. Resetting at both the end and the
  1865.    beginning of each call will assure an even higher level of confidence
  1866.    that a new caller will not inherit a previous caller's session.
  1867.  
  1868.    Check that your modems terminate calls cleanly.  When a user logs out
  1869.    from an access server, verify that the server hangs up the phone line
  1870.    properly.  It is equally important that the server forces logouts
  1871.    from whatever sessions were active if the user hangs up unexpectedly.
  1872.  
  1873. 4.6  Auditing
  1874.  
  1875.    This section covers the procedures for collecting data generated by
  1876.    network activity, which may be useful in analyzing the security of a
  1877.    network and responding to security incidents.
  1878.  
  1879. 4.6.1  What to Collect
  1880.  
  1881.    Audit data should include any attempt to achieve a different security
  1882.    level by any person, process, or other entity in the network.  This
  1883.    includes login and logout, super user access (or the non-UNIX
  1884.    equivalent), ticket generation (for Kerberos, for example), and any
  1885.    other change of access or status.  It is especially important to note
  1886.    "anonymous" or "guest" access to public servers.
  1887.  
  1888.    The actual data to collect will differ for different sites and for
  1889.    different types of access changes within a site.  In general, the
  1890.    information you want to collect includes: username and hostname, for
  1891.    login and logout; previous and new access rights, for a change of
  1892.    access rights; and a timestamp.  Of course, there is much more
  1893.    information which might be gathered, depending on what the system
  1894.    makes available and how much space is available to store that
  1895.    information.
  1896.  
  1897.    One very important note: do not gather passwords.  This creates an
  1898.    enormous potential security breach if the audit records should be
  1899.    improperly accessed.  Do not gather incorrect passwords either, as
  1900.    they often differ from valid passwords by only a single character or
  1901.    transposition.
  1902.  
  1903.  
  1904.  
  1905.  
  1906. Fraser, Ed.                Informational                       [Page 34]
  1907.  
  1908. RFC 2196              Site Security Handbook              September 1997
  1909.  
  1910.  
  1911. 4.6.2  Collection Process
  1912.  
  1913.    The collection process should be enacted by the host or resource
  1914.    being accessed.  Depending on the importance of the data and the need
  1915.    to have it local in instances in which services are being denied,
  1916.    data could be kept local to the resource until needed or be
  1917.    transmitted to storage after each event.
  1918.  
  1919.    There are basically three ways to store audit records: in a
  1920.    read/write file on a host, on a write-once/read-many device (e.g., a
  1921.    CD-ROM or a specially configured tape drive), or on a write-only
  1922.    device (e.g., a line printer).  Each method has advantages and
  1923.    disadvantages.
  1924.  
  1925.    File system logging is the least resource intensive of the three
  1926.    methods and the easiest to configure.  It allows instant access to
  1927.    the records for analysis, which may be important if an attack is in
  1928.    progress.  File system logging is also the least reliable method.  If
  1929.    the logging host has been compromised, the file system is usually the
  1930.    first thing to go; an intruder could easily cover up traces of the
  1931.    intrusion.
  1932.  
  1933.    Collecting audit data on a write-once device is slightly more effort
  1934.    to configure than a simple file, but it has the significant advantage
  1935.    of greatly increased security because an intruder could not alter the
  1936.    data showing that an intrusion has occurred.  The disadvantage of
  1937.    this method is the need to maintain a supply of storage media and the
  1938.    cost of that media.  Also, the data may not be instantly available.
  1939.  
  1940.    Line printer logging is useful in system where permanent and
  1941.    immediate logs are required.  A real time system is an example of
  1942.    this, where the exact point of a failure or attack must be recorded.
  1943.    A laser printer, or other device which buffers data (e.g., a print
  1944.    server), may suffer from lost data if buffers contain the needed data
  1945.    at a critical instant.  The disadvantage of, literally, "paper
  1946.    trails" is the need to keep the printer fed and the need to scan
  1947.    records by hand.  There is also the issue of where to store the,
  1948.    potentially, enormous volume of paper which may be generated.
  1949.  
  1950.    For each of the logging methods described, there is also the issue of
  1951.    securing the path between the device generating the log and actual
  1952.    logging device (i.e., the file server, tape/CD-ROM drive, printer).
  1953.    If that path is compromised, logging can be stopped or spoofed or
  1954.    both.  In an ideal world, the logging device would be directly
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962. Fraser, Ed.                Informational                       [Page 35]
  1963.  
  1964. RFC 2196              Site Security Handbook              September 1997
  1965.  
  1966.  
  1967.    attached by a single, simple, point-to-point cable.  Since that is
  1968.    usually impractical, the path should pass through the minimum number
  1969.    of networks and routers.  Even if logs can be blocked, spoofing can
  1970.    be prevented with cryptographic checksums (it probably isn't
  1971.    necessary to encrypt the logs because they should not contain
  1972.    sensitive information in the first place).
  1973.  
  1974. 4.6.3  Collection Load
  1975.  
  1976.    Collecting audit data may result in a rapid accumulation of bytes so
  1977.    storage availability for this information must be considered in
  1978.    advance.  There are a few ways to reduce the required storage space.
  1979.    First, data can be compressed, using one of many methods. Or, the
  1980.    required space can be minimized by keeping data for a shorter period
  1981.    of time with only summaries of that data kept in long-term archives.
  1982.    One major drawback to the latter method involves incident response.
  1983.    Often, an incident has been ongoing for some period of time when a
  1984.    site notices it and begins to investigate. At that point in time,
  1985.    it's very helpful to have detailed audit logs available. If these are
  1986.    just summaries, there may not be sufficient detail to fully handle
  1987.    the incident.
  1988.  
  1989. 4.6.4  Handling and Preserving Audit Data
  1990.  
  1991.    Audit data should be some of the most carefully secured data at the
  1992.    site and in the backups.  If an intruder were to gain access to audit
  1993.    logs, the systems themselves, in addition to the data, would be at
  1994.    risk.
  1995.  
  1996.    Audit data may also become key to the investigation, apprehension,
  1997.    and prosecution of the perpetrator of an incident.  For this reason,
  1998.    it is advisable to seek the advice of legal council when deciding how
  1999.    audit data should be treated.  This should happen before an incident
  2000.    occurs.
  2001.  
  2002.    If a data handling plan is not adequately defined prior to an
  2003.    incident, it may mean that there is no recourse in the aftermath of
  2004.    an event, and it may create liability resulting from improper
  2005.    treatment of the data.
  2006.  
  2007. 4.6.5  Legal Considerations
  2008.  
  2009.    Due to the content of audit data, there are a number of legal
  2010.    questions that arise which might need to be addressed by your legal
  2011.    counsel. If you collect and save audit data, you need to be prepared
  2012.    for consequences resulting both from its existence and its content.
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Fraser, Ed.                Informational                       [Page 36]
  2019.  
  2020. RFC 2196              Site Security Handbook              September 1997
  2021.  
  2022.  
  2023.    One area concerns the privacy of individuals.  In certain instances,
  2024.    audit data may contain personal information.  Searching through the
  2025.    data, even for a routine check of the system's security, could
  2026.    represent an invasion of privacy.
  2027.  
  2028.    A second area of concern involves knowledge of intrusive behavior
  2029.    originating from your site.  If an organization keeps audit data, is
  2030.    it responsible for examining it to search for incidents?  If a host
  2031.    in one organization is used as a launching point for an attack
  2032.    against another organization, can the second organization use the
  2033.    audit data of the first organization to prove negligence on the part
  2034.    of that organization?
  2035.  
  2036.    The above examples are meant to be comprehensive, but should motivate
  2037.    your organization to consider the legal issues involved with audit
  2038.    data.
  2039.  
  2040. 4.7  Securing Backups
  2041.  
  2042.    The procedure of creating backups is a classic part of operating a
  2043.    computer system.  Within the context of this document, backups are
  2044.    addressed as part of the overall security plan of a site.  There are
  2045.    several aspects to backups that are important within this context:
  2046.  
  2047.    (1)  Make sure your site is creating backups
  2048.    (2)  Make sure your site is using offsite storage for backups. The
  2049.         storage site should be carefully selected for both its security
  2050.         and its availability.
  2051.    (3)  Consider encrypting your backups to provide additional protection
  2052.         of the information once it is off-site.  However, be aware that
  2053.         you will need a good key management scheme so that you'll be
  2054.         able to recover data at any point in the future.  Also, make
  2055.         sure you will have access to the necessary decryption programs
  2056.         at such time in the future as you need to perform the
  2057.         decryption.
  2058.    (4)  Don't always assume that your backups are good.  There have been
  2059.         many instances of computer security incidents that have gone on
  2060.         for long periods of time before a site has noticed the incident.
  2061.         In such cases, backups of the affected systems are also tainted.
  2062.    (5)  Periodically verify the correctness and completeness of your
  2063.         backups.
  2064.  
  2065. 5.  Security Incident Handling
  2066.  
  2067.    This chapter of the document will supply guidance to be used before,
  2068.    during, and after a computer security incident occurs on a host,
  2069.    network, site, or multi-site environment.  The operative philosophy
  2070.    in the event of a breach of computer security is to react according
  2071.  
  2072.  
  2073.  
  2074. Fraser, Ed.                Informational                       [Page 37]
  2075.  
  2076. RFC 2196              Site Security Handbook              September 1997
  2077.  
  2078.  
  2079.    to a plan.  This is true whether the breach is the result of an
  2080.    external intruder attack, unintentional damage, a student testing
  2081.    some new program to exploit a software vulnerability, or a
  2082.    disgruntled employee.  Each of the possible types of events, such as
  2083.    those just listed, should be addressed in advance by adequate
  2084.    contingency plans.
  2085.  
  2086.    Traditional computer security, while quite important in the overall
  2087.    site security plan, usually pays little attention to how to actually
  2088.    handle an attack once one occurs.  The result is that when an attack
  2089.    is in progress, many decisions are made in haste and can be damaging
  2090.    to tracking down the source of the incident, collecting evidence to
  2091.    be used in prosecution efforts, preparing for the recovery of the
  2092.    system, and protecting the valuable data contained on the system.
  2093.  
  2094.    One of the most important, but often overlooked, benefits for
  2095.    efficient incident handling is an economic one.  Having both
  2096.    technical and managerial personnel respond to an incident requires
  2097.    considerable resources.  If trained to handle incidents efficiently,
  2098.    less staff time is required when one occurs.
  2099.  
  2100.    Due to the world-wide network most incidents are not restricted to a
  2101.    single site.  Operating systems vulnerabilities apply (in some cases)
  2102.    to several millions of systems, and many vulnerabilities are
  2103.    exploited within the network itself.  Therefore, it is vital that all
  2104.    sites with involved parties be informed as soon as possible.
  2105.  
  2106.    Another benefit is related to public relations.  News about computer
  2107.    security incidents tends to be damaging to an organization's stature
  2108.    among current or potential clients.  Efficient incident handling
  2109.    minimizes the potential for negative exposure.
  2110.  
  2111.    A final benefit of efficient incident handling is related to legal
  2112.    issues.  It is possible that in the near future organizations may be
  2113.    held responsible because one of their nodes was used to launch a
  2114.    network attack.   In a similar vein, people who develop patches or
  2115.    workarounds may be sued if the patches or workarounds are
  2116.    ineffective, resulting in compromise of the systems, or, if the
  2117.    patches or workarounds themselves damage systems.  Knowing about
  2118.    operating system vulnerabilities and patterns of attacks, and then
  2119.    taking appropriate measures to counter these potential threats, is
  2120.    critical to circumventing possible legal problems.
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130. Fraser, Ed.                Informational                       [Page 38]
  2131.  
  2132. RFC 2196              Site Security Handbook              September 1997
  2133.  
  2134.  
  2135.    The sections in this chapter provide an outline and starting point
  2136.    for creating your site's policy for handling security incidents.  The
  2137.    sections are:
  2138.  
  2139.    (1)  Preparing and planning (what are the goals and objectives in
  2140.         handling an incident).
  2141.    (2)  Notification (who should be contacted in the case of an
  2142.         incident).
  2143.           - Local managers and personnel
  2144.           - Law enforcement and investigative agencies
  2145.           - Computer security incidents handling teams
  2146.           - Affected and involved sites
  2147.           - Internal communications
  2148.           - Public relations and press releases
  2149.    (3)  Identifying an incident (is it an incident and how serious is
  2150.         it).
  2151.    (4)  Handling (what should be done when an incident occurs).
  2152.           - Notification (who should be notified about the incident)
  2153.           - Protecting evidence and activity logs (what records should be
  2154.             kept from before, during, and after the incident)
  2155.           - Containment (how can the damage be limited)
  2156.           - Eradication (how to eliminate the reasons for the incident)
  2157.           - Recovery (how to reestablish service and systems)
  2158.           - Follow Up (what actions should be taken after the incident)
  2159.    (5)  Aftermath (what are the implications of past incidents).
  2160.    (6)  Administrative response to incidents.
  2161.  
  2162.    The remainder of this chapter will detail the issues involved in each
  2163.    of the important topics listed above, and provide some guidance as to
  2164.    what should be included in a site policy for handling incidents.
  2165.  
  2166. 5.1  Preparing and Planning for Incident Handling
  2167.  
  2168.    Part of handling an incident is being prepared to respond to an
  2169.    incident before the incident occurs in the first place.  This
  2170.    includes establishing a suitable level of protections as explained in
  2171.    the preceding chapters.  Doing this should help your site prevent
  2172.    incidents as well as limit potential damage resulting from them when
  2173.    they do occur.  Protection also includes preparing incident handling
  2174.    guidelines as part of a contingency plan for your organization or
  2175.    site.  Having written plans eliminates much of the ambiguity which
  2176.    occurs during an incident, and will lead to a more appropriate and
  2177.    thorough set of responses.  It is vitally important to test the
  2178.    proposed plan before an incident occurs through "dry runs".  A team
  2179.    might even consider hiring a tiger team to act in parallel with the
  2180.    dry run.  (Note: a tiger team is a team of specialists that try to
  2181.    penetrate the security of a system.)
  2182.  
  2183.  
  2184.  
  2185.  
  2186. Fraser, Ed.                Informational                       [Page 39]
  2187.  
  2188. RFC 2196              Site Security Handbook              September 1997
  2189.  
  2190.  
  2191.    Learning to respond efficiently to an incident is important for a
  2192.    number of reasons:
  2193.  
  2194.    (1)  Protecting the assets which could be compromised
  2195.    (2)  Protecting resources which could be utilized more
  2196.         profitably if an incident did not require their services
  2197.    (3)  Complying with (government or other) regulations
  2198.    (4)  Preventing the use of your systems in attacks against other
  2199.         systems (which could cause you to incur legal liability)
  2200.    (5)  Minimizing the potential for negative exposure
  2201.  
  2202.    As in any set of pre-planned procedures, attention must be paid to a
  2203.    set of goals for handling an incident.  These goals will be
  2204.    prioritized differently depending on the site.  A specific set of
  2205.    objectives can be identified for dealing with incidents:
  2206.  
  2207.    (1)  Figure out how it happened.
  2208.    (2)  Find out how to avoid further exploitation of the same
  2209.           vulnerability.
  2210.    (3)  Avoid escalation and further incidents.
  2211.    (4)  Assess the impact and damage of the incident.
  2212.    (5)  Recover from the incident.
  2213.    (6)  Update policies and procedures as needed.
  2214.    (7)  Find out who did it (if appropriate and possible).
  2215.  
  2216.    Due to the nature of the incident, there might be a conflict between
  2217.    analyzing the original source of a problem and restoring systems and
  2218.    services.  Overall goals (like assuring the integrity of critical
  2219.    systems) might be the reason for not analyzing an incident.  Of
  2220.    course, this is an important management decision; but all involved
  2221.    parties must be aware that without analysis the same incident may
  2222.    happen again.
  2223.  
  2224.    It is also important to prioritize the actions to be taken during an
  2225.    incident well in advance of the time an incident occurs.  Sometimes
  2226.    an incident may be so complex that it is impossible to do everything
  2227.    at once to respond to it; priorities are essential.  Although
  2228.    priorities will vary from institution to institution, the following
  2229.    suggested priorities may serve as a starting point for defining your
  2230.    organization's response:
  2231.  
  2232.    (1)  Priority one -- protect human life and people's
  2233.         safety; human life always has precedence over all
  2234.         other considerations.
  2235.  
  2236.    (2)  Priority two -- protect classified and/or sensitive
  2237.         data.  Prevent exploitation of classified and/or
  2238.         sensitive systems, networks or sites.  Inform affected
  2239.  
  2240.  
  2241.  
  2242. Fraser, Ed.                Informational                       [Page 40]
  2243.  
  2244. RFC 2196              Site Security Handbook              September 1997
  2245.  
  2246.  
  2247.         classified and/or sensitive systems, networks or sites
  2248.         about already occurred penetrations.
  2249.         (Be aware of regulations by your site or by government)
  2250.  
  2251.    (3)  Priority three -- protect other data, including
  2252.         proprietary, scientific, managerial and other data,
  2253.         because loss of data is costly in terms of resources.
  2254.         Prevent exploitations of other systems, networks or
  2255.         sites and inform already affected systems, networks or
  2256.         sites about successful penetrations.
  2257.  
  2258.    (4)  Priority four -- prevent damage to systems (e.g., loss
  2259.         or alteration of system files, damage to disk drives,
  2260.         etc.).  Damage to systems can result in costly down
  2261.         time and recovery.
  2262.  
  2263.    (5)  Priority five -- minimize disruption of computing
  2264.         resources (including processes).  It is better in many
  2265.         cases to shut a system down or disconnect from a network
  2266.         than to risk damage to data or systems. Sites will have
  2267.         to evaluate the trade-offs between shutting down and
  2268.         disconnecting, and staying up. There may be service
  2269.         agreements in place that may require keeping systems
  2270.         up even in light of further damage occurring. However,
  2271.         the damage and scope of an incident may be so extensive
  2272.         that service agreements may have to be over-ridden.
  2273.  
  2274.    An important implication for defining priorities is that once human
  2275.    life and national security considerations have been addressed, it is
  2276.    generally more important to save data than system software and
  2277.    hardware.  Although it is undesirable to have any damage or loss
  2278.    during an incident, systems can be replaced. However, the loss or
  2279.    compromise of data (especially classified or proprietary data) is
  2280.    usually not an acceptable outcome under any circumstances.
  2281.  
  2282.    Another important concern is the effect on others, beyond the systems
  2283.    and networks where the incident occurs.  Within the limits imposed by
  2284.    government regulations it is always important to inform affected
  2285.    parties as soon as possible.  Due to the legal implications of this
  2286.    topic, it should be included in the planned procedures to avoid
  2287.    further delays and uncertainties for the administrators.
  2288.  
  2289.    Any plan for responding to security incidents should be guided by
  2290.    local policies and regulations.  Government and private sites that
  2291.    deal with classified material have specific rules that they must
  2292.    follow.
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Fraser, Ed.                Informational                       [Page 41]
  2299.  
  2300. RFC 2196              Site Security Handbook              September 1997
  2301.  
  2302.  
  2303.    The policies chosen by your site on how it reacts to incidents will
  2304.    shape your response.  For example, it may make little sense to create
  2305.    mechanisms to monitor and trace intruders if your site does not plan
  2306.    to take action against the intruders if they are caught.  Other
  2307.    organizations may have policies that affect your plans.  Telephone
  2308.    companies often release information about telephone traces only to
  2309.    law enforcement agencies.
  2310.  
  2311.    Handling incidents can be tedious and require any number of routine
  2312.    tasks that could be handled by support personnel. To free the
  2313.    technical staff it may be helpful to identify support staff who will
  2314.    help with tasks like: photocopying, fax'ing, etc.
  2315.  
  2316. 5.2  Notification and Points of Contact
  2317.  
  2318.    It is important to establish contacts with various personnel before a
  2319.    real incident occurs.  Many times, incidents are not real
  2320.    emergencies. Indeed, often you will be able to handle the activities
  2321.    internally. However, there will also be many times when others
  2322.    outside your immediate department will need to be included in the
  2323.    incident handling.  These additional contacts include local managers
  2324.    and system administrators, administrative contacts for other sites on
  2325.    the Internet, and various investigative organizations.  Getting to
  2326.    know these contacts before incidents occurs will help to make your
  2327.    incident handling process more efficient.
  2328.  
  2329.    For each type of communication contact, specific "Points of Contact"
  2330.    (POC) should be defined.  These may be technical or administrative in
  2331.    nature and may include legal or investigative agencies as well as
  2332.    service providers and vendors.  When establishing these contact, it
  2333.    is important to decide how much information will be shared with each
  2334.    class of contact. It is especially important to define, ahead of
  2335.    time, what information will be shared with the users at a site, with
  2336.    the public (including the press), and with other sites.
  2337.  
  2338.    Settling these issues are especially important for the local person
  2339.    responsible for handling the incident, since that is the person
  2340.    responsible for the actual notification of others.  A list of
  2341.    contacts in each of these categories is an important time saver for
  2342.    this person during an incident.  It can be quite difficult to find an
  2343.    appropriate person during an incident when many urgent events are
  2344.    ongoing.  It is strongly recommended that all relevant telephone
  2345.    numbers (also electronic mail addresses and fax numbers) be included
  2346.    in the site security policy.  The names and contact information of
  2347.    all individuals who will be directly involved in the handling of an
  2348.    incident should be placed at the top of this list.
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354. Fraser, Ed.                Informational                       [Page 42]
  2355.  
  2356. RFC 2196              Site Security Handbook              September 1997
  2357.  
  2358.  
  2359. 5.2.1  Local Managers and Personnel
  2360.  
  2361.    When an incident is under way, a major issue is deciding who is in
  2362.    charge of coordinating the activity of the multitude of players.  A
  2363.    major mistake that can be made is to have a number of people who are
  2364.    each working independently, but are not working together.  This will
  2365.    only add to the confusion of the event and will probably lead to
  2366.    wasted or ineffective effort.
  2367.  
  2368.    The single POC may or may not be the person responsible for handling
  2369.    the incident.  There are two distinct roles to fill when deciding who
  2370.    shall be the POC and who will be the person in charge of the
  2371.    incident.  The person in charge of the incident will make decisions
  2372.    as to the interpretation of policy applied to the event.  In
  2373.    contrast, the POC must coordinate the effort of all the parties
  2374.    involved with handling the event.
  2375.  
  2376.    The POC must be a person with the technical expertise to successfully
  2377.    coordinate the efforts of the system managers and users involved in
  2378.    monitoring and reacting to the attack. Care should be taken when
  2379.    identifying who this person will be.  It should not necessarily be
  2380.    the same person who has administrative responsibility for the
  2381.    compromised systems since often such administrators have knowledge
  2382.    only sufficient for the day to day use of the computers, and lack in
  2383.    depth technical expertise.
  2384.  
  2385.    Another important function of the POC is to maintain contact with law
  2386.    enforcement and other external agencies to assure that multi-agency
  2387.    involvement occurs.  The level of involvement will be determined by
  2388.    management decisions as well as legal constraints.
  2389.  
  2390.    A single POC should also be the single person in charge of collecting
  2391.    evidence, since as a rule of thumb, the more people that touch a
  2392.    potential piece of evidence, the greater the possibility that it will
  2393.    be inadmissible in court. To ensure that evidence will be acceptable
  2394.    to the legal community, collecting evidence should be done following
  2395.    predefined procedures in accordance with local laws and legal
  2396.    regulations.
  2397.  
  2398.    One of the most critical tasks for the POC is the coordination of all
  2399.    relevant processes.  Responsibilities may be distributed over the
  2400.    whole site, involving multiple independent departments or groups.
  2401.    This will require a  well coordinated effort in order to achieve
  2402.    overall success.  The situation becomes even more complex if multiple
  2403.    sites are involved.  When this happens, rarely will a single POC at
  2404.    one site be able to adequately coordinate the handling of the entire
  2405.    incident.  Instead, appropriate incident response teams should be
  2406.    involved.
  2407.  
  2408.  
  2409.  
  2410. Fraser, Ed.                Informational                       [Page 43]
  2411.  
  2412. RFC 2196              Site Security Handbook              September 1997
  2413.  
  2414.  
  2415.    The incident handling process should provide some escalation
  2416.    mechanisms.  In order to define such a mechanism, sites will need to
  2417.    create an internal classification scheme for incidents. Associated
  2418.    with each level of incident will be the appropriate POC and
  2419.    procedures.  As an incident is escalated, there may be a change in
  2420.    the POC which will need to be communicated to all others involved in
  2421.    handling the incident. When a change in the POC occurs, old POC
  2422.    should brief the new POC in all background information.
  2423.  
  2424.    Lastly, users must know how to report suspected incidents. Sites
  2425.    should establish reporting procedures that will work both during and
  2426.    outside normal working hours. Help desks are often used to receive
  2427.    these reports during normal working hours, while beepers and
  2428.    telephones can be used for out of hours reporting.
  2429.  
  2430. 5.2.2  Law Enforcement and Investigative Agencies
  2431.  
  2432.    In the event of an incident that has legal consequences, it is
  2433.    important to establish contact with investigative agencies (e.g, the
  2434.    FBI and Secret Service in the U.S.) as soon as possible.  Local law
  2435.    enforcement, local security offices, and campus police departments
  2436.    should also be informed as appropriate.   This section describes many
  2437.    of the issues that will be confronted, but it is acknowledged that
  2438.    each organization will have its own local and governmental laws and
  2439.    regulations that will impact how they interact with law enforcement
  2440.    and investigative agencies. The most important point to make is that
  2441.    each site needs to work through these issues.
  2442.  
  2443.    A primary reason for determining these point of contact well in
  2444.    advance of an incident is that once a major attack is in progress,
  2445.    there is little time to call these agencies to determine exactly who
  2446.    the correct point of contact is.  Another reason is that it is
  2447.    important to cooperate with these agencies in a manner that will
  2448.    foster a good working relationship, and that will be in accordance
  2449.    with the working procedures of these agencies.  Knowing the working
  2450.    procedures in advance, and the expectations of your point of contact
  2451.    is a big step in this direction.  For example, it is important to
  2452.    gather evidence that will be admissible in any subsequent legal
  2453.    proceedings, and this will require prior knowledge of how to gather
  2454.    such evidence.  A final reason for establishing contacts as soon as
  2455.    possible is that it is impossible to know the particular agency that
  2456.    will assume jurisdiction in any given incident.  Making contacts and
  2457.    finding the proper channels early on will make responding to an
  2458.    incident go considerably more smoothly.
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466. Fraser, Ed.                Informational                       [Page 44]
  2467.  
  2468. RFC 2196              Site Security Handbook              September 1997
  2469.  
  2470.  
  2471.    If your organization or site has a legal counsel, you need to notify
  2472.    this office soon after you learn that an incident is in progress.  At
  2473.    a minimum, your legal counsel needs to be involved to protect the
  2474.    legal and financial interests of your site or organization.  There
  2475.    are many legal and practical issues, a few of which are:
  2476.  
  2477.  
  2478.    (1)  Whether your site or organization is willing to risk negative
  2479.         publicity or exposure to cooperate with legal prosecution
  2480.         efforts.
  2481.  
  2482.    (2)  Downstream liability--if you leave a compromised system as is so
  2483.         it can be monitored and another computer is damaged because the
  2484.         attack originated from your system, your site or organization
  2485.         may be liable for damages incurred.
  2486.  
  2487.    (3)  Distribution of information--if your site or organization
  2488.         distributes information about an attack in which another site or
  2489.         organization may be involved or the vulnerability in a product
  2490.         that may affect ability to market that product, your site or
  2491.         organization may again be liable for any damages (including
  2492.         damage of reputation).
  2493.  
  2494.    (4)  Liabilities due to monitoring--your site or organization may be
  2495.         sued if users at your site or elsewhere discover that your site
  2496.         is monitoring account activity without informing users.
  2497.  
  2498.    Unfortunately, there are no clear precedents yet on the liabilities
  2499.    or responsibilities of organizations involved in a security incident
  2500.    or who might be involved in supporting an investigative effort.
  2501.    Investigators will often encourage organizations to help trace and
  2502.    monitor intruders.  Indeed, most investigators cannot pursue computer
  2503.    intrusions without extensive support from the organizations involved.
  2504.    However, investigators cannot provide protection from liability
  2505.    claims, and these kinds of efforts may drag out for months and may
  2506.    take a lot of effort.
  2507.  
  2508.    On the other hand, an organization's legal council may advise extreme
  2509.    caution and suggest that tracing activities be halted and an intruder
  2510.    shut out of the system.  This, in itself, may not provide protection
  2511.    from liability, and may prevent investigators from identifying the
  2512.    perpetrator.
  2513.  
  2514.    The balance between supporting investigative activity and limiting
  2515.    liability is tricky. You'll need to consider the advice of your legal
  2516.    counsel and the damage the intruder is causing (if any) when making
  2517.    your decision about what to do during any particular incident.
  2518.  
  2519.  
  2520.  
  2521.  
  2522. Fraser, Ed.                Informational                       [Page 45]
  2523.  
  2524. RFC 2196              Site Security Handbook              September 1997
  2525.  
  2526.  
  2527.    Your legal counsel should also be involved in any decision to contact
  2528.    investigative agencies when an incident occurs at your site.  The
  2529.    decision to coordinate efforts with investigative agencies is most
  2530.    properly that of your site or organization.  Involving your legal
  2531.    counsel will also foster the multi-level coordination between your
  2532.    site and the particular investigative agency involved, which in turn
  2533.    results in an efficient division of labor.  Another result is that
  2534.    you are likely to obtain guidance that will help you avoid future
  2535.    legal mistakes.
  2536.  
  2537.    Finally, your legal counsel should evaluate your site's written
  2538.    procedures for responding to incidents.  It is essential to obtain a
  2539.    "clean bill of health" from a legal perspective before you actually
  2540.    carry out these procedures.
  2541.  
  2542.    It is vital, when dealing with investigative agencies, to verify that
  2543.    the person who calls asking for information is a legitimate
  2544.    representative from the agency in question.  Unfortunately, many well
  2545.    intentioned people have unknowingly leaked sensitive details about
  2546.    incidents, allowed unauthorized people into their systems, etc.,
  2547.    because a caller has masqueraded as a representative of a government
  2548.    agency. (Note: this word of caution actually applies to all external
  2549.    contacts.)
  2550.  
  2551.    A similar consideration is using a secure means of communication.
  2552.    Because many network attackers can easily re-route electronic mail,
  2553.    avoid using electronic mail to communicate with other agencies (as
  2554.    well as others dealing with the incident at hand). Non-secured phone
  2555.    lines (the phones normally used in the business world) are also
  2556.    frequent targets for tapping by network intruders, so be careful!
  2557.  
  2558.    There is no one established set of rules for responding to an
  2559.    incident when the local government becomes involved.  Normally (in
  2560.    the U.S.), except by legal order, no agency can force you to monitor,
  2561.    to disconnect from the network, to avoid telephone contact with the
  2562.    suspected attackers, etc. Each organization will have a set of local
  2563.    and national laws and regulations that must be adhered to when
  2564.    handling incidents. It is recommended that each site be familiar with
  2565.    those laws and regulations, and identify and get know the contacts
  2566.    for agencies with jurisdiction well in advance of handling an
  2567.    incident.
  2568.  
  2569. 5.2.3  Computer Security Incident Handling Teams
  2570.  
  2571.    There are currently a number of of Computer Security Incident
  2572.    Response teams (CSIRTs) such as the CERT Coordination Center, the
  2573.    German DFN-CERT, and other teams around the globe.  Teams exist for
  2574.    many major government agencies and large corporations.  If such a
  2575.  
  2576.  
  2577.  
  2578. Fraser, Ed.                Informational                       [Page 46]
  2579.  
  2580. RFC 2196              Site Security Handbook              September 1997
  2581.  
  2582.  
  2583.    team is available, notifying it should be of primary consideration
  2584.    during the early stages of an incident.  These teams are responsible
  2585.    for coordinating computer security incidents over a range of sites
  2586.    and larger entities.  Even if the incident is believed to be
  2587.    contained within a single site, it is possible that the information
  2588.    available through a response team could help in fully resolving the
  2589.    incident.
  2590.  
  2591.    If it is determined that the breach occurred due to a flaw in the
  2592.    system's hardware or software, the vendor (or supplier) and a
  2593.    Computer Security Incident Handling team should be notified as soon
  2594.    as possible.  This is especially important because many other systems
  2595.    are vulnerable, and these vendor and response team organizations can
  2596.    help disseminate help to other affected sites.
  2597.  
  2598.    In setting up a site policy for incident handling, it may be
  2599.    desirable to create a subgroup, much like those teams that already
  2600.    exist, that will be responsible for handling computer security
  2601.    incidents for the site (or organization).  If such a team is created,
  2602.    it is essential that communication lines be opened between this team
  2603.    and other teams.  Once an incident is under way, it is difficult to
  2604.    open a trusted dialogue between other teams if none has existed
  2605.    before.
  2606.  
  2607. 5.2.4  Affected and Involved Sites
  2608.  
  2609.    If an incident has an impact on other sites, it is good practice to
  2610.    inform them.  It may be obvious from the beginning that the incident
  2611.    is not limited to the local site, or it may emerge only after further
  2612.    analysis.
  2613.  
  2614.    Each site may choose to contact other sites directly or they can pass
  2615.    the information to an appropriate incident response team. It is often
  2616.    very difficult to find the responsible POC at remote sites and the
  2617.    incident response team will be able to  facilitate contact by making
  2618.    use of already established channels.
  2619.  
  2620.    The legal and liability issues arising from a security incident will
  2621.    differ from site to site.  It is important to define a policy for the
  2622.    sharing and logging of information about other sites before an
  2623.    incident occurs.
  2624.  
  2625.    Information about specific people is especially sensitive, and may be
  2626.    subject to privacy laws.  To avoid problems in this area, irrelevant
  2627.    information should be deleted and a statement of how to handle the
  2628.    remaining information should be included.  A clear statement of how
  2629.    this information is to be used is essential.  No one who informs a
  2630.    site of a security incident wants to read about it in the public
  2631.  
  2632.  
  2633.  
  2634. Fraser, Ed.                Informational                       [Page 47]
  2635.  
  2636. RFC 2196              Site Security Handbook              September 1997
  2637.  
  2638.  
  2639.    press.  Incident response teams are valuable in this respect.  When
  2640.    they pass information to responsible POCs, they are able to protect
  2641.    the anonymity of the original source. But, be aware that, in many
  2642.    cases, the analysis of logs and information at other sites will
  2643.    reveal addresses of your site.
  2644.  
  2645.    All the problems discussed above should be not taken as reasons not
  2646.    to involve other sites.  In fact, the experiences of existing teams
  2647.    reveal that most sites informed about security problems are not even
  2648.    aware that their site had been compromised.  Without timely
  2649.    information, other sites are often unable to take action against
  2650.    intruders.
  2651.  
  2652. 5.2.5  Internal Communications
  2653.  
  2654.    It is crucial during a major incident to communicate why certain
  2655.    actions are being taken, and how the users (or departments) are
  2656.    expected to behave. In particular, it should be made very clear to
  2657.    users what they are allowed to say (and not say) to the outside world
  2658.    (including other departments). For example, it wouldn't be good for
  2659.    an organization if users replied to customers with something like,
  2660.    "I'm sorry the systems are down, we've had an intruder and we are
  2661.    trying to clean things up." It would be much better if they were
  2662.    instructed to respond with a prepared statement like, "I'm sorry our
  2663.    systems are unavailable, they are being maintained for better service
  2664.    in the future."
  2665.  
  2666.    Communications with customers and contract partners should be handled
  2667.    in a sensible, but sensitive way. One can prepare for the main issues
  2668.    by preparing a checklist. When an incident occurs, the checklist can
  2669.    be used with the addition of a sentence or two for the specific
  2670.    circumstances of the incident.
  2671.  
  2672.    Public relations departments can be very helpful during incidents.
  2673.    They should be involved in all planning and can provide well
  2674.    constructed responses for use when contact with outside departments
  2675.    and organizations is necessary.
  2676.  
  2677. 5.2.6  Public Relations - Press Releases
  2678.  
  2679.    There has been a tremendous growth in the amount of media coverage
  2680.    dedicated to computer security incidents in the United States. Such
  2681.    press coverage is bound to extend to other countries as the Internet
  2682.    continues to grow and expand internationally.  Readers from countries
  2683.    where such media attention has not yet occurred, can learn from the
  2684.    experiences in the U.S. and should be forwarned and prepared.
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690. Fraser, Ed.                Informational                       [Page 48]
  2691.  
  2692. RFC 2196              Site Security Handbook              September 1997
  2693.  
  2694.  
  2695.    One of the most important issues to consider is when, who, and how
  2696.    much to release to the general public through the press.  There are
  2697.    many issues to consider when deciding this particular issue.  First
  2698.    and foremost, if a public relations office exists for the site, it is
  2699.    important to use this office as liaison to the press.  The public
  2700.    relations office is trained in the type and wording of information
  2701.    released, and will help to assure that the image of the site is
  2702.    protected during and after the incident (if possible).  A public
  2703.    relations office has the advantage that you can communicate candidly
  2704.    with them, and provide a buffer between the constant press attention
  2705.    and the need of the POC to maintain control over the incident.
  2706.  
  2707.    If a public relations office is not available, the information
  2708.    released to the press must be carefully considered.  If the
  2709.    information is sensitive, it may be advantageous to provide only
  2710.    minimal or overview information to the press.  It is quite possible
  2711.    that any information provided to the press will be quickly reviewed
  2712.    by the perpetrator of the incident.  Also note that misleading the
  2713.    press can often backfire and cause more damage than releasing
  2714.    sensitive information.
  2715.  
  2716.    While it is difficult to determine in advance what level of detail to
  2717.    provide to the press, some guidelines to keep in mind are:
  2718.  
  2719.    (1)  Keep the technical level of detail low.  Detailed
  2720.         information about the incident may provide enough
  2721.         information for others to launch similar attacks on
  2722.         other sites, or even damage the site's ability to
  2723.         prosecute the guilty party once the event is over.
  2724.  
  2725.    (2)  Keep the speculation out of press statements.
  2726.         Speculation of who is causing the incident or the
  2727.         motives are very likely to be in error and may cause
  2728.         an inflamed view of the incident.
  2729.  
  2730.    (3)  Work with law enforcement professionals to assure that
  2731.         evidence is protected.  If prosecution is involved,
  2732.         assure that the evidence collected is not divulged to
  2733.         the press.
  2734.  
  2735.    (4)  Try not to be forced into a press interview before you are
  2736.         prepared.  The popular press is famous for the "2 am"
  2737.         interview, where the hope is to catch the interviewee off
  2738.         guard and obtain information otherwise not available.
  2739.  
  2740.    (5)  Do not allow the press attention to detract from the
  2741.         handling of the event.  Always remember that the successful
  2742.         closure of an incident is of primary importance.
  2743.  
  2744.  
  2745.  
  2746. Fraser, Ed.                Informational                       [Page 49]
  2747.  
  2748. RFC 2196              Site Security Handbook              September 1997
  2749.  
  2750.  
  2751. 5.3  Identifying an Incident
  2752.  
  2753. 5.3.1  Is It Real?
  2754.  
  2755.    This stage involves determining if a problem really exists.  Of
  2756.    course many if not most signs often associated with virus infection,
  2757.    system intrusions, malicious users, etc., are simply anomalies such
  2758.    as hardware failures or suspicious system/user behavior.  To assist
  2759.    in identifying whether there really is an incident, it is usually
  2760.    helpful to obtain and use any detection software which may be
  2761.    available.  Audit information is also extremely useful, especially in
  2762.    determining whether there is a network attack.  It is extremely
  2763.    important to obtain a system snapshot as soon as one suspects that
  2764.    something is wrong.  Many incidents cause a dynamic chain of events
  2765.    to occur, and an initial system snapshot may be the most valuable
  2766.    tool for identifying the problem and any source of attack.  Finally,
  2767.    it is important to start a log book.  Recording system events,
  2768.    telephone conversations, time stamps, etc., can lead to a more rapid
  2769.    and systematic identification of the problem, and is the basis for
  2770.    subsequent stages of incident handling.
  2771.  
  2772.    There are certain indications or "symptoms" of an incident that
  2773.    deserve special attention:
  2774.  
  2775.    (1)   System crashes.
  2776.    (2)   New user accounts (the account RUMPLESTILTSKIN has been
  2777.          unexpectedly created), or high activity on a previously
  2778.          low usage account.
  2779.    (3)   New files (usually with novel or strange file names,
  2780.          such as data.xx or k or .xx ).
  2781.    (4)   Accounting discrepancies (in a UNIX system you might
  2782.          notice the shrinking of an accounting file called
  2783.          /usr/admin/lastlog, something that should make you very
  2784.          suspicious that there may be an intruder).
  2785.    (5)   Changes in file lengths or dates (a user should be
  2786.          suspicious if .EXE files in an MS DOS computer have
  2787.          unexplainedly grown by over 1800 bytes).
  2788.    (6)   Attempts to write to system (a system manager notices
  2789.          that a privileged user in a VMS system is attempting to
  2790.          alter RIGHTSLIST.DAT).
  2791.    (7)   Data modification or deletion (files start to disappear).
  2792.    (8)   Denial of service (a system manager and all other users
  2793.          become locked out of a UNIX system, now in single user mode).
  2794.    (9)   Unexplained, poor system performance
  2795.    (10)  Anomalies ("GOTCHA" is displayed on the console or there
  2796.          are frequent unexplained "beeps").
  2797.    (11)  Suspicious probes (there are numerous unsuccessful login
  2798.          attempts from another node).
  2799.  
  2800.  
  2801.  
  2802. Fraser, Ed.                Informational                       [Page 50]
  2803.  
  2804. RFC 2196              Site Security Handbook              September 1997
  2805.  
  2806.  
  2807.    (12)  Suspicious browsing (someone becomes a root user on a UNIX
  2808.          system and accesses file after file on many user accounts.)
  2809.    (13)  Inability of a user to log in due to modifications of his/her
  2810.          account.
  2811.  
  2812.    By no means is this list comprehensive; we have just listed a number
  2813.    of common indicators.  It is best to collaborate with other technical
  2814.    and computer security personnel to make a decision as a group about
  2815.    whether an incident is occurring.
  2816.  
  2817. 5.3.2  Types and Scope of Incidents
  2818.  
  2819.    Along with the identification of the incident is the evaluation of
  2820.    the scope and impact of the problem.  It is important to correctly
  2821.    identify the boundaries of the incident in order to effectively deal
  2822.    with it and prioritize responses.
  2823.  
  2824.    In order to identify the scope and impact a set of criteria should be
  2825.    defined which is appropriate to the site and to the type of
  2826.    connections available.  Some of the issues include:
  2827.  
  2828.    (1)  Is this a multi-site incident?
  2829.    (2)  Are many computers at your site affected by this incident?
  2830.    (3)  Is sensitive information involved?
  2831.    (4)  What is the entry point of the incident (network,
  2832.         phone line, local terminal, etc.)?
  2833.    (5)  Is the press involved?
  2834.    (6)  What is the potential damage of the incident?
  2835.    (7)  What is the estimated time to close out the incident?
  2836.    (8)  What resources could be required to handle the incident?
  2837.    (9)  Is law enforcement involved?
  2838.  
  2839. 5.3.3  Assessing the Damage and Extent
  2840.  
  2841.    The analysis of the damage and extent of the incident can be quite
  2842.    time consuming, but should lead to some insight into the nature of
  2843.    the incident, and aid investigation and prosecution.  As soon as the
  2844.    breach has occurred, the entire system and all of its components
  2845.    should be considered suspect.  System software is the most probable
  2846.    target.  Preparation is key to be able to detect all changes for a
  2847.    possibly tainted system.  This includes checksumming all media from
  2848.    the vendor using a algorithm which is resistant to tampering.  (See
  2849.    sections 4.3)
  2850.  
  2851.    Assuming original vendor distribution media are available, an
  2852.    analysis of all system files should commence, and any irregularities
  2853.    should be noted and referred to all parties involved in handling the
  2854.    incident.  It can be very difficult, in some cases, to decide which
  2855.  
  2856.  
  2857.  
  2858. Fraser, Ed.                Informational                       [Page 51]
  2859.  
  2860. RFC 2196              Site Security Handbook              September 1997
  2861.  
  2862.  
  2863.    backup media are showing a correct system status. Consider, for
  2864.    example, that the incident may have continued for months or years
  2865.    before discovery, and the suspect may be an employee of the site, or
  2866.    otherwise have intimate knowledge or access to the systems.  In all
  2867.    cases, the pre-incident preparation will determine what recovery is
  2868.    possible.
  2869.  
  2870.    If the system supports centralized logging (most do), go back over
  2871.    the logs and look for abnormalities.  If process accounting and
  2872.    connect time accounting is enabled, look for patterns of system
  2873.    usage.  To a lesser extent, disk usage may shed light on the
  2874.    incident.  Accounting can provide much helpful information in an
  2875.    analysis of an incident and subsequent prosecution.  Your ability to
  2876.    address all aspects of a specific incident strongly depends on the
  2877.    success of this analysis.
  2878.  
  2879. 5.4  Handling an Incident
  2880.  
  2881.    Certain steps are necessary to take during the handling of an
  2882.    incident.  In all security related activities, the most important
  2883.    point to be made is that all sites should have policies in place.
  2884.    Without defined policies and goals, activities undertaken will remain
  2885.    without focus. The goals should be defined by management and legal
  2886.    counsel in advance.
  2887.  
  2888.    One of the most fundamental objectives is to restore control of the
  2889.    affected systems and to limit the impact and damage.  In the worst
  2890.    case scenario, shutting down the system, or disconnecting the system
  2891.    from the network, may the only practical solution.
  2892.  
  2893.    As the activities involved are complex, try to get as much help as
  2894.    necessary.  While trying to solve the problem alone, real damage
  2895.    might occur due to delays or missing information.  Most
  2896.    administrators take the discovery of an intruder as a personal
  2897.    challenge.  By proceeding this way, other objectives as outlined in
  2898.    the local policies may not always be considered.  Trying to catch
  2899.    intruders may be a very low priority, compared to system integrity,
  2900.    for example.  Monitoring a hacker's activity is useful, but it might
  2901.    not be considered worth the risk to allow the continued access.
  2902.  
  2903. 5.4.1  Types of Notification and Exchange of Information
  2904.  
  2905.    When you have confirmed that an incident is occurring, the
  2906.    appropriate personnel must be notified.  How this notification is
  2907.    achieved is very important to keeping the event under control both
  2908.    from a technical and emotional standpoint. The circumstances should
  2909.    be described in as much detail as possible, in order to aid prompt
  2910.    acknowledgment and understanding of the problem.  Great care should
  2911.  
  2912.  
  2913.  
  2914. Fraser, Ed.                Informational                       [Page 52]
  2915.  
  2916. RFC 2196              Site Security Handbook              September 1997
  2917.  
  2918.  
  2919.    be taken when determining to which groups detailed technical
  2920.    information is given during the notification.  For example, it is
  2921.    helpful to pass this kind of information to an incident handling team
  2922.    as they can assist you by providing helpful hints for eradicating the
  2923.    vulnerabilities involved in an incident.  On the other hand, putting
  2924.    the critical knowledge into the public domain (e.g., via USENET
  2925.    newsgroups or mailing lists) may potentially put a large number of
  2926.    systems at risk of intrusion.  It is invalid to assume that all
  2927.    administrators reading a particular newsgroup have access to
  2928.    operating system source code, or can even understand an advisory well
  2929.    enough to take adequate steps.
  2930.  
  2931.    First of all, any notification to either local or off-site personnel
  2932.    must be explicit.  This requires that any statement (be it an
  2933.    electronic mail message, phone call, fax, beeper, or semaphone)
  2934.    providing information about the incident be clear, concise, and fully
  2935.    qualified.  When you are notifying others that will help you handle
  2936.    an event, a "smoke screen" will only divide the effort and create
  2937.    confusion.  If a division of labor is suggested, it is helpful to
  2938.    provide information to each participant about what is being
  2939.    accomplished in other efforts.  This will not only reduce duplication
  2940.    of effort, but allow people working on parts of the problem to know
  2941.    where to obtain information relevant to their part of the incident.
  2942.  
  2943.    Another important consideration when communicating about the incident
  2944.    is to be factual.  Attempting to hide aspects of the incident by
  2945.    providing false or incomplete information may not only prevent a
  2946.    successful resolution to the incident, but may even worsen the
  2947.    situation.
  2948.  
  2949.    The choice of language used when notifying people about the incident
  2950.    can have a profound effect on the way that information is received.
  2951.    When you use emotional or inflammatory terms, you raise the potential
  2952.    for damage and negative outcomes of the incident.  It is important to
  2953.    remain calm both in written and spoken communications.
  2954.  
  2955.    Another consideration is that not all people speak the same language.
  2956.    Due to this fact, misunderstandings and delay may arise, especially
  2957.    if it is a multi-national incident. Other international concerns
  2958.    include differing legal implications of a security incident and
  2959.    cultural differences.  However, cultural differences do not only
  2960.    exist between countries.  They even exist within countries, between
  2961.    different social or user groups.  For example, an administrator of a
  2962.    university system might be very relaxed about attempts to connect to
  2963.    the system via telnet, but the administrator of a military system is
  2964.    likely to consider the same action as a possible attack.
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970. Fraser, Ed.                Informational                       [Page 53]
  2971.  
  2972. RFC 2196              Site Security Handbook              September 1997
  2973.  
  2974.  
  2975.    Another issue associated with the choice of language is the
  2976.    notification of non-technical or off-site personnel.  It is important
  2977.    to accurately describe the incident without generating undue alarm or
  2978.    confusion.  While it is more difficult to describe the incident to a
  2979.    non-technical audience, it is often more important.  A non-technical
  2980.    description may be required for upper-level management, the press, or
  2981.    law enforcement liaisons.  The importance of these communications
  2982.    cannot be underestimated and may make the difference between
  2983.    resolving the incident properly and escalating to some higher level
  2984.    of damage.
  2985.  
  2986.    If an incident response team becomes involved, it might be necessary
  2987.    to fill out a template for the information exchange.  Although this
  2988.    may seem to be an additional burden and adds a certain delay, it
  2989.    helps the team to act on this minimum set of information.  The
  2990.    response team may be able to respond to aspects of the incident of
  2991.    which the local administrator is unaware. If information is given out
  2992.    to someone else, the following minimum information should be
  2993.    provided:
  2994.  
  2995.    (1)  timezone of logs, ... in GMT or local time
  2996.    (2)  information about the remote system, including host names,
  2997.         IP addresses and (perhaps) user IDs
  2998.    (3)  all log entries relevant for the remote site
  2999.    (4)  type of incident (what happened, why should you care)
  3000.  
  3001.    If local information (i.e., local user IDs) is included in the log
  3002.    entries, it will be necessary to sanitize the entries beforehand to
  3003.    avoid privacy issues.  In general, all information which might assist
  3004.    a remote site in resolving an incident should be given out, unless
  3005.    local policies prohibit this.
  3006.  
  3007. 5.4.2  Protecting Evidence and Activity Logs
  3008.  
  3009.    When you respond to an incident, document all details related to the
  3010.    incident.  This will provide valuable information to yourself and
  3011.    others as you try to unravel the course of events.  Documenting all
  3012.    details will ultimately save you time.  If you don't document every
  3013.    relevant phone call, for example, you are likely to forget a
  3014.    significant portion of information you obtain, requiring you to
  3015.    contact the source of information again.  At the same time, recording
  3016.    details will provide evidence for prosecution efforts, providing the
  3017.    case moves in that direction.  Documenting an incident will also help
  3018.    you perform a final assessment of damage (something your management,
  3019.    as well as law enforcement officers, will want to know), and will
  3020.    provide the basis for later phases of the handling process:
  3021.    eradication, recovery, and follow-up "lessons learned."
  3022.  
  3023.  
  3024.  
  3025.  
  3026. Fraser, Ed.                Informational                       [Page 54]
  3027.  
  3028. RFC 2196              Site Security Handbook              September 1997
  3029.  
  3030.  
  3031.    During the initial stages of an incident, it is often infeasible to
  3032.    determine whether prosecution is viable, so you should document as if
  3033.    you are gathering evidence for a court case.  At a minimum, you
  3034.    should record:
  3035.  
  3036.    (1)  all system events (audit records)
  3037.    (2)  all actions you take (time tagged)
  3038.    (3)  all external conversations (including the person with whom
  3039.         you talked, the date and time, and the content of the
  3040.         conversation)
  3041.  
  3042.    The most straightforward way to maintain documentation is keeping a
  3043.    log book.  This allows you to go to a centralized, chronological
  3044.    source of information when you need it, instead of requiring you to
  3045.    page through individual sheets of paper.  Much of this information is
  3046.    potential evidence in a court of law.  Thus, when a legal follow-up
  3047.    is a possibility, one should follow the prepared procedures and avoid
  3048.    jeopardizing the legal follow-up by improper handling of possible
  3049.    evidence. If appropriate, the following steps may be taken.
  3050.  
  3051.    (1)  Regularly (e.g., every day) turn in photocopied, signed
  3052.         copies of your logbook (as well as media you use to record
  3053.         system events) to a document custodian.
  3054.    (2)  The custodian should store these copied pages in a secure
  3055.         place (e.g., a safe).
  3056.    (3)  When you submit information for storage, you should
  3057.         receive a signed, dated receipt from the document
  3058.         custodian.
  3059.  
  3060.    Failure to observe these procedures can result in invalidation of any
  3061.    evidence you obtain in a court of law.
  3062.  
  3063. 5.4.3  Containment
  3064.  
  3065.    The purpose of containment is to limit the extent of an attack.  An
  3066.    essential part of containment is decision making (e.g., determining
  3067.    whether to shut a system down, disconnect from a network, monitor
  3068.    system or network activity, set traps, disable functions such as
  3069.    remote file transfer, etc.).
  3070.  
  3071.    Sometimes this decision is trivial; shut the system down if the
  3072.    information is classified, sensitive, or proprietary.  Bear in mind
  3073.    that removing all access while an incident is in progress obviously
  3074.    notifies all users, including the alleged problem users, that the
  3075.    administrators are aware of a problem; this may have a deleterious
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082. Fraser, Ed.                Informational                       [Page 55]
  3083.  
  3084. RFC 2196              Site Security Handbook              September 1997
  3085.  
  3086.  
  3087.    effect on an investigation.  In some cases, it is prudent to remove
  3088.    all access or functionality as soon as possible, then restore normal
  3089.    operation in limited stages.  In other cases, it is worthwhile to
  3090.    risk some damage to the system if keeping the system up might enable
  3091.    you to identify an intruder.
  3092.  
  3093.    This stage should involve carrying out predetermined procedures.
  3094.    Your organization or site should, for example, define acceptable
  3095.    risks in dealing with an incident, and should prescribe specific
  3096.    actions and strategies accordingly.  This is especially important
  3097.    when a quick decision is necessary and it is not possible to first
  3098.    contact all involved parties to discuss the decision.  In the absence
  3099.    of predefined procedures, the person in charge of the incident will
  3100.    often not have the power to make difficult management decisions (like
  3101.    to lose the results of a costly experiment by shutting down a
  3102.    system).  A final activity that should occur during this stage of
  3103.    incident handling is the notification of appropriate authorities.
  3104.  
  3105. 5.4.4  Eradication
  3106.  
  3107.    Once the incident has been contained, it is time to eradicate the
  3108.    cause.  But before eradicating the cause, great care should be taken
  3109.    to collect all necessary information about the compromised system(s)
  3110.    and the cause of the incident as they will likely be lost when
  3111.    cleaning up the system.
  3112.  
  3113.    Software may be available to help you in the eradication process,
  3114.    such as anti-virus software.  If any bogus files have been created,
  3115.    archive them before deleting them.  In the case of virus infections,
  3116.    it is important to clean and reformat any media containing infected
  3117.    files.  Finally, ensure that all backups are clean.  Many systems
  3118.    infected with viruses become periodically re-infected simply because
  3119.    people do not systematically eradicate the virus from backups.  After
  3120.    eradication, a new backup should be taken.
  3121.  
  3122.    Removing all vulnerabilities once an incident has occurred is
  3123.    difficult.  The key to removing vulnerabilities is knowledge and
  3124.    understanding of the breach.
  3125.  
  3126.    It may be necessary to go back to the original distribution media and
  3127.    re-customize the system.  To facilitate this worst case scenario, a
  3128.    record of the original system setup and each customization change
  3129.    should be maintained.  In the case of a network-based attack, it is
  3130.    important to install patches for each operating system vulnerability
  3131.    which was exploited.
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138. Fraser, Ed.                Informational                       [Page 56]
  3139.  
  3140. RFC 2196              Site Security Handbook              September 1997
  3141.  
  3142.  
  3143.    As discussed in section 5.4.2, a security log can be most valuable
  3144.    during this phase of removing vulnerabilities. The logs showing how
  3145.    the incident was discovered and contained can be used later to help
  3146.    determine how extensive the damage was from a given incident.  The
  3147.    steps taken can be used in the future to make sure the problem does
  3148.    not resurface.  Ideally, one should automate and regularly apply the
  3149.    same test as was used to detect the security incident.
  3150.  
  3151.    If a particular vulnerability is isolated as having been exploited,
  3152.    the next step is to find a mechanism to protect your system.  The
  3153.    security mailing lists and bulletins would be a good place to search
  3154.    for this information, and you can get advice from incident response
  3155.    teams.
  3156.  
  3157. 5.4.5  Recovery
  3158.  
  3159.    Once the cause of an incident has been eradicated, the recovery phase
  3160.    defines the next stage of action.  The goal of recovery is to return
  3161.    the system to normal.  In general, bringing up services in the order
  3162.    of demand to allow a minimum of user inconvenience is the best
  3163.    practice.  Understand that the proper recovery procedures for the
  3164.    system are extremely important and should be specific to the site.
  3165.  
  3166. 5.4.6  Follow-Up
  3167.  
  3168.    Once you believe that a system has been restored to a "safe" state,
  3169.    it is still possible that holes, and even traps, could be lurking in
  3170.    the system.  One of the most important stages of responding to
  3171.    incidents is also the most often omitted, the follow-up stage.  In
  3172.    the follow-up stage, the system should be monitored for items that
  3173.    may have been missed during the cleanup stage.  It would be prudent
  3174.    to utilize some of the tools mentioned in chapter 7 as a start.
  3175.    Remember, these tools don't replace continual system monitoring and
  3176.    good systems administration practices.
  3177.  
  3178.    The most important element of the follow-up stage is performing a
  3179.    postmortem analysis.  Exactly what happened, and at what times?  How
  3180.    well did the staff involved with the incident perform?  What kind of
  3181.    information did the staff need quickly, and how could they have
  3182.    gotten that information as soon as possible?  What would the staff do
  3183.    differently next time?
  3184.  
  3185.    After an incident, it is prudent to write a report describing the
  3186.    exact sequence of events: the method of discovery, correction
  3187.    procedure, monitoring procedure, and a summary of lesson learned.
  3188.    This will aid in the clear understanding of the problem.  Creating a
  3189.    formal chronology of events (including time stamps) is also important
  3190.    for legal reasons.
  3191.  
  3192.  
  3193.  
  3194. Fraser, Ed.                Informational                       [Page 57]
  3195.  
  3196. RFC 2196              Site Security Handbook              September 1997
  3197.  
  3198.  
  3199.    A follow-up report is valuable for many reasons.  It provides a
  3200.    reference to be used in case of other similar incidents.  It is also
  3201.    important to, as quickly as possible obtain a monetary estimate of
  3202.    the amount of damage the incident caused. This estimate should
  3203.    include costs associated with any loss of software and files
  3204.    (especially the value of proprietary data that may have been
  3205.    disclosed), hardware damage, and manpower costs to restore altered
  3206.    files, reconfigure affected systems, and so forth.  This estimate may
  3207.    become the basis for subsequent prosecution activity.  The report can
  3208.    also help justify an organization's computer security effort to
  3209.    management.
  3210.  
  3211. 5.5  Aftermath of an Incident
  3212.  
  3213.    In the wake of an incident, several actions should take place.  These
  3214.    actions can be summarized as follows:
  3215.  
  3216.    (1)  An inventory should be taken of the systems' assets,
  3217.         (i.e., a careful examination should determine how the
  3218.         system was affected by the incident).
  3219.  
  3220.    (2)  The lessons learned as a result of the incident
  3221.         should be included in revised security plan to
  3222.         prevent the incident from re-occurring.
  3223.  
  3224.    (3)  A new risk analysis should be developed in light of the
  3225.         incident.
  3226.  
  3227.    (4)  An investigation and prosecution of the individuals
  3228.         who caused the incident should commence, if it is
  3229.         deemed desirable.
  3230.  
  3231.    If an incident is based on poor policy, and unless the policy is
  3232.    changed, then one is doomed to repeat the past.  Once a site has
  3233.    recovered from and incident, site policy and procedures should be
  3234.    reviewed to encompass changes to prevent similar incidents.  Even
  3235.    without an incident, it would be prudent to review policies and
  3236.    procedures on a regular basis.  Reviews are imperative due to today's
  3237.    changing computing environments.
  3238.  
  3239.    The whole purpose of this post mortem process is to improve all
  3240.    security measures to protect the site against future attacks.  As a
  3241.    result of an incident, a site or organization should gain practical
  3242.    knowledge from the experience.  A concrete goal of the post mortem is
  3243.    to develop new proactive methods.  Another important facet of the
  3244.    aftermath may be end user and administrator education to prevent a
  3245.    reoccurrence of the security problem.
  3246.  
  3247.  
  3248.  
  3249.  
  3250. Fraser, Ed.                Informational                       [Page 58]
  3251.  
  3252. RFC 2196              Site Security Handbook              September 1997
  3253.  
  3254.  
  3255. 5.6  Responsibilities
  3256.  
  3257. 5.6.1  Not Crossing the Line
  3258.  
  3259.    It is one thing to protect one's own network, but quite another to
  3260.    assume that one should protect other networks.  During the handling
  3261.    of an incident, certain system vulnerabilities of one's own systems
  3262.    and the systems of others become apparent.  It is quite easy and may
  3263.    even be tempting to pursue the intruders in order to track them.
  3264.    Keep in mind that at a certain point it is possible to "cross the
  3265.    line," and, with the best of intentions, become no better than the
  3266.    intruder.
  3267.  
  3268.    The best rule when it comes to propriety is to not use any facility
  3269.    of remote sites which is not public.  This clearly excludes any entry
  3270.    onto a system (such as a remote shell or login session) which is not
  3271.    expressly permitted.  This may be very tempting; after a breach of
  3272.    security is detected, a system administrator may have the means to
  3273.    "follow it up," to ascertain what damage is being done to the remote
  3274.    site.  Don't do it!  Instead, attempt to reach the appropriate point
  3275.    of contact for the affected site.
  3276.  
  3277. 5.6.2  Good Internet Citizenship
  3278.  
  3279.    During a security incident there are two choices one can make.
  3280.    First, a site can choose to watch the intruder in the hopes of
  3281.    catching him; or, the site can go about cleaning up after the
  3282.    incident and shut the intruder out of the systems.  This is a
  3283.    decision that must be made very thoughtfully, as there may be legal
  3284.    liabilities if you choose to leave your site open, knowing that an
  3285.    intruder is using your site as a launching pad to reach out to other
  3286.    sites.  Being a good Internet citizen means that you should try to
  3287.    alert other sites that may have been impacted by the intruder.  These
  3288.    affected sites may be readily apparent after a thorough review of
  3289.    your log files.
  3290.  
  3291. 5.6.3  Administrative Response to Incidents
  3292.  
  3293.    When a security incident involves a user, the site's security policy
  3294.    should describe what action is to be taken.  The transgression should
  3295.    be taken seriously, but it is very important to be sure of the role
  3296.    the user played.  Was the user naive?  Could there be a mistake in
  3297.    attributing the security breach to the user?  Applying administrative
  3298.    action that assumes the user intentionally caused the incident may
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306. Fraser, Ed.                Informational                       [Page 59]
  3307.  
  3308. RFC 2196              Site Security Handbook              September 1997
  3309.  
  3310.  
  3311.    not be appropriate for a user who simply made a mistake.  It may be
  3312.    appropriate to include sanctions more suitable for such a situation
  3313.    in your policies (e.g., education or reprimand of a user) in addition
  3314.    to more stern measures for intentional acts of intrusion and system
  3315.    misuse.
  3316.  
  3317. 6.  Ongoing Activities
  3318.  
  3319.    At this point in time, your site has hopefully developed a complete
  3320.    security policy and has developed procedures to assist in the
  3321.    configuration and management of your technology in support of those
  3322.    policies.  How nice it would be if you could sit back and relax at
  3323.    this point and know that you were finished with the job of security.
  3324.    Unfortunately, that isn't possible.  Your systems and networks are
  3325.    not a static environment, so you will need to review policies and
  3326.    procedures on a regular basis.  There are a number of steps you can
  3327.    take to help you keep up with the changes around you so that you can
  3328.    initiate corresponding actions to address those changes.  The
  3329.    following is a starter set and you may add others as appropriate for
  3330.    your site.
  3331.  
  3332.    (1)  Subscribe to advisories that are issued by various security incident
  3333.         response teams, like those of the CERT Coordination Center, and
  3334.         update your systems against those threats that apply to your site's
  3335.         technology.
  3336.  
  3337.    (2)  Monitor security patches that are produced by the vendors of your
  3338.         equipment, and obtain and install all that apply.
  3339.  
  3340.    (3)  Actively watch the configurations of your systems to identify any
  3341.         changes that may have occurred, and investigate all anomalies.
  3342.  
  3343.    (4)  Review all security policies and procedures annually (at a minimum).
  3344.  
  3345.    (5)  Read relevant mailing lists and USENET newsgroups to keep up to
  3346.         date with the latest information being shared by fellow
  3347.         administrators.
  3348.  
  3349.    (6)  Regularly check for compliance with policies and procedures.  This
  3350.         audit should be performed by someone other than the people who
  3351.         define or implement the policies and procedures.
  3352.  
  3353. 7.  Tools and Locations
  3354.  
  3355.    This chapter provides a brief list of publicly available security
  3356.    technology which can be downloaded from the Internet.  Many of the
  3357.    items described below will undoubtedly be surpassed or made obsolete
  3358.    before this document is published.
  3359.  
  3360.  
  3361.  
  3362. Fraser, Ed.                Informational                       [Page 60]
  3363.  
  3364. RFC 2196              Site Security Handbook              September 1997
  3365.  
  3366.  
  3367.    Some of the tools listed are applications such as end user programs
  3368.    (clients) and their supporting system infrastructure (servers).
  3369.    Others are tools that a general user will never see or need to use,
  3370.    but may be used by applications, or by administrators to troubleshoot
  3371.    security problems or to guard against intruders.
  3372.  
  3373.    A sad fact is that there are very few security conscious applications
  3374.    currently available. Primarily, this is caused by the need for a
  3375.    security infrastructure which must first be put into place for most
  3376.    applications to operate securely.  There is considerable effort
  3377.    currently taking place to build this infrastructure so that
  3378.    applications can take advantage of secure communications.
  3379.  
  3380.    Most of the tools and applications described below can be found in
  3381.    one of the following archive sites:
  3382.  
  3383.    (1)  CERT Coordination Center
  3384.         ftp://info.cert.org:/pub/tools
  3385.    (2)  DFN-CERT
  3386.         ftp://ftp.cert.dfn.de/pub/tools/
  3387.    (3)  Computer Operations, Audit, and Security Tools (COAST)
  3388.         coast.cs.purdue.edu:/pub/tools
  3389.  
  3390.    It is important to note that many sites, including CERT and COAST are
  3391.    mirrored throughout the Internet.  Be careful to use a "well known"
  3392.    mirror site to retrieve software, and to use verification tools (md5
  3393.    checksums, etc.) to validate that software.  A clever cracker might
  3394.    advertise security software that has intentionally been designed to
  3395.    provide access to data or systems.
  3396.  
  3397. Tools
  3398.  
  3399.    COPS
  3400.    DES
  3401.    Drawbridge
  3402.    identd (not really a security tool)
  3403.    ISS
  3404.    Kerberos
  3405.    logdaemon
  3406.    lsof
  3407.    MD5
  3408.    PEM
  3409.    PGP
  3410.    rpcbind/portmapper replacement
  3411.    SATAN
  3412.    sfingerd
  3413.    S/KEY
  3414.    smrsh
  3415.  
  3416.  
  3417.  
  3418. Fraser, Ed.                Informational                       [Page 61]
  3419.  
  3420. RFC 2196              Site Security Handbook              September 1997
  3421.  
  3422.  
  3423.    ssh
  3424.    swatch
  3425.    TCP-Wrapper
  3426.    tiger
  3427.    Tripwire*
  3428.    TROJAN.PL
  3429.  
  3430. 8.  Mailing Lists and Other Resources
  3431.  
  3432.    It would be impossible to list all of the mail-lists and other
  3433.    resources dealing with site security. However, these are some "jump-
  3434.    points"  from which the reader can begin. All of these references are
  3435.    for the "INTERNET" constituency. More specific (vendor and
  3436.    geographical) resources can be found through these references.
  3437.  
  3438.    Mailing Lists
  3439.  
  3440.    (1)  CERT(TM) Advisory
  3441.         Send mail to:  cert-advisory-request@cert.org
  3442.         Message Body:  subscribe cert <FIRST NAME> <LAST NAME>
  3443.  
  3444.         A CERT advisory provides information on how to obtain a patch or
  3445.         details of a workaround for a known computer security problem.
  3446.         The CERT Coordination Center works with vendors to produce a
  3447.         workaround or a patch for a problem, and does not publish
  3448.         vulnerability information until a workaround or a patch is
  3449.         available. A CERT advisory may also be a warning to our
  3450.         constituency about ongoing attacks (e.g.,
  3451.         "CA-91:18.Active.Internet.tftp.Attacks").
  3452.  
  3453.  
  3454.         CERT advisories are also published on the USENET newsgroup:
  3455.                      comp.security.announce
  3456.  
  3457.         CERT advisory archives are available via anonymous FTP from
  3458.         info.cert.org in the /pub/cert_advisories directory.
  3459.  
  3460.    (2)  VIRUS-L List
  3461.         Send mail to:  listserv%lehiibm1.bitnet@mitvma.mit.edu
  3462.         Message Body:  subscribe virus-L FIRSTNAME LASTNAME
  3463.  
  3464.         VIRUS-L is a moderated mailing list with a focus
  3465.         on computer virus issues.  For more information,
  3466.         including a copy of the posting guidelines, see
  3467.         the file "virus-l.README", available by anonymous
  3468.         FTP from cs.ucr.edu.
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474. Fraser, Ed.                Informational                       [Page 62]
  3475.  
  3476. RFC 2196              Site Security Handbook              September 1997
  3477.  
  3478.  
  3479.    (3)  Internet Firewalls
  3480.         Send mail to:  majordomo@greatcircle.com
  3481.         Message Body:  subscribe firewalls user@host
  3482.  
  3483.         The Firewalls mailing list is a discussion forum for
  3484.         firewall administrators and implementors.
  3485.  
  3486.    USENET newsgroups
  3487.  
  3488.    (1)  comp.security.announce
  3489.         The comp.security.announce newsgroup is moderated
  3490.         and is used solely for the distribution of CERT
  3491.         advisories.
  3492.  
  3493.    (2)  comp.security.misc
  3494.         The comp.security.misc is a forum for the
  3495.         discussion of computer security, especially as it
  3496.         relates to the UNIX(r) Operating System.
  3497.  
  3498.    (3)  alt.security
  3499.         The alt.security newsgroup is also a forum for the
  3500.         discussion of computer security, as well as other
  3501.         issues such as car locks and alarm systems.
  3502.  
  3503.    (4)  comp.virus
  3504.         The comp.virus newsgroup is a moderated newsgroup
  3505.         with a focus on computer virus issues.  For more
  3506.         information, including a copy of the posting
  3507.         guidelines, see the file "virus-l.README",
  3508.         available via anonymous FTP on info.cert.org
  3509.         in the /pub/virus-l directory.
  3510.  
  3511.    (5)  comp.risks
  3512.         The comp.risks newsgroup is a moderated forum on
  3513.         the risks to the public in computers and related
  3514.         systems.
  3515.  
  3516.    World-Wide Web Pages
  3517.  
  3518.    (1)  http://www.first.org/
  3519.  
  3520.         Computer Security Resource Clearinghouse. The main focus is on
  3521.         crisis response information; information on computer
  3522.         security-related threats, vulnerabilities, and solutions. At the
  3523.         same time, the Clearinghouse strives to be a general index to
  3524.         computer security information on a broad variety of subjects,
  3525.         including general risks, privacy, legal issues, viruses,
  3526.         assurance, policy, and training.
  3527.  
  3528.  
  3529.  
  3530. Fraser, Ed.                Informational                       [Page 63]
  3531.  
  3532. RFC 2196              Site Security Handbook              September 1997
  3533.  
  3534.  
  3535.    (2)  http://www.telstra.com.au/info/security.html
  3536.  
  3537.         This Reference Index contains a list of links to information
  3538.         sources on Network and Computer Security. There is no implied
  3539.         fitness to the Tools, Techniques and Documents contained within this
  3540.         archive. Many if not all of these items work well, but we do
  3541.         not guarantee that this will be so. This information is for the
  3542.         education and legitimate use of computer security techniques only.
  3543.  
  3544.    (3)  http://www.alw.nih.gov/Security/security.html
  3545.  
  3546.         This page features general information about computer security.
  3547.         Information is organized by source and each section is organized
  3548.         by topic. Recent modifications are noted in What's New page.
  3549.  
  3550.    (4)  http://csrc.ncsl.nist.gov
  3551.  
  3552.         This archive at the National Institute of Standards and Technology's
  3553.         Computer Security Resource Clearinghouse page contains a number of
  3554.         announcements, programs, and documents related to computer security.
  3555.  
  3556.    * CERT and Tripwire are registered in the U.S. Patent and Trademark Office
  3557.  
  3558. 9.  References
  3559.  
  3560.    The following references may not be available in all countries.
  3561.  
  3562.    [Appelman, et. al., 1995] Appelman, Heller, Ehrman, White, and
  3563.    McAuliffe, "The Law and The Internet", USENIX 1995 Technical
  3564.    Conference on UNIX and Advanced Computing, New Orleans, LA, January
  3565.    16-20, 1995.
  3566.  
  3567.    [ABA, 1989] American Bar Association, Section of Science and
  3568.    Technology, "Guide to the Prosecution of Telecommunication Fraud by
  3569.    the Use of Computer Crime Statutes", American Bar Association, 1989.
  3570.  
  3571.    [Aucoin, 1989] R. Aucoin, "Computer Viruses: Checklist for Recovery",
  3572.    Computers in  Libraries, Vol. 9, No. 2, Pg. 4, February 1989.
  3573.  
  3574.    [Barrett, 1996] D. Barrett, "Bandits on the Information
  3575.    Superhighway", O'Reilly & Associates, Sebastopol, CA, 1996.
  3576.  
  3577.    [Bates, 1992] R. Bates, "Disaster Recovery Planning: Networks,
  3578.    Telecommunications and Data Communications", McGraw-Hill, 1992.
  3579.  
  3580.    [Bellovin, 1989] S. Bellovin, "Security Problems in the TCP/IP
  3581.    Protocol Suite", Computer Communication Review, Vol 19, 2, pp. 32-48,
  3582.    April 1989.
  3583.  
  3584.  
  3585.  
  3586. Fraser, Ed.                Informational                       [Page 64]
  3587.  
  3588. RFC 2196              Site Security Handbook              September 1997
  3589.  
  3590.  
  3591.    [Bellovin, 1990] S. Bellovin, and M. Merritt, "Limitations of the
  3592.    Kerberos Authentication System", Computer Communications Review,
  3593.    October 1990.
  3594.  
  3595.    [Bellovin, 1992] S. Bellovin, "There Be Dragon", USENIX: Proceedings
  3596.    of the Third Usenix Security Symposium, Baltimore, MD. September,
  3597.    1992.
  3598.  
  3599.    [Bender, 1894] D. Bender, "Computer Law: Evidence and Procedure", M.
  3600.    Bender, New York, NY, 1978-present.
  3601.  
  3602.    [Bloombecker, 1990] B. Bloombecker, "Spectacular Computer Crimes",
  3603.    Dow Jones- Irwin, Homewood, IL. 1990.
  3604.  
  3605.    [Brand, 1990] R. Brand, "Coping with the Threat of Computer Security
  3606.    Incidents: A Primer from Prevention through Recovery", R. Brand, 8
  3607.    June 1990.
  3608.  
  3609.    [Brock, 1989] J. Brock, "November 1988 Internet Computer Virus and
  3610.    the Vulnerability of National Telecommunications Networks to Computer
  3611.    Viruses", GAO/T-IMTEC-89-10, Washington, DC, 20 July 1989.
  3612.  
  3613.    [BS 7799] British Standard, BS Tech Cttee BSFD/12, Info. Sec. Mgmt,
  3614.    "BS 7799 : 1995 Code of Practice for Information Security
  3615.    Management", British Standards Institution, London, 54, Effective 15
  3616.    February 1995.
  3617.  
  3618.    [Caelli, 1988] W. Caelli, Editor, "Computer Security in the Age of
  3619.    Information", Proceedings of the Fifth IFIP International Conference
  3620.    on Computer Security, IFIP/Sec '88.
  3621.  
  3622.    [Carroll, 1987] J. Carroll, "Computer Security", 2nd Edition,
  3623.    Butterworth Publishers, Stoneham, MA, 1987.
  3624.  
  3625.    [Cavazos and Morin, 1995] E. Cavazos and G. Morin, "Cyber-Space and
  3626.    The Law", MIT Press, Cambridge, MA, 1995.
  3627.  
  3628.    [CCH, 1989] Commerce Clearing House, "Guide to Computer Law",
  3629.    (Topical Law Reports), Chicago, IL., 1989.
  3630.  
  3631.    [Chapman, 1992] B. Chapman, "Network(In) Security Through IP Packet
  3632.    Filtering", USENIX: Proceedings of the Third UNIX Security Symposium,
  3633.    Baltimore, MD, September 1992.
  3634.  
  3635.    [Chapman and Zwicky, 1995] B. Chapman and E. Zwicky, "Building
  3636.    Internet Firewalls", O'Reilly and Associates, Sebastopol, CA, 1995.
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642. Fraser, Ed.                Informational                       [Page 65]
  3643.  
  3644. RFC 2196              Site Security Handbook              September 1997
  3645.  
  3646.  
  3647.    [Cheswick, 1990] B. Cheswick, "The Design of a Secure Internet
  3648.    Gateway", Proceedings of the Summer Usenix Conference, Anaheim, CA,
  3649.    June 1990.
  3650.  
  3651.    [Cheswick1] W. Cheswick, "An Evening with Berferd In Which a Cracker
  3652.    is Lured, Endured, and Studied", AT&T Bell Laboratories.
  3653.  
  3654.    [Cheswick and Bellovin, 1994] W. Cheswick and S. Bellovin, "Firewalls
  3655.    and Internet Security: Repelling the Wily Hacker", Addison-Wesley,
  3656.    Reading, MA, 1994.
  3657.  
  3658.    [Conly, 1989] C. Conly, "Organizing for Computer Crime Investigation
  3659.    and Prosecution", U.S. Dept. of Justice, Office of Justice Programs,
  3660.    Under Contract  Number OJP-86-C-002, National Institute of Justice,
  3661.    Washington, DC, July 1989.
  3662.  
  3663.    [Cooper, 1989] J. Cooper, "Computer and Communications Security:
  3664.    Strategies for the 1990s", McGraw-Hill, 1989.
  3665.  
  3666.    [CPSR, 1989] Computer Professionals for Social Responsibility, "CPSR
  3667.    Statement on the Computer Virus", CPSR, Communications of the ACM,
  3668.    Vol. 32, No. 6, Pg. 699, June 1989.
  3669.  
  3670.    [CSC-STD-002-85, 1985] Department of Defense, "Password Management
  3671.    Guideline", CSC-STD-002-85, 12 April 1985, 31 pages.
  3672.  
  3673.    [Curry, 1990] D. Curry, "Improving the Security of Your UNIX System",
  3674.    SRI International Report ITSTD-721-FR-90-21, April 1990.
  3675.  
  3676.    [Curry, 1992] D. Curry, "UNIX System Security: A Guide for Users and
  3677.    Systems Administrators", Addision-Wesley, Reading, MA, 1992.
  3678.  
  3679.    [DDN88] Defense Data Network, "BSD 4.2 and 4.3 Software Problem
  3680.    Resolution", DDN MGT Bulletin #43, DDN Network Information Center, 3
  3681.    November 1988.
  3682.  
  3683.    [DDN89] DCA DDN Defense Communications System, "DDN Security Bulletin
  3684.    03", DDN Security Coordination Center, 17 October 1989.
  3685.  
  3686.    [Denning, 1990] P. Denning, Editor, "Computers Under Attack:
  3687.    Intruders, Worms, and Viruses", ACM Press, 1990.
  3688.  
  3689.    [Eichin and Rochlis, 1989] M. Eichin, and J. Rochlis, "With
  3690.    Microscope and Tweezers: An Analysis of the Internet Virus of
  3691.    November 1988", Massachusetts Institute of Technology, February 1989.
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698. Fraser, Ed.                Informational                       [Page 66]
  3699.  
  3700. RFC 2196              Site Security Handbook              September 1997
  3701.  
  3702.  
  3703.    [Eisenberg, et. al., 89] T. Eisenberg, D. Gries, J. Hartmanis, D.
  3704.    Holcomb, M. Lynn, and T. Santoro, "The Computer Worm", Cornell
  3705.    University, 6 February 1989.
  3706.  
  3707.    [Ermann, Willians, and Gutierrez, 1990] D. Ermann, M. Williams, and
  3708.    C. Gutierrez, Editors, "Computers, Ethics, and Society", Oxford
  3709.    University Press, NY, 1990.  (376 pages, includes bibliographical
  3710.    references).
  3711.  
  3712.    [Farmer and Spafford, 1990] D. Farmer and E. Spafford, "The COPS
  3713.    Security Checker System", Proceedings of the Summer 1990 USENIX
  3714.    Conference, Anaheim, CA, Pgs. 165-170, June 1990.
  3715.  
  3716.    [Farrow, 1991] Rik Farrow, "UNIX Systems Security", Addison-Wesley,
  3717.    Reading, MA, 1991.
  3718.  
  3719.    [Fenwick, 1985] W. Fenwick, Chair, "Computer Litigation, 1985: Trial
  3720.    Tactics and Techniques", Litigation Course Handbook Series No. 280,
  3721.    Prepared for distribution at the Computer Litigation, 1985: Trial
  3722.    Tactics and Techniques Program, February-March 1985.
  3723.  
  3724.    [Fites 1989] M. Fites, P. Kratz, and A. Brebner, "Control and
  3725.    Security of Computer Information Systems", Computer Science Press,
  3726.    1989.
  3727.  
  3728.    [Fites, Johnson, and Kratz, 1992] Fites, Johnson, and Kratz, "The
  3729.    Computer Virus Crisis", Van Hostrand Reinhold, 2nd edition, 1992.
  3730.  
  3731.    [Forester and Morrison, 1990] T. Forester, and P. Morrison, "Computer
  3732.    Ethics: Tales and Ethical Dilemmas in Computing", MIT Press,
  3733.    Cambridge, MA, 1990.
  3734.  
  3735.    [Foster and Morrision, 1990] T. Forester, and P. Morrison, "Computer
  3736.    Ethics: Tales and Ethical Dilemmas in Computing", MIT Press,
  3737.    Cambridge, MA, 1990.  (192 pages including index.)
  3738.  
  3739.    [GAO/IMTEX-89-57, 1989] U.S. General Accounting Office, "Computer
  3740.    Security - Virus Highlights Need for Improved Internet Management",
  3741.    United States General Accounting Office, Washington, DC, 1989.
  3742.  
  3743.    [Garfinkel and Spafford, 1991] S. Garfinkel, and E. Spafford,
  3744.    "Practical Unix Security", O'Reilly & Associates, ISBN 0-937175-72-2,
  3745.    May 1991.
  3746.  
  3747.    [Garfinkel, 1995] S. Garfinkel, "PGP:Pretty Good Privacy", O'Reilly &
  3748.    Associates, Sebastopol, CA, 1996.
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754. Fraser, Ed.                Informational                       [Page 67]
  3755.  
  3756. RFC 2196              Site Security Handbook              September 1997
  3757.  
  3758.  
  3759.    [Garfinkel and Spafford, 1996] S. Garfinkel and E. Spafford,
  3760.    "Practical UNIX and Internet Security", O'Reilly & Associates,
  3761.    Sebastopol, CA, 1996.
  3762.  
  3763.    [Gemignani, 1989] M. Gemignani, "Viruses and Criminal Law",
  3764.    Communications of the ACM, Vol. 32, No. 6, Pgs. 669-671, June 1989.
  3765.  
  3766.    [Goodell, 1996] J. Goodell, "The Cyberthief and the Samurai: The True
  3767.    Story of Kevin Mitnick-And The Man Who Hunted Him Down", Dell
  3768.    Publishing, 1996.
  3769.  
  3770.    [Gould, 1989] C. Gould, Editor, "The Information Web: Ethical and
  3771.    Social Implications of Computer Networking", Westview Press, Boulder,
  3772.    CO, 1989.
  3773.  
  3774.    [Greenia, 1989] M. Greenia, "Computer Security Information
  3775.    Sourcebook", Lexikon Services, Sacramento, CA, 1989.
  3776.  
  3777.    [Hafner and Markoff, 1991] K. Hafner and J. Markoff, "Cyberpunk:
  3778.    Outlaws and Hackers on the Computer Frontier", Touchstone, Simon &
  3779.    Schuster, 1991.
  3780.  
  3781.    [Hess, Safford, and Pooch] D. Hess, D. Safford, and U. Pooch, "A Unix
  3782.    Network Protocol Security Study: Network Information Service", Texas
  3783.    A&M University.
  3784.  
  3785.    [Hoffman, 1990] L. Hoffman, "Rogue Programs: Viruses, Worms, and
  3786.    Trojan Horses", Van Nostrand Reinhold, NY, 1990.  (384 pages,
  3787.    includes bibliographical references and index.)
  3788.  
  3789.    [Howard, 1995] G. Howard, "Introduction to Internet Security: From
  3790.    Basics to Beyond", Prima Publishing, Rocklin, CA, 1995.
  3791.  
  3792.    [Huband and Shelton, 1986] F. Huband, and R. Shelton, Editors,
  3793.    "Protection of Computer Systems and Software: New Approaches for
  3794.    Combating Theft of Software and Unauthorized Intrusion", Papers
  3795.    presented at a workshop sponsored by the National Science Foundation,
  3796.    1986.
  3797.  
  3798.    [Hughes, 1995] L. Hughes Jr., "Actually Useful Internet Security
  3799.    Techniques", New Riders Publishing, Indianapolis, IN, 1995.
  3800.  
  3801.    [IAB-RFC1087, 1989] Internet Activities Board, "Ethics and the
  3802.    Internet", RFC 1087, IAB, January 1989.  Also appears in the
  3803.    Communications of the ACM, Vol. 32, No. 6, Pg. 710, June 1989.
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809.  
  3810. Fraser, Ed.                Informational                       [Page 68]
  3811.  
  3812. RFC 2196              Site Security Handbook              September 1997
  3813.  
  3814.  
  3815.    [Icove, Seger, and VonStorch, 1995] D. Icove, K. Seger, and W.
  3816.    VonStorch, "Computer Crime: A Crimefighter's Handbook", O'Reilly &
  3817.    Associates, Sebastopol, CA, 1995.
  3818.  
  3819.    [IVPC, 1996] IVPC, "International Virus Prevention Conference '96
  3820.    Proceedings", NCSA, 1996.
  3821.  
  3822.    [Johnson and Podesta] D. Johnson, and J. Podesta, "Formulating A
  3823.    Company Policy on Access to and Use and Disclosure of Electronic Mail
  3824.    on Company Computer Systems".
  3825.  
  3826.    [Kane, 1994] P. Kane, "PC Security and Virus Protection Handbook: The
  3827.    Ongoing War Against Information Sabotage", M&T Books, 1994.
  3828.  
  3829.    [Kaufman, Perlman, and Speciner, 1995] C. Kaufman, R. Perlman, and M.
  3830.    Speciner, "Network Security: PRIVATE Communication in a PUBLIC
  3831.    World", Prentice Hall, Englewood Cliffs, NJ, 1995.
  3832.  
  3833.    [Kent, 1990] S. Kent, "E-Mail Privacy for the Internet: New Software
  3834.    and Strict Registration Procedures will be Implemented this Year",
  3835.    Business Communications Review, Vol. 20, No. 1, Pg. 55, 1 January
  3836.    1990.
  3837.  
  3838.    [Levy, 1984] S. Levy, "Hacker: Heroes of the Computer Revolution",
  3839.    Delta, 1984.
  3840.  
  3841.    [Lewis, 1996] S. Lewis, "Disaster Recovery Yellow Pages", The Systems
  3842.    Audit Group, 1996.
  3843.  
  3844.    [Littleman, 1996] J. Littleman, "The Fugitive Game: Online with Kevin
  3845.    Mitnick", Little, Brown, Boston, MA., 1996.
  3846.  
  3847.    [Lu and Sundareshan, 1989] W. Lu and M. Sundareshan, "Secure
  3848.    Communication in Internet Environments: A Hierarchical Key Management
  3849.    Scheme for End-to-End Encryption", IEEE Transactions on
  3850.    Communications, Vol. 37, No. 10, Pg. 1014, 1 October 1989.
  3851.  
  3852.    [Lu and Sundareshan, 1990] W. Lu and M. Sundareshan, "A Model for
  3853.    Multilevel Security in Computer Networks", IEEE Transactions on
  3854.    Software Engineering, Vol. 16, No. 6, Page 647, 1 June 1990.
  3855.  
  3856.    [Martin and Schinzinger, 1989] M. Martin, and R. Schinzinger, "Ethics
  3857.    in Engineering", McGraw Hill, 2nd Edition, 1989.
  3858.  
  3859.    [Merkle] R. Merkle, "A Fast Software One Way Hash Function", Journal
  3860.    of Cryptology, Vol. 3, No. 1.
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866. Fraser, Ed.                Informational                       [Page 69]
  3867.  
  3868. RFC 2196              Site Security Handbook              September 1997
  3869.  
  3870.  
  3871.    [McEwen, 1989] J. McEwen, "Dedicated Computer Crime Units", Report
  3872.    Contributors: D. Fester and H. Nugent, Prepared for the National
  3873.    Institute of Justice, U.S. Department of Justice, by Institute for
  3874.    Law and Justice, Inc., under contract number OJP-85-C-006,
  3875.    Washington, DC, 1989.
  3876.  
  3877.    [MIT, 1989] Massachusetts Institute of Technology, "Teaching Students
  3878.    About Responsible Use of Computers", MIT, 1985-1986.  Also reprinted
  3879.    in the Communications of the ACM, Vol. 32, No. 6, Pg. 704, Athena
  3880.    Project, MIT, June 1989.
  3881.  
  3882.    [Mogel, 1989] Mogul, J., "Simple and Flexible Datagram Access
  3883.    Controls for UNIX-based Gateways", Digital Western Research
  3884.    Laboratory Research Report 89/4, March 1989.
  3885.  
  3886.    [Muffett, 1992] A. Muffett, "Crack Version 4.1: A Sensible Password
  3887.    Checker for Unix"
  3888.  
  3889.    [NCSA1, 1995] NCSA, "NCSA Firewall Policy Guide", 1995.
  3890.  
  3891.    [NCSA2, 1995] NCSA, "NCSA's Corporate Computer Virus Prevention
  3892.    Policy Model", NCSA, 1995.
  3893.  
  3894.    [NCSA, 1996] NCSA, "Firewalls & Internet Security Conference '96
  3895.    Proceedings", 1996.
  3896.  
  3897.    [NCSC-89-660-P, 1990] National Computer Security Center, "Guidelines
  3898.    for Formal Verification Systems", Shipping list no.: 89-660-P, The
  3899.    Center, Fort George G. Meade, MD, 1 April 1990.
  3900.  
  3901.    [NCSC-89-254-P, 1988] National Computer Security Center, "Glossary of
  3902.    Computer Security Terms", Shipping list no.: 89-254-P, The Center,
  3903.    Fort George G. Meade, MD, 21 October 1988.
  3904.  
  3905.    [NCSC-C1-001-89, 1989] Tinto, M., "Computer Viruses: Prevention,
  3906.    Detection, and Treatment", National Computer Security Center C1
  3907.    Technical Report C1-001-89, June 1989.
  3908.  
  3909.    [NCSC Conference, 1989] National Computer Security Conference, "12th
  3910.    National Computer Security Conference: Baltimore Convention Center,
  3911.    Baltimore, MD, 10-13 October, 1989: Information Systems Security,
  3912.    Solutions for Today - Concepts for Tomorrow", National Institute of
  3913.    Standards and National Computer Security Center, 1989.
  3914.  
  3915.    [NCSC-CSC-STD-003-85, 1985] National Computer Security Center,
  3916.    "Guidance for Applying the Department of Defense Trusted Computer
  3917.    System Evaluation Criteria in Specific Environments", CSC-STD-003-85,
  3918.    NCSC, 25 June 1985.
  3919.  
  3920.  
  3921.  
  3922. Fraser, Ed.                Informational                       [Page 70]
  3923.  
  3924. RFC 2196              Site Security Handbook              September 1997
  3925.  
  3926.  
  3927.    [NCSC-STD-004-85, 1985] National Computer Security Center, "Technical
  3928.    Rationale Behind CSC-STD-003-85: Computer Security Requirements",
  3929.    CSC-STD-004-85, NCSC, 25 June 1985.
  3930.  
  3931.    [NCSC-STD-005-85, 1985] National Computer Security Center, "Magnetic
  3932.    Remanence Security Guideline", CSC-STD-005-85, NCSC, 15 November
  3933.    1985.
  3934.  
  3935.    [NCSC-TCSEC, 1985] National Computer Security Center, "Trusted
  3936.    Computer System Evaluation Criteria", DoD 5200.28-STD, CSC-STD-001-
  3937.    83, NCSC, December 1985.
  3938.  
  3939.    [NCSC-TG-003, 1987] NCSC, "A Guide to Understanding DISCRETIONARY
  3940.    ACCESS CONTROL in Trusted Systems", NCSC-TG-003, Version-1, 30
  3941.    September 1987, 29 pages.
  3942.  
  3943.    [NCSC-TG-001, 1988] NCSC, "A Guide to Understanding AUDIT in Trusted
  3944.    Systems", NCSC-TG-001, Version-2, 1 June 1988, 25 pages.
  3945.  
  3946.    [NCSC-TG-004, 1988] National Computer Security Center, "Glossary of
  3947.    Computer Security Terms", NCSC-TG-004, NCSC, 21 October 1988.
  3948.  
  3949.    [NCSC-TG-005, 1987] National Computer Security Center, "Trusted
  3950.    Network Interpretation", NCSC-TG-005, NCSC, 31 July 1987.
  3951.  
  3952.    [NCSC-TG-006, 1988] NCSC, "A Guide to Understanding CONFIGURATION
  3953.    MANAGEMENT in Trusted Systems", NCSC-TG-006, Version-1, 28 March
  3954.    1988, 31 pages.
  3955.  
  3956.    [NCSC-TRUSIX, 1990] National Computer Security Center, "Trusted UNIX
  3957.    Working Group (TRUSIX) rationale for selecting access control list
  3958.    features for the UNIX system", Shipping list no.: 90-076-P, The
  3959.    Center, Fort George G. Meade, MD, 1990.
  3960.  
  3961.    [NRC, 1991] National Research Council, "Computers at Risk: Safe
  3962.    Computing in the Information Age", National Academy Press, 1991.
  3963.  
  3964.    [Nemeth, et. al, 1995] E. Nemeth, G. Snyder, S. Seebass, and T. Hein,
  3965.    "UNIX Systems Administration Handbook", Prentice Hall PTR, Englewood
  3966.    Cliffs, NJ, 2nd ed. 1995.
  3967.  
  3968.    [NIST, 1989] National Institute of Standards and Technology,
  3969.    "Computer Viruses and Related Threats: A Management Guide", NIST
  3970.    Special Publication 500-166, August 1989.
  3971.  
  3972.    [NSA] National Security Agency, "Information Systems Security
  3973.    Products and Services Catalog", NSA, Quarterly Publication.
  3974.  
  3975.  
  3976.  
  3977.  
  3978. Fraser, Ed.                Informational                       [Page 71]
  3979.  
  3980. RFC 2196              Site Security Handbook              September 1997
  3981.  
  3982.  
  3983.    [NSF, 1988] National Science Foundation, "NSF Poses Code of
  3984.    Networking Ethics", Communications of the ACM, Vol. 32, No. 6, Pg.
  3985.    688, June 1989.  Also appears in the minutes of the regular meeting
  3986.    of the Division Advisory Panel for Networking and Communications
  3987.    Research and Infrastructure, Dave Farber, Chair, November 29-30,
  3988.    1988.
  3989.  
  3990.    [NTISSAM, 1987] NTISS, "Advisory Memorandum on Office Automation
  3991.    Security Guideline", NTISSAM COMPUSEC/1-87, 16 January 1987, 58
  3992.    pages.
  3993.  
  3994.    [OTA-CIT-310, 1987] United States Congress, Office of Technology
  3995.    Assessment, "Defending Secrets, Sharing Data: New Locks and Keys for
  3996.    Electronic Information", OTA-CIT-310, October 1987.
  3997.  
  3998.    [OTA-TCT-606] Congress of the United States, Office of Technology
  3999.    Assessment, "Information Security and Privacy in Network
  4000.    Environments", OTA-TCT-606, September 1994.
  4001.  
  4002.    [Palmer and Potter, 1989] I. Palmer, and G. Potter, "Computer
  4003.    Security Risk Management", Van Nostrand Reinhold, NY, 1989.
  4004.  
  4005.    [Parker, 1989] D. Parker, "Computer Crime: Criminal Justice Resource
  4006.    Manual", U.S. Dept. of Justice, National Institute of Justice, Office
  4007.    of Justice Programs, Under Contract Number OJP-86-C-002, Washington,
  4008.    D.C., August 1989.
  4009.  
  4010.    [Parker, Swope, and Baker, 1990] D. Parker, S. Swope, and B. Baker,
  4011.    "Ethical Conflicts: Information and Computer Science, Technology and
  4012.    Business", QED Information Sciences, Inc., Wellesley, MA. (245
  4013.    pages).
  4014.  
  4015.    [Pfleeger, 1989] C. Pfleeger, "Security in Computing", Prentice-Hall,
  4016.    Englewood Cliffs, NJ, 1989.
  4017.  
  4018.    [Quarterman, 1990] J. Quarterman, J., "The Matrix: Computer Networks
  4019.    and Conferencing Systems Worldwide", Digital Press, Bedford, MA,
  4020.    1990.
  4021.  
  4022.    [Ranum1, 1992] M. Ranum, "An Internet Firewall", Proceedings of World
  4023.    Conference on Systems Management and Security, 1992.
  4024.  
  4025.    [Ranum2, 1992] M. Ranum, "A Network Firewall", Digital Equipment
  4026.    Corporation Washington Open Systems Resource Center, June 12, 1992.
  4027.  
  4028.    [Ranum, 1993] M. Ranum, "Thinking About Firewalls", 1993.
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034. Fraser, Ed.                Informational                       [Page 72]
  4035.  
  4036. RFC 2196              Site Security Handbook              September 1997
  4037.  
  4038.  
  4039.    [Ranum and Avolio, 1994] M. Ranum and F. Avolio, "A Toolkit and
  4040.    Methods for Internet Firewalls", Trustest Information Systems, 1994.
  4041.  
  4042.    [Reinhardt, 1992] R. Reinhardt, "An Architectural Overview of UNIX
  4043.    Network Security"
  4044.  
  4045.    [Reinhardt, 1993] R. Reinhardt, "An Architectural Overview of UNIX
  4046.    Network Security", ARINC Research Corporation, February 18, 1993.
  4047.  
  4048.    [Reynolds-RFC1135, 1989] The Helminthiasis of the Internet, RFC 1135,
  4049.    USC/Information Sciences Institute, Marina del Rey, CA, December
  4050.    1989.
  4051.  
  4052.    [Russell and Gangemi, 1991] D. Russell and G. Gangemi, "Computer
  4053.    Security Basics" O'Reilly & Associates, Sebastopol, CA, 1991.
  4054.  
  4055.    [Schneier 1996] B. Schneier, "Applied Cryptography: Protocols,
  4056.    Algorithms, and Source Code in C", John Wiley & Sons, New York,
  4057.    second edition, 1996.
  4058.  
  4059.    [Seeley, 1989] D. Seeley, "A Tour of the Worm", Proceedings of 1989
  4060.    Winter USENIX Conference, Usenix Association, San Diego, CA, February
  4061.    1989.
  4062.  
  4063.    [Shaw, 1986] E. Shaw Jr., "Computer Fraud and Abuse Act of 1986",
  4064.    Congressional Record (3 June 1986), Washington, D.C., 3 June 1986.
  4065.  
  4066.    [Shimomura, 1996] T. Shimomura with J. Markoff, "Takedown:The Pursuit
  4067.    and Capture of Kevin Mitnick, America's Most Wanted Computer Outlaw-
  4068.    by the Man Who Did It", Hyperion, 1996.
  4069.  
  4070.    [Shirey, 1990] R. Shirey, "Defense Data Network Security
  4071.    Architecture", Computer Communication Review, Vol. 20, No. 2, Page
  4072.    66, 1 April 1990.
  4073.  
  4074.    [Slatalla and Quittner, 1995] M. Slatalla and J. Quittner, "Masters
  4075.    of Deception: The Gang that Ruled Cyberspace", Harper Collins
  4076.    Publishers, 1995.
  4077.  
  4078.    [Smith, 1989] M. Smith, "Commonsense Computer Security: Your
  4079.    Practical Guide to Preventing Accidental and Deliberate Electronic
  4080.    Data Loss", McGraw-Hill, New York, NY, 1989.
  4081.  
  4082.    [Smith, 1995] D. Smith, "Forming an Incident Response Team", Sixth
  4083.    Annual Computer Security Incident Handling Workshop, Boston, MA, July
  4084.    25-29, 1995.
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090. Fraser, Ed.                Informational                       [Page 73]
  4091.  
  4092. RFC 2196              Site Security Handbook              September 1997
  4093.  
  4094.  
  4095.    [Spafford, 1988] E. Spafford, "The Internet Worm Program: An
  4096.    Analysis", Computer Communication Review, Vol. 19, No. 1, ACM SIGCOM,
  4097.    January 1989.  Also issued as Purdue CS Technical Report CSD-TR-823,
  4098.    28 November 1988.
  4099.  
  4100.    [Spafford, 1989] G. Spafford, "An Analysis of the Internet Worm",
  4101.    Proceedings of the European Software Engineering Conference 1989,
  4102.    Warwick England, September 1989.  Proceedings published by Springer-
  4103.    Verlag as: Lecture Notes in Computer Science #387.  Also issued as
  4104.    Purdue Technical Report #CSD-TR-933.
  4105.  
  4106.    [Spafford, Keaphy, and Ferbrache, 1989] E. Spafford, K. Heaphy, and
  4107.    D. Ferbrache, "Computer Viruses: Dealing with Electronic Vandalism
  4108.    and Programmed Threats", ADAPSO, 1989. (109 pages.)
  4109.  
  4110.    [Stallings1, 1995] W. Stallings, "Internet Security Handbook", IDG
  4111.    Books, Foster City CA, 1995.
  4112.  
  4113.    [Stallings2, 1995] W. Stallings, "Network and InterNetwork Security",
  4114.    Prentice Hall, , 1995.
  4115.  
  4116.    [Stallings3, 1995] W. Stallings, "Protect Your Privacy: A Guide for
  4117.    PGP Users"  PTR Prentice Hall, 1995.
  4118.  
  4119.    [Stoll, 1988] C. Stoll, "Stalking the Wily Hacker", Communications of
  4120.    the ACM, Vol. 31, No. 5, Pgs. 484-497, ACM, New York, NY, May 1988.
  4121.  
  4122.    [Stoll, 1989] C. Stoll, "The Cuckoo's Egg", ISBN 00385-24946-2,
  4123.    Doubleday, 1989.
  4124.  
  4125.    [Treese and Wolman, 1993] G. Treese and A. Wolman, "X Through the
  4126.    Firewall, and Other Applications Relays", Digital Equipment
  4127.    Corporation, Cambridge Research Laboratory, CRL 93/10, May 3, 1993.
  4128.  
  4129.    [Trible, 1986] P. Trible, "The Computer Fraud and Abuse Act of 1986",
  4130.    U.S. Senate Committee on the Judiciary, 1986.
  4131.  
  4132.    [Venema] W. Venema, "TCP WRAPPER: Network monitoring, access control,
  4133.    and booby traps", Mathematics and Computing Science, Eindhoven
  4134.    University of Technology, The Netherlands.
  4135.  
  4136.    [USENIX, 1988] USENIX, "USENIX Proceedings: UNIX Security Workshop",
  4137.    Portland, OR, August 29-30, 1988.
  4138.  
  4139.    [USENIX, 1990] USENIX, "USENIX Proceedings: UNIX Security II
  4140.    Workshop", Portland, OR, August 27-28, 1990.
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146. Fraser, Ed.                Informational                       [Page 74]
  4147.  
  4148. RFC 2196              Site Security Handbook              September 1997
  4149.  
  4150.  
  4151.    [USENIX, 1992] USENIX, "USENIX Symposium Proceedings: UNIX Security
  4152.    III", Baltimore, MD, September 14-16, 1992.
  4153.  
  4154.    [USENIX, 1993] USENIX, "USENIX Symposium Proceedings: UNIX Security
  4155.    IV", Santa Clara, CA, October 4-6, 1993.
  4156.  
  4157.    [USENIX, 1995] USENIX, "The Fifth USENIX UNIX Security Symposium",
  4158.    Salt Lake City, UT, June 5-7, 1995.
  4159.  
  4160.    [Wood, et.al., 1987] C. Wood, W. Banks, S. Guarro, A. Garcia, V.
  4161.    Hampel, and H. Sartorio, "Computer Security:  A Comprehensive
  4162.    Controls Checklist", John Wiley and Sons, Interscience Publication,
  4163.    1987.
  4164.  
  4165.    [Wrobel, 1993] L. Wrobel, "Writing Disaster Recovery Plans for
  4166.    Telecommunications Networks and LANS", Artech House, 1993.
  4167.  
  4168.    [Vallabhaneni, 1989] S. Vallabhaneni, "Auditing Computer Security: A
  4169.    Manual with Case Studies", Wiley, New York, NY, 1989.
  4170.  
  4171. Security Considerations
  4172.  
  4173.    This entire document discusses security issues.
  4174.  
  4175. Editor Information
  4176.  
  4177.    Barbara Y. Fraser
  4178.    Software Engineering Institute
  4179.    Carnegie Mellon University
  4180.    5000 Forbes Avenue
  4181.    Pittsburgh, PA 15213
  4182.  
  4183.    Phone: (412) 268-5010
  4184.    Fax:   (412) 268-6989
  4185.    EMail: byf@cert.org
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202. Fraser, Ed.                Informational                       [Page 75]
  4203.  
  4204.