Database operation and maintenance security management system
By using JSP/Servlet, HTML and CSS to build interfaces and security management and control services implemented by Spring Boot in the database operation and maintenance security management and control system, combined with the monitoring engine and high-risk behavior identification mechanism, the problem of poor database security is solved and real-time Monitoring and blocking of high-risk behaviors ensure data security and reduce management complexity and system construction costs.
Patent Information
- Application Number
- CN202210201585.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-02
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-03-02
AI Technical Summary
Existing database management and control methods have poor security problems. Theft of sensitive data by operation and maintenance personnel or hackers or data deletion caused by misoperation will cause corporate losses, and there is a lack of effective real-time monitoring and protection mechanisms.
Designed a database operation and maintenance security management and control system, using JSP/Servlet, HTML and CSS to build a functional visual operation interface, using Spring Boot to implement security management and control services and blocking high-risk behaviors, supporting virtualized environment deployment, using monitoring engines and high-risk behaviors The identification mechanism monitors and blocks high-risk operations in real time, ensuring that data operations are within the control scope of the monitoring engine, and provides prior authorization and post-event traceability functions.
It realizes real-time monitoring of user data operations and blocks high-risk behaviors, ensuring data security, facilitating later traceability, reducing management complexity and system construction costs, and improving database security.
Smart Images

Figure CN114661694B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information management and database security, and in particular relates to a database operation and maintenance security management and control system. Background Art
[0002] At present, most companies pay great attention to the information security of databases. After a database is created, it needs to be operated and maintained by dedicated operation and maintenance personnel. However, if the operation and maintenance personnel or hackers steal sensitive data for illegal activities, or if errors occur during daily operation and maintenance, and important information in the database is deleted, most of the current solutions are to conduct post-audit and then deal with it. However, the database operations that have been executed will cause certain losses to the company. In summary, the existing database management and control methods have the technical problem of poor security. Summary of the invention
[0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a database operation and maintenance security management system. It includes a presentation layer, an application layer, a service layer, a data layer and an infrastructure layer; the application layer is a database security management platform, the presentation layer uses JSP / Servlet, HTML and CSS technology to build a functional visualization operation interface for users to access through a PC browser, and the application layer provides a system front-end management interface. By sharing basic functional modules at the same level by different applications, better information sharing and application integration between different applications can be achieved, so as to achieve the long-term construction goal of integrating existing information achievements, reducing system construction costs, reducing management and maintenance complexity, and sustainable development. The system can monitor the user's data operation behavior, ensure that all data operations are within the control range of the monitoring engine, ensure data security, and facilitate later traceability.
[0004] The present invention specifically adopts the following technical solutions:
[0005] A database operation and maintenance security management and control system, characterized in that: the application layer is set as a database security management and control platform, providing a system front-end management interface, and realizing front-end metadata management, security configuration management, security protection management and system management by calling the service layer; it supports deployment in a virtualized environment, and each component tool of the platform is deployed based on a basic cloud platform, and each functional component adopts a master-slave or cluster mode, and implements policy configuration and prior authorization through a management console, identifies high-risk behaviors through a security management and control server, and a front-end machine monitors and blocks high-risk behaviors in real time; the management console and the security management and control server are deployed in a cluster; and the database server is deployed in a master-slave mode.
[0006] Furthermore, it includes: presentation layer, application layer, service layer, data layer and infrastructure layer; the presentation layer adopts JSP / Servlet, HTML and CSS technologies to build a functional visual operation interface for users to access through a browser; the service layer adopts Spring Boot to realize the componentization of core system services, and realizes security management services, high-risk blocking services and authorization notification services; the data layer includes system support data, cache data and message queues; the infrastructure layer provides the basic software and hardware facilities of the system, including: a unified open platform, middleware, relational database, cache database, operating system, server, network equipment, security prevention and control equipment and peripheral interfaces, and the data source of the database operation and maintenance security management platform is: maintenance work order data obtained from I6000, data source information configured on the system, and user data obtained through unified permissions; the server includes a database server, a security management server, a management console and a front-end machine.
[0007] Furthermore, the system support data adopts MySQL5.7 database, the cache data adopts redis, and the message queue adopts rabbitmq.
[0008] Furthermore, the security protection management includes a monitoring engine, high-risk behavior identification, high-risk behavior control, key data protection, behavior auditing and a self-protection engine, and the behavior auditing includes in-process alarms and post-event tracing.
[0009] Furthermore, the security configuration management includes prior authorization configuration, high-risk rule configuration management, key data table configuration, user authority management and active discovery of user accounts.
[0010] Furthermore, the system management includes authority management, user management, organization management, system configuration, system monitoring management and system log management.
[0011] Furthermore, the peripheral interface includes a unified authority platform, a short message platform and an intranet portal system, and the database security management and control platform is integrated with the peripheral interface.
[0012] Compared with the prior art, the beneficial effects of the present invention and its preferred solution are as follows: the overall architecture of the system follows the SOA system, adopts the MVC architecture and the three-layer B / S mode, is developed based on modularization and component technology, adopts the platform service mode, supports the access of various modules and systems, has great openness and rapid expansion capabilities, and in the overall architecture design of the system, various data security information applications are planned as a whole, and the layered design concept is adopted to realize the architectural principle of "relative separation of data, management, service, and application". Based on the application support platform, a sustainable development overall application architecture is established layer by layer. At the same time, various application systems are organically organized according to application specifications, incorporated into the overall application architecture to jointly constitute a data security management and control platform architecture. By sharing basic functional modules at the same level by different applications, better information sharing and application integration between different applications are achieved, so as to achieve the long-term construction goal of integrating existing information achievements, reducing system construction costs, reducing management and maintenance complexity, and sustainable development. The system can monitor the user's data operation behavior to ensure that all data operations are within the control range of the monitoring engine, ensure data security, and facilitate later traceability. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0014] Figure 1 It is a technical architecture diagram of the database operation and maintenance security management and control system provided by an embodiment of the present invention.
[0015] Figure 2 It is a data architecture diagram of the database operation and maintenance security management and control system provided by an embodiment of the present invention.
[0016] Figure 3 It is a logical deployment diagram of the database operation and maintenance security management and control system provided by an embodiment of the present invention.
[0017] Figure 4 It is a physical deployment diagram of the database operation and maintenance security management and control system provided by an embodiment of the present invention.
[0018] Figure 5 It is a schematic diagram of high-risk behavior identification of a database operation and maintenance security management and control system provided by an embodiment of the present invention.
[0019] Figure 6 It is a schematic diagram of high-risk behavior control of a database operation and maintenance security control system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the features and advantages of this patent more obvious and easy to understand, the following embodiments are specifically described in detail as follows:
[0021] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0022] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those within the scope of this description. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0023] Combined with Figures 1 to 6 The business architecture, application architecture, data architecture, technical architecture, and security architecture involved in the data security management and control platform provided in this embodiment comply with the SG-EA architecture design requirements of the State Grid Corporation and are developed based on the State Grid SG-UAP3.0 platform.
[0024] Among them, the technical architecture is as follows Figure 1 As shown:
[0025] Front-end presentation: Adopt JSP / Servlet, HTML, CSS and other technologies to build a functional visualization operation interface, which users can access through PC browsers; Application layer: Provides a system front-end management interface, and implements front-end metadata management, security configuration management, security protection management and other applications by calling service layer interfaces; Service layer: Collects Spring Boot to realize the componentization of core system services, and implements security management services, high-risk blocking services, and authorization notification services; Data layer: The relational database uses mysql5.7, the cache database uses redis, and the message service uses rabbitmq; Infrastructure layer: The basic software and hardware facilities of the platform provided mainly include a unified open platform, middleware, database, operating system, server, network, etc.
[0026] Business architecture: The database security management and control platform provides functional modules such as security configuration management, security protection management, metadata management, and system management, and is integrated with unified permissions, portals, SMS platforms, and data resource directories to support the whole process of pre-review, in-process control, and post-audit management.
[0027] Data architecture: The data sources of the database operation and maintenance security management platform are mainly: maintenance work order data obtained from I6000, data source information configured on the system, and user data obtained from unified permissions. The system then parses and obtains the permission information for database operations based on the maintenance work order content and data source information to block high-risk behaviors. The specific data architecture is as follows: Figure 2 shown.
[0028] Deployment architecture: including Figure 3 The logical deployment shown and Figure 4 Physical deployment shown.
[0029] Logical deployment: The database security management and control platform supports deployment in a virtualized environment. All platform component tools are deployed based on the basic cloud platform. Each functional component adopts a master-slave or cluster mode to avoid single point failures. Managers implement policy configuration and prior authorization through the management console, identify high-risk behaviors through security management and control services, and operation and maintenance personnel connect to the database through the front-end machine, which monitors and blocks high-risk behaviors in real time.
[0030] Physical deployment: The system is deployed in the provincial company intranet and consists of a database server, a security control service server, a control console server, and a front-end server. Database server: Deploy database software to store system support data for the database operation and maintenance security control platform; Security control service server: Deploy various back-end security control service programs to support the front-end control console; Front-end: A server used to provide an operating platform for users.
[0031] The software environment used is shown in the following table:
[0032] Serial number Software Category Software name and version 1 database MySql5.7.21 2 middleware Tomcat8.5.40 3 operating system Centos7.5 4 JKD 1.8.0_65 5 Redis 4.0.12 6 RabbitMQ rabbitmq-server-generic-unix-3.6.10.tar 7 Ngix 1.14.2
[0033] According to the performance estimation results, the hardware configuration is shown in the following table:
[0034]
[0035]
[0036] Management console: For policy management, it provides management personnel with entrances for management, policy configuration, process approval, work order management, etc. At the same time, the management console is also the external interface of the security control service, and is deployed in clusters; Security control service: It provides security control services and provides unified management, policy analysis, secondary approval, log analysis and auditing services for front-end machines, and is deployed in clusters; Front-end machine: It provides a safe operation and maintenance environment for operation and maintenance personnel, sets the number of resources according to the number of visits by operation and maintenance personnel, and can achieve elastic expansion in a cloud environment; Platform database: It provides database storage services for the management console and security control services, and is deployed in a master-slave mode.
[0037] Security protection management includes monitoring engine, high-risk behavior identification, high-risk behavior control, key data protection, behavior auditing, and self-protection engine. Behavior auditing includes in-process alarms and post-event tracing.
[0038] The monitoring engine comprehensively monitors the operation behaviors of the operation and maintenance personnel, including command input, batch script execution, and graphic window operations, through database operation and maintenance tool monitoring and SQL protocol reorganization and analysis, and restores data operation-related behaviors to provide basic capabilities for data security management and control. At the same time, it intercepts traffic packets at the network layer, monitors the user's data operation behaviors through packet reorganization, SQL statement restoration and other technologies, and ensures that all data operations are within the control range of the monitoring engine. The monitoring engine includes the following work content:
[0039] 1) API HOOK: Hook the operation API of the database operation and maintenance tool to monitor the underlying operation of the operation and maintenance tool;
[0040] 2) NDIS driver, which monitors database operation behavior at the network layer through the NDIS driver;
[0041] 3) SQL syntax restoration: restore the SQL statements executed by the database operation and maintenance tool and parse out the actual SQL operations of the operation and maintenance tool;
[0042] 4) Script interception: intercepting batch execution scripts of database operation and maintenance tools to prevent batch scripts from bypassing the monitoring engine;
[0043] 5) Window identification: Identify the operation window of the operation and maintenance tool, implement control on possible risk behaviors, and force the window to close.
[0044] Identification of high-risk behaviors Figure 5 As shown in the figure, the legality of SQL operations in the database is comprehensively judged according to the predetermined whitelist and blacklist strategies, forming an outer defense circle of the database, providing a technical basis for the active prevention and real-time audit of high-risk SQL operations. The data security management and control platform not only provides the approver with risk assessment of operation applications, but also can perform fine-grained control over applications and approvals in real time.
[0045] Blacklist definition: Based on the identified key data assets, define the protection requirements of different data assets according to the data asset protection level, define high-risk behaviors that may threaten key data assets, establish a key data asset security baseline, define possible threatening behaviors in the blacklist, set rules for database fields, and establish sensitive data groups based on flexible permutations and combinations of "and / or" relationships. For data assets of different levels, improve the operation rules of sensitive objects. High-risk behaviors in the blacklist must be sufficiently authorized;
[0046] Whitelist definition: Based on the work requirements of data operation and maintenance, a data security whitelist is established after analysis and authorization approval by the business department, information management department, business system developer, etc. The whitelist contains three elements: personnel WHO, time WHEN, and allowed behavior WHAT. While ensuring data security, it also ensures the efficiency and feasibility of the data operation and maintenance process. High-risk behavior identification includes the following work content:
[0047] 1) SQL lexical analysis: parse the SQL statement lexical structure and analyze the abstract syntax tree;
[0048] 2) SQL semantic analysis: parse the semantics of SQL statements to analyze elements such as operation behavior, object, and scope;
[0049] 3) Behavior recognition engine: After parsing SQL statements, it determines the legality of the behavior and identifies illegal high-risk operations through comparison mechanisms such as blacklists and whitelists;
[0050] 4) High-risk behavior identification interface: The security control service is a high-risk behavior identification interface provided by the front-end.
[0051] High-risk behavior control Figure 6 As shown in the figure, based on the comprehensive risk analysis of the user's operation behavior, different strategies are adopted for operation behaviors with different risks. Secondary authorization is used for unapproved behaviors, and real-time blocking is implemented for unauthorized behaviors. For high-risk operations that violate the data security protection baseline, real-time blocking is still carried out even if they are approved. At the same time, alarm linkage is provided to remind managers to take necessary measures.
[0052] The database operation and maintenance control tool can be controlled at the table and column level, and can control various database operations. At the same time, it can accurately control specific statements, control the execution time of statements, and control the execution threshold. At the same time, it meets the mode of prior approval and in-process control, greatly improving the accuracy of data security control. High-risk behavior control includes the following work content:
[0053] 1) High-risk behavior blocking: blocking illegal high-risk behaviors;
[0054] 2) Secondary authorization: initiate secondary authorization for operations that require secondary authorization and track the entire authorization process;
[0055] 3) Behavior alerts: the system will link to issue alerts for illegal behaviors.
[0056] The configuration of key data tables refers to the general data classification and grading method, combines relevant laws and regulations, policy guidelines and the business needs of the application system itself, and jointly formulates data classification and grading standards with business departments, information departments, application software developers and other parties. According to the classification and grading standards, the enterprise data is classified and graded. At the same time, the scientificity and rationality of the classification and grading standards are verified, and the classification and grading standards are further revised when necessary. By classifying and grading data, targeted and focused protection measures are implemented for data assets according to different needs. By pre-defining operation and maintenance domains, sensitive objects, and sensitive operations, it is ensured that only key operations and access and change behaviors of key objects require approval, which will not bring excessive process management burden while improving security. The configuration of key data tables includes the following:
[0057] 1) Key data table management, key data table definition and identification;
[0058] 2) Authorization scope control, which includes the scope of operations that need to be authorized for key data tables;
[0059] 3) Prohibited scope control, which is the scope of operations that must be absolutely prohibited for the data table;
[0060] 4) Key data table security management and control service interface. The security management and control service provides an interface for the management console.
[0061] Behavioral auditing uses process monitoring, database protocol analysis and other technologies to record all behaviors of accessing and using data for subsequent auditing. Behavioral auditing includes the following:
[0062] 1) Operation and maintenance work order log audit, log audit of the operation and maintenance work order management process;
[0063] 2) Key data table log audit, key data table management process log audit;
[0064] 3) Database operation log audit: log audit of operation behaviors during database operation and maintenance. All operations of operation and maintenance personnel are recorded in logs.
[0065] 4) Security protection engine log audit, front-end security protection engine log audit;
[0066] 5) Unified log management, unified management of multi-component logs, and interface with other audit systems.
[0067] By improving the audit mechanism, the following functions can be achieved:
[0068] 1) Alarm during the event
[0069] Once there is any abnormal behavior that may occur during the access, use, and circulation of data, the audit mechanism can immediately issue a threat alert and notify the management personnel. After the management personnel grasp the threat information immediately, they can take targeted measures to reduce or avoid losses. Therefore, the audit mechanism must have the ability to issue an alert, and can issue an alert notification through email, SMS, business system linkage, etc.
[0070] 2) Post-event tracing
[0071] When an information security incident occurs during the access and use of data, the audit mechanism can be used to track the incident, determine the source of the incident (including who did it and when it was done), restore the process of the incident, and analyze the losses caused by the incident. Not only can the violators be held accountable and determined, but it also provides a very necessary reference for adjusting defense strategies. Therefore, the audit mechanism must have rich search capabilities, and can use the query function of all factors as search conditions. Through the comprehensive audit of the 4W1H factors of data access, it is convenient to trace the source afterwards:
[0072] WHO (Who did it)—database user name, operation and maintenance system user name
[0073] WHERE (where)—database client, application client
[0074] WHAT (what was done) - who was the target of the operation, what was the operation, whether it was successful, and the scope of impact
[0075] WHEN (when)—time of occurrence, duration
[0076] HOW (how to do it) - SQL statements, parameters
[0077] The self-protection engine implements self-protection on the security protection service itself to prevent the security protection service from being attacked or stopping due to system failure, and then being unable to continue to implement security protection for data. It monitors the service driver and service process, and implements anti-killing and anti-uninstallation protection to prevent the security protection service from being attacked. It solves system failure problems through system self-repair, and notifies the administrator through security alarms to take necessary protection measures, including the following:
[0078] 1) Driver protection to prevent the safety control driver from being damaged. When a driver failure is detected, emergency measures are automatically initiated and operation and maintenance work is stopped;
[0079] 2) Process protection to prevent the security control process from being destroyed. When a process failure is detected, protection measures are automatically initiated and the process is restarted. If the process fails to start, the operation and maintenance work is forcibly stopped.
[0080] 3) System repair: Start system repair under abnormal conditions and initialize drivers and processes;
[0081] 4) Abnormal alarm: alarm on abnormal status of data security protection module, reminding management personnel to take necessary measures.
[0082] Security configuration management provides security configuration management functions for the database security control platform, including prior authorization, high-risk rule configuration, key data table configuration, and approval process configuration functions, providing online parameter configuration and management capabilities for the security control mechanism of the data security control platform.
[0083] 1) Pre-authorization configuration provides the system's pre-authorization configuration function, supports the pre-import function of operation scripts, and establishes a whitelist mechanism for scripts that have been reviewed and approved in advance. Scripts imported into the whitelist are allowed to be executed within the specified time window without the need for secondary review, thereby improving the efficiency of operation and maintenance operations;
[0084] 2) High-risk rule configuration management provides high-risk rule configuration management function, built-in commonly used high-risk operation rules, and supports online custom configuration of high-risk rules, providing rule basis for system high-risk operation identification and judgment;
[0085] 3) Key data table configuration provides key data table configuration function, combined with data resource display function, through common methods such as adding and batch importing, data tables are included in the key data table list to ensure the security of key data;
[0086] 4) User rights management provides database account rights classification management function, centrally allocates or reclaims the account rights of development and operation personnel;
[0087] 5) Active discovery of user accounts: By establishing a baseline list of database accounts, we proactively discover privileged accounts that are not under management, detect dangerous operations such as "secretly creating accounts" and "secretly deleting accounts", and promptly notify administrators to handle threats, providing assistance in cleaning up "ghost accounts" and "zombie accounts".
[0088] System management provides system management functions for the data security management and control platform, including authority management, user management, organization management, system configuration, system monitoring management, system log management and other functions, to support the stable operation of the data security management and control platform.
[0089] 1) Permission management provides permission management functions, supports user permission control and role permission control, provides basic permission management capabilities for the data security management and control platform, associates the management permissions of the managed business systems with user permissions, and enables different users to manage their own managed business systems;
[0090] 2) User management provides user management functions, obtains user information through integration with ISC, and provides basic user maintenance capabilities for the data security management and control platform;
[0091] 3) Organization management provides organization management functions, obtains organizational information through integration with ISC, and provides basic organizational maintenance capabilities for the data security management and control platform;
[0092] 4) System configuration provides system configuration functions, supports the configuration and maintenance of common system parameters, and provides basic system parameters for the data security management and control platform;
[0093] 5) System monitoring and management provides system monitoring and management functions to achieve online monitoring of system operation information and the health status of functional modules;
[0094] 6) System log management provides system log management functions to realize online maintenance and management of system operation logs and provide data support for subsequent system audits.
[0095] The peripheral interface integration integrates the database security control platform with the unified authority platform ISC, the SMS platform and the intranet portal system. The designed integration content is shown in the following table:
[0096]
[0097] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
[0098] Obviously, the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A database operation and maintenance security management and control system, characterized by: The application layer is set up as a database security management and control platform, providing a system front-end management interface, and implementing front-end metadata management, security configuration management, security protection management, and system management by calling the service layer; It supports deployment in a virtualized environment. All platform component tools are deployed based on the basic cloud platform. Each functional component adopts a master-slave or cluster mode. Policy configuration and prior authorization are implemented through the management console. High-risk behaviors are identified through the security control server. The front-end machine monitors and blocks high-risk behaviors in real time. The management console and security control server are deployed in a cluster. The database server is deployed in a master-slave mode. Presentation layer, application layer, service layer, data layer and infrastructure layer; the presentation layer uses JSP / Servlet, HTML and CSS technologies to build a functional visual operation interface for users to access through a browser; the service layer uses SpringBoot to realize the componentization of core system services, and realizes security management services, high-risk blocking services and authorized notification services; the data layer includes system support data, cache data and message queues; The infrastructure layer provides the basic hardware and software facilities of the system, including: a unified open platform, middleware, relational database, cache database, operating system, server, network equipment, security control equipment and peripheral interfaces. The data source of the database operation and maintenance security control platform is: maintenance work order data obtained from I6000, data source information configured on the system, and user data obtained through unified permissions; the server includes a database server, a security control server, a management console and a front-end machine; The security protection management includes monitoring engine, high-risk behavior identification, high-risk behavior control, key data protection, behavior auditing and self-protection engine. The behavior auditing includes in-process alarm and post-event tracing; The security configuration management includes prior authorization configuration, high-risk rule configuration management, key data table configuration, user rights management and active discovery of user accounts; The peripheral interface includes a unified authority platform, a short message platform and an intranet portal system, and the database security management and control platform is integrated with the peripheral interface.
2. The database operation and maintenance security management and control system according to claim 1, characterized in that: The system support data uses MySQL5.7 database, the cache data uses redis, and the message queue uses rabbitmq.
3. The database operation and maintenance security management and control system according to claim 1, characterized in that: The system management includes authority management, user management, organization management, system configuration, system monitoring management and system log management.
Citation Information
Patent Citations
Acquired safety control method and system based on target capable of setting information safety
CN101252441A
System protection framework combining multi-access control mechanism and method thereof
CN101534300A
