![]() |
|
#76
|
||||
|
||||
|
Quote:
I'm not really asking for that much, really. Definitely nothing hardware intensive. I'm not really asking for anything as I will be providing this myself in (hopefully) the next 6 months - 1 year. I don't think even an educated user can be blamed (not that this is what you're saying.) We're simply incapable of practical analysis. An antivirus heuristics engine is looking at the code itself, it's checking it against trends in malware, it's incredibly complex. We're amazing beings but we're not designed for that and we're very trusting. Blaming humans for being human is just lazy.
__________________
|
|
#77
|
|||
|
|||
|
Quote:
In latest Windows versions, "automatic" services are trigger-started. Which means they are off by default, only on when they are needed. See: http://windowsteamblog.com/windows/b...roduction.aspx @HM, Windows services run isolated. See: http://windowsteamblog.com/windows/b...isolation.aspx |
|
#78
|
||||
|
||||
|
I know they're isolated. That's to stop shatter attacks. If they're attacked they still have admin rights and can do anything they like.
The difference is that in XP everything is "user 0" (admin) and can interact with any other process in that user account. This is separated in Vista to prevent shatter attacks - one of the reasons why XP is so easily exploited. It's great but entirely irrelevant because it's two different types of attack. If one of your user 0 services is exploited you're still screwed.
__________________
|
|
#79
|
|||
|
|||
|
Now you want services to not have admin rights.
I can't even imagine the nightmare of compatibility issues that such a move would bring to the platform. I hope Microsoft keeps improving the services to be resistant against attacks instead of simply removing their rights. |
|
#80
|
||||
|
||||
|
Quote:
1) communicate with all other services 2) do anything it likes to the system Cupsd does just fine in AppArmor. It runs as root, has quite a lot of capabilities, but significantly low file access rights. You can't get that on Windows. Instead you get Stuxnet attacking a printer service.
__________________
|
|
#81
|
|||
|
|||
|
Quote:
You are thinking about one service and one scenario usage. Apps use many other services for many other scenarios. For example, what would happen with Chrome's auto-updating service if it couldn't have file access rights? Quote:
There was a vulnerability that allowed it. It was fixed. There is no need to break printer devices. |
|
#82
|
||||
|
||||
|
Why would it not have file access rights? It will have those file access rights but only what it needs. That's what least privilege is, the least amount of access given that the program can function and do exactly what it needs to do and nothing else.
Quote:
If a service is exploited on Windows your system is compromised. If a service is exploited on Linux... it's stuck in the apparmor sandbox (assuming we're talking about one of the ones that comes with apparmor.) If appcontainer works the way I hope it does (ie: nearly exactly like apparmor) Windows 8 will be much closer to Ubuntu.
__________________
|
|
#83
|
|||
|
|||
|
You're assuming that one can catalog all the programs in existence that make use of services and see exactly what they need to do.
Yeah, right. |
|
#84
|
||||
|
||||
|
No, I'm not. I'm talking purely about Windows services right now, which I think we can agree are Microsoft's duty to secure, yes?
In terms of protecting all programs there's no way to implement least privilege through MAC without developer cooperation.
__________________
|
|
#85
|
|||
|
|||
|
Quote:
So, what Windows services are vulnerable? How can they be further restricted without breaking some of the insane number of third-party (old and new) apps/drivers/whatever that may use them? |
|
#86
|
||||
|
||||
|
How should I know? I don't know the details of which files and capabilities each Windows service should have. It should be obvious that they don't need as many rights as they have because why does my DNS cache service need the ability to read my documents folder (example) ?
Internet facing services on Ubuntu, like the printer/file sharing service, are apparmor'd and restricted quite a lot.
__________________
|
|
#87
|
|||
|
|||
|
How do you know that your DNS cache is reading your documents folder?
|
|
#88
|
||||
|
||||
|
It's not about what it's doing it's about what it can do. It has full read access to the entire system.
The syslog service on Linux needs root. On Windows such a service would therefor have access to the entire file system and capabiltiies. On Linux it runs in an apparmor profile that significantly limits it. Quote:
Instead of accessing the entire file system it can pretty much only read/ write to a small set of folders/ files. If it were compromised my personal data in /home/ would be safe and my system would not be in peril. Again, were this on Windows the entire system would be read/writable.
__________________
|
|
#89
|
|||
|
|||
|
Where are you checking the access rights of each native Windows service?
|
|
#90
|
||||
|
||||
|
They run at the System Integrity. Any service running as Admin/ System can read/write to the entire file system. That's how integrity works. If you can find anything showing me otherwise please do.
edit: Or anything running as "High" can. System is a separate level that works differently. Such a pain int he ass to find out what can/ can't be accessed.
__________________
|
|
#92
|
||||
|
||||
|
Looks pretty cool. It's possible that it allows you to work with them. Chrome does something with XP's ACLs at least.
__________________
|
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|