Loading...
Database Schema Extraction Prevention Through DBMS Error Handling
Naghdi, Sepideh | 2014
2924
Viewed
- Type of Document: M.Sc. Thesis
- Language: Farsi
- Document No: 46033 (19)
- University: Sharif University of Technology
- Department: Computer Engineering
- Advisor(s): Amini, Morteza
- Abstract:
- Nowadays large volume of sensitive data of organizations are stored in the databases. Thus, databases are attractive to the attackers to execute different types of attacks with different purposes. The useful information that attackers try to achieve in the preliminary steps of the attacks against the databases, is the database structure or schema. One of the popular approach to extract the schema of a database is to analyze the returned error messages from its DBMS. Hence, a solution to prevent schema disclosure via the error messages is customizing and modifying them. To achieve this goal, in this thesis, we propose a framework to handle and customize the error messages automatically and prevent schema revealing.To this aim, we introduce two policies; strict policy and non-strict one. In strict policy, after identifying and introducing an appropriate set of categories of error messages, each error message that is returned from a DBMS is placed in a proper category. According to the sensitive data that exist in the error messages of each category, some rules are defined to be leveraged for modifying the error messages of the category before the submission of them to the application. A general way to determine the error message category is checking the existence of some keywords in the error message. In this solution, for a given error message, a score is calculated for each category based on the predefined keywords determined for identifying the category and their weights in that category. The category with the greatest score is the category of the error message. The sensitive parts of the error message are changed according to the determined category and so structural information does not disclose via the error message. The experimental results show that the error message categorization is performed correctly (using the proposed approach) in about 95% of the queries throwing an error in Microsoft SQL Server 2012
- Keywords:
- Fault Management ; Database Security ; Database Schema Extraction ; Error Messages Customization
- محتواي کتاب
- view
- 1 مقدمه
- 2 تعاریف و اصطلاحات
- 3 طبقهبندی و مدیریت خطا
- 3.1 طبقهبندی خطاها
- 3.2 روشهای مدیریت خطا در سیستمهای نرمافزاری
- 3.2.1 چالشهای استفاده از مکانیزمهای مدیریت استثنا
- 3.2.2 اَعمال قابل انجام هنگام وقوع خطا
- 3.2.3 روشهای مدیریت خطا در زبانهای برنامهنویسی شیئگرا
- 3.2.4 مدیریت خودکار خطا در زبانهای برنامهنویسی
- 3.2.5 روشهای مدیریت خطا در سیستمهای مدیریت گردش کار
- 3.2.6 مدیریت خطا در سیستمهای مدیریت پایگاهداده
- 3.3 جمعبندی
- 4 صورت مسأله و راهکارهای فعلی
- 5 طبقهبندی و راهکار پیشنهادی در مدیریت خطاهای نشتدهندهی اطلاعات
- 6 پیادهسازی و ارزیابی رویکرد پیشنهادی
- 7 جمعبندی و سوی کارهای آتی
- کتابنامه
- واژهنامهی فارسی به انگلیسی
- واژهنامهی انگلیسی به فارسی