<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; lower privileges</title> <atom:link href="http://www.ghacks.net/tag/lower-privileges/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 07:07:56 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Run Applications With Lower User Rights</title><link>http://www.ghacks.net/2008/10/03/run-applications-with-lower-user-rights/</link> <comments>http://www.ghacks.net/2008/10/03/run-applications-with-lower-user-rights/#comments</comments> <pubDate>Fri, 03 Oct 2008 18:58:28 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[administrator account]]></category> <category><![CDATA[limited account]]></category> <category><![CDATA[lower privileges]]></category> <category><![CDATA[psexec]]></category> <category><![CDATA[runas]]></category> <category><![CDATA[security tips]]></category> <category><![CDATA[system security]]></category> <category><![CDATA[windows tips]]></category> <category><![CDATA[windows-xp]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7379</guid> <description><![CDATA[Many users do still use an administrators user account in Windows XP instead of a more secure limited account. It is comfortable to work as an administrator all the time but successful attacks will be more devastating that way either. Instead of working with a limited account most of the time and an administrators account [...]]]></description> <content:encoded><![CDATA[<p>Many users do still use an administrators user account in Windows XP instead of a more secure limited account. It is comfortable to work as an administrator all the time but successful attacks will be more devastating that way either. Instead of working with a limited account most of the time and an administrators account only when needed users could also increase system security by starting selected applications as a lesser privileged user.</p><p>The runas command could be used to run an application with lower privileges but it has the serious disadvantage that there is no password switch meaning the user has to enter the password whenever he is executing the application. It does not work with blank passwords and requires the Secondary Logon service to be running.</p><p>A better alternative is the <a
href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx">PsExec</a> tool by Sysinternals. That little tool can be used to start any application with another user. Unlike runas it comes with a password switch.</p><p><span
id="more-7379"></span>PsExec is part of the PsTools suite of Sysinternals, you only need psexec.exe which should be moved into a system path folder, for example system32.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/new_user_account.jpg" alt="new user account" title="new user account" width="280" height="190" class="alignnone size-medium wp-image-7380" /></p><p>The next step would be to create a new user account in Windows. To do that go to Control Panel > User Accounts and click on the Create A New Account link in there. Now type a name for the new account and set it to be limited in the next window.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/limited_account.jpg" alt="limited account" title="limited account" width="454" height="215" class="alignnone size-medium wp-image-7381" /></p><p>Specify a password for the account by clicking on the Create Password link in the user account control. Once the limited account has been created it is time to test if psexec is working properly.</p><p>Start the Windows command line by pressing [windows R], typing cmd and hitting enter. Now type the following command to test the functionality of psexec:</p><p><code>psexec -d -u "low privileges" -p test notepad</code></p><p>This will start notepad using the user account low privileges with the password test. If everything worked out well notepad should appear. It is now time to check if notepad has been executed with lower privileges.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/lower_privileges-499x186.jpg" alt="lower privileges" title="lower privileges" width="499" height="186" class="alignnone size-medium wp-image-7382" /></p><p>The Task Manager can be started with [CTRL ALT DEL]. Click on View > Select Columns in the top menu and check the User Name box so that the username that started an application is shown in the Task Manager.</p><p>You should now be able to locate the username with the lower privileges and see that notepad was started from that account.</p><p>It would be time consuming to run the processes from the command line all the time. You can simply create a bat file with the command to start the applications that you want to run with lower privileges. To do that for Firefox you would add the line</p><p><code<code>psexec -d -u "low privileges" -p test "D:\Program Files\Mozilla Firefox\firefox.exe"</code></p><p>in the bat file. The file could then be moved into the start menu.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/03/run-applications-with-lower-user-rights/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
