進入信息和網絡化的時代以來,計算機在我們的工作和生活中扮演著日益重要的角色。個人電腦作為一種現代化數據處理和存儲的工具,就好似銀行中的保險柜一樣,經常會存放一些非常重要的資料,而文件是數據存儲的最基本單位。我們平常提到的文件包括可執行的文件(程序),配置文件和數據文件。其中數據文件更是存儲了個人的機密信息等,入侵者感興趣的也正是這些機密文件。因此,對于數據文件的安全保護成為了信息安全中的重要課題。
在本文中,我們闡述了文件操作原理,分析了數據文件操作過程中產生的安全隱患,并針對此問題自定義了一套數據文件訪問控制規則。然后利用Visual Studio 開發工具和C++語言設計實現一個基于微軟detour之API截獲技術的文件訪問控制工具,能夠對文件的打開操作,修改操作等過程進行控制,對于違反規則的文件操作都予以拒絕。
本文的重點之處在于如何從創建,存儲,修改,到銷毀的整個過程中對文件進行操作控制,創新之處在于對文件保護采取主動控制方式,區別于現有的防火墻等被動防衛的安全機制,為保護數據安全找到了一條新的途徑。
關鍵詞:Detour,Trampoline函數,Target函數,Win32 API,DLL
The research of user-defined data files tools for access and control
Abstract
Since we have entered the information and network time, computer is playing an increasingly important role in our life and work. As a modern data processing and storage tool, the PC seems like the safe in the banks which often keeps some very important information. And the document is the most basic data storage units. The documents we normally mentioned include executable document (procedures), configuration files and data files. The data file stores the person's confidential information, which just interested the invader. Therefore, the security protection to the data file proves to be an important issue in the field of the Information security.
In this paper, we elaborated the document operating principle, analyzed potential safety problems which generated in the process of the data file operating and defined a set of data file access control rules aimed the problems mentioned. And then making use of the Visual Studio development tools and C + + language, this system designed and implemented a file access control tool based on the API intercepted technical of the Microsoft detour, which can control the open and close to the file and refuse the access operation which violate the rule.
The key of this paper is how to control the operation of the document from creation, store, modify, to the destruction of the whole process, the innovation is to take the initiative to protect the document control. It is different from the existing passive defense firewall security mechanisms to protect the security of the data, and it also finds a new way for the data security.