On Mon, Aug 18, 2008 at 10:32 AM, <david@lang.hm> wrote:
Mixed solution. HIDS gets you so far. White List format scanning
gets you more.
Best of all techs.
You proposal idea is right. Implementation location is pain to get
right so everything works.
Issue is some of the changes that need doing may take years to get
sorted out. So we kinda need to start now working our ways to having
them by the time these other things become main line in kernel causing
us head aches.
Lets try to avoid having to do last min fixs up. We know the tech
that is coming lets be ready for it.
Sorry to say whitelists of safe exe's exist today.
http://www.softpedia.com/ for one they keep a list of virus and
malware free programs.
The who knows where is the issue. Whitelist system don't tollerate
that. That is part user getting use to that fact. selinux is still
needed around applications even on a white list system. Even the most
virus and malware free applications can have flaws. White list system
are really hard to break.
People disable black list scanners because they are slowing down there
gaming too much. In the case of /var/log/apache/access.log and other
access logs. Guess what they can be format white listed. They are
a know format that they should be written in what permissions they
should have. I have not found a attack using access.log yet that has
passed a format check. There is really not much a format based white
list scanner misses. Selinux is also needed to prevent applications
from altering logs in ways they should not. Even better .log files
may only exist threw the syslog interface that allows entries to be
added only to spec and not edited back in time.
Lot of vectors simply don't exist in a truly secure White list system.
You can operate a pure white list based systems today. Just as
functional as there non white list relations. I have run networks
white list based. Windows registry is the worse nightmare to build a
white list system for. Linux and Mac systems are simpler to run
white list based.
Remember White List blocking something is not the last roll of the
dice. User is informed at this point and gets to make a judgement
call. Is this something worth running a black list scan over or do I
just get rid of it. Its called having user involved in there own
secuirty. Users kinda going to go hang on I though that was a mp3 now
you are telling me its a program or damaged delete end of story.
Virus does not even get a chance to trick the black list. Black List
first line is flawed. General all comes system HIDS first of some
form system is not damage ie scanning system checked that its not
crippled or tampered with then White list format based then Black
List then LSM around program if it gets it that far. Objective
virus/malware has to get past as many walls as possible and to get
true feed back from users. Avoiding bugging users any more than you
have to threw that system will take careful design.
All 4 lines of defence are needed HIDS, White List, Black List and
LSM's. Miss HIDS, White List or LSM have weaker defence. Miss
black list have less open selection of applications. Black List
missing can be worked around. 3 are 100 percent critical. Black
Lists is about 50/50 some users need it some don't.
Peter Dolding
--