<?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>TechnoHolics &#187; Security</title>
	<atom:link href="http://www.prashanthpai.com/blog/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prashanthpai.com/blog</link>
	<description>PP writes</description>
	<lastBuildDate>Sat, 19 Nov 2011 15:30:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Run A Process As NT AUTHORITY\SYSTEM</title>
		<link>http://www.prashanthpai.com/blog/run-a-process-as-nt-authoritysystem/</link>
		<comments>http://www.prashanthpai.com/blog/run-a-process-as-nt-authoritysystem/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 01:30:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[NT AUTHORITY\SYSTEM]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Superuser]]></category>

		<guid isPermaLink="false">http://www.prashanthpai.com/blog/?p=170</guid>
		<description><![CDATA[Who is NT AUTHORITY\SYSTEM ? It is a built-in user account that is run on a Windows OS. It has powers even more than the Administrator account ! Using that account, one can gain complete control over everything. You can kill any stubborn process, make system wide changes etc. But, one cannot log in as [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Who is NT AUTHORITY\SYSTEM ?</strong></p>
<p>
It is a built-in user account that is run on a Windows OS. It has powers even more than the Administrator account ! Using that account, one can gain complete control over everything. You can kill any stubborn process, make system wide changes etc. But, one cannot log in as <em>NT AUTHORITY\SYSTEM</em>. Windows doesn&#8217;t allow this and for a good reason coz malicious programs if run as <em>NT AUTHORITY\SYSTEM</em>, then it would be nothing less than a disaster! </p>
<p><strong>Why should I become the NT AUTHORITY\SYSTEM ?</strong></p>
<p>
There are many rare instances when you will need to become the <em>NT AUTHORITY\SYSTEM</em> like in case you cannot end a virus process using Task Manager or from command line using <strong>taskkill</strong> even when the <strong>/f</strong> switch is used.</p>
<p><strong>How can I become NT AUTHORITY\SYSTEM ?</strong></p>
<p>
Here is a little trick that allows you to gain system wide access as NT AUTHORITY\SYSTEM in XP. This won&#8217;t work in Vista.<span id="more-170"></span></p>
<blockquote><ol>
<li>You must be logged in as an Administrator</li>
<li>Make sure that &#8220;Task Scheduler&#8221; service is running. If not, start it using <strong>services.msc</strong> or using command line by typing <code>net start "Task Scheduler"</code></li>
<li>Now, you need to schedule a task using the at command as show below. Here&#8217;s the general command syntax.<br />
<code><br />
at one_minute_more_than_current_time /interactive file_path<br />
</code><br />
And here&#8217;s an example. Consider that the current time in your system tray clock is <strong>21:21</strong>. Here&#8217;s the command that you need to enter to run the <strong>cmd.exe</strong> as <em>NT AUTHORITY\SYSTEM</em>.<br />
<code><br />
at 21:22 /interactive C:\WINDOWS\system32\cmd.exe<br />
</code><br />
You must specify the time one or two minutes more than the current time in system tray clock <strong>in 24 hour format</strong>.<br />
<div id="attachment_310" class="wp-caption aligncenter" style="width: 532px"><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/schedule.png" alt="Schedule a task" title="Schedule a task" width="522" height="235" class="size-full wp-image-310" /><p class="wp-caption-text">Schedule a task</p></div></p>
</li>
<li>When the time is elapsed, a new Command Prompt appears which is running as NT AUTHORITY\SYSTEM. <strong>All programs, GUI programs, commands etc launched from this Command Prompt also runs as <em>NT AUTHORITY\SYSTEM</em></strong>. For example, the Task Manager (taskmgr.exe) started from this Command Prompt can end any process. Be careful while playing around with this trick <img src='http://www.prashanthpai.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ol>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.prashanthpai.com/blog/run-a-process-as-nt-authoritysystem/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>RegSwitch, TaskmgrSwitch, cmdSwitch VB Scripts</title>
		<link>http://www.prashanthpai.com/blog/regswitch-taskmgrswitch-cmdswitch-vb-scripts/</link>
		<comments>http://www.prashanthpai.com/blog/regswitch-taskmgrswitch-cmdswitch-vb-scripts/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 01:30:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[cmdSwitch]]></category>
		<category><![CDATA[Command Prompt Disabled]]></category>
		<category><![CDATA[Registry Disabled]]></category>
		<category><![CDATA[RegSwitch]]></category>
		<category><![CDATA[Task Manager Disabled]]></category>
		<category><![CDATA[TaskmgrSwitch]]></category>

		<guid isPermaLink="false">http://www.prashanthpai.com/blog/?p=157</guid>
		<description><![CDATA[A virus or trojan usually disables or blocks access to regedit, taskmgr and cmd. Whenever you access these disabled components, you&#8217;ll get a dialog box with messages like these : &#8220;Registry editing has been disabled by your administrator&#8221; or &#8220;Task Manager has been disabled by your administrator&#8221; or &#8220;The command prompt has been disabled by [...]]]></description>
			<content:encoded><![CDATA[<p>A virus or trojan usually disables or blocks access to regedit, taskmgr and cmd. Whenever you access these disabled components, you&#8217;ll get a dialog box with messages like these :<br />
<strong>&#8220;Registry editing has been disabled by your administrator&#8221;</strong> or<br />
<strong>&#8220;Task Manager has been disabled by your administrator&#8221;</strong> or<br />
<strong>&#8220;The command prompt has been disabled by your administrator&#8221;</strong></p>
<p><div id="attachment_255" class="wp-caption aligncenter" style="width: 359px"><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/regeditdisabled.png" alt="Registry editing has been disabled by your administrator" title="regedit Disabled" width="349" height="125" class="size-full wp-image-255" /><p class="wp-caption-text">Registry editing has been disabled by your administrator</p></div><br />
<span id="more-157"></span><br />
<div id="attachment_259" class="wp-caption aligncenter" style="width: 349px"><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/taskmanagerdisabled.png" alt="Task Manager has been disabled by your administrator" title="taskmgr Disabled" width="339" height="122" class="size-full wp-image-259" /><p class="wp-caption-text">Task Manager has been disabled by your administrator</p></div></p>
<div id="attachment_254" class="wp-caption aligncenter" style="width: 499px"><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/cmddisabled.png" alt="The command prompt has been disabled by your administrator" title="cmd Disabled" width="489" height="124" class="size-full wp-image-254" /><p class="wp-caption-text">The command prompt has been disabled by your administrator</p></div>
<p>Well, here are my first VB Scripts that are damn useful to fix these problems. I did borrow the idea from another similar script. But these scripts have more features.</p>
<ul>
<li>
<strong><u>RegSwitch</u></strong><br />
You can use this to turn on/off registry editing access i.e to block or unblock regedit.<br />
<img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/regswitch3.png" alt="regswitch3" title="regswitch3" width="280" height="124" class="alignnone size-full wp-image-257" /><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/regswitch2.png" alt="regswitch2" title="regswitch2" width="279" height="124" class="alignnone size-full wp-image-256" />
</li>
<li>
<strong><u>TaskmgrSwitch</u></strong><br />
You can use this to turn on/off Task Manager i.e to block or unblock taskmgr access.<br />
<img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/taskmgr2.png" alt="taskmgr2" title="taskmgr2" width="279" height="124" class="alignnone size-full wp-image-260" /><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/taskmgr3.png" alt="taskmgr3" title="taskmgr3" width="279" height="123" class="alignnone size-full wp-image-261" />
</li>
<li>
<strong><u>cmdSwitch</u></strong><br />
Similar to the above two, this will enable/disable Command Prompt access.
</li>
</ul>
<p>All the above scripts first check for existence of regedit.exe/taskmgr.exe/cmd.exe and also log events to the Event Log. </p>
<p><img src="http://www.prashanthpai.com/blog/wp-content/uploads/2009/04/regswitch.png" alt="regswitch" title="regswitch" width="367" height="132" class="aligncenter size-full wp-image-258" /></p>
<p>Just run the scripts again to <strong>toggle between on and off</strong>. The scripts have been tested successfully on <strong>XP SP3</strong> and <strong>Vista SP1</strong>. Please let me know if there are any bugs. You can view the source code of the script by opening it with notepad <img src='http://www.prashanthpai.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.prashanthpai.com/archive/scripts/vbs/RegSwitch.vbs">Download RegSwitch</a><br />
<a href="http://www.prashanthpai.com/archive/scripts/vbs/TaskmgrSwitch.vbs">Download TaskmgrSwitch</a><br />
<a href="http://www.prashanthpai.com/archive/scripts/vbs/cmdSwitch.vbs">Download cmdSwitch</a></p>
<p><strong>P.S :</strong> These scripts were initially posted by me at <a href="http://www.raymond.cc/forum/latest-releases/8094-regswitch-and-taskmgrswitch-scripts.html#post48717">Raymond.cc Forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prashanthpai.com/blog/regswitch-taskmgrswitch-cmdswitch-vb-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

