Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by Retr0id on Sunday July 21, 2024 @07:04AM
(#41024161)
Competent fuzzers don't just use random bytes, they systematically explore the state-space of the target program. If there's a crash state to be found by feeding in a file full of null bytes, it's probably going to be found quickly.
A fun example is that if you point AFL at a JPEG parser, it will eventually "learn" to produce valid JPEG files as test cases, without ever having been told what JPEG file is supposed to look like. https://lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-th...
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by rwmj on Sunday July 21, 2024 @08:18AM
(#41024563)
AFL is really "magical". It finds bugs very quickly and with little effort on our part except to leave it running and look at the results occasionally. We use it to fuzz test a variety of file formats and network interfaces, including QEMU image parsing, nbdkit, libnbd, hivex. We also use clang's libfuzzer with QEMU which is another good fuzzing solution. There's really no excuse for CrowdStrike not to have been using fuzzing.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by monsieurbanana on Sunday July 21, 2024 @05:50AM
(#41023821)
In my limited experience, I thought any serious fuzzing program does test for all "standard" patters like only null bytes, empty strings, etc...
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by omeid2 on Sunday July 21, 2024 @06:00AM
(#41023861)
The files in question has a magic number is "0xAAAAAAAA" so it is not possible that the file was all zeros.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by formerly_proven on Sunday July 21, 2024 @05:54AM
(#41023839)
Instrumented fuzzing (like AFL and friends) tweaks the input to traverse unseen code paths in the target, so they're super quick to find stuff like "heyyyyy, nobody is actually checking if this offset is in bounds before loading from that address".
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by gliptic on Sunday July 21, 2024 @05:41AM
(#41023772)
No, it wasn't. Crowdstrike denied it had to do with zeros in the files.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by jojobas on Sunday July 21, 2024 @06:24AM
(#41023969)
At this point I wouldn't be paying too much attention to what Crowdstrike is saying.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by hello_moto on Sunday July 21, 2024 @10:25AM
(#41025315)
Have to speak the truth albeit at minimum, in case legal...
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by kchr on Sunday July 21, 2024 @11:51AM
(#41025934)
Which also explains why they, only if needed to cover their back legally, confirm or deny details being shared on social and mass media.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by watwut on Sunday July 21, 2024 @05:41AM
(#41023774)
Possible? Yes. Likely? No.
Re:Initial details about why CrowdStrike's CSAgent.sys crashed
by layer8 on Sunday July 21, 2024 @12:22PM
(#41026140)
No, it wasn’t all zeros: https://x.com/patrickwardle/status/1814782404583936170
It is not possible that only this pattern caused the crash, and fuzzing omitted to try this unfuzzy pattern?