-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win32UI.exe Application Manifest Not Applied #184
Comments
I've seen this as well and know how to fix it but am waiting for the |
@awiddersheim Thanks and much appreciated. |
Right now I'm basically thinking of not only applying this manifest to the UI but to many if not all of the OSSEC executables that get installed. I'd also like to consolidate a lot of the Windows code/definitions into single includes like I would also like to move a lot of installation stuff surrounding services/permissions into NSIS instead of having it written in C. The ground work has been started in the upcoming |
Also, just to put this down in public, the manifest does get added to the https://github.com/ossec/ossec-hids/blob/master/src/win32/ui/os_win32ui.h#L103 I thought I read somewhere on some Windows documentation page that it is required to be |
There's very little reason for standard users to be messing with ossec. An unprivileged attacker would benefit from seeing even ossec.conf, so I agree that most everything should require privilege escalation. |
Agreed. The |
I don't want to diverge the intent of this thread, but if you have the inclination you may want to look at the feasibility of running ossec-agent.exe under Local Service or Network Service rather than Local System (I tried it and it doesn't work). The network part should not need widespread access to the system that Local System provides. Syscheck and rootcheck does need this access and perhaps it is inheriting the rights from ossec-agent.exe, but a more privilege separated model similar to what exists on the 'nix side it desirable. |
No need to wait master is moving forward and stable will pull in changes/bug fixes as needed. |
Just a bit busy at the moment. Didn't mean to imply that I was waiting for 2.8 but rather after 2.8 is probably the timeframe at which I'll be able to start tackling things again. |
No problem ;)
|
Starting with Vista, applications need to have either an internal or external XML application manifest for applications that require administrator access. This elevates the application using UAC. os_win32ui.c has some code which seems to attempt to identify if the user is an administrator, and there is a .manifest file in that same directory, but it doesn't work.
The text was updated successfully, but these errors were encountered: