1 00:00:00,390 --> 00:00:03,510 [Music] 2 00:00:05,400 --> 00:00:08,240 the challenge project that we chose to 3 00:00:08,240 --> 00:00:10,440 introduce challenge of vulnerabilities 4 00:00:10,440 --> 00:00:13,519 into is SQL light a widely used 5 00:00:13,519 --> 00:00:15,280 lightweight database engine that 6 00:00:15,280 --> 00:00:17,439 provides an excellent Foundation due to 7 00:00:17,439 --> 00:00:21,000 its complexity and extensive use and 8 00:00:21,000 --> 00:00:22,600 high standards of reliability and 9 00:00:22,600 --> 00:00:25,800 security made it the perfect base to 10 00:00:25,800 --> 00:00:27,840 start with so that we could build on 11 00:00:27,840 --> 00:00:30,519 that and introduce mon abilities that 12 00:00:30,519 --> 00:00:32,238 the competitors in the Cyber reasoning 13 00:00:32,238 --> 00:00:34,640 systems could find sqlite advertises 14 00:00:34,640 --> 00:00:37,520 itself as the most used database engine 15 00:00:37,520 --> 00:00:40,800 in the world and it slogan is small fast 16 00:00:40,800 --> 00:00:44,120 and reliable SQL light is not only 17 00:00:44,120 --> 00:00:46,440 highly popular but also rigorously 18 00:00:46,440 --> 00:00:49,160 tested its robust architecture combined 19 00:00:49,160 --> 00:00:51,199 with Comprehensive static and dynamic 20 00:00:51,199 --> 00:00:53,840 coverage presents a unique challenge SQL 21 00:00:53,840 --> 00:00:55,440 light's implementation is interesting in 22 00:00:55,440 --> 00:00:57,840 that it has a virtualized bike code 23 00:00:57,840 --> 00:01:00,559 engine that drives how seite operates 24 00:01:00,559 --> 00:01:03,320 the Dual Nur its extensive testing being 25 00:01:03,320 --> 00:01:06,320 both a hurdle and a guide adds a layer 26 00:01:06,320 --> 00:01:08,280 of complexity to embedding and obscuring 27 00:01:08,280 --> 00:01:10,560 vulnerabilities within the code base 28 00:01:10,560 --> 00:01:12,840 sealite has extensive testing including 29 00:01:12,840 --> 00:01:16,040 unit tests and quality integration with 30 00:01:16,040 --> 00:01:18,119 Google's continuous fuzzing framework 31 00:01:18,119 --> 00:01:20,920 OSS fuzz this was a double-edged sword 32 00:01:20,920 --> 00:01:22,640 it meant that most of the places that we 33 00:01:22,640 --> 00:01:24,640 wanted to add challenge vulnerabilities 34 00:01:24,640 --> 00:01:27,159 were already reachable via unit tests or 35 00:01:27,159 --> 00:01:30,119 test input from previous fuzzing uh but 36 00:01:30,119 --> 00:01:32,000 this also meant that when we added 37 00:01:32,000 --> 00:01:33,600 challenge L abilities it was difficult 38 00:01:33,600 --> 00:01:35,840 to not get caught by this T testing 39 00:01:35,840 --> 00:01:38,040 infrastructure that would be you know a 40 00:01:38,040 --> 00:01:39,640 huge red flag and give away the 41 00:01:39,640 --> 00:01:42,960 vulnerabilities to the CRS potentially 42 00:01:42,960 --> 00:01:44,799 it's hard to say definitively but SQL 43 00:01:44,799 --> 00:01:46,960 lights comprehensive static and dynamic 44 00:01:46,960 --> 00:01:48,880 coverage might make it easier to find 45 00:01:48,880 --> 00:01:50,759 challenge vulnerabilities via fuzzing 46 00:01:50,759 --> 00:01:53,119 compared to the other challenge projects 47 00:01:53,119 --> 00:01:56,439 on the L side SQL lights well structured 48 00:01:56,439 --> 00:01:58,560 and formatted codebase could help the 49 00:01:58,560 --> 00:02:00,520 language mest detect in consistencies 50 00:02:00,520 --> 00:02:02,320 and errors more 51 00:02:02,320 --> 00:02:04,960 effectively however SQL lights 52 00:02:04,960 --> 00:02:07,880 complexity in that it's highly stateful 53 00:02:07,880 --> 00:02:10,520 has robust balance checking and is a 54 00:02:10,520 --> 00:02:12,480 large modular code base will pose 55 00:02:12,480 --> 00:02:15,519 significant challenges for a CRS during 56 00:02:15,519 --> 00:02:17,040 our time making challenge 57 00:02:17,040 --> 00:02:19,040 vulnerabilities for sqlite we found a 58 00:02:19,040 --> 00:02:22,840 couple OD days it was OD days in unused 59 00:02:22,840 --> 00:02:25,760 code that were uh was supposed to be for 60 00:02:25,760 --> 00:02:28,160 sqlite 4 that were never actually 61 00:02:28,160 --> 00:02:30,400 mainstreamed into sqlite 62 00:02:30,400 --> 00:02:32,800 so we reintroduced that functionality 63 00:02:32,800 --> 00:02:34,920 buzzed it a bit to see if anything would 64 00:02:34,920 --> 00:02:36,640 pop out and make it interesting 65 00:02:36,640 --> 00:02:38,480 challenge vulnerability it turns out 66 00:02:38,480 --> 00:02:40,879 there were there were actually a few 67 00:02:40,879 --> 00:02:43,879 zero days is that we found in the 68 00:02:43,879 --> 00:02:47,519 reintroduced code that we turned into 69 00:02:47,519 --> 00:02:49,519 challenge vulnerabilities for the crs's 70 00:02:49,519 --> 00:02:51,159 to find which will hopefully be 71 00:02:51,159 --> 00:02:54,560 interesting to see something that's as 72 00:02:54,560 --> 00:02:56,840 realistic as it can get it being a zero 73 00:02:56,840 --> 00:02:59,920 day not something that could be in the 74 00:02:59,920 --> 00:03:02,440 training data for an llm I think it will 75 00:03:02,440 --> 00:03:04,319 be an interesting thing to see how the 76 00:03:04,319 --> 00:03:07,958 competitors will do