Abstract:
Described is a technology for managing network security by having network clients that are capable of self-assessment assess themselves for security risks and/or security vulnerabilities. Other clients may be remotely assessed for security risks and/or security vulnerabilities. Assessments may include antimalware scans, vulnerability assessment, and/or port scans. The results of the self-assessments and remote assessments are combined into a data set (e.g., a view) indicative of the network security state. In this manner, for example, significant network resources are conserved by allowing those clients capable of self-assessment to assess themselves and thereafter only provide their self-assessment results. Clients capable of self-assessment may also be remotely assessed, to determine whether any discrepancies exist between their remote assessments and self-assessments. Clients may be discovered, along with their self-assessment capabilities, by network communication.

Description:
BACKGROUND 
       [0001]    To identify security risks in an enterprise network environment, e.g., a corporate network, various vulnerability assessment techniques may be employed. However, only one targeting and assessment mechanism is typically utilized, such as periodically assessing a client computer&#39;s security mechanisms (e.g., antivirus software) and security patches when that client computer is connected to the corporate network. This allows for “risk assessment” savvy malware to possibly avoid detection by responding in a pre-described way to the assessment challenges. 
         [0002]    Moreover, some machines are not always connected, whereby externally-initiated assessments are not feasible when machines are disconnected. While a client computer&#39;s security mechanisms and security patches can be assessed before the client computer is allowed to log onto the corporate network, the transient nature of connections for remote and mobile computers makes external assessment less than reliable. 
       SUMMARY 
       [0003]    This Summary is provided to introduce a selection of representative concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used in any way that would limit the scope of the claimed subject matter. 
         [0004]    Briefly, various aspects of the subject matter described herein are directed towards a technology by which a first set of clients of a network that are capable of self-assessment to each self-assess for security risks and/or security vulnerabilities are directed to perform a self-assessment. A second set of clients of the network are remotely assessed for security risks and/or security vulnerabilities. The results of the self-assessments and remote assessments are combined into a data set indicative of security risks and/or security vulnerabilities of the clients of the network; the data set may be analyzed and/or stored in a database. In this manner, for example, significant network resources are conserved by allowing those clients capable of self-assessment to assess themselves and thereafter only provide their self-assessment results. Note that the first and second sets of clients are not necessarily mutually exclusive. Indeed, in one example implementation, a client capable of self assessment may also be remote assessed, with the results of both assessments compared in some way for further analysis, as described herein. 
         [0005]    Assessments may include, for example, antimalware scans such as antivirus scan and/or an antispyware scan, as well as vulnerability assessment scans. Additional types of assessments may be performed, such as a port scan assessments; results of the port scan assessments may be combined with the self-assessment results and the other remote assessment results. A client that is capable of self-assessment may also be remotely assessed, with results of the remote assessment compared with the results of the self-assessment for that client to determine whether any discrepancy exists. 
         [0006]    In one example implementation, a security server is associated with a server agent that communicates with clients configured with an agent for self-assessment to direct those clients to each perform a self-assessment. The security server is also associated with a remote assessment component to perform remote assessments on other clients. A network scanning engine associated with the security server may further perform unauthenticated inspections of client ports, which may be included in the combined data set. A reporting mechanism associated with the security server combines results of the self-assessments with the results of the remote assessments (and if desired, any port scan results) to provide a combined data set indicative of the network&#39;s security risks and/or security vulnerabilities. A server program such as a console may then provide a combined view of the combined data set. 
         [0007]    In one example aspect, the security server communicates with clients to determine which clients are capable of self-assessment and which clients are not capable of self-assessment. Further, the security server may discover (harvest) the clients to be evaluated for any security risks and vulnerabilities, such as clients identified in a target set, including by name and/or IP address discovery. 
         [0008]    Other advantages may become apparent from the following detailed description when taken in conjunction with the drawings. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0009]    The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which: 
           [0010]      FIG. 1  shows an illustrative example block diagram of network and client components in which the client components are managed to perform a self-assessment of security risks and/or security vulnerabilities. 
           [0011]      FIG. 2  shows an example implementation block diagram of network and client components in which the client components are managed to perform a self-assessment of security risks and/or security vulnerabilities. 
           [0012]      FIG. 3  shows an example implementation in which network components include remote security assessment mechanisms for combining with self-assessment results of clients to provide a combined data set indicative of security risks and/or security vulnerabilities. 
           [0013]      FIG. 4  a flow diagram representing example steps to perform combined self-assessments and remote assessments into a combined data set indicative of security risks and/or security vulnerabilities. 
           [0014]      FIG. 5  is a flow diagram representing example steps taken to locate targets for self-assessments and remote assessments of security risks and/or security vulnerabilities. 
           [0015]      FIG. 6  is a representation of discovering client targets for assessment of security risks and/or security vulnerabilities. 
       
    
    
     DETAILED DESCRIPTION 
       [0016]    Various aspects of the technology described herein are generally directed towards enterprise network security that in general operates by blending externally-initiated (remote) security assessment and local security assessment, such as on a scheduled basis. In this manner, computers on an enterprise network can be reliably targeted for risk and vulnerability detection, that is, assessed and made responsive to security challenges. 
         [0017]    For example, a corporate employee&#39;s laptop computer can perform self-assessment for vulnerabilities on a regular schedule, with the resultant state reported on the next connection to the corporate network. While the laptop is connected, external assessments can also target the laptop for immediate reporting. A hybrid model that uses some of the local assessment results and some of the remote assessment results may also be implemented. A subsequent agent may take the results of the local and remote assessment and cross-check the results for better consistency and to detect malware that attempts to conceal its presence to the local or remote assessment. 
         [0018]    As one advantage, intelligent application of the targeting of hosts for assessment reduces the amount of network traffic and resource utilization of the corporate assessment infrastructure. For example, if half of the hosts connected to the network are capable of self-assessment, then the shared corporate resources required for remote assessment are reduced by roughly half. Such resources and bandwidth are costly in the corporate environment and better utilization is thus beneficial. 
         [0019]    While the present invention is described with various examples, such as in a corporate network environment in which various servers perform various roles with respect to client management and security assessment, it is understood that this is only one example environment. For example, in one implementation the client computer is part of a domain when connected, however the blended model described herein may be used in other types of networks. Further, some or all of the services provided by the various servers may be combined into a lesser number of servers, or may be further separated into additional servers. 
         [0020]    As such, the present invention is not limited to any particular embodiments, aspects, concepts, structures, protocols, functionalities or examples described herein. Rather, any of the embodiments, aspects, concepts, protocols, structures, functionalities or examples described herein are non-limiting, and the present invention may be used various ways that provide benefits and advantages in computer and/or network security in general. 
         [0021]      FIG. 1  shows an example, conceptual security infrastructure in which a network components (above the dashed line) work in association with client components exemplified within a client host computing device  102  to detect security vulnerabilities. In general, the client host computing device  102  contains independent security mechanisms  104 - 108  that collect security related data into an event log  110 . Example mechanisms shown in  FIG. 1  include antimalware component  104  (e.g., comprising antivirus software  105  and antispyware software  106 ), a vulnerability assessment component  107  (e.g., which checks computer state and health) and a firewall component  108 . 
         [0022]    In general, the host  102  is configured to perform local self-assessment scans, and via an event forwarding mechanism  112 , provide the results from the event log  110  to an event collector  116  of the network. Although only one client host device  102  is shown in  FIG. 1 , it is understood that many such client host devices may be present in a given network and similarly configured. 
         [0023]    The collected events are stored in a data warehouse  118  (e.g., a SQL server) for analysis and reporting, and alerts may be sent based on the detected events. A network administration console  120  or the like (e.g., SQL reporting services) allows a security administrator to view reports and also to author security policy, which is then deployed via a policy deployment mechanism  122 , such as group policy. For example, via policy, a particular firewall port or the like may be blocked, certain antimalware signatures may be required, certain versions of security patches may be specified, and so forth. The client host  102  may couple to an automatic updates service  130  or the like to obtain the files and/or settings necessary to comply with the policy. 
         [0024]    As also represented in  FIG. 1 , a security server  140  is able to remotely assess the client host device  102  when the client host device  102  is connected to the network. To this end, a remote scanner  142  and remote vulnerability assessment agent  144  can remotely scan the host device  102  for antimalware and perform other vulnerability tests, respectively. Examples of other tests include checking which security programs and security patches are installed, attempting to connect to a print spooler, sending packets to see which ports respond, and so forth. Scanning and vulnerability assessment are further described below with reference to  FIG. 3 . 
         [0025]      FIG. 2  provides an example network domain-based implementation having more particularly-identified components that operate as generally described in  FIG. 1 . For example, the signature and/or patch updates are provided by an update services server  250  to a host update agent  252 , which in turn provides the signatures and vulnerability checking information to an antimalware agent  254  and host vulnerability assessment agent  256  (corresponding to the software code  104  and  107  referenced in  FIG. 1 , respectively). 
         [0026]    In  FIG. 2 , the event forwarding and collection mechanisms ( 114 ,  116  of  FIG. 1 ) are exemplified as being incorporated into a host operations manager agent  260  and operations manager server  262 , respectively. The operations manager server  262  stores the results in an operational database  264  for later storing in the warehouse  118 . Note that a reporting server  266  is exemplified in the embodiment of  FIG. 2 , e.g., separate from the security server  140 . 
         [0027]    As also represented in  FIG. 2 , in this example implementation, group policy changes are provided (e.g., from the security server  140 ) to a domain controller  268 , and then written into a client registry  270 . The antimalware agent  254  and host vulnerability assessment agent  256  read the registry  270  such that their respective assessments will comply with the security policy. 
         [0028]    To facilitate efficient vulnerability assessment, the security infrastructure (e.g., accessible to the security server  140 ) maintains a list  272  (or other suitable data structure) of hosts that are managed by the security system, along with a list  274  of those that are unmanaged. These lists  272 ,  274  also contain the information needed to know whether or not each host is capable of self-assessment with respect to security vulnerability. For hosts that are capable of self-assessment, the security infrastructure directs the client host to scan itself and report any logged events, as described above. Hosts that are not capable of self-assessment are assessed (scanned and/or otherwise evaluated) remotely. 
         [0029]    Note that hosts that are capable of self-assessment can also be assessed remotely, such as according to a schedule or on demand. Thus, the set of clients that is remotely assessed may at times contain one or more clients that are also capable of (and possibly scheduled for) self-assessment. For example, one advantage to remote assessment of a managed host is to cross-check for differences or discrepancies between the results of the self-assessment and the remote assessment scans. Any discrepancies may be used to detect anomalies, which might, for example indicate that “assessment-savvy” malware that can avoid detection by one type of scan but not the other, such as a rootkit or the like, may be present on an assessed managed host machine. 
         [0030]    For on-demand scan requests initiated from the security server operations console  120  (e.g., requests where the security administrator has chosen to assess the state of one or more managed hosts in the network), the set of target machines may be cross-referenced with the managed host list  270  to determine if the target machine is capable of self-assessment. If not, the security server initiates a remote and/or unauthenticated assessment of the host. For those hosts capable of self-assessment, the security server  140  may use the results from previously scheduled or on-demand assessments to evaluate the risk or vulnerabilities of the system. 
         [0031]    The security server administrator is also able to target one or more machines for remote and/or unauthenticated assessment as well as self-assessment as a mechanism for deeper inspection of host targets on a regular basis. The results from the various forms of assessments can be correlated, summarized and viewed for more detailed analysis by the security server administrator or other security analysts. 
         [0032]      FIG. 3  is an example block diagram generally representative of the remote scanning components and the components that schedule self-assessment of managed hosts. The example implementation depicted in  FIG. 3  is conceptually similar to that of  FIGS. 1 and 2 , but provides additional information on network scanning and management components and functionality. 
         [0033]    In general, the security server  140  includes the console  120  and an operations manager agent  380  that deals with remote scans. Scan management APIs  382  allow an administrator to set up scan jobs via a scan job manager  384  (on demand or according to a scan scheduler  386 ), and be run by a scan run manager  388 . 
         [0034]    One concept represented in  FIG. 3  is target harvesting, in which a target set of hosts to be assessed, as specified in a scan job, is resolved to a list of reachable (currently connected) hosts. A network scanning engine  390  can discover connected hosts via port scanning, including unmanaged (agent-less) hosts  392  that have operating systems that do not correspond to the network operating system, unmanaged (agent-less) hosts with corresponding operating systems  394 , and managed hosts such as the managed host  102  of  FIGS. 1 and 2 . 
         [0035]    Agent discovery, represented by the agent management component  396 , determines the subset of reachable hosts obtained from target harvesting that have the agent deployed. In  FIG. 3 , agent-scan invocation refers to triggering an agent-based scanning of the checks specified in the scan job to the agent-managed subset of reachable hosts. 
         [0036]    Another type of scanning that may be performed is unauthenticated scanning, which performs port-scanning across all discovered (managed and unmanaged) hosts for the set of ports specified in the scan job being run. In this way, it can be determined on which ports hosts are responding, which can correspond to vulnerabilities. 
         [0037]    As also represented in  FIG. 3 , a vulnerability scan engine  398  performs remote authenticated vulnerability scanning as specified in the scan job for the agent-less subset  395  of discovered hosts. For example, the programs and security patches currently residing on a host may be evaluated. As described below, remote authenticated vulnerability assessment scanning can also be performed on a managed host  102  if the vulnerability assessment scan (performed by default by the managed host&#39;s agent) is overridden by an administrator. 
         [0038]    The results returned by the network scanning engine  390  for discovery and port scans, and by the vulnerability assessment scan engine  398  for remote authenticated scans are then available for automated and/or manual analysis. For example, raw results may be transformed into XML formats compatible with the database schemas for results tables, and stored by inserting the various scan results into corresponding tables, e.g., in the data warehouse  118 . 
         [0039]    As can be seen, different types of scans are thus supported by the exemplified security infrastructure, including discovery scans/port scans (unauthenticated remote), and authenticated agent-based antimalware scans. A vulnerability assessment scan can be remote or host agent-based, depending on whether an agent is available or whether an administrator wants to force a remote vulnerability assessment scan. 
         [0040]      FIG. 4  illustrates example selection logic for the above-described scanning paradigms in security server scan processing. The diagram defines the selection logic based on the criteria  402  defined in a scan job. One of three scans are specified, an antimalware scan (as represented via step  404 ), a vulnerability assessment scan (as represented via step  406 ), or a port scan (as represented via step  408 . As seen in  FIG. 4 , the scanning methodology for vulnerability assessment scans depends on the availability of agents (as evaluated at step  412 ) for processing the scan request. In the event that agents are available, they will be preferred for processing vulnerability assessment scans at step  414 . Remote scanning (Step  416 ) is used as a fallback mechanism in the event that targets (hosts to be scanned) are discovered to be agent-less. Note that step  410  provides a way to opt out of the default scanning selection logic through configuration of a “Remote Only” switch in the scan job criteria. 
         [0041]      FIG. 5  defines an example workflow diagram for scan runs based on the criteria specified in their corresponding scan jobs, beginning at step  502  which represents harvesting for targets to scan, as generally described below with reference to  FIG. 6 . If targets are discovered at step  504 , the workflow process continues to step  506 , otherwise it ends. 
         [0042]    Step  506  determines whether agent (local) scanning is a chosen option (e.g., by an administrator), and if so branches to step  508  to discover which targets have agents. For agent discovery, the operations manager infrastructure may be used to determine the availability of agents for processing target scan run requests. In general, the agent discovery sub-process in scan run execution includes agent enumeration to determine which set of hosts on which have the components that are required for processing scan requests, and target set correlation, which refers to the computation of agent distribution across the population of targets harvested for the given scan run, using the results of agent enumeration and target harvesting. For example in one implementation, an administration class provides the capability to enumerate the complete set of hosts known by the operations manager server  262  Server to be managed by operations manager agents. 
         [0043]    The intersection of the two sets is the subset of the scan target population that is known to be agent-managed, whereby agent-based vulnerability assessment scans may be triggered for this subset of machines. The set difference that is calculated by subtracting the intersection from the scan targets set represents the agent-less subset of the scanning population. This is the subset for which remote VA scanning may be employed during scan run execution. 
         [0044]    Note that after agent discovery at step  508 , the creation of a custom script for performing the set of scanning operations specified by the scan job is typically performed. Note that because the vulnerability assessment scan criteria is not known until the scan job has been authored, agent-based scans cannot be built on top of static scripts, and thus a typical approach is to dynamically create a script containing the information required to trigger the host tasks with the appropriate scanning criteria. This may be done by substituting scanning parameters into a script template to form a complete script for custom task execution. 
         [0045]    Returning to  FIG. 5 , if there are one or more agents, step  512  is executed to invoke agent scanning (for those with agents). For those targets without agents (agent-less), the process branches to step  514  to determine whether vulnerability assessment scanning has been chosen; if so step  516  is performed to remotely vulnerability assess those targets. Note that some throttling may be performed, e.g., to scan a limited number of clients at a time. 
         [0046]    Step  518  evaluates whether port scanning is to be performed. Note that this is done remotely, by sending unauthenticated communications to various client ports to determine which ones respond. If port scanning has been chosen, step  520  is performed to scan those ports. For example, UDP port scans, TCP SYN scans, and TCP connect scans may be performed on the clients. 
         [0047]    Step  522  represents processing the results and storing them. Note that step  522  is for either local scan data that was collected as events, for remote scan data collected by the server, or both. As described above, processing and storing the results may comprise transforming raw results into XML or other formats compatible with the database schemas for results tables, and stored by inserting the various scan results into corresponding table. Note that processing may also send alerts or take other actions, such as to immediately disconnect any machine from the network if it endangers security. 
         [0048]    Turning to the aspect of harvesting, in one example implementation, there are two main types of target harvesting implemented by the security server for scanning. A first type is name-based harvesting, which is used to reduce target sets down to individual host names for which reachability can be verified. A second type is address-based harvesting, in which network addresses are first discovered before they are mapped to host names. 
         [0049]      FIG. 6  represents an example logical workflow for name-based harvesting and address-based harvesting when given a scan job target set  602 . Name-based harvesting may include building a host list  604 , e.g., by collecting the set of scan job targets corresponding to host names and adding them to a host list. In general, the items to the left side of the scan job target set  602  correspond to name-based harvesting concepts, while those to the right correspond to address-based harvesting concepts 
         [0050]    As represented in  FIG. 6 , operations manager enumeration executes a query  606  against an operations manager computer attributes table maintained in the operational database  264  to obtain any entries in which the attribute name matches the target type and the attribute value matches the target value specified by the scan job  602 . More particularly, computer attributes may be used to limit the scope of enumeration to only those hosts with vulnerability assessment agents and/or antimalware agents. Note that computer attributes are provided by operations manager server for registry-based service discovery, and may be publicly exposed through the administration class. To this end, computer attributes can be used to specify the discovery of certain registry keys which indicate the presence of agent managed client components. For example, clients can have a registry value indicating the version of the vulnerability assessment agent currently installed, and/or a registry value indicating the version of the antimalware agent currently installed. Similarly, service discovery can be used to further scope agent discovery to the subset of hosts for which the vulnerability assessment agent and antimalware agents are both installed and in a healthy state. For example, service discovery scripts can be used to periodically query for whether the assessment agent and antimalware agents services are started, and may be further used to generalized to monitor any health-related instrumentation points that may be used as criteria for refined agent discovery. 
         [0051]    Returning to another aspect represented in  FIG. 6 , directory enumeration  608  expands the container objects for Active Directory (AD) groups specified as scan job targets into the computer objects which they contain. Other names may be obtained from fully qualified domain names (FQDN) of hosts, and from NetBios named obtained via DNS name lookups  610 . The corresponding host names are added into the host list  604 . 
         [0052]    Block  612  represents resolving the names in the list  604  into their IP addresses, creating a new list  614 . Step  616  verifies the reachability (or not), e.g., using the network scanning engine  390  ( FIG. 3 , described above) to invoke a network scan, via the aggregated host list  614  used as the target specification. Step  620  represents result processing to split the result set into two subsets corresponding to discovered hosts  622  and unavailable hosts  624 . 
         [0053]    Address-based harvesting is represented via step  626 , comprising network discovery which uses the network scanning engine  390  to invoke a scan for the network enumeration command, supplying the IP-based target specifications in the scan job  602  as input. 
         [0054]    To determine host names, the network scanning engine  390  may perform a DNS reverse-lookup operation  628  on the set of discovered addresses, to map them to their corresponding host names in a list  634 . To verify lookup consistency, that is, to verify the consistency of DNS records, a DNS forward-lookup operation may be performed to resolve the mapped-to host names to their corresponding IP addresses, as represented via step  636 . Result processing is represented via step  638 , which splits the result set into two subsets, adding successfully-verified host names to the existing list  622  of discovered hosts, and marking the rest as unknown targets  640 . The discovery results are thus merged in the list  622  as a unified list of harvested hosts. 
         [0055]    While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the invention.