{"guid":"8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","title":"WAF: Wrong Approach Firewall","subtitle":null,"slug":"gpn24-385-waf-wrong-approach-firewall","link":"https://cfp.gulas.ch/gpn24/talk/9TSLFQ/","description":"Web Application Firewalls (WAFs) for filtering based on HTTP and payload are omnipresent. In this talk an argument will be made that, in many cases, the wrong approach for implementing WAFs is chosen: They are implemented as \"deny firewalls\" which specifically forbid \"bad\" traffic based on pattern rules, while for network security (layers 3/4) professionals would only ever follow an \"allow firewall\" approach, which explicitly lets \"good\" traffic pass and denies everything else.\n\"deny WAFs\" are oftentimes marketed as simple, easy to use, out-of-the-box solutions, but, by design, they can only prevent known exploits. Also, practical aspects limit their potential, when rulesets breaking functionality have to be disabled.\nWhile the \"allow WAF\" approach presented here implies more effort, its main advantage is protection against new attack vectors (\"zero days\") and it comes with a lot of side benefits, such as improved performance and resilience through caching.\n\nConcepts will be introduced:\n* HTTP Basics\n* Signed URLs / signed requests\n* Regular Expressions\n* HTTP Caching\n\nPractical examples with Vinyl Cache will be presented:\n* Rules based on HTTP method and URL\n* Header filtering\n* Regular Expressions on body data\n\nLicensed to the public under https://creativecommons.org/licenses/by/4.0/","original_language":"eng","persons":["slink"],"view_count":152,"promoted":false,"date":"2026-06-07T12:30:00.000+02:00","release_date":"2026-06-07T00:00:00.000+02:00","updated_at":"2026-06-09T03:00:03.136+02:00","tags":["9TSLFQ","2026","gpn24","Cyber Security","ZKM Medientheater","gpn24-eng","Day 4"],"length":3702,"duration":3702,"thumb_url":"https://static.media.ccc.de/media/events/gpn/gpn24/385-8e51fa0c-d278-5cde-8a4e-432f76f8ef3c.jpg","poster_url":"https://static.media.ccc.de/media/events/gpn/gpn24/385-8e51fa0c-d278-5cde-8a4e-432f76f8ef3c_preview.jpg","timeline_url":"https://static.media.ccc.de/media/events/gpn/gpn24/385-8e51fa0c-d278-5cde-8a4e-432f76f8ef3c.timeline.jpg","thumbnails_url":"https://static.media.ccc.de/media/events/gpn/gpn24/385-8e51fa0c-d278-5cde-8a4e-432f76f8ef3c.thumbnails.vtt","frontend_link":"https://media.ccc.de/v/gpn24-385-waf-wrong-approach-firewall","url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_title":"Gulaschprogrammiernacht 24","conference_url":"https://api.media.ccc.de/public/conferences/gpn24","related":[],"recordings":[{"size":377,"length":3702,"mime_type":"video/webm;codecs=av01","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_av1-hd.webm","state":"new","folder":"av1-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2026-06-07T19:56:52.831+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/av1-hd/gpn24-385-eng-WAF_Wrong_Approach_Firewall_av1-hd.webm","url":"https://api.media.ccc.de/public/recordings/101387","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":431,"length":3702,"mime_type":"video/webm","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_webm-hd.webm","state":"new","folder":"webm-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2026-06-07T15:49:35.739+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/webm-hd/gpn24-385-eng-WAF_Wrong_Approach_Firewall_webm-hd.webm","url":"https://api.media.ccc.de/public/recordings/101377","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":144,"length":3702,"mime_type":"video/webm","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_webm-sd.webm","state":"new","folder":"webm-sd","high_quality":false,"width":720,"height":576,"updated_at":"2026-06-07T15:27:13.980+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/webm-sd/gpn24-385-eng-WAF_Wrong_Approach_Firewall_webm-sd.webm","url":"https://api.media.ccc.de/public/recordings/101371","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":141,"length":3702,"mime_type":"video/mp4","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_sd.mp4","state":"new","folder":"h264-sd","high_quality":false,"width":720,"height":576,"updated_at":"2026-06-07T14:33:55.523+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/h264-sd/gpn24-385-eng-WAF_Wrong_Approach_Firewall_sd.mp4","url":"https://api.media.ccc.de/public/recordings/101353","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":56,"length":3702,"mime_type":"audio/mpeg","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_mp3.mp3","state":"new","folder":"mp3","high_quality":false,"width":0,"height":0,"updated_at":"2026-06-07T14:32:44.818+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/mp3/gpn24-385-eng-WAF_Wrong_Approach_Firewall_mp3.mp3","url":"https://api.media.ccc.de/public/recordings/101349","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":36,"length":3702,"mime_type":"audio/opus","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_opus.opus","state":"new","folder":"opus","high_quality":false,"width":0,"height":0,"updated_at":"2026-06-07T14:32:40.298+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/opus/gpn24-385-eng-WAF_Wrong_Approach_Firewall_opus.opus","url":"https://api.media.ccc.de/public/recordings/101348","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"},{"size":473,"length":3702,"mime_type":"video/mp4","language":"eng","filename":"gpn24-385-eng-WAF_Wrong_Approach_Firewall_hd.mp4","state":"new","folder":"h264-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2026-06-07T14:29:47.109+02:00","recording_url":"https://cdn.media.ccc.de/events/gpn/gpn24/h264-hd/gpn24-385-eng-WAF_Wrong_Approach_Firewall_hd.mp4","url":"https://api.media.ccc.de/public/recordings/101339","event_url":"https://api.media.ccc.de/public/events/8e51fa0c-d278-5cde-8a4e-432f76f8ef3c","conference_url":"https://api.media.ccc.de/public/conferences/gpn24"}]}