Download presentation
Presentation is loading. Please wait.
1
Intrusion Detection and Containment in Database Systems Abhijit Bhosale M.Tech (IT) School of Information Technology, IIT Kharagpur
2
1 Nov 2004 Intrusion Detection and Containment in Database Systems2 Topics Intrusion and Intrusion Detection Intrusion Detection in Database Systems Data Mining Approach Intrusion Detection in Real-time Database Systems Misuse Detection System for Database Systems Recovery from Malicious Transactions Malicious Activity Recovery Transaction (MART) Repair using Transaction Dependency Graph
3
1 Nov 2004 Intrusion Detection and Containment in Database Systems3 Intrusion Intrusion: The act of wrongfully entering upon, seizing, or taking possession of the property of another Types of Attacks Outsider : Can be defended using physical protection and strong network security mechanisms. Insider : Usually Harder to defend
4
1 Nov 2004 Intrusion Detection and Containment in Database Systems4 Intrusion Detection Detection Techniques Misuse Detection Detect know patterns of intrusions Anomaly Detection Suspect the anomalous behaviors
5
1 Nov 2004 Intrusion Detection and Containment in Database Systems5 Intrusion Detection in Databases Under threat by insider attacks Intruders get access to database by employing SQL Injection to poorly coded web-based applications or by stealing password of legitimate user Very few existing misuse detection systems have concepts of misuse detection in database systems
6
1 Nov 2004 Intrusion Detection and Containment in Database Systems6 Data Mining Approach Proposed by Yi Hu and Brajendra Panda Uses data dependencies (access correlation) among the data items to generate association rules The rules give dependency of read/write operations of some items on write operations of some items Less sensitive to user behavior changes
7
1 Nov 2004 Intrusion Detection and Containment in Database Systems7 Data Mining Approach (cont.) Definitions Sequence: It’s an ordered list of read and/or write operations. E.g. Read sequence for data item x is a sequence containing w(x) preceded by all the read operations performed on different data items in the same transaction. E.g. Write sequence for data item x is a sequence containing w(x) followed by all the write operations performed on different data items in the same transaction. E.g. Weight of Data Dependency : It indicates to what extend a data item x depends on other data items in the red or write sequence. The rweight and wweight denote the weight of read dependency and write dependency respectively.
8
1 Nov 2004 Intrusion Detection and Containment in Database Systems8 Data Mining Approach (cont.) The Methodology Discovering Data Dependency is performed in tree steps Sequential pattern discovery phase : Discover sequential patterns in the database log Sequence set generation phase: Obtain read and write sequence sets. Data dependency rules generation: Read and Write dependency rules The transactions which don’t follow the read and write rules are marked as malicious transactions
9
1 Nov 2004 Intrusion Detection and Containment in Database Systems9 Example Sequential Patterns mined Sample Transactions
10
1 Nov 2004 Intrusion Detection and Containment in Database Systems10 Example (cont.) Read and Write Sequence Set Data Dependency Rules Min confidence = 70%
11
1 Nov 2004 Intrusion Detection and Containment in Database Systems11 Intrusion Detection in Real- time Database Systems Proposed by Lee and team Considers Real-time Databases like used for Stock Market Definitions Sensor Transaction: Which are responsible for updating the values of real-time data. Temporal Data objects: values of which change with time Sensor transactions are periodic In every period only one sensor transaction can update temporal data More than one transactions in a period are flagged as malicious transactions
12
1 Nov 2004 Intrusion Detection and Containment in Database Systems12 Misuse Detection System for Database Systems DEMIDS - Proposed by Chung and his team Uses audit logs to generate profiles Profiles are used to detect the misuse behavior Needs to be trained with normal behavior (no intrusion)
13
1 Nov 2004 Intrusion Detection and Containment in Database Systems13 Components of DEMIDS’s Architecture
14
1 Nov 2004 Intrusion Detection and Containment in Database Systems14 Recovery from Malicious Transactions Traditional Recovery mechanisms don’t address the recovery of malicious transactions Complete rollback and adding compensatory transactions is too time consuming. There can be direct as well as indirectly affected transactions which need to be recovered.
15
1 Nov 2004 Intrusion Detection and Containment in Database Systems15 Intrusion Tolerant Database Systems The systems, which in addition to detect the system, also perform countermeasures to the successful attacks, are called intrusion tolerant systems
16
1 Nov 2004 Intrusion Detection and Containment in Database Systems16 The flat transaction recovery can only remove direct effect of malicious transactions. MART can solve this problem by nesting the flat transactions under MART. The indirect effect can be removed by doing the roll back of the MART. Malicious Activity Recovery Transaction (MART)
17
1 Nov 2004 Intrusion Detection and Containment in Database Systems17 Repair using Transaction Dependency Graph Uses Dependency Graph of bad and suspect transaction and undo the effects of all the bad and suspect transactions Transaction Dependency : Transaction T i is dependent upon T j if T j reads x after it’s updated by T i T i does not abort before T j reads x Every transaction that updates x between the time T i updates x and T j reads x is aborted before T j reads x. Every source node in the DG(B) is bad transaction and every non source node is a suspect transaction. If a good transaction is not affected by any bad transaction then than transaction need not be undone
18
1 Nov 2004 Intrusion Detection and Containment in Database Systems18 Repair using Transaction Dependency Graph (cont.) Dependency Graph Dirty Data :A data item is dirty if it’s a write set of any bad or suspect transaction. All the dirty data items should be restored to the value they had before the first transaction in DG(B) wrote it. History log Dependency Graph
19
1 Nov 2004 Intrusion Detection and Containment in Database Systems19 References Yi Hu, Brajendra Panda: A data mining approach for database intrusion detection. SAC 2004: 711-716 Paul Ammann, Sushil Jajodia, Peng Liu, Recovery from Malicious Transactions, IEEE Transactions on Knowledge and Data Engineering, v.14 n.5, p.1167-1185, September 2002 Lee, V. C.S., Stankovic, J. A., Son, S. H. Intrusion Detection in Real-time Database Systems Via Time Signatures. In Proceedings of the Sixth IEEE Real Time Technology and Applications Symposium, 2000. Chung, C., Gertz M., and Levitt, K. DEMIDS: A Misuse Detection System for Database Systems. In Third Annual IFIP TC-11 WG 11.5 Working Conference on Integrity and Internal Control in Information Systems, Kluwer Academic Publishers, pages 159-178, November 1999.
20
1 Nov 2004 Intrusion Detection and Containment in Database Systems20 Questions
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.