This video is unavailable.
28c3: The Science of Insecurity
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Uploaded on Dec 28, 2011
Download high quality version: http://bit.ly/uSJPUL
Description: http://events.ccc.de/congress/2011/Fa...
Meredith L. Patterson, Sergey: The Science of Insecurity
Why is the overwhelming majority of common networked software still not secure, despite all effort to the contrary? Why is it almost certain to get exploited so long as attackers can craft its inputs? Why is it the case that no amount of effort seems to be enough to fix software that must speak certain protocols?
The answer to these questions is that for many protocols and services currently in use on the Internet, the problem of recognizing and validating their "good", expected inputs from bad ones is either not well-posed or is undecidable (i. e., no algorithm can exist to solve it in the general case), which means that their implementations cannot even be comprehensively tested, let alone automatically checked for weaknesses or correctness. The designers' desire for more functionality has made these protocols effectively unsecurable.
In this talk we'll draw a direct connection between this ubiquitous insecurity and basic computer science concepts of Turing completeness and theory of languages. We will show how well-meant protocol designs are doomed to their implementations becoming clusters of 0-days, and will show where to look for these 0-days. We will also discuss simple principles of how to avoid designing such protocols.
-
Category
-
License
Creative Commons Attribution license (reuse allowed)
- Source videos Loading... View attributions
Loading...
Loading...
Loading...
Loading...
Loading...
-
54:43
Michael Persinger on No More Secretsby tvochannelFeatured
70,790
-
2:08:10
Der Staatstrojaner - Aus Sicht der Technik [28C3]by CCCdeVideos
19,427 views
-
1:02:05
Automatic Algorithm Invention with a GPU [28C3]by CCCen
6,107 views
-
1:06:31
KinectFusion - Real-time 3D Reconstruction and Interaction Using a Moving Depth Camera [28C3]by CCCen
20,951 views
-
11:06
28c3 - Day 1 - Nick Farr's Laser Cutter Storyby opellotube
1,542 views
-
9:07
A Biopunk Manifesto - Meredith Pattersonby Barry Belmont
3,464 views
-
2:39
Sy Rogers - Insecurityby vegaschurchboy
25,212 views
-
48:17
Joyce Meyer, Overcoming Insecurityby YeshuaWord
54,362 views
-
2:18:57
Enemies of the State [29C3]by CCCen
8,880 views
-
28:33
The Cure for the Insecure (March 22, 2012)by Hiker4Jesus1
81,357 views
-
1:13:27
Blackhat 2010 Exploiting the forest with trees Meredith L patterson Partby killab66661
424 views
-
4:02
10 More Amazing Science Stuntsby Quirkology
6,155,364 views
-
1:06:11
28c3: Black Ops of TCP/IP 2011by 28c3
11,571 views
-
55:57
Not my department [29c3]by CCCen
7,927 views
-
1:27:27
The Great Debate: THE STORYTELLING OF SCIENCE (OFFICIAL) - (Part 1/2)by ShirleyFilms
272,862 views
-
3:39
Secure, Insecure, Avoidant & Ambivalent Attachment in Mothers & Babiesby EdTrainingGames
82,365 views
-
1:25:40
28c3: How governments have tried to block Torby 28c3
56,134 views
-
54:35
28c3: The coming war on general computationby 28c3
191,512 views
-
56:11
Jacob Appelbaum 29C3 Keynote: Not My Departmentby thisdayinwikileaks
44,925 views
-
1:33:14
28c3: Security Nightmares (german)by 28c3
14,437 views
- Loading more suggestions...
Top Comments
beatsnbleeps 1 year ago
Unfunny troll is unfunny. Go rate more kawasaki movies pls. We need your expertise there.
Sign in to YouTube
Sign in to YouTube
Sampo Syreeni 1 year ago
Uhm, a fixed width length field most certainly does not make a protocol context sensitive, but only blows up the (D)FA needed to recognize it. On the other hand I'm reasonably sure context sensitive grammars won't cut something like Elias codes. Otherwise, Patterson's ideas are a beautiful formalization of what I've been saying for the longest time: validate first, then compute with minimal checks. Kudos!
Sign in to YouTube
Sign in to YouTube
All Comments (29)
vytemagic 1 month ago
i came here about being insecure in public.
Sign in to YouTube
Sign in to YouTube
Kurtis Rainbolt-Greene 5 months ago
S-expressions don't need to use brackets. She specifically suggests using wrapping characters *that wont exist in the sub-language of the value*.
Sign in to YouTube
Sign in to YouTube
Evi1M4chine 10 months ago
Okay, now I’m booting Linux on that Turing-complete Rule 110 machine implemented in HTML5+CSS3. See you in A BILLION YEARS! ;)
Sign in to YouTube
Sign in to YouTube
Evi1M4chine 10 months ago
So how exactly do you use S-expressions to completely avoid escaping *and* length fields? I mean what about a string with a bracket inside? You can’t escape it. And you can’t skip it because you don’t have a length field. So it *will* end up as a ordered pair Sexpression or a parse error. And the only alternative is not to have any brackets in string at all. Which is nonsense.
How do you do this?
Sign in to YouTube
Sign in to YouTube
Evi1M4chine 10 months ago
“If you haven’t recognized it, don’t goddamn process it!” → Uuum, recognition itself is a form of processing. So we end up with a catch-22 problem of infinite recursion. Meaning this is not solution. No?
Sign in to YouTube
Sign in to YouTube
Evi1M4chine 10 months ago
Hmm… Isn’t a stack also a context? I can’t think of any way it isn’t a context.
Sign in to YouTube
Sign in to YouTube
Evi1M4chine 10 months ago
I just wrote a turing-complete ICMP echo implementation. XD
Sign in to YouTube
Sign in to YouTube
sleeplessNerd 1 year ago
Introducing a delimiter would decrease the usable range of one symbol to 255/256's to there is a linear loss in efficiency. This can be reduced by escaping though.
But it is the only safe solution as far as I can tell. Mostly because the places where this stuff is operated upon are very simple and can't introduce complex parsing (e.g. latching on a preamble of frames in an asic)
Sign in to YouTube
Sign in to YouTube
sleeplessNerd 1 year ago
Best talk in a long time. She is really awesome.
Scientific Hackery while drinking Club Mate. Science makes it better. (To quote xkcd "it works bitches")
You need a CS degree to really grasp it - It is a surprisingly simple message. - I kind of implement it partially already.
@ssyreeni: I think the DFA will blow up exponentially. Or how would you recognize the input length while using loops in the transition graph? - A PDA could do it maybe by pushing n markers on the stack or something.
Sign in to YouTube
Sign in to YouTube