<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Hiding arguments from ps</title>
	<atom:link href="http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Fri, 21 Nov 2008 13:24:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Tinus</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-145</link>
		<dc:creator>Tinus</dc:creator>
		<pubDate>Fri, 12 Jan 2007 17:03:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-145</guid>
		<description>Note that this is not useful as a security feature, as there will always be a period where the arguments are visible.

An attacker can extend this period at will, by keeping the system busy in the right way.

The purpose of the feature is to differentiate between processes, like the sendmail processes. You can see which one is the queuerunner, and which one is responsible for answering to the network.

If your arguments contain secrets, you're doing something wrong. Just about any program that accepts passwords on the command line also accepts passwords from a source that cannot be exposed, that is from a file (with appropriate permissions set) or from standard input.

In case you're wondering, you should also not use environment variables for this, they are not secure in all Unix variants. Use streams or files.</description>
		<content:encoded><![CDATA[<p>Note that this is not useful as a security feature, as there will always be a period where the arguments are visible.</p>
<p>An attacker can extend this period at will, by keeping the system busy in the right way.</p>
<p>The purpose of the feature is to differentiate between processes, like the sendmail processes. You can see which one is the queuerunner, and which one is responsible for answering to the network.</p>
<p>If your arguments contain secrets, you&#8217;re doing something wrong. Just about any program that accepts passwords on the command line also accepts passwords from a source that cannot be exposed, that is from a file (with appropriate permissions set) or from standard input.</p>
<p>In case you&#8217;re wondering, you should also not use environment variables for this, they are not secure in all Unix variants. Use streams or files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reiner Herrmann</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-144</link>
		<dc:creator>Reiner Herrmann</dc:creator>
		<pubDate>Fri, 12 Jan 2007 01:03:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-144</guid>
		<description>I also was wondering sometimes how other programs were hiding their arguments and couldn't find a good answer. Now I know it! :D

Thank you for this very interesting article.</description>
		<content:encoded><![CDATA[<p>I also was wondering sometimes how other programs were hiding their arguments and couldn&#8217;t find a good answer. Now I know it! <img src='http://www.netsplit.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Thank you for this very interesting article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico Lucifredi</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-143</link>
		<dc:creator>Federico Lucifredi</dc:creator>
		<pubDate>Thu, 11 Jan 2007 20:51:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-143</guid>
		<description>Cool stuff. I was thinking about this a few weeks ago, and it is nice to see it all summed up neatly!</description>
		<content:encoded><![CDATA[<p>Cool stuff. I was thinking about this a few weeks ago, and it is nice to see it all summed up neatly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EvilDead</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-142</link>
		<dc:creator>EvilDead</dc:creator>
		<pubDate>Thu, 11 Jan 2007 06:40:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-142</guid>
		<description>Hi,

this is a very interesting post!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>this is a very interesting post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: i'm not even colourblind!</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-141</link>
		<dc:creator>i'm not even colourblind!</dc:creator>
		<pubDate>Wed, 10 Jan 2007 20:13:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-141</guid>
		<description>Is your code in Super Light Blue supposed to be readable?

Your site's webdesign is otherwise good.</description>
		<content:encoded><![CDATA[<p>Is your code in Super Light Blue supposed to be readable?</p>
<p>Your site&#8217;s webdesign is otherwise good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Storyteller</title>
		<link>http://www.netsplit.com/2007/01/10/hiding-arguments-from-ps/#comment-140</link>
		<dc:creator>Storyteller</dc:creator>
		<pubDate>Wed, 10 Jan 2007 19:34:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-140</guid>
		<description>A long time ago there was a famous lib which got a hacked api. So a lot of people tried to get a workaround. They used the problems for their work. 

The author of the famous lib decided to correct the problematic api and all programms using it got problems. 

oh yes. I can remeber the author telling the other what they should have done instead of programming...</description>
		<content:encoded><![CDATA[<p>A long time ago there was a famous lib which got a hacked api. So a lot of people tried to get a workaround. They used the problems for their work. </p>
<p>The author of the famous lib decided to correct the problematic api and all programms using it got problems. </p>
<p>oh yes. I can remeber the author telling the other what they should have done instead of programming&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
