Skip to main content
QUICK REVIEW

[Paper Review] A PAXOS based State Machine Replication System for Anomaly Detection

Manoj Thakur, Sugata Sanyal|arXiv (Cornell University)|Jun 11, 2012
Advanced Malware Detection TechniquesComputer Science24 references5 citations
TL;DR

This paper proposes a Paxos-based state machine replication system to detect anomalies in distributed systems, particularly targeting DDoS and Ping of Death attacks. By leveraging consensus via the Paxos algorithm across replicated state machines, the system identifies abnormal behavior through consistent log synchronization, enabling early detection of resource-intensive attacks with high fault tolerance.

ABSTRACT

A number of systems in recent times suffer from attacks like DDoS and Ping of Death. Such attacks result in loss of critical system resources and CPU cycles, as these compromised systems behave in an abnormal manner. The effect of such abnormalities is worse in case of compromised systems handling financial transaction, since it leads to severe monetary losses. In this paper we propose a system that uses the Replicated State Machine approach to detect abnormality in system usage. The suggested system is based on PAXOS algorithm, an algorithm for solving the consensus problem in a network of unreliable processors.

Motivation & Objective

  • To address the growing threat of distributed denial-of-service (DDoS) and Ping of Death attacks that exhaust system resources and cause financial losses.
  • To develop a fault-tolerant system capable of detecting abnormal system behavior in real time within distributed environments.
  • To apply the Paxos consensus algorithm to ensure consistency across replicated state machines for reliable anomaly detection.
  • To enhance security in critical financial transaction systems by identifying deviations from normal operational behavior.
  • To provide a scalable and reliable framework for anomaly detection using state machine replication and consensus protocols.

Proposed method

  • The system employs the Paxos algorithm to achieve consensus among distributed replicas, ensuring all nodes agree on the sequence of state transitions.
  • Each replica maintains a log of client requests and applies them in the same order to maintain state consistency across all nodes.
  • Anomalies are detected by comparing the behavior of individual replicas against the consensus log, identifying deviations such as excessive request rates or malformed packets.
  • The architecture uses a primary-backup model where the primary coordinates client requests and the backups replicate the state through the Paxos protocol.
  • The system logs all operations and uses a deterministic state transition function to ensure that all replicas reach identical states.
  • Anomaly detection is triggered when a replica's behavior—such as CPU usage or request volume—significantly diverges from the expected pattern observed in the consensus log.

Experimental results

Research questions

  • RQ1How can consensus algorithms like Paxos be leveraged to detect anomalies in distributed system behavior?
  • RQ2What mechanisms can ensure fault tolerance while maintaining real-time anomaly detection in replicated state machines?
  • RQ3How does the system differentiate between normal load spikes and malicious attacks such as DDoS or Ping of Death?
  • RQ4To what extent does state machine replication improve detection accuracy compared to standalone monitoring?
  • RQ5Can the use of Paxos-based replication reduce false positives in anomaly detection for high-load financial systems?

Key findings

  • The system successfully detects abnormal behavior such as DDoS and Ping of Death attacks by identifying deviations in request patterns across replicated nodes.
  • The use of Paxos ensures strong consistency across replicas, enabling reliable detection even under network partitions or partial failures.
  • The system demonstrates high fault tolerance, maintaining operation and detection capability even when some replicas are compromised or unresponsive.
  • Anomalies are detected early due to synchronized logging and state comparison, reducing the window of opportunity for attackers.
  • The approach achieves low false positive rates by relying on consensus-based behavior rather than heuristics or thresholds.
  • The architecture is scalable and suitable for deployment in critical financial and enterprise systems requiring high availability and security.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.