[Solved] Portablizer and administrative privileges
6 messages
• Page 1 sur 1
[Solved] Portablizer and administrative privilegesHi,
I have 3 Problems using Liberkey. The First one is a problem with ASuite and SuRun - It is not very important and i don't Think that Liberkey is able to solve it. (SURun is an UAC enhancement which brings white-list feature for "Run as Admin" to Windows) Every-time starting a program with ASuite which is part of SuRuns white list - i receive an an error In This picture i've used CCleaner.exe inside of the Whitelist and i-'ve startet CCLeaner.exe inside of Asuite) The second Problem is a little bit more important. Using a software inside Liberkey which need administrative privileges gives these privileges to Liberkeyportablizer.exe Starting any kind of a second software ... as long as Liberkeyportablizer has not quit - the next program has admin rights too. ... without asking me. An Example? You start working with MobaLiveCD ... as long as MobaLiveCD is used - and you start QDir (using QDirLKL.EXE) - you have admin privileges in QDir. When you quit MobaLiveCD - QDir hast still admin privileges. You can solve this problem if every Program would get an "own" portablizer instance. In my opinion this is a big security thread which should be solved as soon as possible. The last problem is a problem with SuRun and your portablizer. If the CCleanerLKL.exe is part of the Whitelist in SuRun the portablizer crashes when i open this program. But CCleaner works fine. (picture taken with liberkey 4.5 ... this also happens with 4.6) Best Regards spotting Edit - changed CCleaner with MobaLiveCD Dernière édition par spotting le 08 Février 2010, 00:07, édité 1 fois.
Re: Problem with Portablizer and administrative privilegesUPDATE
for the first problem i've described there are good news. liberkey is not involved ... this is a windows / Surun - problem. The third problem depends directly to the first one. but the second problem is still not solved. Starting a program with administrative privileges gives these privileges to your portablizer.exe. as long as this process is open, every program which is started using this portablizer inherits theses admin privileges.
Re: Problem with Portablizer and administrative privilegesHello spotting,
First of all, thank you for taking the time to make a detailed analysis of the problem and explain as clearly. It is true that if each application had its own portabilizer instance this would solve the problem simply. However, this will solicit more system resources. In addition, centralized portabilisation can make some things easier like restoring data after a system crash, update the portabilizer while portabilized apps are running (LiberKey patches), controling the end of the user session (the portabilizer is the last who leaves to ensure the restoration of configurations), etc. .. The underlying problem is very simple: in order to properly "portabilize" an "elevated" application, the portabilizer must be "elevated" too. Otherwise it is impossible to access some essential information on process, and most windows messages are filtered by default (from Windows Vista) preventing communication between processes. This is not necessarily a "big" problem of security because administrative rights are only granted to administrators. But it is true that this requires caution if LiberKey is installed on a workstation for ordinary users. In this case you should not launch application with your administrator account to avoid elevation of the portabilizer. That said, we started to explore a way that would resolve this problem and allow us to maintain our current architecture. This is not to make an instance for each application, but to create a portabilizer assistant (a kind of bridge), much lighter, which will be dedicated to applications requiring elevation. This assistant will be elevated and will disable his messages filtering to allow the portabilizer (not elevated) to communicate with him. This will isolate processes with different rights and prevent the spread of administrative rights to the portabilizer. This evolution is part of the "todo list" and should appear in the next releases of the portabilizer.
Re: Problem with Portablizer and administrative privileges
Well, It seems in the last 2 Month, nothing happened regarding this problem. Is there any Update regarding this problem? And - I've read your Answer a few times. I think we should take a look at one Szenario. A Liberkey User starts working on his Windows. (7 or Vista) He starts CCleaner (Portable inside of Liberkey). Windows User Account Control is asking and Portablizer earns administrative privileges While CCleaner is working in the background, he starts for example Firefox. Portablizer gives Firefox Administrative privileges - and the User does not know. 20 Minutes Later. Firefox is still running, the user is clicking on a manipulated link. He is transmitted to an altered website. 2 seconds later his System crashes. When he starts his System again, his Computer is part of a new Mailing Network, -> he does not see that - And every on-line banking transaction, every password, every privacy date would be seen by the hacker who manipulated the altered website. 2 Day Later your Liberkey user goes to his bank, to draw money. But there is no money. hmmm ... -> If you do not want to see more instances of portablizer running, then it should be a great idea to give the user a chance to accept administrative privileges for each program despite the fact that the portablizer is working with administrative privileges. A Liberkey User starts working on his Windows. (7 or Vista) He starts CCleaner - Portable inside of Liberkey - Portablizer earns Administrative privileges While CCleaner is working in the background, he starts ... Firefox. Portablizer gives Firefox Administrative privileges - and the User does not know. I'm no programmer behind Portablizer ... but i have an idea. If you are using file manager with admin privileges - and start a program (exe - file) it inherits these administrative privileges. If you are clicking on a shortcut (INK - File) UAC is asking again. So - If Portablizer is Running (with administrative privileges) and you want to start a new program use the shortcut. If Portablizer is not running, use the old way.
Re: Problem with Portablizer and administrative privileges
The version we are currently testing solves this problem. It will be published soon in a patch which will be reported and automatically installed on your LiberKey. The solution is a little different than what I explained in my previous post. This new version can handle the simultaneous execution of portable applications with different security context, it also solves other problems that may occur with the fast user switching and execution of portable applications (it is better prevent many people use the same portable application at the same time until the LiberKey manages multiple users). You don't need to imagine the worst (and unlikely) scenarios to convince us! Just be a little patient. The point we are discussing is part of a wider problem which has necessitated a review of some of our architecture.
Re: Solved - Portablizer and administrative privilegesIt seems, the new update solves the problem.
Thanks. best regards spotting.
6 messages
• Page 1 sur 1
Qui est en ligneUtilisateurs parcourant ce forum: Aucun utilisateur enregistré et 480 invités |