Dimanche 06 Décembre 2026 10:51:15 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

State Machine

The logic that moves a system through allowed states and transitions during a protocol flow.

A state machine is the logic that controls how a system moves between allowed conditions, or states, during a protocol flow. Each state defines what the system is expecting next, and each transition defines what inputs or events are valid. If an event arrives out of order, the code should reject it, ignore it, or move into an error state.

In cyber security, state machines matter because many attacks exploit bad transition handling rather than broken encryption. A nearby-sharing service, for example, must discover peers, verify eligibility, and only then accept a transfer. If an attacker can confuse that sequence, the service may crash, skip a trust check, or enter an unintended state before the user approves anything. Defenders look for strict input validation, explicit error states, and tests that cover invalid or repeated messages.

← index WIKICROOK