klud…@panix.com (Scott Dorsey) writes:
> Ben Collver <benc…@tilde.pink> wrote:
>> Scott Dorsey <klud…@panix.com> wrote:
>>> Therefore we need machines to audit it! This is actually >>> happening... the huge spate of kernel vulnerabilities discovered >>> this summer were due to the use of AI attack tools for testing.
>> >> What would you say those AI attack tools were discovering? Supply >> chain attacks that were deliberately slipped into the code, as with >> HeartBleed? Or run-of-the-mill human error?
It’s hard to distinguish human error from intent for certain, but AFAIK Heartbleed was human error. The lack of a ‘no-one but us’ property (in contrast to the Juniper and xzutils incidents) also points towards error rather than backdoor.
> The two that I have looked at in detail sure looked like human error, > but I can't speak for all of them. > > I can say that the crypto API shouldn't even be part of the kernel in the > first place. The key to security is taking stuff out of the kernel > if not out of the OS entirely...
There are a couple of motivations for a kernel crypto API: - keeping the keys out of user processes - access to cryptographic offload hardware The former may be rather marginal but for the latter, you want a kernel driver in order to share offload hardware between multiple processes, same as many other kinds of hardware.