



























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























































v
Abstract
Organizations have critical data about their employees and business transactions. They are very much conscious to protect data from unauthorized access. It is therefore need of the hour to introduce a security mechanism within the database system to ensure maximum security level. Auditing is the security mechanism that fulfills this need .it involves monitoring of DDL and DML commands. There are several methods available for auditing. Each of such methods has advantages or pitfalls. Major aspect is to keep in limits CAPEX and OPEX.In the preceding sections; analysis of various auditing capabilities is being discussed. On the basis of the literature survey as well as the discussion sessions with supervisors a design model of the software is presented that focus on major software functionalities. The software functionalities are related to user’s intrusions into the database system. In the end a sample database for testing software functionalities is being developed in SQL Server Management Studio. So for solution based on triggers is being focused. As it is an appropriate one for auditing user actions within a database.
Auditing is the process of scanning over past actions of database users and decides whether they are in conformance with official policies. In reality auditing is monitoring of queries send by a particular user. Databases are repositories of information that may come under privacy rules. All these information should be used only for intended purposes. Auditing helps to keep user activities clean and clear by monitoring them. The given below discussion has been taken from study of one paper. Paper discusses issue of “Data Access Accountability” and how effective auditing solutions can be implemented. Therefore only one reference is being provided at the end of this chapter.
Database security is always considered to be an area of interest not only for the owner of organization but also for database administrators and even common users. In the concern of data security following issues should be keep in mind. Data should be changed in a specific defined way. Data should be modified only by intended parties.
There are two major problems in this concern What keep away an authorized user from kept viewing data, one should not access? Flaws that causes data to leak out to some user.
In any organization auditing is implemented in some way. This is because one can’t say that it is specifically related to currently implemented RDBMS. The question arises that what keep a DBA to focus critically on the implementation of auditing within RDBMS system. Below are given answers to the question of “ why auditing” Enables monitoring of the user actions. Restricts user to perform illegal actions.
Investigate suspicious queries running on the server or on the database. Notification of unauthorized users working on the data. Monitor and gather the activities of the users. Store user actions log for further references in future. It has now been discussed that auditing is necessary element of database security. The question is now what should be there for a somewhat reliable auditing solution. IT Requirements for data access accountability can be given as below. It is also to be mentioned that these requirements along with some other are to be used for the final intended software. Notifications of user actions. Keep record of schema and record changes. Time and date of changes. Identification of particular user. Generate reports. Procedures implanted across multiple servers.
The possible points or levels where auditing can be applied are described briefly below. Four possible methods have been discussed
In application modification application to which auditing is to be applied is modified. By changing applications not only data is stored but also used for further processing. However this approach increases implementation cost, time consumption. It has also been reported that this approach is unable to record each and every audit trail record. This approach also fails to log changes in database schema and user permissions.
Some application uses a second portal for backend database access. The second portal acts as a backend repository.
RDBMS products available by various vendors in today’s market provide native auditing capabilities. These tools also provide ability to make changes to structure and access to a particular database product. The tools can differ in the level of granularity provided for auditing. Below in table labeled ( Table 2.1: RDMS Auditing Comparison ) is provided a brief summary of popular RDBMS systems. RDBMS Product
The auditing capabilities
IBM DB Z/OS and IMS
IBM audit management expert (AME) stores its captured audit records in a DB2 table. Microsoft SQL Server
C2 auditing Server side traces Oracle (^) Fine grained auditing Stores audit records in XML format. This can also be done by adding an additional tool that is known to be as oracle audit vault. Sybase (^) Minimal native support At an additional cost Sybase data auditing provides some other product from lumigent technology.(a third party product) Table 2. 1 RDBMS Auditing Comparison
It should be kept in mind while discussing auditing that auditing is not similar to re-do or archive logs created by a particular RDBMS product. The common problems with native audit capabilities can be given as below It is a common observation that native auditing tools add overhead to database server performance.
It has also been reported by auditors that these tools don’t meet all the information required by them. For any database management system the detection and access in real time is crucial and no such facility is being provided by native auditing tools. Native auditing tools provide limited capability to effectively store audit records. Possibility of increase in CAPEX and OPEX increases. However skilled auditors or Database administrators can tune these tools to manage them effectively and to save audit records in a separate file at different destination. By default native auditing is turned off when a database is installed on sever. According to industry analysts oracle provides the leading auditing capabilities. SQL server is lagged behind from Oracle in this scenario. The following example demonstrates the fact. In SQL server 2000, Microsoft introduces a new auditing mechanism, C2 auditing. This mechanism doesn’t provide the ability to use individual table tracing. So auditor needs to run server side traces. In native auditing tools, any command that specify DML or DDL command can be logged. Other than that any command by a user who turns off native auditing tools is also logged and recorded.
More than two dozens of vendors provide third party solutions. Their major claim is that the overhead introduced by native auditing tools can be significantly drop down by using them. They also claim that they don’t require native auditing to be turned on.
The three prime types of auditing solution provided by vendors are Use of network based appliances that sniff packets on wire. Software based solutions that are deployed with or without the use of agents. Some combination of above. First approach that is the use of network based appliances tries to read packets on network as it travels to database server. However it is of no use for local access to server.
Policy Violation Detection Auditing requires rules violation in real time. These features add overheads to the system. Again in such scenario only certain set of users are identified for capturing. Alerting This features alerts administrators to any event that is known to be critical. Some events are not by self critical but unusual no. of accesses to these can be crucial. Hybrid Approach A hybrid approach that focuses on both native auditing tools as well as a third party solution is usually a best practice. In all situations the amount of CAPEX and OPEX is an important issue. The major tradeoffs of third party auditing tools are CAPEX and OPEX increases [4, 5]. These solutions can be easily defeated by knowledgeable users [6].
In the following chapter, concept of privileged users has been discussed. In a database several users can use it. However some have more privileges than others. This distribution of privileges is necessary for security of database. Here two major issues have been discussed
How a user is declared to be privileged? What are insider attacks? The discussion given below has been concluded from reading of white paper and article on insider attacks [7], [8].
Within a database system, there are several categories of users. Some users are Common users with some defined privileges DBA and Auditors with high level administration privileges The main responsibilities of these users are different from each other. Some users have more authority over others. So Who are those users that can send much critical queries to the database server? Who are those users that have most privileges What is the boundary for common users actions Or in simple terms “ Who are privileged users ”. This is an important issue. It seems easy to define some of users as privileged one, but the answer is not so much simple. First one
who has access to and specialized knowledge of the database. The privileged users in general includes System administrators Security advisors DBA Auditor
Continuous monitoring of database breeching is the need of hour in every situation. Updated security patches should be applied to security monitoring software Special care should be taken to protect administrative and authoritative accounts. All of the above ensures optimum privileged users. It is a point to ponder that ultimate security is never possible within any RDBMS system, until is never used. The intruders are always there to seek for security breech.
As stated before that security teams should always be circumspect for their system. Auditor plays role of arbiter in a DBMS. The best practices for judging the Privileged users are given as below
List of active databases should be made for the organization List of privileged users for each and every database in an organization is maintained and upgraded as time proceeds by. List of users with excessive privileges should be conserved Scanning of excessive privileged users account, for modification and account deletion Document the list of privileges that can be attributed to a particular user Scan users and privileges to make a list of users and the privileges assigned to them Make some policy and then choose some auditing mechanism.
Native auditing is a good approach to apply on a database. It seems enchanting but it has pitfalls in it. The main problem in this regard are given as below It grasps almost all activities of users of database. In fact questions of all forms like who, when what are taken in to account and are logged.
This continuous monitoring of data consumes disk space and leaves the server in a problematic situation Separation of duties is another problem. Separation of duties is just that “the person who needs to get audited should not be an auditor”. Native auditing can allow a DBA to turnoff the auditing tool, to delete and modify audit logs. Alerts are not generated in real time
An important way to analyze user’s action is to make policies and then make real time detection of user’s activities. This needs an insight into the users’ action and making an analysis of what is going on within an organization. Real time detection would ultimately require to not only monitor current actions but also application of latest patches to implemented system. Knowledge of latest threats should also be considered. [7].
A mechanism for logging database activities is necessary. The important aspect on this issue is that some mechanism for handling vulnerabilities of weak passwords should be employed. If the question arises that what is logging? This simply means to make a record of user actions. It is an important point that logging needs nothing to do with the database security. Log records are different than DAM which is database activity monitoring. If the database has security holes then Logging won't be able to prevent someone to steal data. Logging won't stop someone to exploit the vulnerabilities
Logs are only valuable if they are frequently and carefully reviewed .The person who review logs should understand the difference between Normal Access Malicious activities
Logging records has much more important for
In this chapter the RUP model for the project is being specified. RUP stands for rational unified process. RUP is a flexible software development process. It provides a platform for software development. RUP enables you to select and deploy only the process components (including roles, activities, templates, guidelines and tool mentors) one need for each stage of your project.. It focuses on major software functionalities of software. They are being elaborated. With industry-proven software engineering best practices at its core, the RUP platform includes tools for configuring RUP for your project's specific needs, tools for developing your own internal knowledge into process components, powerful and customizable web-based deployment tools, and an online community for exchanging best practices with peers and industry leaders [9].In the subsequent figure labeled ( Figure4.1: RUP model ) a general model of RUP is given with certain phases.
Figure 4. 1 RUP model [9]
RUP also requires that design phase is constructed with keen interest toward correct requirements. For this purpose to achieve already implemented software have been analyzed. RUP focuses much on usability requirements of particular software. This
simply means a user centered approach should be employed from the very start, design phase. Currently to implement usability, interfaces have been made. They are made by keeping in mind user’s interaction with the software. Interfaces will be modified as software development progresses Up till now focuses on modules construction one by one. This has been achieved by implementing functionalities one by one and thereby integrating those functionalities with each other’s [9].
One change has been made in the requirements as specified in SRS submitted. Functionality of several DBA in an organization having similar privileges has been excluded because of following facts
One auditor can solve the whole problem as his main job is to monitor user activities. Several DBA with equal privileges seems to be in practical There is no limit to the rule “who will guard the guards” because the process never comes to an end.
The project timeline is given as below in figure ( Figure 4.2: Project chronology ). The chronology for a particular project specifies how project progresses throughout its course of development. It spans from the day when project was purposed to the day when it finally completes its cycle. It is very much useful to monitor changes that occur during course of development of project. On the other hand one can define mile stones. Achievements of these milestones help one to scroll through time available and progress of a particular project.