The present invention relates to program loading, program execution, monitoring and verifying loaded instruction module inside a program, computer security and more specifically making sure that the instruction set loaded inside a program is secure and safe.
In modern computing environment security is one of the most important factors. It should be highest priority to make sure that a computer always executes safe computer instructions to maintain privacy and security. A computer will be connected to the network, and there will be outside attacker who will try to destabilize computing environment or steal valuable information stored somewhere in the network. The most common way to achieve those things is to find some exploitable hole and then inject some computer instruction that can be executed internally.
Theoretically, there will be always security vulnerability, and there will be a possibility that someone will be trying to push some bad stuff exploiting that vulnerability. Then it's up to the user/computer to deal with those bad stuffs. Most of the users are not expert and for example they can easily double click on an email attachment to welcome those bad stuffs. Or sometimes OS or some running program automatically welcome those bad stuff because of exploitable security hole in those application or OS.
Antivirus program is kind of passive protection. It can scan files for possible infection; it can scan memory for the similar thing. Those scanning process is assisted by some preset signatures to flag that memory or files are infected. However, there is no easy way to make conventional anti-virus application smart enough so that it can determine any newly written future virus. Firewall application typically blocks request from unknown or suspicious sources. However they can't block legitimate request. For example user need to browse internet, send email, use other network resources communicate other computers in the network. Sometimes some unintentional or ignorant act might cause problems. An email attachment might contain bad instructions. Or an employee might download a file from the internet and execute them locally that can eventually install bad stuff on computer. Therefore, those virus or firewall based protection are not good enough to identify new innovative future attack. In this invention, we present a novel approach that can identify bad instructions module in the system at the time they get loaded in the system and do the verification using a unique easily deployable authentication framework. The proposed invention can make sure that the instructions running in the system are safe.
Local Authentication Framework can acquire knowledge from the global Authentication Framework (AF). AF already knows what modules are available that can be safely executed on local system. The knowledge base of the framework can be adaptive; continuously learn about new modules relating new products, updates available to the users, new findings on a module or products. FA helps applying the knowledge acquired from the global FA to end user system to make computing system more secure and safe. The Authentication Framework helps administrator to set some rules or policy to define certified instruction set/modules to run across computers. That makes the network environment more efficient and manageable because administrator can control what can be run in the system and what can't. If some certified instruction module becomes vulnerable to attack, administrator can make the module uncertified and update its central database with a new certified module (for example available from vendor). In that case all computers in the network can pickup the certified module quickly and automatically. Also this can help administrator to manage licensed product. Administrator can certify program modules based on user account, Machine account. That way, administrator can centrally manage that no unlicensed product are in use in the network.
The following presents a simplified summary of the present invention in order to provide some basic details of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to reduce the scope of the invention. Its sole purpose is to present some concept of the invention in a simplified form; more detailed description is presented later.
The present invention provides a system and method that can intercept and manipulate program/instruction loading process, verify that those loaded instructions are certified and safe before computer actually execute them. Also it can replace any uncertified instruction set/modules with compatible certified instruction/modules to deploy any security patch quickly in a more manageable way.
When OS load a program, it typically allocates some memory and load required instructions in modules the program depends on. A call interceptor will intercept the loading process and figure out which modules Operating system loader is trying to load. Then for each program module it will check with authentication framework to verify that the module is certified safe to load and can be loaded based on given credentials. The credentials might include, user name, machine account, module information (time stamp, vendor info, size, checksum etc). Authentication Framework resolve the module load info using a resolving mechanism and generate an action policy record something like given module is unsafe to load, given module need to be replaced with a updated module etc. Then deployment module takes necessary action to implement the action record. If needed, deployment module can replace the local module with a certified module and load the certified one instead.
Authentication Framework can work in the similar way DNS framework works. The framework can maintain some local table with some information related to module info and policy local to the system. Whenever required it can contact a remote authentication server to retrieve more information when local table don't have enough information. Initial data in the local table can be update by contacting remote server and inspecting local system. A module can be uniquely identified by combination of its name, size, checksum, vendor info etc. Each module can have some attributes entry specifying which user/machine can execute them. A remote authentication server can contact additional top level server in the framework to resolve authentication request if needed.
Authentication framework is an important independent piece that will facilitate to catalog all publicly available instruction modules. Instruction modules is a place holder of computer instruction that can control the execution of program that eventually dictate end result a user gets from computer. DLL, EXE, web scripts, java class, etc can be considered as program modules. Catalog containing module information will be updated regularly as new program modules becomes available for public uses through different trusted channels including retail products wed downloads etc. It is also possible to catalog modules within certain scope. For example in corporate environment, corporation might have proprietary program modules that need to be authenticated within their network only So the authentication server serving the private network can have catalog containing module information local to the network.
The framework can be implemented in many ways in combination of few core elements:
Another aspect of this invention would be to apply module verification process in managing program licensing. Every time a product gets launched, it will check with the table if the loaded module is certified. An administrator can set policy to certify module based on user or machine account and possibly a licensing period. Administrator can also specify action to be taken if users try to load a module with expired license, uncertified, etc. So the capability can be enhanced in many ways.
This is analogous to securing or protecting human body system where human body is always vulnerable to attack from internal or external micro organism like bacteria or virus. Constant screening diagnosis and some built-in antibody can reduce the scope of those attacks and reduce prevalence of infection from micro organism significantly. Also there is a central authority like FDA that can certify what kind of food/preventive medicine can be safe for public health by setting some standards. Analogous to the system a) monitoring process modules works like screening process a) intercepting module kind of antibody/preventive medicine c) Authentication Framework setting standards what can be executed like FDA does and d) deployment module act like caring facility to make computing system more secure and safe and less vulnerable.
The present invention is now described with reference to the drawings. In the following description, for purpose of explanation, numerous specific details are set forth in order to provide a through understanding of the present invention.
600 is the infrastructure in combination of a set of protocols, connected servers where a request from 300 may be served. 300 might issue some query if hello.exe foo.dll and goo.dll is recognized components that can be safely run on the system. It might receive some feedback like the module is not safe to run on the system. 600 will define how a request should be formed and constituted. 600 would define how the request should be delivered. It would define the response as well. A computing system can be part of framework that can work as a remote server serving a set of queries. Those servers will have access to some catalog containing information of modules a computing system might use. Catalog can be used to build system policy 2100 suitable for a computing system or a private network. Another component in the framework might dynamically update catalog or system policy whenever new modules or information associated new modules are available or new information on a module is found or system need to be configured.
2100 constitute system policy which is a table containing collection of information of available modules relevant to the scope of the framework. System policy can be constituted from a catalog of modules that can be relevant in a network. For example in a private network, there are certain numbers of modules only used in the private network. A system policy can be developed based on those modules and network needs.
820 is deployment modules that can make sure a policy is properly followed. System policy might define “foo.dll with some signature “S” can safely run in the network but foo.dll with signature Y can't run.
2200 is the optional report module that basically compiles information on any violation of system policy in the network or system and report to administrator.
The Authentication framework can be used for licensing management. Administrator can set some policy applicable to local system or within a network. The policy can be something like “hello.exe can be launched on predefined number of computer in the network”. Or “hello.exe can be launched within a predefined time on system with a user account in a given set. When hello.exe gets launched on a system, interceptor in AF intercept modules loaded by the application. The intercepted modules then checked against AF database along with the user info. Authentication Framework can check with local policy and return “time has expired” or “more instance of the module can't be launched” or The user doesn't have license to run this, or user need to pay subscription 1st.
When a user set up a system S it needs to have Local Authentication Framework client (LAFC) module AF. AF will initialize its local database D with at least one table Tlm to contain module information. Tlm will have associated version number that would define how a record is constituted for a module. <Module Signature, Module name, Module Creation Date, Vendor name> can represent individual field or column of table Tlm. A different table version can have different set of attributes. Module Signature is a unique ID that uniquely represents a module. Signature is computed applying an algorithm A(i) over a module. Different version of A will represent different Signature for the same module. For example Module signature can be MD5 hash computed over the module taking whole or part of the module. The version of the algorithm can dictate if MD5 or other algorithm was used over whole or part of a module.
The administrator can configure the LAFC to trust all the modules at given time and initialize the Table. At that point, LAFC can scan the system to populate the Tlm. Administrator can configure which remote Authentication Framework server (RAFS) it needs to contact when needed. This AF configuration can be done remotely and automatically as well. Administrator can set Local system policy that will sit in another table Tlp in D. Administrator can set any kind of policy to populate Tlp and AF can interpret. LAFC can contact remote Authentication Framework Server to sync-up its Table Tlm and Tlp if needed.
When user attempt to run an application on system S, LAFC interceptor intercepts modules loaded by the application. Then consult with AF DB and take necessary action. User can simply download an application from the internet. While attempting to run the downloaded application, LAFC interceptor will intercept the event, compute data including signature to identify the module, search for the module in local DB, finds no hit in its local DB. It then contact remote AF server. Few scenarios can happen:
A set of protocols will define how client and server modules should communicate. When LAFC send a request to RAFS to authenticate a module M, it combines the request as <Module Signature, Algorithm used to compute signature, Userinfo>. When RAFS search the DB it must make sure that the algorithm used to compute signature on both end are the same. Protocol will define how initial state of DB in LAFC can be initialized and can be synced up with the global DB. Protocol will define how data from server client can be interpreted by participating trusted party. Communication between LAFC and RAFS must be very secure and some data can be encrypted defined by the protocol.
Interconnected RAFS with global database (DB) components will constitute global Authentication framework. The global DB will be populated with module information from trusted source. A single DB or multiple DB will be managed by different RAFS. RAFS in private network or individual LAFC will know the location of those global RAFS if available. DB will contain few tables; Tgm for module information and Tgp for policy associated with modules. Each entry in Tgm will be populated extracting information from instruction module. Record of Tg will be something like <Module Signature, Module Name, Vendor Info, Creation Date, PolicyID number>. Module signature will be calculated using some algorithm A(i) supported by the AF. When LAFC send some request to RAFS the request contains how the module signature was computed so that RAFS understand how to match the signature. A different process can update the DB when new instruction module is available.
It's possible that in some environment Remote Authentication Server is not there or its DB it totally empty. Or it's possible to have a network without any remote authentication server. A framework component can connect with other framework component to share information and some times act as master framework component playing a role of Remote authentication server. Or the whole framework might be just a simple system without any interaction with other framework components at home.
With a single system framework, it might take some input from its user to educate itself. For example, it might ask user to provide actual source of all installed software. Then it can scan those sources to gather intelligence and build a safe rating table for safe program module. Or it can use the current system as a checkpoint and use all existing program module as trusted. User can check point system immediately after buying the system or building a new system then check point every time user upgrade system with software from trusted sources. This way framework can scan the system after every check point and collect necessary information. Framework might ask user to set initial policy rules which can be as simple as “don't allow loading any new program module on this system” or “don't allow any program module or update operation to change any binary files on my system” or “don't copy a new binary in my system”
When user browse internet, browser might try to install a new component. Interceptor will catch the operation that browser it trying to copy a binary file. Authentication framework will see that the new module is not know and then policy component will see that there is a rule set by user “don't allow a new binary to be copied into the system” and simply deny such operation. Same way when a malicious virus tries to change some binary in the system it would be blocked.
In a network environment, framework can learns from the activities in other framework components with very minimal input from user. For example when a framework sees a new module, it can communicate with other framework component to figure out if other framework component knows such module as safe module. If other framework component certifies that the module is good, framework will allow loading the module and still provide secure environment where user need not to add any input on each system.
What has been described above includes example of the present invention. It is not possible to describe every conceivable combination of components or methodologies for purpose of describing the present invention. However someone with some general skill in the art may find some combination steps, components or methodologies to implement the main theme of the present invention to achieve the same goal.
Accordingly, the present invention is intended to embrace all such alternations, modifications and variations that fall within the spirit and aspect of the appended claims.