US patent US12809661
Anomaly detection system for hard real-time embedded systems
Abstract
Anomaly detection system, runtime anomaly detectors, and methods of generating a security automaton for the runtime anomaly detector are provided. The security automaton may be configured to implement an extended finite state machine comprising states and transitions, the transitions representing valid transitions between the states. The states may correspond to code blocks in a control-flow graph for the target program, and the transitions may correspond to edges in the control-flow graph. Each of the transitions has one or more security policies based on a label assigned to a corresponding one of the edges, the label indicating a branch type of the corresponding one of the edges. The controller may be configured to enforce the one or more security policies of a respective one of the transitions that corresponds to a current transition from a previous state to a next state, the next state corresponding to the branch target.