Back to search

Monterey, CA; Naval Postgraduate School

SYNTACTIC DIFFERENCE SCORE: EDIT DISTANCE METRIC FOR EVALUATING FIREWALL POLICY INFERENCE

Abstract

dc:description.abstract

A key aspect of network security validation involves firewall policy inference, a challenging endeavor with imperfect methods that often come with inaccuracies. A precise evaluation of inference methods requires a complete mapping of a firewall policy’s semantic behavior, making them impractical, if not infeasible. This thesis introduces the Syntactic Difference Score (SDS), a novel metric inspired by edit distance algorithms that quantifies the structural dissimilarity of two firewall rule sets, to provide a more efficient method for evaluating inference accuracy with the objective of investigating whether SDS can meaningfully predict behavioral differences between firewall rule sets. Working with simplified 6-bit and 10-bit rule representations, the thesis develops a framework that combines position-weighted Hamming distance calculations with rule-set size penalties to generate normalized difference scores. To validate the framework, two distinct heuristic inference methods are evaluated. Results demonstrate a positive correlation between SDS and Rule-Set Effective Difference (RED) metrics, suggesting SDS’s potential utility as an inference evaluation metric. While the initial results show promise, the current model serves as a proof of concept with more future work left unexplored, which include further refinements to the SDS algorithm and machine learning-aided models to improve prediction accuracy.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Cyber Systems and Operations
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Cyber Systems and Operations
Department dc:contributor.department
Information Sciences (IS)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lee, Changyoung
Advisor dc:contributor.advisor
  • Xie, Geoffrey G.
Committee member dc:contributor.committeemember
  • Fulp, John D.

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Distribution Statement A. Approved for public release: Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
326, Cyber Systems and Operations
Thesis Thesis Identifier
40426

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Lee, Changyoung. SYNTACTIC DIFFERENCE SCORE: EDIT DISTANCE METRIC FOR EVALUATING FIREWALL POLICY INFERENCE. Masters thesis, Monterey, CA; Naval Postgraduate School, 2024. https://hdl.handle.net/10945/73486