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

318 results about "Injection attacks" patented technology

Injection attacks refer to a broad class of attack vectors that allow an attacker to supply untrusted input to a program, which gets processed by an interpreter as part of a command or query which alters the course of execution of that program. Injection attacks are amongst the oldest and most dangerous web application attacks.

Signing large language model prompts to prevent unintended response

A technique to prevent a prompt injection attack utilizes a security agent to sign a large language model prompt with a secret that is isolated from the user application or device that generates a user prompt. The secret is tailored for a specific user identifier and session identifier. The large language model is instructed to repeat the secret in each response. The security agent retrieves the response from the large language model and checks for the secret. When the secret is not part of the response, an error message is forwarded to the user application instead of the response.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Prevention of prompt injection attacks on large language models by tokenization of structured data elements

Systems and methods for implementing prevention of prompt injection attacks on large language models by tokenization of structured data elements is presented. The systems and methods replace one or more data elements in a database response with one or more tokens to produce a tokenized database response. The systems and methods provide the tokenized database response to a large language model (LLM). The systems and methods receive a tokenized LLM output that includes at least one of the one or more tokens. The systems and methods produce a detokenized LLM output by replacing the one or more tokens in the tokenized LLM output with the one or more data elements.
Owner:CROWDSTRIKE

Large language model cue word injection attack detection method and device based on context learning

The invention discloses a large language model cue word injection attack detection method and device based on context learning, and belongs to the technical field of artificial intelligence, and the method comprises the steps: based on a Bert pre-training model, through introducing a label-based attention module, learning inherent characteristics and dependency relationships between different levels and different labels, and obtaining a Bert model cue word injection attack detection result; a multi-level and multi-label fine-grained classification model for the cue word injection attack is designed, so that accurate recognition of the cue word injection attack is realized. Meanwhile, according to context learning, the prediction capability of the classification model is combined with the capability of a large language model, and the defense capability of the large language model for cue word injection attacks is improved. The method can automatically detect the cue word injection attack, improves the effectiveness and comprehensiveness of detection, and can be effectively applied to the field of large model security detection.
Owner:ZHEJIANG JUNTONG INTELLIGENT TECH CO LTD

Modeling of adversarial artificial intelligence in blind false data injection against ac state estimation in smart grid security, safety and reliability

Computer-implemented methods and systems for training an adversarial neural network to simulate a stealthy blind false data injection attack on a cyber physical system are provided. Supervised learning is used to generate an initial attack vector, by an adversarial attack generation model, based on inferred grid topology and historical measurements. A final attack vector is generated, by an adversarial verification model, based on a filtered subset of the initial attack vector utilizing a substitute bad data detection threshold, wherein the final attack vector enables creation of a counter measure.
Owner:TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)

Systems and methods for generating privilege based segmented instruction prompts for a generative large language model

A method and system for generating a privilege based segmented instruction prompt has been developed. Trusted instructions defining the trusted instructions as having a first privilege level, program instructions as having a second privilege level, and data instructions as having a third privilege level are received. The program instructions to implement tasks associated with the data instructions are received. The data instructions are received. The generated privilege based segmented instruction prompt includes the trusted instructions, the program instructions, and the data instructions. The privilege based segmented instruction prompt enables a generative LLM to determine whether the privilege based segmented instruction prompt is an instruction injection attack based on whether there is a conflict between the trusted instructions, the program instructions, and the data instructions in violation of the first, second, and third privilege levels.
Owner:SALESFORCE INC

System and method for detecting prompt injection attacks to large language models

A computing system receives a prompt to be provided as input to a large language model. The computing system generates generating an input string to the large language model by appending a plurality of contexts to the prompt. The plurality of contexts defines rules for the large language model to follow when generating the prompt. The plurality of contexts includes a negative context. Based on the prompt and the plurality of contexts, the computing system generates an attention matrix representing relationships between the prompt and the plurality of contexts. The computing system provides the attention matrix to a trained neural network to determine a likelihood that the prompt is malicious. Responsive to determining that the prompt is likely a malicious prompt, the computing system initiates a remedial action.
Owner:DROPBOX INC

Prompt injection defense method and system, electronic equipment and storage medium

The embodiment of the invention discloses a prompt injection defense method and system, electronic equipment and a storage medium, and the method comprises the steps: carrying out the preliminary detection of an input text, and obtaining a preliminary detection result; performing semantic analysis on the input text to generate a semantic understanding analysis report; obtaining current operation parameters of the target large language model; according to the current operation parameters, obtaining a behavior pattern analysis result of the target large language model; obtaining a current defense strategy of the target large language model according to the preliminary detection result, the semantic comprehension analysis report and the behavior pattern analysis result; according to the method, the input text and the running state of the large language model are closely combined, so that the prompt injection attack suffered by the large model can be accurately detected, the large model can be efficiently prevented from being hostile attacked, and the corresponding defense strategy can be formulated in a complex attack scene; more effective defense is realized, and the robustness of the whole defense system is improved.
Owner:CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Detecting and mitigating prompt injection attacks on large language models

Systems and methods for detecting and mitigating prompt injection attacks on a generative LLM are disclosed. A deployment scenario is considered, in which the generative LLM supports a task automation function. Prompts are received and interpreted by the generative LLM, and outputs from the generative LLM are used to trigger automation actions. The prompts are constructed based on a combination of user input and external data and are, therefore, vulnerable to prompt injection attacks though manipulation of the external data. To mitigate this risk, a separate discriminative classification, decoupled from the generative LLM, engine is configured to identify malicious prompts, and filter out any malicious prompts before they reach the generative LLM.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Method and system for detecting false data injection attack of power system

The invention discloses a power system false data injection attack detection method and system. Measurement data of a power distribution system are acquired; constructing an attack sequence, and injecting the constructed attack sequence into the obtained measurement data to simulate a false data attack; constructing a false data injection attack detection model based on the expansion causal convolution and the recurrent neural network to analyze the state change of the power distribution system; and judging an attack behavior according to the analyzed state of the power distribution system. According to the method, time sequence data can be processed, the long-term dependency relationship and the complex mode can be captured, and the response capability to the complex attack mode can be improved, so that the false data injection attack can be effectively detected and prevented, and the safety and reliability of the power distribution system can be maintained.
Owner:STATE GRID LIAONING ELECTRIC POWER CO LTD +1

Prompt injection attack defense method and device, storage medium and electronic equipment

ActiveCN118551366ADefense responds quicklyImprove defense accuracyDigital data information retrievalPlatform integrity maintainanceInternet privacyEngineering
The embodiment of the invention discloses a prompt injection attack defense method and device, a storage medium and electronic equipment.The method comprises the steps that firstly, when a current question request initiated to a deployed large language model is detected, the current question request is intercepted through a pre-injected security aspect service; and performing camouflage instruction elimination on the current question request through the security aspect service to obtain a target question request, and inputting the target question request into the large language model to determine security answer feedback data corresponding to the current question request. According to the technical scheme, the prompt injection attack can be effectively avoided, dependence on expert priori knowledge is avoided, the defense accuracy of the prompt injection attack is improved, and the security of large language model service is improved; meanwhile, the basic framework of a large language model does not need to be adjusted based on the security aspect service, the workload of prompting injection attack defense is effectively reduced, the cost is reduced, the defense response of the security aspect service is rapid, and the security is further improved.
Owner:ANT GROUP CO LTD

Defending large generative models from prompt injection attacks

This disclosure describes utilizing an attack defense system to improve the defense robustness of a targeted large generative model (LGM) by generating a set of variant prompt injection attacks that are successful against the targeted LGM, where the set of variants is based on a prompt injection attack (e.g., jailbreak) against the targeted LGM or another LGM. For example, the attack defense system utilizes a two-phase framework to generate variant prompt injection attacks and evaluate their attack effectiveness against a targeted LGM. The attack defense system achieves improved variant prompt injection attacks by repeating the two-phase framework and gaining insights from the effectiveness scores of previously generated variants. In addition to generating enhanced variants, the attack defense system generates diverse variants to safeguard the targeted LGM against a broader range of prompt injection attacks that employ more creative and complex styles.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Prompt injection attack test case obtaining method for large language model

The invention relates to a method for obtaining a hint injection attack test case for a large language model, which combines a conditional variation auto-encoder cVAE and a Markov chain, and obtains a large language model test case through data generation and context modeling, gradual exposure of malicious instructions and simulation of multiple rounds of dialogue attacks in reality. Realizing multiple rounds of dialogue attacks on the large language model, and challenging the defense capability of the large language model; the design scheme introduces a concealment technology, role play attack, state transition and other technologies, improves the complexity and concealment of attacks, has the core advantages of automation, higher concealment, wide coverage, batch testing and the like, can evaluate the security defense capability of the large language model more truly and comprehensively, and improves the security defense capability of the large language model. The defects of an existing defense mechanism are found, and research on multi-round prompt injection attacks and improvement of a security defense mechanism are promoted.
Owner:信联科技(南京)有限公司 +1

Method, model and equipment for identifying hint injection attack aiming at large language model

The invention relates to the field of artificial intelligence and natural language processing, in particular to a method, a model and equipment for identifying a prompt injection attack for a large language model. The method comprises the following steps: acquiring a cue word to be input into an LLM; performing semantic analysis on the cue word to obtain a semantic analysis result; performing prompt injection word detection on the prompt word to obtain a prompt injection word detection result; and according to a semantic analysis result and a prompt injection word detection result, analyzing whether the prompt word relates to a prompt injection attack. The invention provides a fusion recognition mechanism combining semantic analysis and prompt injection word detection, and the fusion recognition mechanism is specially used for recognizing the prompt injection attack aiming at the LLM, so that the defense capability for the LLM prompt injection attack is improved.
Owner:BEIJING WUWEN CORE TECH CO LTD

Efficient training data generation for training machine learning models for security and privacy inspection of bidirectional generative artificial intelligence traffic

Disclosed is a training data generation system for generating training data used to train machine learning models to inspect GenAI traffic to identify security and privacy concerns related to GenAI use. The training data generation system is seeded with initial prompts. The initial prompts include benign prompts, prompt injection attacks, and uploaded files. Each initial prompt is submitted to multiple GenAI applications to obtain responses. The corresponding prompts and responses are stored in a training data repository. Variations of the initial prompts are generated using, for example, one of the GenAI applications. Each variation is submitted to each of the GenAI applications as well, and the corresponding prompts and responses are stored. Another machine learning model, regex patterns, a combination, or the like may be used to label the prompts and responses in the training data repository to generate a large training data set quickly and efficiently.
Owner:NETSKOPE INC

Model context protocol injection attack protection method and device based on dynamic semantic analysis, computer equipment and storage medium

The embodiment of the invention relates to the field of artificial intelligence, and provides a model context protocol injection attack protection method and device based on dynamic semantic analysis, computer equipment and a storage medium, and the method comprises the steps: obtaining request data corresponding to a call request initiated by a user through a model context protocol, carrying out the preprocessing of the request data, obtaining the preprocessed request data; performing semantic vectorization on request text and context historical information in the request data through a lightweight bidirectional encoder representation model to output an initial risk score; correcting the initial risk score according to context historical information carried in a model context protocol to obtain a corrected final risk score; and performing hierarchical defense decision according to the final risk score, and determining risk grading information corresponding to each piece of request data so as to execute a protection action corresponding to each piece of risk grading information. By adopting the method, the accuracy of identifying the protocol injection attack can be improved.
Owner:E SURFING VISION TECHNOLOGY CO LTD

Multiple Fraud Type Detection System and Methods

A system and method for multiple fraud type detection includes anti-injection attack system that has a layered architectural approach that uses a includes combination of different specific models to detect the attacks in combination with image processing techniques, device signals and liveness checks to detect the variety of different types of fraud attacks or repeat fraud attacks. The anti-injection attack system applies the analysis of the tools used to create deepfake, face morph and face swap attacks to define the elements of its layered architecture that can these various types of attacks.
Owner:JUMIO CORP

Preventing attacks on generative models

A computer-implemented method is provided that prevents prompt injection attacks against generative models. Input data is received, and a first prompt section is generated from the input data. First, second and third instructions are received, which respectively instruct the generative model to carry out a task based on the first prompt section, inform the generative model of a boundary of the first prompt section, and instruct the generative model to ignore any instructions in present in the first prompt section. A prompt for the generative model is generated from the first prompt section and the first instructions, second instructions and third instructions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Multi-modal attack identification method fusing BMama and difference to guide trans-attention

The invention discloses a multi-modal attack identification method fusing BMama and difference to guide trans-attention, which comprises the following steps: simulating a false data injection attack, a denial of service attack, an address resolution protocol spoofing attack and a domain name system spoofing attack, collecting physical layer sensor data and network layer flow data, and preprocessing multi-modal data; bMama is constructed to perform dynamic time modeling on multi-modal data, a graph neural network is combined to adversariate a variational auto-encoder, features of a power grid system topology and a communication topology structure are fused, and robustness of potential representation is enhanced through adversarial training; the method comprises the following steps of: guiding feature complementary fusion by using modal difference through a difference guide iteration cross-attention fusion mechanism, improving the capability of distinguishing complex attacks, finally carrying out attack detection and classification on fused modals, and executing end-to-end optimization according to a weighted combination of loss of each part. The method can effectively detect and classify the multi-modal attack in the smart power grid, and enhances the safety and reliability of a complex system.
Owner:SOUTHEAST UNIV

False data injection attack detection method and device based on federal learning and comparative learning, and storage medium

The invention discloses a false data injection attack detection method and device based on federal learning and comparative learning, and a storage medium, and aims to improve the network security of a smart power grid. According to the method, power grid data are collected and preprocessed through local centers of all regions, local model training is carried out through comparative learning, then the trained model is uploaded to a control center for parameter aggregation, and a global model is generated. And the local center adopts an index moving average method to update a local model, and uses a small amount of label data to train a binary classifier to carry out FDIA detection. According to the method, the problem of data islands is effectively solved, the generalization ability and the detection precision of the model are improved, and data privacy is protected at the same time. The device comprises a processor and a memory, and computer program instructions for executing the method are stored in the memory. The invention further provides a storage medium which is used for storing related computer program instructions.
Owner:GUIZHOU UNIV

Power network attack chain dynamic deduction and intelligent response process method, system and device based on deep reinforcement learning, and medium

The invention discloses a power network attack chain dynamic deduction and intelligent response process method, system and device based on deep reinforcement learning and a medium, and belongs to the technical field of network security and power system protection. Multi-modal data is aligned and normalized, an event view cache is constructed, and the generalization detection capability on process camouflage and memory injection attacks is improved through a federated learning collaborative detection mechanism; based on the event view cache and historical threat intelligence, generating a dynamic attack knowledge graph, constructing a deep reinforcement learning model taking the attack knowledge graph as an environment, calculating an attack influence index by using a Bayesian network, and generating a differentiated security response instruction; and realizing attack path backtracking and attack source positioning based on the attack knowledge graph. According to the method, multi-modal data fusion analysis and strategy adaptive updating are realized, and the attack chain identification accuracy and evidence chain construction integrity are remarkably improved.
Owner:GUANGXI POWER GRID CORP

Power system data driving damping controller under false data injection attack

The invention discloses an electric power system data driving damping controller under false data injection attack, and relates to the technical field of novel electric power system control and network security, and the electric power system data driving damping controller comprises the following steps: S1, aiming at a wide area measurement signal of a damping controller, determining a condition that an attack signal reaches system stability destroying, and constructing multiple types of false data injection models; s2, designing an attack detection mechanism and an attack compensation module based on a threshold value according to the attacked controller measurement signal; s3, establishing a data driving model corresponding to the controlled system under the action of attack compensation; according to the method, the output signal of the controller is updated and the output of the controlled power system at the next moment is predicted by using the online I / O data of the controlled power system, so that the method can adapt to various operation conditions and is high in self-adaptability; the method has the capability of resisting false data injection attacks, the influence of the communication risk of network attacks on the system stability can be avoided, and the robustness of the controller is improved.
Owner:CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY

Liveness detection based on motion, face, and context cues

ActiveUS12300035B1Image enhancementImage analysisPattern recognitionContextual cueing
Techniques for liveness detection using a motion, face, and context cues. The techniques can be implemented to prevent against successful presentation attacks, video injection attacks, and deepfake attacks. In some examples, the techniques encompass receiving a set of video frames from a personal computing device. A first liveness determination can be made using a motion-based model based on the received video frames. A second liveness determination can be made using a face-based model based on the received video frames. A third liveness determination can be made using a context-based model based on the received video frames. A final liveness determination can be made based on the first, second and third liveness determinations.
Owner:AMAZON TECH INC

Direct current micro-grid false data injection attack detection method based on deep learning

The invention provides a direct current micro-grid false data injection attack detection method based on deep learning, and aims to improve the safety and stability of a direct current micro-grid when the direct current micro-grid encounters hostile attacks. According to the method, a parallel double-branch model in which Transform and GRU are combined is adopted, the advantages of the Transform and the GRU are brought into full play, and efficient identification of the false data injection attack (FDIA) is achieved. Through multi-level feature fusion and a decision-making mechanism, the model can accurately identify various false data injection attacks in a complex attack scene, and relatively high detection accuracy is kept. Experimental results show that the method shows excellent performance in a direct current micro-grid environment, has a wide application prospect, and particularly has a remarkable application value in engineering practice.
Owner:ZHENGZHOU UNIV

False data injection attack detection method and system based on elastic energy prediction

The invention discloses a false data injection attack detection method and system based on elastic energy prediction. The method comprises the steps that a distributed node network is constructed, nodes are deployed to collect real-time energy output data, each node generates a state estimation value according to a Kalman consensus filtering model, an innovation vector is calculated, and a monitoring threshold is adjusted by combining an association weight of a network topology; inputting a state estimation value, an innovation vector and real-time energy output data, calculating an accumulated deviation trend by using a time sequence analysis method, identifying a slow penetration attack in combination with a sliding window, and judging whether a false data injection attack exists or not; when it is judged that the false data injection attack exists, operation parameters of the energy equipment are adjusted, attacked nodes are isolated, non-attacked nodes are redistributed, and state change information is recorded; and according to the attack frequency, the node association weight and the operation cost, the detection parameters are adjusted in the dual-time scale, the resource allocation weight is optimized based on the feedback data, and the detection probability, the response time and the resource allocation strategy are dynamically updated.
Owner:STATE GRID LIAONING ELECTRIC POWER CO LTD +1

System and Method for Advanced Countermeasures Against Prompt Injection Attacks in Large Language Models

In an embodiment, a method includes receiving a prompt provided to a large language model (LLM), generating a semantic fingerprint for the prompt based on semantic and syntactic features associated with the prompt, generating a vector representation incorporating the semantic fingerprint for the prompt, calculating semantic distances between the vector representation and multiple vector representations associated with multiple malicious intents, determining an intent associated with the prompt based on the semantic distances, and determining a defense action on the prompt based on the intent and multiple policies to mitigate a security risk associated with the prompt.
Owner:CISCO TECHNOLOGY INC

Hidden false data injection attack detection and safety control method for quad-rotor unmanned aerial vehicle

The invention discloses a hidden false data injection attack detection and security control method for a quad-rotor unmanned aerial vehicle, and belongs to the technical field of information security. The problem that the hidden false data injection attack in the quad-rotor unmanned aerial vehicle system cannot be detected by the existing attack detection method is solved. According to the method, a watermark signal sequence and an auxiliary function are introduced to enable a residual signal to be sensitive to attacks, a residual signal calculation method based on linearization model observability and a parallel Kalman filter is provided, and hidden false data injection attack detection is further carried out on the residual signal. And control input is calculated based on a state estimation result of the parallel Kalman filter, so that safety control of the quad-rotor unmanned aerial vehicle is realized. The method can be applied to hidden false data injection attack detection and security control.
Owner:HARBIN INST OF TECH

SQL attack recognition method and system based on deep learning dynamic target range feature fusion

The invention discloses an SQL attack recognition method and system based on deep learning dynamic target range feature fusion, and the method comprises the steps: S1, building a target server, simulating a real SQL injection attack, and obtaining an injection attack sample; s2, decoding and detecting the obtained injection attack sample data packet to obtain an injection attack statement text data set; s3, in combination with the word frequency text frequency index and a SuperTermVector word vector algorithm, converting the text data with the attack statements injected into the data set into corresponding numerical features; s4, inputting the injected attack statement numerical value vector features into the LC-CNN model to perform classification model training; and S5, identifying test data by using the trained LC-CNN model, and judging whether an SQL attack exists or not. The method has significant advantages in training efficiency and classification accuracy, and has good robustness and generalization ability on the whole.
Owner:HUNAN UNIV OF SCI & ENG

Method and device for training prompt injection attack detection model, storage medium and electronic equipment

The embodiment of the invention discloses a method and device for training a cue injection attack detection model, a storage medium and electronic equipment, word feature information corresponding to cue word training samples is obtained, and the cue word training samples comprise normal cue words and cue words with cue injection attacks being prompted; obtaining corresponding account feature information according to the account attribute of the questioning user corresponding to the cue word training sample; obtaining corresponding dialogue feature information according to the historical dialogue record of the questioning user for the large model; and training a prompt injection attack detection model according to the account feature information, the dialogue feature information and the word feature information to obtain a trained prompt injection attack detection model.
Owner:ANT GROUP CO LTD

Method and device for training prompt injection attack detection model, medium and equipment

The embodiment of the invention discloses a method and device for training a prompt injection attack detection model, a storage medium and electronic equipment, and the method comprises the steps: obtaining a first prompt word training sample which comprises a normal prompt word and a prompt word which is subjected to a prompt injection attack; inputting the first cue word training sample into a to-be-protected large model, and obtaining multiple pieces of processing step information in the processing process of the first cue word training sample output by the large model; label information corresponding to the multiple pieces of processing step information is obtained, and the label information is used for indicating whether the corresponding processing step information is prompted to be injected and attacked or not; model training is carried out on the basis of the multiple pieces of processing step information and the label information, a trained prompt injection attack detection model is obtained, and the prompt injection attack detection model is used for predicting content causing prompt injection attacks in prompt words to be detected.
Owner:ANT GROUP CO LTD

Data processing method and device

The invention discloses a data processing method and device. The data processing method comprises the following steps: receiving a first text for dialogue; when it is determined that the keyword exists in the first text, semantic recognition is conducted on the first text, and a recognition result of the first text is obtained. Wherein the identification result is used for indicating whether the first text has a behavior of prompting the injection attack. And if the identification result indicates that the first text has the behavior of prompting the injection attack, ending the dialogue. And if the recognition result indicates that the first text does not have the behavior of prompting the injection attack, inputting the first text into the large language model to obtain a second text which is output by the large language model and is used for responding to the first text. As only the input text without malicious behaviors is input into the large language model instead of inputting all the input texts into the large language model, the resource consumption is reduced.
Owner:CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1