{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/73486"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/73486","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"SYNTACTIC DIFFERENCE SCORE: EDIT DISTANCE METRIC FOR EVALUATING FIREWALL POLICY INFERENCE","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Lee, Changyoung"],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master of Science in Cyber Systems and Operations","degree_level":"Masters","degree_discipline":"Cyber Systems and Operations","degree_department":"Information Sciences (IS)","school":null,"contributors":[],"advisors":["Xie, Geoffrey G."],"committee_chairs":[],"committee_members":["Fulp, John D."],"year":2024,"date_issued":"2024-12","date_published":"2024-12","updated_at":"2026-11-19T06:42:35Z","subjects":[],"languages":[],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["326, Cyber Systems and Operations"],"render_values":[{"text":"326, Cyber Systems and Operations","href":null,"code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["40426"],"render_values":[{"text":"40426","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/73486","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/73486","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F73486","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F73486","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Xie, Geoffrey G."]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Fulp, John D."]},{"key":"dc:contributor.department","label":"Department","values":["Information Sciences (IS)"]},{"key":"dc:creator","label":"Author","values":["Lee, Changyoung"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-02-12T16:17:31Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-02-12T16:17:31Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-12"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["NPS Outstanding Theses and Dissertations"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["74f4d405-0bff-4b6e-9446-edae3a8b11bb"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["c5e66392-520c-4aaf-9b4f-370ce82b601f"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Cyber Systems and Operations"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Cyber Systems and Operations"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["40426"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["firewall","edit distance","hamming distance","network security","firewall validation","firewall inference","firewall configuration","network traffic","Syntactic Difference Score","SDS","Rule-Set Effective Difference","RED"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["326, Cyber Systems and Operations"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/73486"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.award","label":"Dc Description Award","values":["Outstanding Thesis"]},{"key":"dc:title","label":"Title","values":["SYNTACTIC DIFFERENCE SCORE: EDIT DISTANCE METRIC FOR EVALUATING FIREWALL POLICY INFERENCE"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Lieutenant Commander, United States Navy"]}]}],"canonical_facts":{"dc:contributor.advisor":["Xie, Geoffrey G."],"dc:contributor.committeemember":["Fulp, John D."],"dc:contributor.department":["Information Sciences (IS)"],"dc:creator":["Lee, Changyoung"],"dc:date.accessioned":["2025-02-12T16:17:31Z"],"dc:date.available":["2025-02-12T16:17:31Z"],"dc:date.issued":["2024-12"],"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."],"dc:description.award":["Outstanding Thesis"],"dc:identifier.programcode":["326, Cyber Systems and Operations"],"dc:identifier.uri":["https://hdl.handle.net/10945/73486"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.ispartofseries":["NPS Outstanding Theses and Dissertations"],"dc:relation.orgunit":["74f4d405-0bff-4b6e-9446-edae3a8b11bb"],"dc:relation.seriesentity":["c5e66392-520c-4aaf-9b4f-370ce82b601f"],"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."],"dc:subject.keyword":["firewall","edit distance","hamming distance","network security","firewall validation","firewall inference","firewall configuration","network traffic","Syntactic Difference Score","SDS","Rule-Set Effective Difference","RED"],"dc:title":["SYNTACTIC DIFFERENCE SCORE: EDIT DISTANCE METRIC FOR EVALUATING FIREWALL POLICY INFERENCE"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Lieutenant Commander, United States Navy"],"thesis:degree_discipline":["Cyber Systems and Operations"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Cyber Systems and Operations"],"thesis:institution_name":["Naval Postgraduate School"],"thesis:thesis_identifier":["40426"]},"updated_at":"2026-11-19T06:42:35Z"}