<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Convenience, Features, Disaster</title>
	<atom:link href="http://mrpogson.com/2012/10/16/convenience-features-disaster/feed/" rel="self" type="application/rss+xml" />
	<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/</link>
	<description>One man. Closing, all the windows.</description>
	<lastBuildDate>Mon, 20 May 2013 08:51:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: oiaohm</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100427</link>
		<dc:creator>oiaohm</dc:creator>
		<pubDate>Fri, 19 Oct 2012 01:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100427</guid>
		<description><![CDATA[That Exploit Guy just to be a kick with NFSv4 security fully enabled its technically strong enough to be used on the Internet raw.  Not that I would risk that.

NFSv3 and NFSv2 should be disabled.  The common reason they are not is people trying to connect Windows machines.

OS X machines support NFSv4 same with most other OS&#039;s out there.  Windows is the odd ball out.

NFSv2 and NFSv3 authorises by machine not use.  So the machines you authorises have to be fully secure or you have very big spoofing problems.

NFSv4 authorises by user and machine.  So unless user you are trying to write to server with has logged in on the machine you are writing from with NFSv4 its not happening.

NFS had its protocol rewritten to kill the problem.

That Exploit Guy  NFS 4.1 from 2010 is cluster aware.  Something SMB 3.0 is only just getting around to.

The reality here Microsoft is along way behind on implementing NFS.

The most annoying part is NFS 4.1 and 4.0 drivers for windows are open source and were funding for creating by Microsoft.

http://citi.umich.edu/projects/  Yet it don&#039;t ship with windows.

Its just like windows server still containing a telnet server and no ssh server.

That Exploit Guy exactly why should I not be pissed over this.  Windows servers shipping out box with out of date NFS servers and clients.  There is at least an upto date client MS paid to be made.


A slightly broken NFS 4.x client is better than forcing usage of NFS 3.x and before that is security busted.]]></description>
		<content:encoded><![CDATA[<p>That Exploit Guy just to be a kick with NFSv4 security fully enabled its technically strong enough to be used on the Internet raw.  Not that I would risk that.</p>
<p>NFSv3 and NFSv2 should be disabled.  The common reason they are not is people trying to connect Windows machines.</p>
<p>OS X machines support NFSv4 same with most other OS&#8217;s out there.  Windows is the odd ball out.</p>
<p>NFSv2 and NFSv3 authorises by machine not use.  So the machines you authorises have to be fully secure or you have very big spoofing problems.</p>
<p>NFSv4 authorises by user and machine.  So unless user you are trying to write to server with has logged in on the machine you are writing from with NFSv4 its not happening.</p>
<p>NFS had its protocol rewritten to kill the problem.</p>
<p>That Exploit Guy  NFS 4.1 from 2010 is cluster aware.  Something SMB 3.0 is only just getting around to.</p>
<p>The reality here Microsoft is along way behind on implementing NFS.</p>
<p>The most annoying part is NFS 4.1 and 4.0 drivers for windows are open source and were funding for creating by Microsoft.</p>
<p><a href="http://citi.umich.edu/projects/" rel="nofollow">http://citi.umich.edu/projects/</a>  Yet it don&#8217;t ship with windows.</p>
<p>Its just like windows server still containing a telnet server and no ssh server.</p>
<p>That Exploit Guy exactly why should I not be pissed over this.  Windows servers shipping out box with out of date NFS servers and clients.  There is at least an upto date client MS paid to be made.</p>
<p>A slightly broken NFS 4.x client is better than forcing usage of NFS 3.x and before that is security busted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oiaohm</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100390</link>
		<dc:creator>oiaohm</dc:creator>
		<pubDate>Thu, 18 Oct 2012 16:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100390</guid>
		<description><![CDATA[That Exploit Guy PS the bug with UID and GID being hacked over the wire with NFS was done in 1998.  Was removed from 2000 NFSv4 protocal due to the fact it could be spoofed.

Reason why Windows 12 years latter still only being able to provide NFSv3 properly is a problem.]]></description>
		<content:encoded><![CDATA[<p>That Exploit Guy PS the bug with UID and GID being hacked over the wire with NFS was done in 1998.  Was removed from 2000 NFSv4 protocal due to the fact it could be spoofed.</p>
<p>Reason why Windows 12 years latter still only being able to provide NFSv3 properly is a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oiaohm</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100389</link>
		<dc:creator>oiaohm</dc:creator>
		<pubDate>Thu, 18 Oct 2012 16:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100389</guid>
		<description><![CDATA[That Exploit Guy
http://docstore.mik.ua/orelly/other/puis3rd/0596003234_puis3-chp-15-sect-4.html

nfs_portmon not required on Linux default NFS servers.  Different option to enable the same security feature done in export feature.

--Tell me then, if you don’t have nfs_portmon enabled on your server, and the attacker is not seeking to mount the share in the local filesystem, how is your set-up going to stop him/her from doing anything?--

NFSv4 is stateful.  So its not stupid.  So disabling NFSv3 and NFSv2 kills you attack even without Kerberos.  Since UID and GID don&#039;t travel over the wire with NFSv4.

---rpc.idmapd — This process provides NFSv4 client and server upcalls which map between on-the-wire NFSv4 names (which are strings in the form of user@domain) and local UIDs and GIDs. For idmapd to function with NFSv4, the /etc/idmapd.conf must be configured. This service is required for use with NFSv4.---

Notice something here UID and GID don&#039;t travel over wire with NFSv4.  String does.  String requiring login to work.  That string is checked against GSS Methods.  If your machine you are on is not approved its not happening.

GSS Methods can include radius server check.

NfSpy basically does not work at all on NFSv4 That Exploit Guy.

Since UID/GID with NFSv4 don&#039;t exist in the over the wire protocol.

Next is NFSv4 does check if user is logged in and from where.  So you cannot use some random UID/GID.  You would have to fake a full IP packet with fake source address at min to beat NFSv4 by packet injection.  Yes beat the password most likely simpler.   krb5i is design to make doing a fully fake packet harder.

NFSv4 removes synced UID/GID between machines.   Each machine has its own mapping file from NFS users and groups to local UID/GID numbers.   If you are dealing with many locations you can have a many to 1 mapping.]]></description>
		<content:encoded><![CDATA[<p>That Exploit Guy<br />
<a href="http://docstore.mik.ua/orelly/other/puis3rd/0596003234_puis3-chp-15-sect-4.html" rel="nofollow">http://docstore.mik.ua/orelly/other/puis3rd/0596003234_puis3-chp-15-sect-4.html</a></p>
<p>nfs_portmon not required on Linux default NFS servers.  Different option to enable the same security feature done in export feature.</p>
<p>&#8211;Tell me then, if you don’t have nfs_portmon enabled on your server, and the attacker is not seeking to mount the share in the local filesystem, how is your set-up going to stop him/her from doing anything?&#8211;</p>
<p>NFSv4 is stateful.  So its not stupid.  So disabling NFSv3 and NFSv2 kills you attack even without Kerberos.  Since UID and GID don&#8217;t travel over the wire with NFSv4.</p>
<p>&#8212;rpc.idmapd — This process provides NFSv4 client and server upcalls which map between on-the-wire NFSv4 names (which are strings in the form of user@domain) and local UIDs and GIDs. For idmapd to function with NFSv4, the /etc/idmapd.conf must be configured. This service is required for use with NFSv4.&#8212;</p>
<p>Notice something here UID and GID don&#8217;t travel over wire with NFSv4.  String does.  String requiring login to work.  That string is checked against GSS Methods.  If your machine you are on is not approved its not happening.</p>
<p>GSS Methods can include radius server check.</p>
<p>NfSpy basically does not work at all on NFSv4 That Exploit Guy.</p>
<p>Since UID/GID with NFSv4 don&#8217;t exist in the over the wire protocol.</p>
<p>Next is NFSv4 does check if user is logged in and from where.  So you cannot use some random UID/GID.  You would have to fake a full IP packet with fake source address at min to beat NFSv4 by packet injection.  Yes beat the password most likely simpler.   krb5i is design to make doing a fully fake packet harder.</p>
<p>NFSv4 removes synced UID/GID between machines.   Each machine has its own mapping file from NFS users and groups to local UID/GID numbers.   If you are dealing with many locations you can have a many to 1 mapping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Pogson</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100360</link>
		<dc:creator>Robert Pogson</dc:creator>
		<pubDate>Thu, 18 Oct 2012 12:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100360</guid>
		<description><![CDATA[TEG wrote, &lt;em&gt;&lt;font color=&quot;green&quot;&gt;&quot;how is your server going to deal with a rogue client that has gained access to the network?&quot;&lt;/font&gt;&lt;/em&gt;

We had DHCP deny IP addresses to unknown machines and we denied WIFI to unauthenticated machines. Visitors were given the key, so there was a weakness but we never had a problem that way. Who cares if a M$-only virus visits when we were running GNU/Linux?

I could also have tightened the firewall on each machine but did not bother. We were solid. Students rarely carried notebook PCs and we did not have any unused RJ-45 jacks... In six months the GNU/Linux system hummed along with zero problems.]]></description>
		<content:encoded><![CDATA[<p>TEG wrote, <em><font color="green">&#8220;how is your server going to deal with a rogue client that has gained access to the network?&#8221;</font></em></p>
<p>We had DHCP deny IP addresses to unknown machines and we denied WIFI to unauthenticated machines. Visitors were given the key, so there was a weakness but we never had a problem that way. Who cares if a M$-only virus visits when we were running GNU/Linux?</p>
<p>I could also have tightened the firewall on each machine but did not bother. We were solid. Students rarely carried notebook PCs and we did not have any unused RJ-45 jacks&#8230; In six months the GNU/Linux system hummed along with zero problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: That Exploit Guy</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100334</link>
		<dc:creator>That Exploit Guy</dc:creator>
		<pubDate>Thu, 18 Oct 2012 08:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100334</guid>
		<description><![CDATA[@dougman

&lt;i&gt;&#039;No Windows computer should EVER be trusted!! PERIOD!&#039;&lt;/i&gt;

Is this one of your sales pitches or just an odd habit of yours that causes you to scream nonsense at random? I am confused.

@oiaohm

I think Kerberos had been mentioned in this discussion for quite a while even before you decided to chip in on the matter.

Why not just shut up and let the grown men talk?

@Robert Pogson

Tell me then, if you don&#039;t have nfs_portmon enabled on your server, and the attacker is not seeking to mount the share in the local filesystem, how is your set-up going to stop him/her from doing anything?

What&#039;s more - didn&#039;t you mention you had also installed wifi access points in some of those schools? Tell me, then, how is your server going to deal with a rogue client that has gained access to the network?

What I am afraid is that you simply have no answer to any of these questions, but instead you are simply hoping that &quot;GNU/Linux&quot; is somehow the magic charm that solves all the problems all by themselves. That just doesn&#039;t appear to me to be very enlightened or even very bright.]]></description>
		<content:encoded><![CDATA[<p>@dougman</p>
<p><i>&#8216;No Windows computer should EVER be trusted!! PERIOD!&#8217;</i></p>
<p>Is this one of your sales pitches or just an odd habit of yours that causes you to scream nonsense at random? I am confused.</p>
<p>@oiaohm</p>
<p>I think Kerberos had been mentioned in this discussion for quite a while even before you decided to chip in on the matter.</p>
<p>Why not just shut up and let the grown men talk?</p>
<p>@Robert Pogson</p>
<p>Tell me then, if you don&#8217;t have nfs_portmon enabled on your server, and the attacker is not seeking to mount the share in the local filesystem, how is your set-up going to stop him/her from doing anything?</p>
<p>What&#8217;s more &#8211; didn&#8217;t you mention you had also installed wifi access points in some of those schools? Tell me, then, how is your server going to deal with a rogue client that has gained access to the network?</p>
<p>What I am afraid is that you simply have no answer to any of these questions, but instead you are simply hoping that &#8220;GNU/Linux&#8221; is somehow the magic charm that solves all the problems all by themselves. That just doesn&#8217;t appear to me to be very enlightened or even very bright.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Weig</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100330</link>
		<dc:creator>Chris Weig</dc:creator>
		<pubDate>Thu, 18 Oct 2012 07:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100330</guid>
		<description><![CDATA[&lt;cite&gt;Again M$ shills blame the user!&lt;/cite&gt;

No, TEG blamed the administrators. And that was absolutely justified.

And, just in case you forgot, blaming the user is a standard modus operandi on Linux discussion boards. The places you go to for support.]]></description>
		<content:encoded><![CDATA[<p><cite>Again M$ shills blame the user!</cite></p>
<p>No, TEG blamed the administrators. And that was absolutely justified.</p>
<p>And, just in case you forgot, blaming the user is a standard modus operandi on Linux discussion boards. The places you go to for support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oiaohm</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100322</link>
		<dc:creator>oiaohm</dc:creator>
		<pubDate>Thu, 18 Oct 2012 05:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100322</guid>
		<description><![CDATA[That Exploit Guy have you read security recommendations.

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-security.html

Fairly much universal use NFSv4.  Using NFSv4 kills the defect.

https://github.com/bonsaiviking/NfSpy

That Exploit Guy if you had read not just goggle you will notice NfSpy is only for NFSv3 and before.  The recommendation under Linux is run NFSv4.

There are also 3 NFSv4 Kerberos modes.

--1) krb5 Use Kerberos for authentication only.

2) krb5i Use Kerberos for authentication, and include a has with each transaction to ensure integrity. Traffic can still be intercepted and examined, but modifications to the traffic will be apparent.

3) krb5p Use Kerberos for authentication, and encrypt all traffic between the client and server. This is the most secure, but also incurs the most load.--

Problem here is once you are running in these modes changing the  UID and GID on the packet will not work.   NFSv4 is design to work in incorrect aligned UID/GID environment.  You can only use the UID/GID that that matches your authentication on NFSv4.

NFSv4 was release the year 2000.  NFSv4 is stateful.  So those dirty tricks of wrong GID/UID don&#039;t work.

That Exploit Guy if you want to know a reason why a Linux server will be running NFSv3 that is a secuirty flaw.

http://social.technet.microsoft.com/Forums/en-US/winserver8gen/thread/6ca3ca0b-6ca2-4521-b225-cdf6e573cfd5

Yep windows 2012 just released for testing 12 years latter still does not support NFSv4 so has people running security flawed NFSv3.

Explains dougman response right.

That Exploit Guy so you are pointing to a windows server weakness not a Linux one.  Even better 0 id in MS default NFS server is SYSTEM.  Its one reason why its highly stupid to run a Microsoft NFS server from a windows box.

Your problem is you don&#039;t know the topic That Exploit Guy and you don&#039;t read enough.]]></description>
		<content:encoded><![CDATA[<p>That Exploit Guy have you read security recommendations.</p>
<p><a href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-security.html" rel="nofollow">http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-security.html</a></p>
<p>Fairly much universal use NFSv4.  Using NFSv4 kills the defect.</p>
<p><a href="https://github.com/bonsaiviking/NfSpy" rel="nofollow">https://github.com/bonsaiviking/NfSpy</a></p>
<p>That Exploit Guy if you had read not just goggle you will notice NfSpy is only for NFSv3 and before.  The recommendation under Linux is run NFSv4.</p>
<p>There are also 3 NFSv4 Kerberos modes.</p>
<p>&#8211;1) krb5 Use Kerberos for authentication only.</p>
<p>2) krb5i Use Kerberos for authentication, and include a has with each transaction to ensure integrity. Traffic can still be intercepted and examined, but modifications to the traffic will be apparent.</p>
<p>3) krb5p Use Kerberos for authentication, and encrypt all traffic between the client and server. This is the most secure, but also incurs the most load.&#8211;</p>
<p>Problem here is once you are running in these modes changing the  UID and GID on the packet will not work.   NFSv4 is design to work in incorrect aligned UID/GID environment.  You can only use the UID/GID that that matches your authentication on NFSv4.</p>
<p>NFSv4 was release the year 2000.  NFSv4 is stateful.  So those dirty tricks of wrong GID/UID don&#8217;t work.</p>
<p>That Exploit Guy if you want to know a reason why a Linux server will be running NFSv3 that is a secuirty flaw.</p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/winserver8gen/thread/6ca3ca0b-6ca2-4521-b225-cdf6e573cfd5" rel="nofollow">http://social.technet.microsoft.com/Forums/en-US/winserver8gen/thread/6ca3ca0b-6ca2-4521-b225-cdf6e573cfd5</a></p>
<p>Yep windows 2012 just released for testing 12 years latter still does not support NFSv4 so has people running security flawed NFSv3.</p>
<p>Explains dougman response right.</p>
<p>That Exploit Guy so you are pointing to a windows server weakness not a Linux one.  Even better 0 id in MS default NFS server is SYSTEM.  Its one reason why its highly stupid to run a Microsoft NFS server from a windows box.</p>
<p>Your problem is you don&#8217;t know the topic That Exploit Guy and you don&#8217;t read enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Pogson</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100320</link>
		<dc:creator>Robert Pogson</dc:creator>
		<pubDate>Thu, 18 Oct 2012 04:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100320</guid>
		<description><![CDATA[TEG wrote, &lt;em&gt;&lt;font color=&quot;green&quot;&gt;&quot;With a client that can spoof UID and GID?&quot;&lt;/font&gt;&lt;/em&gt;

The ordinary user does not have root access to run that application.]]></description>
		<content:encoded><![CDATA[<p>TEG wrote, <em><font color="green">&#8220;With a client that can spoof UID and GID?&#8221;</font></em></p>
<p>The ordinary user does not have root access to run that application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dougman</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100317</link>
		<dc:creator>dougman</dc:creator>
		<pubDate>Thu, 18 Oct 2012 04:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100317</guid>
		<description><![CDATA[No Windows computer should EVER be trusted!! PERIOD!]]></description>
		<content:encoded><![CDATA[<p>No Windows computer should EVER be trusted!! PERIOD!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: That Exploit Guy</title>
		<link>http://mrpogson.com/2012/10/16/convenience-features-disaster/#comment-100314</link>
		<dc:creator>That Exploit Guy</dc:creator>
		<pubDate>Thu, 18 Oct 2012 03:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://mrpogson.com/?p=15100#comment-100314</guid>
		<description><![CDATA[&lt;b&gt;&#039;and just how is an ordinary user going to fudge packets?&#039;&lt;/b&gt;

With a client that can spoof UID and GID? I have even linked to &lt;a href=&quot;http://seclists.org/pen-test/2011/Jul/5&quot; rel=&quot;nofollow&quot;&gt;one&lt;/a&gt; in my previous comment, so what exactly is your excuse?

&lt;i&gt;&#039;that doesn’t happen on any GNU/Linux system I have seen&#039;&lt;/i&gt;

That&#039;s quite a limited subset of what&#039;s really happening in the real world, isn&#039;t it?]]></description>
		<content:encoded><![CDATA[<p><b>&#8216;and just how is an ordinary user going to fudge packets?&#8217;</b></p>
<p>With a client that can spoof UID and GID? I have even linked to <a href="http://seclists.org/pen-test/2011/Jul/5" rel="nofollow">one</a> in my previous comment, so what exactly is your excuse?</p>
<p><i>&#8216;that doesn’t happen on any GNU/Linux system I have seen&#8217;</i></p>
<p>That&#8217;s quite a limited subset of what&#8217;s really happening in the real world, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
