Re: TALPA - a threat model? well sorta.

From: Pavel Machek
Date: Mon Aug 18 2008 - 09:31:14 EST


Hi!

> >How does it work? Memory can still change after mmap;
> >scanning at the
> >mmap time is _NOT_ enough.
> >
> >You could do 'when app attempts to dirty memory,
> >synchronously unmap
> >it from all apps that have it mapped' and then do sync
> >scan on
> >pagefault time; but that sounds impractical.
>
> what is the threat you are trying to defend against?
>
> for some threats you are right, for others the scan at
> mmap time is enough.

I don't see any threats when check at mmap time is okay.

As soon as file servers use mmap, this race can bite you even in very
simple 'make sure Linux fileserver does not pass on windows malwar'
threat model.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/