Unlock instant, AI-driven research and patent intelligence for your innovation.

IOS platform file reading protection method, storage medium, electronic equipment and system

A technology for reading protection and platform files, which is applied in the field of information security and can solve the problems of illegal reading of file contents and loss of core data.

Active Publication Date: 2021-05-28
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in some iOS applications, there will always be some more important or core data stored in the files of the iOS application, such as the intermediate result files temporarily stored by the application, etc. At this time, criminals can write dylib files and inject them into the The iOS application program reads the files saved in the iOS application program, so that the content of the file is illegally read, resulting in the loss of core data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IOS platform file reading protection method, storage medium, electronic equipment and system
  • IOS platform file reading protection method, storage medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0036] see figure 1 As shown, the embodiment of the present invention provides a file reading protection method on the iOS platform, which is used to judge the legality of the file content reading operation in the program in the iOS system, and effectively ensure the security of data reading. In the iOS system, all file content reading operations will eventually be implemented by calling the open function. Therefore, by monitoring the logic of the open function, the call stack information when the open function is called is obtained, and the legitimacy of the call stack information is judged. Determine whether the read operation of the current file is legal. The open function is used to open or create a file. For the open function, its prototype is as follows:

[0037] int open(const char*, int,...);

[0038] Among them, the parameter cons...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of information security, and discloses a file reading protection method on an iOS platform. The method includes S1: acquiring all Mach‑o files in an iOS system; S2: parsing the Mach‑o files to obtain each Mach‑o file Name and pointer of each function in the file, traverse the name of each function, and find the open function in each Mach‑o file; S3: Write a hook function; S4: When using the open function to read the file content, then Use the hook function to obtain the call stack information of the current open function, and upload the obtained call stack information to the background server to judge the validity of the obtained call stack information. The file read operation of the current open function. The invention can effectively ensure the reading security of the file content data.

Description

technical field [0001] The invention relates to the field of information security, in particular to an iOS platform file reading protection method, storage medium, electronic equipment and system. Background technique [0002] At present, with the increasing popularity of mobile devices, the mobile application industry, especially iOS applications, has developed rapidly, and the development model and code framework of iOS applications have also undergone tremendous changes. For the iOS platform, the composition of the application program is divided into the main program and the module file. The module file is the dylib file. The dylib file is the dynamic link library file on the iOS platform. In the process of iOS application development, if you need to write some functions When the module is injected into the corresponding process to run, a dylib file is written, and then the dylib file is injected into the corresponding process to run, and for the acquisition of file data ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/12
CPCG06F21/126
Inventor 周志刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD