A software-defined deception defense intent inference method for active baiting
By using a software-defined deception defense intent inference method, the problem of limiting the scope of evidence under changes in decoy deployment status and asynchronous audit events is solved. A controlled attack intent evidence graph is constructed, enabling effective selection of evidence collection actions and evidence backtracking, thus avoiding misjudgment.
Patent Information
- Application Number
- CN202611547089.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-08
- Publication Date
- 2026-11-24
AI Technical Summary
In situations where the decoy deployment status changes, audit events arrive asynchronously, and normal false triggers coexist, how can we limit the scope of valid evidence of decoy interactions, construct an attack intent evidence graph with a controlled number of nodes, and select executable subsequent evidence collection actions based on unresolved ambiguities?
A software-defined deception defense intent inference method oriented towards active decoys is adopted, which involves five interconnected steps: acquiring original host audit events and software-defined decoy control records, aligning events according to the decoy lifecycle, constructing a candidate source graph constrained by time, direction, and edge type, updating supporting evidence and counter-evidence of candidate attack intents, selecting forensic actions based on security gates, and managing the decoy lifecycle through the software-defined deception defense control plane.
It effectively limits the scope of decoy evidence, avoids linking historical access errors to subsequent deployments, ensures that inference results are traceable back to the original records, distinguishes between no-interaction and observation failures, controls the scale of the control graph and retains necessary connections, and outputs verifiable evidence feedback.
Smart Images

Figure FT_1 
Figure FT_2
Abstract
Description
Technical Field
[0001] This invention relates to the fields of host auditing, source graph analysis, and deception defense technology in network security. Specifically, it relates to a method and system that uses a software-defined decoy control plane to maintain the decoy's lifecycle, infers attack intent by combining system audit events, and obtains subsequent investigation evidence under security constraints. Background Technology
[0002] System auditing can record behaviors such as process creation, file access, and network communication. By representing entities as nodes and control relationships and information flows as directed edges, scattered events can be organized into a source graph. For attack processes that have already gained initial access, the source graph helps in associating directory discovery, credential reading, cross-host sessions, and data collection behaviors. However, a single operation record is often insufficient to determine its purpose; the same file access or network connection may originate from a normal administrative task or be part of an attack.
[0003] Anomaly scoring-based detection systems can provide candidate clues, but anomaly scores only indicate the degree of behavioral deviation and do not directly provide specific attack explanations or justifications. If expansion is only made from high-scoring nodes to their neighbors, normal file sharing, public services, and long-running processes can easily include a large number of background nodes in the candidate graph. Furthermore, entities that are geographically close in the graph may not have control or information transfer relationships compatible with the current investigation question; therefore, constraints need to be imposed on the retrieval path, the number of nodes, and the sources of evidence.
[0004] Honey files, fake credentials, and decoy services can provide additional observations. However, the deployment of a decoy does not equate to access by the target entity, nor does access equate to it being read or used. If the effective time, deployment instance, and visibility scope are not recorded, historical records on the same path may be associated with later deployed decoys; even after a decoy is withdrawn or redeployed, invalid visibility conditions may continue to be used. This mismatch can cause facts that do not belong to the same deployment to be pieced together as the same attack process, leading to misjudgments and misdirection.
[0005] There are several reasons why a decoy might not generate interaction. The target subject might choose to interact with other objects when given the opportunity, or it might be unable to access the decoy at all, or there might be missing data collectors, services, or session records. Treating all these situations as a single non-triggered result could easily misinterpret observation failures as normal behavior. On the other hand, indexing, backup, and management programs might also read the decoy; simply labeling the triggering event as an undeniable, non-benign event fails to explain how normal accidental triggers should affect the investigation's conclusions.
[0006] Furthermore, subsequent decoy deployments need to consider both remaining investigation ambiguities and actual execution conditions. Deploying more decoys solely based on anomaly scores fails to demonstrate which candidate interpretations the new observations will distinguish; without verifying access conditions, business impact, and rollback conditions, actions may fail to take effect or exceed permissible limits. Therefore, it is necessary to correlate the decoy lifecycle, verifiable interactions, constrained evidence graphs, and subsequent action selections to ensure that each intent update can be traced back to the corresponding facts and observation conditions. Summary of the Invention
[0007] The technical problem to be solved by this invention is: how to limit the scope of effective evidence of decoy interaction, construct an attack intent evidence graph with a controlled number of nodes, and select executable subsequent evidence collection actions based on the ambiguities that have not yet been eliminated when the decoy deployment status changes, audit events arrive asynchronously, and normal false triggers coexist.
[0008] To address the aforementioned problems, this invention provides a software-defined deception defense intent inference method for proactive deception, employing the following five interconnected steps:
[0009] Step S1: Obtain the original host audit events and software-defined decoy control records; unify the entity identifier, action semantics and time field for the audit events, and unify the resource identifier, deployment instance, policy identifier, effective time and visibility range for the decoy control records, forming the original tracing layer, deception coverage layer and evidence layer respectively.
[0010] Step S2: Align events and generate evidence states based on the decoy's lifecycle; limit associative events by deployment instance time and access conditions, establish contact, interaction, no interaction, and observation failure records, and retain the original events and control records used for judgment.
[0011] Step S3: Construct a candidate source graph constrained by time, direction, and edge type; using effective interactions as anchors, expand the search to preceding dependencies and subsequent behaviors, stop expanding on incompatible relationships, and combine node scores and path reliability to form a causal connectivity evidence graph that includes anchors and satisfies node budget.
[0012] Step S4: Update the supporting evidence, counter-evidence, and posterior evidence of the candidate attack intent; the candidate subject, target, and path constitute the interpretation to be compared, and the interaction strength, normal task context, and new observations are used for updating, while retaining evidence that does not support the current interpretation and parts that cannot be judged.
[0013] Step S5: Select evidence collection actions or output attack intent results based on security gates; first filter actions that are deployable, reachable, have controllable business impact, have effective isolation conditions, and are rollbackable, and then compare their expected information value and cost; after the action is executed, re-enter evidence alignment with actual feedback, and output the current result and reason if it cannot continue to be executed.
[0014] Furthermore, software-defined deception defense means that the deployment, exposure, retraction, and redirection of decoys are managed by the control plane's policy recording and execution feedback. The analysis module expresses the target decoy category, permitted scope, and validity period through control requests, which are then applied by the control plane to authorized decoy resources; audit collection and evidence analysis operate based on the actual effective status. This processing relationship allows deployment strategies to change while maintaining the identity and source of the original audit facts.
[0015] Furthermore, the decoy lifecycle includes deployment, exposure, selection, triggering, use, revocation, and redirection. These states represent different levels of verifiable information; it's not possible to simply use a later state to fill in unrecorded preceding actions. For out-of-order events, the system re-establishes the time relationship based on the event occurrence time and related records, without substituting arrival order for actual occurrence order.
[0016] Furthermore, original acquisition sources, inferred sources, simulated sources, and real testbed sources are labeled separately. Inferred access opportunities can be used to form the investigation context but cannot constitute facts that have been read or used on their own; simulated records do not participate in the coverage of the original fact layer. Each piece of evidence can be located to the event, deployment instance, and strategy that formed that evidence.
[0017] Furthermore, control edges in the graph represent precedence relationships related to process derivation, execution, and permissions, while information flow edges represent information transfer relationships in file reading / writing and network communication. The retrieval direction and fact edge direction are processed separately; reverse retrieval does not change the original semantics of read, write, or send events. Node budgets limit the output size, and connection nodes are also included in the budget; high-scoring nodes cannot be output without omitting their connection basis.
[0018] Furthermore, normal accidental touches, based on the actual context of backup, indexing, and management tasks, participate in the comparison of supporting evidence and counter-evidence; no interaction only constitutes an interpretable result when the opportunity for contact and observation integrity are met. The original anomaly score, node risk, and attack intent posterior have different uses: the former two are used for candidate ranking and graph selection, while the latter is used to compare candidate interpretations and select the next observation.
[0019] This invention also provides a system corresponding to the above method, comprising an original event acquisition module, a decoy lifecycle management module, a source layering module, an evidence state alignment module, a constrained tracing and inference module, a candidate intent post-hoc update module, a security gate verification module, and an attack intent result output module. Each module is associated through entity identifiers, event identifiers, deployment instance identifiers, and investigation history.
[0020] The technical effects of this invention are reflected in the following aspects:
[0021] 1) The deployment instance and the effective time limit together limit the scope of application of decoy evidence to avoid associating historical access errors with subsequent deployments.
[0022] 2) Source hierarchies and event indexes enable inference results to be traced back to the original records, and deleting inference results does not change the original facts.
[0023] 3) Distinguish between no interaction and observation failure, so that missing logs or deployment failures do not directly become evidence to refute attacks.
[0024] 4) Time, direction, and type constraints eliminate incompatible extension relationships, node budget limits the graph size available for analysts to verify, while retaining necessary connections.
[0025] 5) Normal accidental touches and incompatible evidence can affect candidate interpretations, and unresolved ambiguities are retained in the output.
[0026] 6) Security gates are executed before action value comparisons, ensuring that high information value cannot overshadow deployment permissions, isolation, or rollback constraints, thus forming a verifiable evidence feedback chain. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the module relationships of a software-defined deception defense intent inference method and system for active trapping provided by the present invention.
[0028] Figure 2 This is a schematic diagram of the overall process of a software-defined deception defense intent inference method for active trapping provided by the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Unless otherwise defined, the technical or scientific terms used herein should have the ordinary meaning understood by those skilled in the art. The terms "comprising" and similar expressions used herein mean that the element or object preceding the word covers the element or object listed after the word and its equivalents, but does not exclude other elements or objects.
[0030] The following combination Figure 1 and Figure 2This paper describes the specific implementation process of the present invention. The implementation environment includes a protected host, an audit acquisition channel, a software-defined decoy control plane, an isolation decoy service, and evidence analysis components. This method uses processes, files, and network sessions as observable objects, and uses technical behaviors such as discovery, credential access, lateral movement, and collection as candidate intent ranges, outputting an explanation of the behavioral process without involving attribution to real organizations or natural persons. Figure 2 Steps S1 to S5 in the above correspond one-to-one with steps S1 to S5 in the claims and the invention description. Figure 1 This indicates the connection relationships between each processing unit and the evidence collection feedback path.
[0031] like Figure 1 As shown, the system comprises three functional units: fact gathering and evidence alignment, constrained intent inference, and software-defined proactive forensics. The fact gathering and evidence alignment unit forms a structured evidence flow; the constrained intent inference unit performs causal path retrieval, within-budget evidence graph construction, and candidate intent posterior update to form the attack intent result; the software-defined proactive forensics unit performs security gate verification, information value-driven action selection, and decoy control based on the inference result, returning the actual execution feedback and new interactions to the evidence alignment stage. The specific processing of each functional unit is as follows.
[0032] Figure 1 The three functional units in this document represent a consolidation of system processing responsibilities and do not replace the aforementioned eight modules. The Fact Gathering and Evidence Alignment Unit corresponds to the original event gathering, decoy lifecycle management, source layering, and evidence state alignment modules, receiving host audit events and decoy lifecycle records. The Constrained Intent Inference Unit corresponds to the Constrained Source Inference and Candidate Intent Post-Update modules, and delivers the results to the Attack Intent Result Output module. The Software-Defined Active Forensics Unit is completed collaboratively by security gate verification, action value comparison after verification, and the execution functions of the software-defined decoy control plane. Action value comparison uses the candidate distribution provided by the post-update module, and the control plane acts on the controlled decoy resources based on the selected request.
[0033] exist Figure 2 In step S1, the raw event acquisition module receives records of process creation, execution, file reading, file writing, network connection, and session transmission and reception. For each record, at least the event identifier, host identifier, subject identifier, action type, object identifier, and event occurrence time are saved; when the record reaches the analysis module, the acquisition time is also saved. The raw fields are retained in the raw tracing layer, and the unified fields are used for retrieval; the two are linked through the event identifier.
[0034] Subject and object identifiers should be able to distinguish different entity instances. For example, process identifiers are associated with their host and process instance to avoid merging processes from different periods based solely on process IDs with the same value; files are located using available object identifiers and host contexts; network relationships are located using observable session and endpoint information. When available fields are insufficient to support unique associations, candidate correspondences and reasons for missing fields are saved, and potentially identical entities are not directly merged into a definitive relationship.
[0035] The decoy lifecycle management module maintains the deployment record for each decoy resource. Multiple deployment instances can exist under the same resource identifier, with each redeployment corresponding to a new instance identifier. The instance record includes the decoy category, policy identifier, deployment request time, actual effective time, revocation time, allowed access scope, and current status. The allowed access scope is represented based on authorized hosts, identity permissions, and file or service access conditions, and is not replaced by a generic "deployed" marker.
[0036] The source layering module maintains the original source tracing layer, the deception overlay layer, and the evidence layer, respectively. The original source tracing layer stores the actual collected facts; the deception overlay layer stores the decoys and their control conditions; and the evidence layer stores the associations with the facts, candidate paths, scores, and hypotheses. Overlay records reference the original layer using event or entity identifiers, and inference edges with decoy semantics cannot be written as system calls actually observed by the collector.
[0037] In the source identifier, "original" indicates directly collected raw events, "inferred" indicates inferred relationships or access opportunities based on existing records, "simulated" indicates simulated records, and "real_testbed" indicates interactions actually collected in a controlled testing environment. The source describes how the records were generated, and the confidence level indicates the reliability of the record when used in evidence calculations. Real testbed records also require support from raw events; they cannot be considered an attack fact solely based on the source name.
[0038] The source identifiers mentioned above are used to preserve information about the record generation process and acquisition environment, and are not attack tags. Directly acquired records from real testbeds still represent direct observations and retain test environment descriptions; their reliability is determined by the original event and observation conditions and is not automatically improved by environmental tags.
[0039] The output of step S1 is a searchable set of original events and a set of deployment instances. Both are saved and associated with an index. For repeated reports of the same collected event, the original collection location information is retained, but only one identifiable event is sent to the current round of evidence calculation; for events with similar content but different entity instances, their respective identities are retained, and deduplication cannot be directly performed based on text similarity.
[0040] In step S2, the evidence state alignment module first locates the accessed object and candidate deployment instances, then verifies whether the event time falls within the valid range of the instance, and checks whether the subject meets the access conditions at that time. Let the event occurrence time be... The actual effective time of the deployment instance is The cancellation or expiration time is The validity must at least satisfy equation (1).
[0041] (1)
[0042] Before a revocation or invalidation record is obtained, the effective interval is temporarily recorded as an open interval, but only events that have occurred and whose deployment validity was supported at the time are associated; this cannot be used to assume that future windows will always be valid. After obtaining the termination record, the upper boundary of the interval is determined and the historical association is reviewed. If two instances are deployed successively along the same path, events are associated according to their respective effective intervals; alignment ambiguities are preserved when the time boundary cannot be determined. Reads that occurred before the instance took effect, even if they reach the analysis module after the instance takes effect, cannot be used as triggering evidence for that instance.
[0043] The deployment status indicates that the control plane has received feedback that the resource has been successfully deployed; the exposure status indicates that the resource can be accessed by the target subject under the recorded permissions, location, and service conditions. Visibility is established based on verifiable configuration or access conditions. If there is only reachability information without enumeration or access records, an opportunity can be recorded, but this does not constitute a claim that the subject has seen or selected the decoy.
[0044] The selected state is based on records such as directory enumeration, attribute query, or service discovery; the triggered state is based on records such as opening, reading, or connecting; and the used state is based on records of fake credentials being authenticated in the isolated service, subsequently used after replication, or associative execution. "Selected" only indicates that enumeration, query, or discovery records already exist; it does not represent confirmation of the subject's subjective choice or attack intent. The meaning of the state is interpreted according to the specific bait category. Honey files do not require fabricated credential authentication steps, and intermediate steps not collected are not added as facts.
[0045] The revocation state terminates the continued validity of the original deployment instance while retaining all historical interactions. The redirection state records policy changes, the original and new targets, and the effective date; when the new target constitutes a new deployment instance, a new instance association is established. Revoking the original target does not delete historical evidence, and interactions with the new target must not automatically inherit the factual states previously triggered by the original target.
[0046] In the alignment results, the system records enumeration or attribute queries as contacts, and content reading, copying, joining, and credential usage as interactions. Both also preserve specific action semantics, preventing all interactions from being reduced to a single binary label. The strength of evidence provided by a directory query can differ from the credential usage in an isolated service, but this difference must be interpreted in conjunction with source reliability and the normal task context.
[0047] For observation windows that do not generate interaction, first check whether the deployment is actually effective, whether the access opportunity is valid, whether the collector is available, and whether the target service is running. If all the above conditions are met and no interaction is found after the window closes, record "no interaction"; if any key condition is not met, record "observation failure" and the corresponding reason. Unreachable permissions, missing data collection, and deployment failure cannot be uniformly interpreted as the subject actively abandoning the decoy.
[0048] If an audit event arrives late, the system uses the event occurrence time to check the original observation window. If a late event can supplement evidence, a new version of evidence is generated and points to the corrected version; the original record and previous output are still traceable. If there is only a reception time but no reliable occurrence time, the time order is recorded as indeterminate, and a definite attack sequence is not established based on the reception order.
[0049] If the current window only obtains contact or observation failures without any valid interaction anchors, the system retains the existing state and unmet conditions, and does not forcibly generate a causal evidence graph expanded from the interaction anchors; it will proceed with the corresponding search after subsequent valid interactions arrive. If there are still no anchors by the investigation deadline, the system outputs the currently verifiable records and the reasons for insufficient evidence.
[0050] After completing lifecycle management and evidence status alignment, according to Figure 2 Steps S3 and S4 construct a constrained evidence graph and update candidate attack intents. Figure 1 The causal path retrieval, in-budget evidence graph construction, and candidate intent posterior update in the process correspond to the following processing steps.
[0051] The inputs for step S3 include the original source graph, aligned interaction anchors, anomaly priors, and node budgets. The nodes in the original graph represent entities such as processes, files, and sessions, while audit events correspond to edges with type and time. An event can be associated with multiple entities, but the event text itself does not replace its subject, object, or relationship direction.
[0052] For file reading, the information flow direction is from the file to the reading process; for file writing, the information flow direction is from the writing process to the file; for process spawning, the control relationship is from the parent process to the child process; network sending and receiving establish relationships according to the observable data transmission direction. When a specific collector uses different fields, it is first converted to a consistent relational semantics before participating in path retrieval.
[0053] Using a process read decoy as an anchor point, the algorithm searches backwards to find preceding entities that generate, control, or pass input to that process, and forwards to find child processes, credential usage, or network activity following that process. Traversing an edge backwards only queries its predecessor; it cannot rewrite the original file read relationship into a process write relationship. Figure 1 The causal path retrieval in the above corresponds to the filtering process of time, direction, and edge type.
[0054] The path must satisfy event time compatibility and relationship type compatibility. For example, subsequent connections must not be associated with the process reading the decoy simply because they share the same host; process, session, or control relationship is also required as the basis for the connection. Cross-host relationships are only considered verified relationships when the network session and the correspondence between the two ends of the entity are supported; when only the remote address is known but the remote process cannot be determined, the remote session or endpoint is preserved, and the remote execution entity is not fabricated.
[0055] For acceptable paths, path reliability is constructed using edge type reliability and time decay. Let a be the current anchor point, v be the candidate entity, and Π(v,a) be the set of candidate causal paths between the two that satisfy the retrieval direction and event time requirements. Then, a calculation form consistent with the above constraints is Equation (2).
[0056] (2)
[0057] Where ρ represents the reliability of the corresponding edge type, with a value ranging from zero to one; Δt represents the non-negative time interval between adjacent events in the causal order along the path, with the interval of the first event in the path being zero; τ is a time decay scale that is strictly greater than zero; the indicator term is 1 when the direction, type, and time are compatible, otherwise it is 0. For preceding entities, the path is represented in the causal order from the entity to the anchor point; for subsequent entities, it is represented in the causal order from the anchor point to the entity. When there is no valid path, the path reliability is recorded as zero, and path support is not assigned through spatial proximity or identical directories. In equations (2) and (3), 'a' represents the interactive anchor point, and in the action selection section below, 'a' represents the evidence collection action. Both are used only within their respective formula ranges.
[0058] In the candidate entity ranking, the risk of the triggered node can be calculated using the anomaly prior given by the detector, as well as the anchor strength, path reliability, semantic compatibility, and normal accidental trigger prior. Let p0(v) be the node anomaly prior, q(a) be the anchor strength formed by the interaction severity and source reliability, S(v,a) be the compatibility of the entity type, interaction semantics, and current context, and B(v) be the prior for interpreting the corresponding interaction in a normal task. Then, the combination relationship can be represented by Equation (3).
[0059] (3)
[0060] In the formula, , , and These are non-negative weights, and their values are determined on the development data and saved as configuration. (The logarithmic probability term...) The input is restricted to an open interval between zero and one, and the endpoint inputs are processed by numerical boundaries. This score is used to compare candidate entities and generate evidence maps, and is not directly equivalent to the probability that a certain attack intent is true; when the detector model changes, the prior scale and calibration conditions need to be rechecked.
[0061] The node budget is denoted as K, and the evidence subgraph must include anchor points and necessary connections. The objective can be expressed using Equation (4), which imposes a cost on the size of nodes and edges while preserving valuable evidence.
[0062] (4)
[0063] in, Represents a set of feasible subgraphs that contain anchor points, are causally connected, and have no more than K nodes; and Let be the set of nodes and edges of the subgraph, respectively; λ and μ are the scaling cost coefficients. In implementation, a bounded candidate expansion can be used: starting from the anchor point, candidate nodes and necessary connecting nodes are added progressively along acceptable paths, checking the time, type, direction, and budget each time, retaining candidate subgraphs that meet the conditions. This process provides a computable approximation of the objective and does not require finding an exact global optimum on graphs of arbitrary scale.
[0064] When the number of nodes required for a high-scoring node exceeds K, that node cannot be output as a proven causal chain independently of the path. The system records branches that are not expanded due to budget constraints, and outputs the node with the reason, path reliability, and original event index. If there are no supported connections between anchor points, evidence subgraphs that satisfy the node budget and causal connectivity conditions can be formed separately, and the system reports that the relationships between the subgraphs are unclear, without generating a fictitious connection edge to satisfy the connectivity requirements.
[0065] Step S4 generates a limited number of candidate interpretations on the evidence graph. An interpretation consists of the current subject under investigation, the interviewee, possible targets, and the evidence path. For example, if there is no subsequent authentication after reading false credentials, interpretations of credential collection and general document reading can be retained; only after obtaining authentication records from the isolated service will support be added for interpretations compatible with subsequent use. Candidate intent categories serve only as behavioral-level generalizations and must be able to refer back to entities and events.
[0066] Supporting evidence includes valid decoy access, the associated control relationships, subsequent use, and compatible timing. Counter-evidence includes deployment timing that conflicts with candidate explanations, the direction of the relationship, or the normal task context that can explain the access. For example, a normal backup task performing a consistent read of the entire directory can reduce the likelihood of an attack explanation based on only one decoy read, but it cannot rule out an attack simply because the process name is the same as a backup program.
[0067] Reading, copying, and authentication within the same interaction can be interconnected. If the same read has already been used in the previous round, a new round should not add another independent support due to the record being re-enqueued; if copying and authentication depend on the same interaction process, the new behavior should be interpreted while including existing history. The evidence layer stores the event identifiers used and the interaction process associations to distinguish between truly new information and duplicate reports.
[0068] Within the same round of normalization comparison, candidate explanatory models are established to distinguish each other around the same survey question. If multiple technical objectives can be simultaneously established, they are represented by a joint explanation or split into different survey questions. Overlapping behavioral labels are not directly added as mutually exclusive categories. Survey beliefs represent the relative support between current candidate models and cannot be interpreted as the absolute probability of attack after excluding all possibilities outside the candidate set.
[0069] set up Let t be the finite set of candidate explanations being compared. To normalize survey beliefs, Let be the events, actions, and deployment conditions already used, and o be the new observations obtained after performing action a. For fixed survey problems, a posteriori updates can be performed according to equation (5).
[0070] (5)
[0071] in, This represents the observation probability given candidate explanations, actions, and historical conditions. It describes the likelihood that a certain type of behavior explanation would produce that observation under the corresponding conditions and cannot be directly replaced by uncalibrated anomaly scores. Normal accidental touches and non-interactive explanations are also included in the comparison through the conditional observation model. Model parameters, sources, and applicable contexts are saved with the results, allowing the calculation process to be verified for the same set of evidence.
[0072] For decoy interactions already obtained in the initial investigation, the action conditions are the deployment or exposure conditions that actually took effect when the interaction occurred; for newly added passive events, the corresponding existing control conditions are used, and no new action is fabricated. Anchor points or context records already used when forming the current investigation belief are no longer updated as independent new observations in Equation (5).
[0073] When observation failures are caused solely by a data acquisition or deployment malfunction, and this malfunction does not provide varying degrees of support for each candidate interpretation, updates should not artificially favor any attack interpretation. If all candidate interpretations lack usable probabilities for new observations, or if the normalized denominator cannot produce a valid value, the previous round's results should be retained, and the model's applicability should be deemed insufficient; arbitrary substitution of numerical values should not create determinism.
[0074] This method compares candidate explanations within a short-term investigation, focusing on events that have already occurred. If new subjects, targets, or events emerge that cannot be explained by the current set, a new candidate set is established while preserving version relationships, avoiding the unprocessed application of old posteriors to entirely different problems. Other explanations may still exist outside the candidate set; therefore, even if a candidate has a relatively high probability, the output retains the scope of evidence and any missing links.
[0075] After obtaining the candidate's intent and its evidence, according to Figure 2 Step S5 in the process selects either subsequent evidence collection actions or outputs the current result. This process corresponds to... Figure 1 The software-defined active evidence collection unit forms a closed loop through actual execution feedback and new interactions.
[0076] Step S5 establishes forensic requirements based on the current candidate interpretations and their ambiguities. For ordinary directory enumerations where both interpretations can explain the same event, repeating the same observations typically does not provide new distinguishing factors. For the ambiguity between "reading objects only" and "using credentials for further access," it is possible to assess whether the decoy service could provide subsequent usage records under the current access conditions. Action generation is always limited by the actual deployable decoy surface.
[0077] Each candidate action logs the decoy type, target deployment location or service, permitted access subjects, expected activation conditions, observation window, and revocation method. The candidate scope is limited to honey files, fake credentials that cannot be used in production, and isolated SMB or SSH spoofing services. Honey files do not carry real sensitive data; fake credentials cannot grant access to production assets; isolated services have outbound restrictions and cannot act as intermediary nodes for accessing external assets.
[0078] The security gate checks the authorized scope, target reachability, resource status, business impact, isolation conditions, and rollback conditions in sequence. If any necessary condition fails, the action is excluded and the reason is recorded. High information gain does not offset security gate failures. The security gate also checks whether the action can take effect within the current opportunity window; deployments that may not be completed until after the investigation period are not included in this round of action comparison.
[0079] For action 'a' of passing through the safety door, the system according to The possible results are calculated using the conditional observation model. The result set includes distinguishable results such as contact, interaction, no interaction, and observation failure, with the specific classification based on the decoy category and observation conditions. Each result should be mutually exclusive and cover the situation used in this round of modeling; for a given candidate interpretation and action, the sum of the conditional probabilities of each result is one. Contact and interaction can occur sequentially as event-level records; when used in the calculation of equations (6) and (7), they should be encoded as non-overlapping results according to the observation window, such as "contact only without further interaction" and "interaction occurred", and the same window should not be counted repeatedly for contact, interaction, and no interaction. Multi-stage records of the same process can also be encoded as a joint result.
[0080] Let the marginal observation probability under action a be Equation (6). Based on this, Equation (7) is used to represent the expected information gain.
[0081] (6)
[0082] (7)
[0083] The summation in Equation (7) covers the current set of candidate explanations and the set of mutually exclusive observations of the action, with log taken as the natural logarithm. Equation (7) measures the information provided by the difference in observations produced by different candidate explanations under the action. If all explanations have identical observation distributions, the action cannot distinguish them within the current model, and its expected information gain is zero. Terms with zero observation probability are taken as zero by the limit; if the probability model cannot cover the current context, the estimated value of the action is not interpreted as a determined survey benefit.
[0084] For actionable actions, the combined utility of information value, real asset protection benefits, deployment costs, normal false triggers and the risk of decoy identification can be expressed by equation (8), and the action selection relationship can be expressed by equation (9).
[0085] (8)
[0086] (9)
[0087] Where D(a) is the expected return from reducing real asset exposure. For deployment cost, B(a) represents the cost of normal false triggers, and R(a) represents the risk of the decoy being identified; η, α, β, and γ are the corresponding non-negative weights. The above quantities are scaled according to a uniform configuration, and their meaning and calculation source are stored with the strategy. For positive benefit items lacking reliable estimates, these items can be disabled; for deployment cost, normal false triggers, and the risk of being identified, the configured conservative limits are used. If any security gate condition cannot be supported, the corresponding action is still excluded, and unknown benefits are not treated as already achieved effects.
[0088] When the remaining budget is insufficient, there are no actionable options, the expected value of the action is insufficient, or the investigation period expires, the system chooses to wait for subsequent passive events or output the current results. Waiting does not automatically generate a no-interaction window; only windows that are actually executed and have valid observation conditions will produce corresponding results. The reason for stopping is saved along with any remaining ambiguous candidates, allowing analysts to distinguish between situations where the evidence is sufficient and situations where current methods cannot continue.
[0089] After selecting an action, the control request carries the policy identifier, deployment instance identifier, target scope, and validity period into the software-defined decoy control plane. The control plane returns acceptance, execution success, or execution failure feedback. Only after successful feedback and the necessary resource status are supported is the action recorded as actually effective. Issuing a request does not equate to the decoy being deployed, nor can the attacker's selection or triggering event be directly generated from the request.
[0090] After the action takes effect, the acquisition module continues to receive real events; the lifecycle management module records exposure, revocation, and redirection changes; and the evidence state alignment module re-examines the records according to the new instance. When a new interaction is obtained, steps S2 to S4 are returned. When observation fails, the cause of the failure is retained and the feasibility of evidence collection is re-verified. Figure 1 The feedback loop in the model aligns the actual execution and observations back to the event, rather than directly returning the estimated information gain to the fact layer.
[0091] The results output module saves the investigation identifier, candidate interpretation ranking, supporting and counter-evidence events, evidence graph, source identifier, observation status, action log, and stop reason. Each path can locate the entity and original event, and inferred connections and collected connections are displayed separately. For fake credentials lacking subsequent authentication, only the corresponding access and candidate destination can be output; it cannot be written as a completed cross-host attack.
[0092] When the above steps are executed sequentially across a series of events, it is also necessary to separately determine boundary conditions such as accidental activation of normal tasks, deployment failures, missing data collection, and decoy redeployment. The following explains, using specific scenarios, how each condition affects evidence alignment, intent updates, and evidence collection feedback.
[0093] The following describes the continuous processing using process P on host A, honey file F, and isolation deception service D. This scenario is used to explain the data transmission and conditional judgments of each module, without pre-setting their detection accuracy, execution latency, or profit values. Both host A and service D are within authorized scopes; the fake credentials only have identifiable meaning within the isolation service and cannot access the production system.
[0094] At time t0, the control plane creates a deployment instance d1 for F, recording the policy and visibility range; after receiving successful feedback at t1, it establishes the effective range. Process P enumerates the directory where F is located at t2, and reads F at t3, where t0 < t1 < t2 < t3. The system records directory enumeration as contact, reads as interaction, and retains the corresponding event identifiers. If P has already read a regular file with the same name before t1, the earlier read cannot be associated with the trigger of d1.
[0095] The analysis component starts with the event of P reading F, traces back to P's parent process and input source, and then tracks P's subsequent file and network behavior. If another process Q only reads ordinary files in the same directory around the same time, without a control or information flow path connected to P, then Q will not be included in P's proven chain of evidence simply because of temporal proximity. Necessary connection nodes are counted in K, and branches exceeding the budget are recorded as unexpanded ranges.
[0096] If P's behavior is compatible with a registered backup task, the system retains the normal task interpretation and checks whether its task identity, object scope, and behavioral timing are supported by actual records. The backup process name itself is not sufficient evidence of dissent; conversely, reading F is not a deterministic attack label sufficient to rule out the backup interpretation. Supporting evidence and normal task context are both included in this round of candidate comparison.
[0097] At this point, regarding the question of "whether this round of reading involves subsequent credential usage," candidate models such as "this round of reading is only interpreted by normal batch tasks" and "this round of reading is for the purpose of using credentials later" can be compared. If it is necessary to compare interpretations such as "only collecting credentials" separately, the differences between these and existing models should be clarified first to avoid treating mutually exclusive targets as mutually exclusive categories for repeated calculation. If their interpretations of the current read event are similar, the system maintains ambiguity. The security gate checks whether D is reachable, whether isolation is effective, whether fake credentials lack production permissions, and whether they can be revoked; if the verification fails, no bootstrapping action is performed, and the current evidence and the reason for rejection are directly retained.
[0098] If the verification passes and the action has sufficient informational value, the control plane executes the corresponding deception service action. If a usage record that can be associated with the corresponding credentials and session is subsequently obtained in D, this record is added as a new observation, and candidates compatible with subsequent usage are updated. If only a network connection is observed without an authentication record, only the connection-related evidence is updated; the connection is not automatically upgraded to successful credential usage, nor is the observed connection re-recorded as no interaction due to the lack of an authentication record.
[0099] If no connection or credential usage interaction is obtained by the end of the observation window, but D operates normally throughout the window, completes data collection, and has the opportunity to access data, then a no-interaction result is generated. Which candidates this result serves as counter-evidence is determined by the conditional observation model; P cannot be directly judged as normal. If D deployment fails or the collector is interrupted, an observation failure is generated, preserving the original evidence and indicating that no valid new information was obtained in this round.
[0100] When F is revoked at t4 and redeployed at t5 to become d2, d1 and d2 have different valid intervals. A read that occurs at t3 but arrives after t5 is still associated with d1; only a read that occurs after t5 becomes effective can be associated with d2. Handling this situation by using instance identifiers and occurrence times can prevent duplicate triggering or mismatches caused by redeployment and log latency.
[0101] Finally, the system outputs candidate purposes for P, confirmed read and join records, context that may support or oppose each candidate, unexpanded budget branches, and the current reason for stopping. Analysts can either trace the path along the event index or identify which steps are supported only by inferred relationships. When subsequent events arrive, the investigation continues with a new version of evidence, and historical outputs and corresponding configurations remain traceable.
[0102] In module collaboration and streaming operation, the system associates each processing stage with a unified identifier and constrains the size of the single evidence graph and the size of the running state cache. The interfaces and operating conditions of each module are as follows.
[0103] The raw event acquisition module transmits entity, action, occurrence time, acquisition time, and source location to the source layering module; the decoy lifecycle management module transmits instance, strategy, visibility range, and valid interval to the evidence state alignment module; the source layering module provides a read-only fact index to the alignment and inference modules. Event identifiers transmitted between modules remain consistent to prevent the same event from being treated as independent evidence in different modules.
[0104] The constrained source inference module transmits the node set, edge set, valid path, reasons for node inclusion, and budget cutoff range to the candidate intent posterior update module. The posterior update module transmits the candidate distribution and ambiguities to be distinguished, the security gate verification module transmits the possible actions and reasons for rejection, and the result output module collects the current round's input, calculation configuration, action feedback, and stop information.
[0105] During streaming runtime, short-term activity caches recent events and precise relationships, while long-term backbone caches key entities related to unclosed investigations, triggered decoys, cross-host sessions, and traceable path summaries. These summaries are used to locate historical context, without fabricating unobserved direct system calls; when detailed paths are needed, they are restored based on the saved original event index or marked as currently unavailable.
[0106] The cache retention strategy is implemented by combining anomaly severity, unclosed candidate nodes, critical connections, and time decay. Deleting expired copies from the active cache should not rewrite the original event source persisted; if historical details are no longer available, the output must explain the evidence gap. Node budget limits the size of a single output, and cache budget limits runtime status; both are recorded separately. Nodes that cannot be retrieved due to cache deficiencies should not be considered as having no relevant activity.
[0107] Weights, timescales, node budgets, observation windows, and model versions are recorded as configuration parameters for this investigation. These parameters can be set according to actual deployment conditions, but previously output evidence cannot be retrospectively modified through post-hoc observation of unknown attack results. Each subsequent investigation retains the version and any newly added evidence, thus ensuring that the lifecycle, evidence graph, candidate posterior, and action records constitute a verifiable and complete processing procedure.
[0108] The embodiments of the present invention disclosed above are merely illustrative of the invention. These embodiments do not exhaustively describe all details, nor do they limit the invention to specific implementations. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.
Claims
1. A software-defined deception defense intent inference method for active trapping, characterized in that, Includes the following steps: Step S1: Obtain the original host audit event and software-defined decoy control record. The original host audit event includes the subject, action, object, event time, and host identifier. The software-defined decoy control record includes the decoy resource identifier, deployment instance identifier, policy identifier, lifecycle status, visibility range, and effective time interval. Store the original source tracing facts, decoy deployment control information, and inferred evidence separately. Step S2: Align events and generate evidence states based on the decoy lifecycle. The original host audit event is associated with the lifecycle record of the corresponding deployment instance according to the decoy resource identifier, deployment instance identifier, event time and the visibility range. Four states are distinguished: contact, interaction, no interaction and observation failure. The original event identifier and control record identifier on which the evidence state is based are retained. Step S3: Construct a candidate tracing graph constrained by time, direction, and edge type. In this graph, the processes, files, and network session entities involved in the original host audit event are represented as nodes, and the control relationships and information flow relationships reflected by the audit event are represented as directed edges with time and type. The decoy interaction that satisfies the lifecycle constraint is used as the anchor point. Candidate paths are retrieved under the constraints of time sequence, relationship direction, and edge type, and a causal connected candidate attack intent evidence graph is formed within the preset node budget. Step S4: Update the supporting evidence, disproving evidence, and posterior of the candidate attack intent. Based on the candidate attack intent evidence graph, combined with interaction semantics, source confidence, time decay, path reliability, and normal accidental touch prior, record the evidence supporting the candidate attack intent and the incompatible evidence, and update the posterior of the candidate attack intent based on the survey history already used and new observations. Step S5: Select an evidence collection action or output the attack intent result based on the security gate. First, verify the reachability, business impact, isolation conditions, resource status, and rollback conditions of the candidate decoy actions. Among the actions that pass the verification, select the evidence collection action based on the information value of distinguishing the remaining candidate attack intents, record the execution feedback, and return to step S2. When there are no actions that meet the constraints, the budget is exhausted, or the stopping condition is met, output the result containing the candidate attack intent, evidence graph, supporting evidence, counter-evidence, and unresolved ambiguity.
2. The method according to claim 1, characterized in that, The separate storage includes: storing the subject, object, and event relationships directly acquired by the collector in the original tracing layer; storing the decoy object, deployment instance, strategy, visibility range, and lifecycle changes in the deception overlay layer; storing the interaction anchor, candidate path, node score, and candidate attack intent a posteriori in the evidence layer; the three layers are associated with each other through stable entity identifiers and event identifiers; setting source identifiers and confidence identifiers for relevant records, with the source identifiers distinguishing between the original collection source, inferred source, simulated source, and real testbed source; inferred sources and simulated sources are not written back to the original collection source, and deleting the deception overlay layer or evidence layer does not change the saved original audit facts.
3. The method according to claim 1, characterized in that, The decoy lifecycle includes deployment, exposure, selection, triggering, use, revocation, and redirection states. The deployment state is established based on deployment feedback; the exposure state is established based on the currently valid visibility range; the selection state is established based on enumeration or metadata query records; the triggering state is established based on read, open, or connect records; and the use state is established based on credential authentication, cross-host use, or subsequent execution records related to the decoy. Furthermore, interaction states not actually recorded are not added to the original record; when the same decoy resource is redeployed, it corresponds to a new deployment instance, and the event alignment is based on the valid time interval of the deployment instance; revocation or redirection retains the historical record of the original deployment instance, and subsequent records are associated with the effective deployment instance or target.
4. The method according to claim 1, characterized in that, The generation of the evidence state includes recording enumeration, attribute query, or verifiable discovery behavior as an "interaction state," and recording reading, copying, connecting, or credential usage behavior as an "interaction state." When the contact opportunity is supported, the collection channel and decoy service are available, and the observation window has ended, the result of not finding the corresponding interaction is recorded as a "no interaction state." When deployment is ineffective, access conditions are not met, collection is missing, or the service is unavailable, the observation failure state and its reason are recorded. The no-interaction state and the observation failure state are entered into the observation record separately, and the observation failure is not interpreted as a denial of the candidate attack intent. Duplicate records and related records in the same interaction process are associated according to the corresponding process to avoid duplicate inclusion of supporting evidence.
5. The method according to claim 1, characterized in that, The candidate path retrieval and evidence graph formation include distinguishing process control edges, file information flow edges, and network session information flow edges according to event semantics; when tracing the prior dependencies of interaction anchors and tracking subsequent behaviors, the original semantic direction of the edges is preserved, and the factual relationship is not changed due to the retrieval direction; connections that are time-incompatible, subject-object type incompatible, or lack original event support are excluded or retained as unproven relationships; the path reliability is calculated based on the type reliability and time decay of each edge on the effective path, and the order of node inclusion is determined by combining abnormal priors, decoy interaction strength, semantic compatibility, and normal false trigger priors; under the constraints of including anchors, maintaining causal connectivity, and not exceeding the preset number of nodes, the evidence subgraph is selected, and the original event indexes corresponding to the nodes and edges are preserved.
6. The method according to claim 1, characterized in that, Candidate attack intents are defined by candidate subjects, candidate targets, and corresponding evidence paths. Supporting evidence includes decoy interactions, subsequent uses, temporal sequences, and control relationships compatible with the candidate attack intent. Counter-evidence includes lifecycle states and relationship types incompatible with the candidate attack intent, as well as contact contexts interpreted by normal backup, indexing, or management tasks. When updating the posterior of candidate attack intents, the likelihood of new observations is determined based on the executed actions, historical information already used, and observation conditions, and candidate results are normalized. Events already included in the history are not treated as independent new evidence, and anomaly scores do not directly replace the posterior of candidate attack intents. Unexplained observations are output with unresolved ambiguities.
7. The method according to claim 1, characterized in that, The candidate decoy actions are limited to exposing honey files, exposing fake credentials that cannot be used for production assets, and redirecting to the isolation deception service. The security gate first excludes actions that are undeployable, unreachable, exceed the business impact boundary, do not meet the isolation conditions, or do not have rollback conditions. For the remaining actions, the expected information gain is calculated based on the posterior of the current candidate attack intent and the conditional probability of different candidate attack intents producing observation results under this action, and the action is selected in combination with the deployment cost and the cost of normal accidental activation. The observation results include interactive, non-interactive, and observation failure. The effective time, observation window, feedback status, and revocation or rollback result after the action is executed are associated with the corresponding strategy and deployment instance.
8. A software-defined deception defense intent inference system for active deception, characterized in that, It includes a raw event acquisition module for receiving audit events and retaining entities, actions, hosts, and event times; a decoy lifecycle management module for recording software-defined decoy deployment instances, strategies, and lifecycle changes; and a source layering module for storing raw facts, decoy coverage information, and inferred evidence respectively. The evidence status alignment module is used to associate audit events with deployment instances and distinguish between contact, interaction, no interaction, and observation failure; the constrained tracing and inference module is used to form a candidate attack intent evidence graph under time, direction, type, and node budget constraints. The candidate intent post-hoc update module is used to record supporting evidence and counter-evidence and update the candidate attack intent post-hoc. The security gate verification module is used to filter decoy actions that meet the constraints and bring the selected actions into the software-defined decoy control plane; the attack intent result output module is used to output candidate attack intents, evidence diagrams, and unresolved ambiguities. The above modules work together to execute the method described in any one of claims 1 to 7.
9. The system according to claim 8, characterized in that, The decoy lifecycle management module provides the evidence state alignment module with the decoy resource identifier, deployment instance identifier, policy identifier, visibility range, and effective time interval; the source layering module retains the original event and its source location information; the constrained source tracing inference module provides the candidate intent posterior update module with the evidence graph, effective path, and inclusion reason; and the posterior update result is associated with and saved with the event identifier and calculation configuration used.
10. The system according to claim 8, characterized in that, The security gate verification module generates control requests only for selected actions that pass the security constraints; the decoy lifecycle management module updates the status based on the actual execution feedback of the control request and aligns the newly added observation return evidence status with the module; when the control request is not effective, the observation fails, the budget is reached, or the investigation period is reached, the attack intent result output module retains the corresponding reason and does not replace the deployment success or interaction with the issuance of the control request.
