首页> 外国专利> Systems and methods for improving accuracy in recognizing and neutralizing injection attacks in computer services

Systems and methods for improving accuracy in recognizing and neutralizing injection attacks in computer services

机译:用于提高计算机服务中识别和中和注射攻击的准确性的系统和方法

摘要

Systems and methods for analyzing SQL queries for constraint violations for injection attacks. Tokenizing a SQL query generates a token stream. A parse tree is constructed by iterating over lexical nodes of the token stream. The parse tree is compared to a SQL schema and access configuration for a database in order to analyze the SQL query for constraint violations. Evaluation flaws are also detected. A step-wise, bottom-up approach is employed to walk through the parse tree to detect types and to ascertain from those types whether the condition for SQL execution is static or dynamic. SQL request security engine logic refers to predetermined protective action data and takes the particular type of action specified by the predetermined protective action data. Security is further enhanced by limiting service of requests to requests of one or more specific, accepted data types. Each request is parsed into individual data elements, each an associated key-value pair. If the key is any data element of the request matches a predetermined allowed key, detection and neutralization of any injection attack in the associated value data of the data element is bypassed. A number of patterns that match information to be obscured in logs are established and any matching information is replaced with obscured data. When recording information to the logs, any data whose key is a predetermined masked key is replaced with obscured data.
机译:用于分析SQL查询的系统和方法,以进行注射攻击的约束违规。授权SQL查询生成令牌流。通过迭代令牌流的词汇节点来构建解析树。将解析树与数据库的SQL架构和访问配置进行比较,以便分析约束违规的SQL查询。还检测到评估缺陷。逐步,自下而上的方法被采用通过解析树来检测类型并从这些类型确定SQL执行的条件是否是静态的或动态的类型。 SQL请求安全引擎逻辑指的是预定的保护动作数据,并采用由预定保护动作数据指定的特定类型的动作。通过将请求的服务限制为一个或多个特定的,接受的数据类型的请求的服务进一步增强了安全性。每个请求被解析为各个数据元素,每个都是关联的键值对。如果键是请求的任何数据元素,则符合预定的允许密钥,绕过数据元素的相关值数据中的任何注射攻击的检测和中和。建立许多匹配要在日志中遮挡的信息的模式,并且任何匹配信息都被遮挡的数据替换。将信息记录到日志时,用遮蔽数据替换密钥是预定屏蔽键的任何数据。

著录项

  • 公开/公告号US11100218B2

    专利类型

  • 公开/公告日2021-08-24

    原文格式PDF

  • 申请/专利权人 PREVOTY INC.;

    申请/专利号US201816015980

  • 发明设计人 KUNAL ANAND;

    申请日2018-06-22

  • 分类号G06F21/54;H04L29/06;G06F21/55;

  • 国家 US

  • 入库时间 2024-06-14 21:59:13

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号