[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    Re: [Full-disclosure] .NET REMOTING on port 31337
From:       "Joel R. Helgeson" <joel () helgeson ! com>
Date:       2007-09-30 6:02:34
Message-ID: 025c01c80327$82589370$8709ba50$ () com
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


>Stand there and risk come confidential data being compromised!

 

Yes. Stand there. Monitor traffic. Do nothing to stop or impede. The moment
you change ANYTHING you immediately start losing evidence.

Right now there is an IF involved. If I reacted to every strange service I
found running on the manifold networks I've audited. You monitor, go to the
machine in question and investigate the service running that is servicing
that port. If it is hacked, it is up to the customer to call upon their
Emergency Response Plan.

 

I have found a service running on a Win2k3 server that the admin wanted me
to just simply clean it off. I advised against it. They agreed and I
gathered information about the intrusion (doing nothing to clean it off) and
found that it was just the tip of the iceberg, that the server had acted as
a gateway to the infection of six servers on their network, each with a
different piece of the hack and info gathering done on each server. On a
separate server, I saw where they used IPv4toIPv6 mapping tool to redirect
an IPv4 to IPv4 port mapping, so windows remote desktop admin could be
accessed using port 443. The simple removing of the initial infection would
have left the rest of the breach unnoticed.    This hack also included
setting up windows task scheduler to request updates from a list of domains,
to re-establish hacker access should we cut them off.. which we did.  They
were good, damn good.

 

-joel

 

 

 

From: Fabrizio [mailto:staticrez@gmail.com] 
Sent: Friday, September 28, 2007 1:42 PM
To: Joel R. Helgeson
Subject: Re: [Full-disclosure] .NET REMOTING on port 31337

 

Yeah! Stand there and risk come confidential data being compromised! Monitor
and Capture them stealing our customer info! Then try and get it back!

Come on man. It's a pen-test, and there are NDA's in order. Don't take the
chance. 

Fabrizio

On 9/28/07, Joel R. Helgeson <joel@helgeson.com> wrote:

I disagree, don't block access to the port. Monitor and capture it.

 

Joel's First rule of forensics: Don't just do something, stand there!

 

Watch it, monitor it. If it is a crafty backdoor, there are dozens of others
to enable bad guys to regain entry.

Blocking lets the hacker know you might be on to them.  IF it is legit, then
it could cause a problem.

Telnet to the port, see what it says on connection; run fport or
sysinternals utilities on the box to see the stack the program uses.

 

-joel

 

From: full-disclosure-bounces@lists.grok.org.uk
<mailto:full-disclosure-bounces@lists.grok.org.uk>
[mailto:full-disclosure-bounces@lists.grok.org.uk] On Behalf Of Fabrizio
Sent: Friday, September 28, 2007 1:31 PM
To: Full-Disclosure
Subject: Re: [Full-disclosure] .NET REMOTING on port 31337

 

If you think it's that critical, (i think it's that critical) start by
blocking any connections from anywhere to that machine/port. See if anyone
complains. Check any old firewall logs for that port while you're at it.
Then continue your investigation!! 

Fabrizio

On 9/28/07, Simon Smith <simon@snosoft.com> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Got output... and it was... no idea what it was... can't paste it due to
confidentiality though.

Fabrizio wrote:
> .NET Remoting is "a generic system for different applications to use to 
> communicate with one another." It's part of the .NET framework,
> obviously. (not trying to be a smart ass)
>
> I'm gonna take a wild guess and say it's not a good thing......
>
> Connect to it, and see if you get any output, if you haven't already
> done so.
>
> Fabrizio
>
>
>
> On 9/28/07, * Simon Smith* < simon@snosoft.com <mailto:simon@snosoft.com> 
> <mailto:simon@snosoft.com>> wrote:
>
>
> Has anyone ever heard of .NET REMOTING running on port 31337? If so,
> have you ever seen it "legitimate"? 
>
>

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
<http://lists.grok.org.uk/full-disclosure-charter.html> 
<http://lists.grok.org.uk/full-disclosure-charter.html>
Hosted and sponsored by Secunia - http://secunia.com/ 



> ------------------------------------------------------------------------

> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/


- --

- - simon

- ----------------------
http://www.snosoft.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG/UY+f3Elv1PhzXgRAs/BAJ42Vwk5+cvWfoYo4wUl74LDnUtz7wCgzW9s
O/+SDoZYgZ1r1oDjKpKzZIo= 
=n54j
-----END PGP SIGNATURE-----

 

 


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" \
xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.gmailquote
	{mso-style-name:gmail_quote;}
span.e
	{mso-style-name:e;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>&gt;Stand there and risk come confidential data being
compromised!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Yes. Stand there. Monitor traffic. Do nothing to stop or
impede. The moment you change ANYTHING you immediately start losing evidence.<o:p></o:p></p>

<p class=MsoNormal>Right now there is an IF involved. If I reacted to every
strange service I found running on the manifold networks I&#8217;ve audited&#8230;
You monitor, go to the machine in question and investigate the service running
that is servicing that port. If it is hacked, it is up to the customer to call
upon their Emergency Response Plan.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have found a service running on a Win2k3 server that the
admin wanted me to just simply clean it off. I advised against it. They agreed
and I gathered information about the intrusion (doing nothing to clean it off)
and found that it was just the tip of the iceberg, that the server had acted as
a gateway to the infection of six servers on their network, each with a different
piece of the hack and info gathering done on each server. On a separate server,
I saw where they used IPv4toIPv6 mapping tool to redirect an IPv4 to IPv4 port
mapping, so windows remote desktop admin could be accessed using port 443. The
simple removing of the initial infection would have left the rest of the breach
unnoticed.&nbsp;&nbsp;&nbsp; This hack also included setting up windows task
scheduler to request updates from a list of domains, to re-establish hacker
access should we cut them off.. which we did.&nbsp; They were good, damn good.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>-joel<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Fabrizio \
[mailto:staticrez@gmail.com] <br> <b>Sent:</b> Friday, September 28, 2007 1:42 PM<br>
<b>To:</b> Joel R. Helgeson<br>
<b>Subject:</b> Re: [Full-disclosure] .NET REMOTING on port 31337<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Yeah! Stand there and risk come
confidential data being compromised! Monitor and Capture them stealing our
customer info! Then try and get it back!<br>
<br>
Come on man. It's a pen-test, and there are NDA's in order. Don't take the
chance. <br>
<br>
Fabrizio<o:p></o:p></p>

<div>

<p class=MsoNormal><span class=gmailquote>On 9/28/07, <b>Joel R. Helgeson</b>
&lt;<a href="mailto:joel@helgeson.com">joel@helgeson.com</a>&gt; wrote:</span><o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>I disagree, don't block access
to the port. Monitor and capture it.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Joel's First rule of forensics:
Don't just do something, stand there!</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Watch it, monitor it. If it is
a crafty backdoor, there are dozens of others to enable bad guys to regain
entry.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Blocking lets the hacker know
you might be on to them.&nbsp; IF it is legit, then it could cause a \
problem.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Telnet to the port, see what it
says on connection; run fport or sysinternals utilities on the box to see the
stack the program uses.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>-joel</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> <a href="mailto:full-disclosure-bounces@lists.grok.org.uk"
target="_blank">full-disclosure-bounces@lists.grok.org.uk </a>[mailto:<a
href="mailto:full-disclosure-bounces@lists.grok.org.uk" \
target="_blank">full-disclosure-bounces@lists.grok.org.uk</a>] <b>On Behalf Of </b>Fabrizio<br>
<b>Sent:</b> Friday, September 28, 2007 1:31 PM<br>
<b>To:</b> Full-Disclosure<br>
<b>Subject:</b> Re: [Full-disclosure] .NET REMOTING on port 31337</span><o:p></o:p></p>

</div>

<div>

<p>&nbsp;<o:p></o:p></p>

<p style='margin-bottom:12.0pt'>If you think it's that critical, (i think it's
that critical) start by blocking any connections from anywhere to that machine/port.
See if anyone complains. Check any old firewall logs for that port while you're
at it. Then continue your investigation!! <br>
<br>
Fabrizio<o:p></o:p></p>

<div>

<p>On 9/28/07, <b>Simon Smith</b> &lt;<a href="mailto:simon@snosoft.com"
target="_blank">simon@snosoft.com</a>&gt; wrote:<o:p></o:p></p>

<p>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Got output... and it was... no idea what it was... can't paste it due to<br>
confidentiality though.<br>
<br>
Fabrizio wrote:<br>
&gt; .NET Remoting is &quot;a generic system for different applications to use
to <br>
&gt; communicate with one another.&quot; It's part of the .NET framework,<br>
&gt; obviously. (not trying to be a smart ass)<br>
&gt;<br>
&gt; I'm gonna take a wild guess and say it's not a good thing......<br>
&gt;<br>
&gt; Connect to it, and see if you get any output, if you haven't already<br>
&gt; done so.<br>
&gt;<br>
&gt; Fabrizio<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 9/28/07, * Simon Smith* &lt;<a href="mailto:simon@snosoft.com"
target="_blank"> simon@snosoft.com</a><br>
&gt; &lt;mailto:<a href="mailto:simon@snosoft.com" \
target="_blank">simon@snosoft.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Has anyone ever heard of .NET REMOTING running on port 31337? If so,<br>
&gt; have you ever seen it &quot;legitimate&quot;? <br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Full-Disclosure - We believe in it.<br>
Charter: <a href="http://lists.grok.org.uk/full-disclosure-charter.html"
target="_blank">http://lists.grok.org.uk/full-disclosure-charter.html </a><br>
&lt;<a href="http://lists.grok.org.uk/full-disclosure-charter.html"
target="_blank">http://lists.grok.org.uk/full-disclosure-charter.html</a>&gt;<br>
Hosted and sponsored by Secunia - <a href="http://secunia.com/" \
target="_blank">http://secunia.com/ </a><br>
<br>
<br>
<br>
&gt; ------------------------------------------------------------------------<br>
<br>
&gt; _______________________________________________<br>
&gt; Full-Disclosure - We believe in it.<br>
&gt; Charter: <a href="http://lists.grok.org.uk/full-disclosure-charter.html"
target="_blank">http://lists.grok.org.uk/full-disclosure-charter.html</a><br>
&gt; Hosted and sponsored by Secunia - <a href="http://secunia.com/"
target="_blank">http://secunia.com/</a><br>
<br>
<br>
- --<br>
<br>
- - simon<br>
<br>
- ----------------------<br>
<a href="http://www.snosoft.com" target="_blank">http://www.snosoft.com</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.5 (Darwin)<br>
<br>
iD8DBQFG/UY+f3Elv1PhzXgRAs/BAJ42Vwk5+cvWfoYo4wUl74LDnUtz7wCgzW9s<br>
O/+SDoZYgZ1r1oDjKpKzZIo= <br>
=n54j<br>
-----END PGP SIGNATURE-----<o:p></o:p></p>

</div>

<p>&nbsp;<o:p></o:p></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic