﻿<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>Blog | Security Whole: Recent Comments</title>
	<updated>2010-07-31T04:05:56Z</updated>
	<id>http://blog.securitywhole.com/comments/atom.aspx</id>
	<link href="http://blog.securitywhole.com/comments/atom.aspx" rel="self" type="application/rss+xml" />
	<link href="http://blog.securitywhole.com" rel="alternate" type="application/rss+xml" />
	<generator uri="http://app.onlinequickblog.com/" version="2.0">Quick Blogcast</generator>
	<entry>
		<title>Comment on Finding Meterpreter</title>
		<link href="http://blog.securitywhole.com/2010/01/31/finding-meterpreter.aspx#comment-3338057" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-07-20:3338057</id>
		<author>
			<name>Ryan M. Ferris</name>
			<uri>http://www.rmfnetworksecurity.com</uri>
		</author>
		<updated>2010-07-21T01:37:06Z</updated>
		<published>2010-07-21T01:37:06Z</published>
		<content type="html">Thanks for this post. I extended your post some. I found this PS code of interest:&lt;br /&gt;$findMM=foreach ($id in ( Get-Process | ? { $_.Modules -like "*(rsaenh.dll)*"  -and $_.Modules -like "*(iphlpapi.dll)*"} )) {write $id.MainModule}&lt;br /&gt;$findMM | Select Modulename,FileName,ModuleMemorySize,Size,EntryPointAddress,BaseAddress,Description,Company | ft -auto</content>
	</entry>
	<entry>
		<title>Comment on Finding Old or Unused Accounts with Powershell v2</title>
		<link href="http://blog.securitywhole.com/2009/08/12/finding-old-or-unused-accounts-with-powershell-v2.aspx#comment-2952593" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-03-28:2952593</id>
		<author>
			<name>Tim Medin</name>
		</author>
		<updated>2010-03-29T04:37:03Z</updated>
		<published>2010-03-29T04:37:03Z</published>
		<content type="html">The property you need is called whenChanged. &lt;BR&gt;Just add this line:&lt;BR&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;$searcher.PropertiesToLoad.Add("whenChanged") | out-null&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;</content>
	</entry>
	<entry>
		<title>Comment on Finding Old or Unused Accounts with Powershell v2</title>
		<link href="http://blog.securitywhole.com/2009/08/12/finding-old-or-unused-accounts-with-powershell-v2.aspx#comment-2951886" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-03-28:2951886</id>
		<author>
			<name>Chris</name>
		</author>
		<updated>2010-03-28T21:03:53Z</updated>
		<published>2010-03-28T21:03:53Z</published>
		<content type="html">Thanks for the pagesize fix.&lt;br /&gt;&lt;br /&gt;I'm trying to add another property, modificationdate, but aren't having much luck. I tried replacing one of your properties as a test as I thought it would be simple, but nope :(&lt;br /&gt;&lt;br /&gt;Can you point me in the right direction please?</content>
	</entry>
	<entry>
		<title>Comment on Finding Old or Unused Accounts with Powershell v2</title>
		<link href="http://blog.securitywhole.com/2009/08/12/finding-old-or-unused-accounts-with-powershell-v2.aspx#comment-2939651" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-03-24:2939651</id>
		<author>
			<name>Tim Medin</name>
		</author>
		<updated>2010-03-24T16:04:00Z</updated>
		<published>2010-03-24T16:04:00Z</published>
		<content type="html">An Active Directory search, by default, returns only 1000 items. To around the issue you have to use the PageSize property.&lt;br /&gt;
&lt;br /&gt;
$searcher.PageSize = 1000&lt;br /&gt;
&lt;br /&gt;
"The way to get around that issue is to assign a value to the PageSize property. When you do that, your search script will return (in this case) the first 1,000 items, pause for a split second, then return the next 1,000. This process will continue until &lt;i&gt;all&lt;/i&gt; the items meeting the search criteria have been returned." from &lt;a href="http://www.microsoft.com/technet/scriptcenter/topics/winpsh/searchad.mspx"&gt;http://www.microsoft.com/technet/scriptcenter/topics/winpsh/searchad.mspx&lt;/a&gt;</content>
	</entry>
	<entry>
		<title>Comment on Finding Old or Unused Accounts with Powershell v2</title>
		<link href="http://blog.securitywhole.com/2009/08/12/finding-old-or-unused-accounts-with-powershell-v2.aspx#comment-2937904" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-03-23:2937904</id>
		<author>
			<name>Chris</name>
		</author>
		<updated>2010-03-24T03:57:15Z</updated>
		<published>2010-03-24T03:57:15Z</published>
		<content type="html">Any reason it's only doing 1000 users?</content>
	</entry>
	<entry>
		<title>Comment on Finding Meterpreter</title>
		<link href="http://blog.securitywhole.com/2010/01/31/finding-meterpreter.aspx#comment-2827956" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-02-14:2827956</id>
		<author>
			<name>Tim Medin</name>
		</author>
		<updated>2010-02-15T03:40:44Z</updated>
		<published>2010-02-15T03:40:44Z</published>
		<content type="html">Interesting idea. I would imagine would difficult to implement with reasonable accuracy.&lt;BR&gt;&lt;BR&gt;And great post.</content>
	</entry>
	<entry>
		<title>Comment on Finding Meterpreter</title>
		<link href="http://blog.securitywhole.com/2010/01/31/finding-meterpreter.aspx#comment-2822208" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-02-12:2822208</id>
		<author>
			<name>jah</name>
		</author>
		<updated>2010-02-13T02:18:15Z</updated>
		<published>2010-02-13T02:18:15Z</published>
		<content type="html">I know that when you migrate meterpreter to a different process, you can see the change in that processes memory usage (private bytes, working set, etc). I bet if you did enough measuring, you could come up with a ballpark size as a signature for meterpreter. The problem with this approach is that you would need a baseline for the memory usage of each process on the machine.&lt;BR&gt; &lt;BR&gt;This was a very interesting article and showed some nice techniques. I was recently doing some experimentation with metasploit and wrote a blog entry on my findings. If you're interested, the url is: &lt;A href="http://jah-internship.blogspot.com/2010/02/simwitty-internship-week-4.html"&gt;http://jah-internship.blogspot.com/2010/02/simwitty-internship-week-4.html&lt;/A&gt;</content>
	</entry>
	<entry>
		<title>Comment on Getting registry last write time with PowerShell</title>
		<link href="http://blog.securitywhole.com/2010/02/02/getting-registry-last-write-time-with-powershell.aspx#comment-2816782" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-02-11:2816782</id>
		<author>
			<name>Tim Medin</name>
		</author>
		<updated>2010-02-11T16:38:13Z</updated>
		<published>2010-02-11T16:38:13Z</published>
		<content type="html">The problem is each value does not have a timestamp, just the key. That means that you can't get the detail you want. It just isn't a feature that Windows provides.&lt;br&gt;&lt;br&gt;To get the LastWriteTime of the Devices Key run the command at one key higher.&lt;br&gt;&lt;br&gt;Get-RegTimestamp.ps1 HKCU "Software\Microsoft\Windows NT\CurrentVersion"&lt;br&gt;&lt;br&gt;&lt;font face="Courier New"&gt;Key&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastWriteTime&lt;br&gt;---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------------&lt;br&gt;...&lt;br&gt;Devices&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/11/2010 1:31:22 PM&lt;br&gt;...&lt;/font&gt;&lt;br&gt;</content>
	</entry>
	<entry>
		<title>Comment on Getting registry last write time with PowerShell</title>
		<link href="http://blog.securitywhole.com/2010/02/02/getting-registry-last-write-time-with-powershell.aspx#comment-2815900" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-02-11:2815900</id>
		<author>
			<name>Paul</name>
		</author>
		<updated>2010-02-11T11:46:06Z</updated>
		<published>2010-02-11T11:46:06Z</published>
		<content type="html">Hello,&lt;br /&gt;&lt;br /&gt;    I`m trying to find out the date on which a network printer was installed on the workstation. I`m using the registry keys in "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices\" to find this out. Unfortunately the above command does not return the information needed. all i get is " .\Get-RegKeyLastWriteTime.ps1 &lt;br /&gt;HKCU Software\Microsoft\Windows NT\CurrentVersion\Devices&lt;br /&gt;&lt;br /&gt;Key                                     LastWriteTime&lt;br /&gt;---                                     -------------&lt;br /&gt;CurrentVersion                          27.01.2010 13:54:08&lt;br /&gt;Shell                                   06.01.2010 14:18:47&lt;br /&gt;ShellNoRoam                             06.01.2010 15:02:40</content>
	</entry>
	<entry>
		<title>Comment on Finding Meterpreter</title>
		<link href="http://blog.securitywhole.com/2010/01/31/finding-meterpreter.aspx#comment-2777407" rel="alternate" type="application/rss+xml" />
		<id>tag:blog.securitywhole.com,2010-02-01:2777407</id>
		<author>
			<name>Tim Medin</name>
		</author>
		<updated>2010-02-01T15:00:22Z</updated>
		<published>2010-02-01T15:00:22Z</published>
		<content type="html">You would not be able to find it with this method since explorer already loads these dll's.</content>
	</entry>
</feed>