Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

2119 results about "Vulnerability detection" patented technology

Source code vulnerability detection using deep learning

Various embodiments of the present disclosure provide methods, apparatus, systems, computing devices, computing entities, and / or the like for detecting and locating vulnerabilities in source code. The method comprises receiving one or more source code files, matching source code from the one or more source code files to one or more program slices by parsing the source code and mapping one or more portions of the source code to the one or more program slices, wherein each of the one or more program slices comprises one or more program statements associated with one or more vulnerabilities, and generating, using a predictive machine learning model, a vulnerability prediction for each of the one or more source code files, the vulnerability prediction comprising one or more locations of vulnerable code in the source code based on the matching and a vulnerability class associated with each location of vulnerable code.
Owner:OPTUM INC

Localizing vulnerabilities in source code at a token-level

A vulnerability detection and repair system utilize a classifier model to detect a software vulnerability in a source code snippet and the tokens in the source code snippet attributable to the vulnerability. A large language model is then given the vulnerable source code snippet, its vulnerability type, the vulnerability tokens, and a few-shot examples to determine whether or not the source code snippet includes the identified vulnerability. The few-shot examples include positive and negative samples of the type of vulnerability to guide the large language model towards the correct output.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Systems and methods for reverse engineering-based detection of vulnerabilities

The present disclosure provides systems and methods that support identification of vulnerabilities within a dataset, such as an unknown binary, using customizable pipelines and workflows. The pipelines may be configured to apply various analysis techniques, including reverse engineering, machine learning / artificial intelligence, and other techniques to elicit various types of data and information from the unknown binary. The pipeline may include stages configured to analyze outputs of prior stages of the pipeline detect whether vulnerabilities or malicious code are present. Different stages of the pipeline may also be configured to initiate additional workflows for further analysis of the binary or intermediate representations of the binary output by prior stages of the pipeline. Additionally, the disclosed systems and methods provide functionality that enables generation of a reverse software bill of materials (SBOM) from an unknown binary or confirmation of contents of an existing SBOM.
Owner:BIGBEAR AI LLC

Source code detection method

The invention relates to the technical field of software engineering, in particular to a source code detection method, which comprises the steps of source code preprocessing, code dependency analysis, semantic understanding and analysis, code quality evaluation, dynamic behavior simulation, intelligent vulnerability detection and the like to realize comprehensive detection of potential vulnerabilities and quality problems in source codes. A support vector machine and a K-means clustering algorithm are combined, known and unknown vulnerabilities can be effectively recognized, in addition, a continuous optimization feedback mechanism is introduced, a mixed vulnerability detection model can be continuously optimized according to repair operation and feedback information of a developer, the detection accuracy is improved, and the coverage range is expanded. The generated comprehensive detection report covers code structures, vulnerability positioning, quality problems and optimization suggestions, supports integration of various output formats and development tool chains, helps developers to efficiently repair problems, and improves code quality and project progress; according to the method, the comprehensiveness, the self-adaptability and the user experience of code detection are effectively improved.
Owner:HLJ E LINK NETWORK CORP LTD

Unmanned aerial vehicle flight control system vulnerability detection method based on data flow analysis and LLM

The invention discloses an unmanned aerial vehicle flight control system vulnerability detection method based on data flow analysis and LLM, and belongs to the technical field of intelligent software testing. Comprising the following steps: extracting a code function module associated with user operation in an unmanned aerial vehicle flight control system through a data flow analysis method, and establishing an operation-code mapping relation library; generating a structured natural language semantic description for each function module code by adopting a large language model LLM, and forming a multi-dimensional semantic feature vector; based on correlation analysis of multi-module semantic features, a combined test scene is constructed, and a natural language test case is generated; the natural language test case is converted into an executable test code through reverse semantic mapping, and coding reconstruction of test logic is completed; and executing a test code and capturing a runtime log in an unmanned aerial vehicle simulation environment, and performing vulnerability feature extraction and root cause positioning by using a large language model. According to the method, the efficiency is improved, and meanwhile, the deep coverage test of a complex interaction scene is supported.
Owner:HUAZHONG UNIV OF SCI & TECH

Deep learning enhanced large language model prompting method for software vulnerability detection

The invention discloses a deep learning enhanced large language model prompting method for software vulnerability detection, which comprises the following steps: S1, a context learning code candidate set: screening out N code segments most similar to a target for selection in a training set by applying a locality sensitive hashing algorithm; s2, integrating models: integrating small-parameter scale models of multiple dimensions, including BERT type small-parameter models, small-parameter models based on code graph feature recognition and small-parameter models based on character relationship recognition, and selecting the models through comparison and evaluation; s3, vulnerability prediction: based on the training set, utilizing a small parameter model to train a network, and performing probability prediction on vulnerabilities; and S4, combining question and answer pairs: combining the candidate codes with the model prediction vulnerability probability, integrating the candidate codes with the vulnerability prediction value generated by the small parameter model, and constructing the question and answer pairs for further analysis.
Owner:NANJING KUANGJI INFORMATION TECH CO LTD +1

Unknown exploit detection using attack traffic analysis and real-time attack event streaming

Techniques for unknown exploit detection using attack traffic analysis and real-time attack event streaming are disclosed. In some embodiments, a system / process / computer program product for exploit detection using attack traffic analysis and real-time attack event streaming includes receiving a stream that includes a plurality of attack events from a security platform at a cloud security service; generating a cluster of attack events from the stream; and tagging the cluster with an unknown attack pattern for further automated security analysis at the cloud security service, wherein the tagged unknown attack pattern cluster does not match a preexisting signature for a known attack pattern.
Owner:PALO ALTO NETWORKS INC

Vulnerability detection method and related device

The present application provides a vulnerability detection method, comprising: acquiring a target branch of a target API in a detected code; generating a test case of the target API on the basis of proof information of a vulnerability API, wherein the test case of the target API is used for testing whether the target API has a vulnerability; determining an original seed for performing fuzz testing on the target branch of the target API; inputting the original seed into the test case of the target API; testing the target branch by means of the test case into which the original seed is inputted; screening for a seed on the basis of a test result; mutating the screened seed, and then inputting the mutated seed into the test case of the target API; and performing the next round of testing on the target branch by means of the test case into which the mutated seed is inputted so as to detect the vulnerability in the detected code. According to the method, saturation fuzz testing is performed on a specific branch (i.e., the target branch) of a specific API in a detected code, thereby achieving the objective of triggering the vulnerability quickly, realizing efficient fuzz testing for a vulnerability discovery scenario, and improving the vulnerability discovery efficiency.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Vulnerability description and repair suggestion generation method based on big language model reasoning and retrieval enhancement

The invention discloses a big language model reasoning and retrieval enhancement-based vulnerability description and repair suggestion generation method, which comprises the following steps of: constructing a vulnerability knowledge base by integrating vulnerability databases such as CWE and CVE and an external knowledge source, providing prompt information of professional knowledge for a big language model, preprocessing a to-be-tested code by utilizing a code analysis tool, and generating a big language model reasoning and retrieval enhancement-based vulnerability description and repair suggestion. And extracting vulnerability knowledge most related to a to-be-detected code from the vulnerability knowledge base through semantic matching and code matching, generating detailed vulnerability description and repair suggestions by utilizing a large language model based on the related vulnerability knowledge obtained in the retrieval enhancement stage, and optimizing a generation result through a thinking chain technology. By combining the semantic comprehension ability, the retrieval enhancement technology and the reasoning enhancement technology of the large language model, detailed and targeted vulnerability description and repair suggestions can be quickly generated, the vulnerability repair efficiency is remarkably improved, and the method can be flexibly applied to existing vulnerability detection tools and is suitable for various programming languages and vulnerability types.
Owner:HARBIN INST OF TECH

Source code vulnerability detection and repair through machine learning

A neural classifier model is used to detect cybersecurity vulnerabilities in the source code predicted by a deep learning code generation model having been trained on source code possibly containing security bugs. Upon the classifier model classifying a given source code snippet as likely containing a cybersecurity vulnerability, a proposed repair for the cybersecurity vulnerability is predicted from a neural decoder transformer model having been trained on non-vulnerable source code. The neural decoder transformer model is used to predict source code that repairs the cybersecurity vulnerability given the source code classified with a cybersecurity vulnerability.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Code vulnerability detection method based on efficient parameter fine tuning of code pre-training model

The invention relates to the technical field of software reliability guarantee, in particular to a code vulnerability detection method based on efficient parameter fine tuning of a code pre-training model, which comprises the following steps: preprocessing source codes of a vulnerability data set; s2, converting the preprocessed source code, and extracting a token sequence and a code attribute graph path corresponding to the source code; s3, constructing a code vulnerability detection model, wherein the code vulnerability detection model comprises a semantic feature extractor, a structural feature extractor, a feature fusion layer and a classifier; s4, jointly training a code vulnerability detection model by using the token sequence corresponding to the extracted source code and the code attribute graph path; and S5, through the optimized code vulnerability detection model, outputting a result that whether the source code to be detected has vulnerabilities or not. According to the method, the model is finely adjusted through efficient parameter fine adjustment, training resources are saved, good performance is obtained, and the code vulnerability detection efficiency and accuracy are improved by fusing and learning semantic and structural features of source codes at the same time.
Owner:SOUTH CHINA UNIV OF TECH

System and method for vulnerability localization based on deep learning

The present disclosure relates to a system and method for vulnerability localization based on deep learning, which comprises, at a minimum, a processor configured to: analyze a code file under detection to obtain a first abstract syntax tree devoid of semantic information; build upon the first abstract syntax tree by incorporating data-flow edges and / or control-flow edges, thereby forming a second abstract syntax tree with semantic-flow enhancement; split the second abstract syntax tree to obtain a plurality of second abstract syntax sub-trees; and input these second abstract syntax sub-trees into a pre-established vulnerability detection and localization model. Compared with existing code vulnerability detection methods, the present disclosure employs a semantically-enhanced abstract syntax tree and finely-grained segmentation thereof, enabling both the efficient detection and accurate localization of code vulnerabilities, characterized by swift detection rates, low false positive rates, and commendable interpretability of the detection results.
Owner:HUAZHONG UNIV OF SCI & TECH

Code vulnerability detection and validation

A method of code vulnerability detection includes obtaining a set of patches from at least one code repository for a vulnerability record of a vulnerability of a software component, applying the set of patches to obtain a modified set of code files modified by the set of patches, and inferring a vulnerable code section set according to the modified set of code files. The vulnerable code section set is a subset of the modified set of code files. The method further includes obtaining a vulnerable version list of a plurality of versions of the software component comprising the vulnerability, validating a version in the vulnerable version list as having the vulnerable code section set, and processing a target software comprising the version using the vulnerable code section set.
Owner:ORACLE INT CORP

Software vulnerability detection method based on multi-modal feature adaptive fusion

The invention discloses a software vulnerability detection method based on multi-modal feature adaptive fusion. The method comprises the following steps: preprocessing a code sample; extracting multi-modal feature information from the sample, integrating front-end information of a compiler to enhance code sequence representation, and applying an enhanced graph representation learning method to improve code graph structure representation capability; a loss function in the samples is constructed, shared features and specific features of the two modes are fully mined, and a contrast learning loss function is adopted to enhance the distinction degree between the samples; modal sharing features are used as a bridge, specific features of all modals are fused in a self-adaptive mode, and efficient comprehensive code representation is generated; and inputting the code comprehensive representation into the classifier, and judging whether the code sample has vulnerabilities or not according to the prediction score. According to the method, a multi-modal vulnerability detection model is designed, so that the integrity of feature extraction and the accuracy of vulnerability detection are effectively improved.
Owner:JIANGXI NORMAL UNIV

Systems and methods for detecting vulnerabilities in software in real time

Systems and methods for detecting vulnerabilities in software in real time. In some aspects, the system receives a training dataset, including first source code, first runtime data flow, a set of sample vulnerable libraries, and a set of sample replacement software libraries. Using the training dataset, the system trains a vulnerability detection model. The system receives second source code being tested in a development environment and collects the second source code and second runtime data flow. The system processes the second source code and second runtime data flow using the vulnerability detection model to identify novel vulnerable software libraries and / or known vulnerable software libraries. The system generates suggestions to replace the known and / or novel vulnerable software libraries. In response to detecting a user choosing a first replacement library in place of a first vulnerable library, the system replaces the first vulnerable library with the first replacement library.
Owner:CAPITAL ONE SERVICES LLC

Source code vulnerability detection and positioning method and device, equipment and storage medium

The invention belongs to the technical field of code vulnerability detection, and particularly provides a source code vulnerability detection and positioning method and device, equipment and a storage medium, and the method comprises the steps: obtaining a source code file for training and a diff file containing code modification; segmenting the source code into function generation program dependency graphs and code attribute graphs according to functions; identifying vulnerability sensitive nodes by combining a diff file analysis program dependency graph, performing code slicing, and generating a slice sub-graph of a code attribute graph; performing vectorization processing on nodes in each slice sub-graph, and inputting the processed nodes into a deep learning model for training evaluation to obtain a trained deep learning model; and extracting a program dependency graph from a to-be-detected source code file, generating slice sub-graphs, performing vectorization processing on nodes of each slice sub-graph, inputting the processed nodes into the trained deep learning model for analysis, and detecting vulnerabilities contained in each slice and specific positions of the vulnerabilities. And the vulnerability detection accuracy is improved.
Owner:LANG CHAO ZHI HUI KE JI (WU HAN) YOU XIAN GONG SI +1

Artificial intelligence security vulnerability detection platform based on deep learning

The invention discloses a deep learning artificial intelligence security vulnerability detection platform, and relates to the technical field of intelligent detection, and the platform comprises an information processing module which collects heterogeneous data in real time, carries out the labeling, format unification and modal aggregation processing of the data, and generates a sample set; the feature learning module is used for performing feature unwrapping on the sample set by using a variational auto-encoder, extracting modal data features and potential space representation learning, and outputting a potential space vector; the response generation module is used for generating a vulnerability response strategy through a modal consistency verification and response template matching mechanism based on the vulnerability risk level vector in combination with a response generation engine; and the repair feedback module is used for executing automatic vulnerability repair operation in combination with federal reinforcement learning and Bayesian optimization, performing feedback optimization according to an execution result, and outputting the vulnerability repair operation and a feedback result. According to the method, the response strategy is combined with intelligent matching of the real-time risk level, so that the accuracy and adaptability of vulnerability repair are improved.
Owner:HEFEI TANOVO INFORMATION SECURITY TECH CO LTD

Information security risk assessment method and system based on API

The invention discloses an information security risk assessment method based on an API. The method comprises the steps that API assets in an enterprise are obtained through flow analysis; identifying and positioning the log file or sensitive data in the file by using a sensitive data identification model; integrating the vulnerability rule set, and detecting vulnerability vulnerabilities existing on the API through an API vulnerability detection model; a behavior risk automatic monitoring engine is set, and real-time monitoring and early warning are carried out on the behavior of abnormally calling the AP I to obtain data; constructing a network attack monitoring model; drawing an API risk link relationship based on a risk monitoring model trained by historical monitoring data, and speculating a suspicious data leakage path in combination with clue association ranking analysis; performing comprehensive trace reserving on the API data use behavior; and calculating the risk by using a matrix method, and generating an API information security risk assessment report. Through the method, a comprehensive API security risk assessment system can be established, API security risks can be effectively identified and managed, and enterprise data security is protected.
Owner:SHENZHEN PENGQUAN TECHNOLOGY CO LTD

Smart-contract vulnerability detection method and system based on hypergraph and multi-teacher distillation

The present invention relates to the technical field of blockchains. Disclosed are a smart-contract vulnerability detection method and system based on a hypergraph and multi-teacher distillation. Specifically, the smart-contract vulnerability detection method based on a hypergraph and multi-teacher distillation comprises: using a vulnerability detection open-source tool to perform vulnerability detection and analysis on source codes of a smart contract, and marking labels for the source codes of the smart contract; then, using a hypergraph to dynamically capture a deeper and richer relationship between the source codes, key functions and key variables in the smart contract, and on the basis of the hypergraph, training a plurality of vulnerability detection teacher models having excellent performance; and finally, using the plurality of vulnerability detection teacher models to perform knowledge distillation, so as to obtain a vulnerability detection student model, such that the vulnerability detection student model can also obtain knowledge without exposure to large-scale data, and thus directly applies the knowledge to vulnerability detection of new data. The smart-contract vulnerability detection method based on a hypergraph and multi-teacher distillation in the present invention can effectively detect various types of smart-contract vulnerabilities, and can effectively reduce the occupancy of storage space and improve the running speed.
Owner:HANGZHOU YUNXIANG NETWORK TECH

LLM Agent-based Web application vulnerability dynamic detection method and system

The invention discloses a Web application vulnerability dynamic detection method and system based on an LLM Agent, and belongs to the technical field of vulnerability detection. The method comprises the following steps: firstly, aiming at a business scene which is easy to cause security vulnerabilities, splitting a test task of the business scene into smaller manageable test sub-tasks based on a multi-modal large language model, and then sequentially inquiring the large language model to generate codes capable of simulating and executing each sub-task; the generated codes are sequentially executed based on the LLM Agent technology to simulate and execute the subtasks, HTTP messages intercepted by an agent program in the execution process are collected, the HTTP messages with vulnerability features are extracted through a regular expression, and finally a vulnerability report is output. The Web application vulnerability detection method and device aim at solving the problems that an existing Web application vulnerability detection method is low in dynamic test coverage rate, low in test depth and difficult to adapt to various Web service scenes.
Owner:NAT UNIV OF DEFENSE TECH

Source code vulnerability detection method and system based on Transform language model

The invention relates to the technical field of internet security, in particular to a source code vulnerability detection method and system based on a Transform language model.The code sample data are obtained, and vulnerability types in the code sample data are labeled with category labels to construct a vulnerability detection sample data set; the multi-classification CodeBERT model is constructed, the vulnerability detection sample data set is utilized to train the multi-classification CodeBERT model, the trained multi-classification CodeBERT model is used as a vulnerability detection target model, and the multi-classification CodeBERT model is constructed based on a RoBERTa word segmentation device and a Transform language model; and inputting a to-be-detected source code into the vulnerability detection target model, and identifying and outputting a vulnerability category in the to-be-detected source code by utilizing the vulnerability detection target model. According to the method, the deep semantic, structural and grammatical features of the source code can be fully considered, the fine-tuned model is used for well performing source code vulnerability mining detection, and the method has a good application prospect in the field of software security.
Owner:Chinese People's Liberation Army Cyberspace Force Information Engineering University

System and method for governance and management of enterprise software

Disclosed in some examples is an enterprise software management system (ESMS) that manages procurement, deployment, security, and maintenance of software in large enterprises. The ESMS may include one or more of a software tracking component, a software component storage component, a licensing repository component, a software vulnerabilities detection component, and a software risk management component. The ESMS governs and manages software applications and components to reduce legal, security, and other risks to the enterprise environment. The ESMS solves the technical problem of tracking and managing software and components using the technical solution of a tracking framework that utilizes interconnected systems that document, track, and ensure compliance with enterprise software goals.
Owner:WELLS FARGO BANK NA

Vulnerability detection method based on source code structure and detection system thereof

The invention discloses a vulnerability detection method based on a source code structure and a detection system thereof, and belongs to the technical field of code vulnerability detection. Comprising the following steps: analyzing a source code to generate an abstract syntax tree; building a multi-level graph based on the abstract syntax tree; detecting potential vulnerabilities in the source code based on a graph theory algorithm to generate a potential vulnerability report; performing a predetermined operation on the source code to identify a complex dependency relationship and a data flow path in the source code; detecting vulnerabilities in the source code structure based on a multi-level graph theory analysis method to generate a code structure vulnerability report; and detecting the potential vulnerability report and the code structure vulnerability report in combination with an adaptive scanning strategy, generating a vulnerability detection report, judging whether to repair according to the vulnerability detection report, and giving a repair suggestion. According to different types of source code files and known vulnerability features, the detection strategy is dynamically adjusted, and the detection efficiency is improved.
Owner:JIANGSU QITONG HAOMIAO INFORMATION TECH CO LTD

Web vulnerability scanning method, system and device and medium

The invention discloses a Web vulnerability scanning method, system and device and a medium, and the method comprises the steps: data collection: obtaining a source code and a configuration file of a target Web application, and data and historical vulnerability information of the application during operation; feature extraction: analyzing source codes to extract key function calling, parameter passing and control flow information, and constructing semantic representation of codes; analyzing runtime data, and constructing a comprehensive feature vector in combination with a static code analysis result; model training: matching the extracted features with known vulnerability tags to form a training set and a test set; a deep learning model is selected for training according to problem characteristics, and hyper-parameters are adjusted to optimize model performance; vulnerability detection: executing automatic scanning on the Web application to be detected, and judging whether vulnerabilities exist or not according to the features extracted in real time; and generating a report. According to the method, a comprehensive automatic process from data collection to vulnerability report generation is realized, the scanning efficiency and accuracy are remarkably improved, and the security risk is effectively reduced.
Owner:HENAN ZHONGYUAN CONSUMER FINANCE CO LTD

Vulnerability detection method and device for smart contract, and storage medium

Disclosed are a vulnerability detection method and device for a smart contract, and a storage medium. The method includes the following steps: constructing a control flowchart for the smart contract and collecting opcodes, operands, and opcodes in a static single assignment (SSA) form based on a call flow thereof; crawling application binary interfaces in a blockchain browser based on an address of the smart contract; using the opcodes and the operands as an input, and outputting function parameters; monitoring whether there are specified actions in functions to determine function attributes; and fusing the opcodes in the SSA form and the application binary interfaces or a concatenation form of the function parameters and the function attributes by an encoder, and obtaining existent vulnerability types by a decoder. With the technical solution of the present disclosure, semantic and function interface information in bytecodes is effectively used, and multi-label vulnerability detection is implemented.
Owner:HAINAN UNIV

Security analysis system

The embodiment of the invention provides a security analysis system, and the system comprises a full-flow detection subsystem which is used for collecting target network flow and carrying out the security monitoring of the target network flow; the asset vulnerability detection subsystem is used for performing security monitoring on the vulnerability information of the target assets and generating a security assessment report; and the big data analysis subsystem is used for performing data analysis on the target network security event based on a big data analysis platform and predicting the development trend of the target network security event. According to the embodiment of the invention, the network defense capability can be improved, and network security can be realized.
Owner:CHINA MOBILE GROUP ANHUI +1

Fine-grained vulnerability detection method and system based on semantic perception sparse attention

The invention relates to the technical field of vulnerability detection, and provides a fine-grained vulnerability detection method and system based on semantic perception sparse attention, and the method comprises the steps: analyzing a to-be-detected source code, and generating an abstract syntax tree, a control flow graph and a program dependency graph; carrying out weighted fusion on graph representations of the abstract syntax tree, the control flow graph and the program dependency graph, and integrating into a code attribute graph; for the code attribute graph, processing the code attribute graph by adopting a semantic perception sparse attention method combined with sparse attention, a learnable Token pruning method and Top-k interaction frequency to obtain a Token attention score; and based on the obtained Token attention scores, accumulating the attention score of each Token in each row of the code, and detecting and determining a statement where the vulnerability code is located. According to the detection method disclosed by the invention, the capability of modeling code semantic information and capturing a structured dependency relationship can be effectively improved, and meanwhile, the calculation complexity is remarkably reduced.
Owner:SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN +1

Intelligent contract vulnerability detection and repair system based on heterogeneous graph neural network

The invention discloses an intelligent contract vulnerability detection and repair system based on a heterogeneous graph neural network, and belongs to the technical field of block chain security, and the system comprises a contract analysis module, a multilayer graph construction module, a heterogeneous graph neural network module, a vulnerability feature library, a vulnerability recognition engine, an automatic repair module and a visual interface. After the source code of the intelligent contract is input, code analysis and standardization are completed by a contract analysis module; the multi-layer graph construction module constructs a contract internal heterogeneous graph, an inter-contract interaction graph and an ecosystem relation graph based on a graph theory; the heterogeneous graph neural network module learns a vulnerability feature mode; the vulnerability recognition engine combines the vulnerability feature library to realize vulnerability classification and risk assessment; the automatic repairing module generates a repairing scheme; and the visual interface realizes detection progress monitoring, result display and encrypted report export. The intelligent contract vulnerability detection and restoration system based on the heterogeneous graph neural network provided by the invention provides technical support for block chain digital asset security and ecological stability.
Owner:GUANGDONG UNIV OF TECH

Methods and systems for identifying binary code vulnerability

There are provided methods and apparatuses for a control flow execution-guided deep learning framework for binary code vulnerability detection. Reinforcement learning is to enhance the branching decision at every program state transition and create a dynamic environment to learn the dependency between a vulnerability and certain program states. An implicitly defined neural network enables state transition until convergence, which captures the structural information at a higher level.
Owner:BLACKBERRY LTD

PHP taint type vulnerability detection method based on heterogeneous graph neural network

The invention discloses a PHP taint type vulnerability detection method based on a heterogeneous graph neural network, and belongs to the field of software security. The method comprises the following steps: performing annotation removal, variable naming standardization and character string standardization processing on a PHP source code through a code preprocessing module to generate a standardized code; based on a vulnerability sub-attribute graph extraction module, reversely tracking vulnerability sinks to a taint source, extracting a simplified vulnerability sub-attribute graph, and removing redundant nodes and edges; fusing BERT semantic features and node type features through a graph node embedding module to generate an initial embedding vector, and constructing a heterogeneous graph comprising an abstract syntax tree edge, a program flow graph edge and a control dependence graph edge; a heterogeneous graph neural network vulnerability detection module is adopted to perform independent feature aggregation on multiple types of edges, dynamic weighted fusion is performed in combination with an attention mechanism, and key nodes are screened through Top-k graph pooling; and finally, inputting the graph-level features into a classifier to realize vulnerability detection.
Owner:YANSHAN UNIV