<?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/"
	>

<channel>
	<title>ylansi.net</title>
	<atom:link href="http://ylansi.net/tatakalum/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://ylansi.net/tatakalum</link>
	<description>Pom Poko</description>
	<lastBuildDate>Wed, 17 Aug 2011 20:42:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Remote System Management</title>
		<link>http://ylansi.net/tatakalum/?p=56</link>
		<comments>http://ylansi.net/tatakalum/?p=56#comments</comments>
		<pubDate>Wed, 17 Aug 2011 16:24:41 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=56</guid>
		<description><![CDATA[Remotely listing and killing processes tasklist.exe /S r01tdoty taskkill.exe /S r01tdoty /IM bitcoin.exe taskkill.exe /S r01tdoty /PID 2028 taskkill.exe /S r01tdoty /PID 2028 /F]]></description>
			<content:encoded><![CDATA[<p>Remotely listing and killing processes</p>
<pre>tasklist.exe /S r01tdoty
taskkill.exe /S r01tdoty /IM bitcoin.exe
taskkill.exe /S r01tdoty /PID 2028
taskkill.exe /S r01tdoty /PID 2028 /F</pre>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=56</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare to KVM, mimic the hardware</title>
		<link>http://ylansi.net/tatakalum/?p=54</link>
		<comments>http://ylansi.net/tatakalum/?p=54#comments</comments>
		<pubDate>Wed, 17 Aug 2011 14:41:17 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=54</guid>
		<description><![CDATA[Look at your VMX configuration file: scsi0:0.fileName = &#8220;zimbra-000001.vmdk&#8220; uuid.bios = &#8220;56 4d 3f 3d 32 80 5b f2-94 31 21 c9 b2 c3 93 b9&#8220; ethernet0.generatedAddress = &#8220;00:0c:29:c3:93:b9&#8220; And then build the command-line: kvm -drive file=zimbra-000001.vmdk,boot=on \ -net nic,macaddr=00:0c:29:c3:93:b9 &#8230; <a href="http://ylansi.net/tatakalum/?p=54">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Look at your VMX configuration file:</p>
<ul>
<li>scsi0:0.fileName = &#8220;<em>zimbra-000001.vmdk</em>&#8220;</li>
<li>uuid.bios = &#8220;<em>56 4d 3f 3d 32 80 5b f2-94 31 21 c9 b2 c3 93 b9</em>&#8220;</li>
<li>ethernet0.generatedAddress = &#8220;<em>00:0c:29:c3:93:b9</em>&#8220;</li>
</ul>
<p>And then build the command-line:</p>
<pre>kvm -drive file=<em>zimbra-000001.vmdk</em>,boot=on \
  -net nic,macaddr=<em>00:0c:29:c3:93:b9</em> -net <em>tap</em> \
  -uuid <em>564d3f3d-3280-5bf2-9431-21c9b2c393b9</em></pre>
<p>The UUID is optional, but might be useful for applications using it for validation (i.e. Windows), and the MAC address as well.</p>
<p>Second way could be to convert the disk image:</p>
<pre>kvm-img convert -O <em>qcow2</em> <em>zimbra-000001.vmdk</em> <em>zimbra.qcow</em></pre>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting vmware images for use with KVM</title>
		<link>http://ylansi.net/tatakalum/?p=52</link>
		<comments>http://ylansi.net/tatakalum/?p=52#comments</comments>
		<pubDate>Wed, 17 Aug 2011 14:38:17 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=52</guid>
		<description><![CDATA[First convert the vmdk to a compatible format. Although kvm/qemu has support for vmware it is limited and does not support multiple file disk images. If you have access to a vmware server or workstation install (or otherwise have vmware-vdiskmanager) &#8230; <a href="http://ylansi.net/tatakalum/?p=52">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First convert the vmdk to a compatible format. Although kvm/qemu has support for vmware it is limited and does not support multiple file disk images. If you have access to a vmware server or workstation install (or otherwise have vmware-vdiskmanager) then do the following:</p>
<pre>vmware-vdiskmanager -r VMWareDisk.vmdk -t 0 VMWareSingleDisk.vmdk</pre>
<p>(note it is &#8220;-t zero&#8221; above, thank you, fun with fonts&#8230;)</p>
<p>The resulting image can then be used directly, or converted to a &#8220;friendlier&#8221; format such as raw disk image or qcow.</p>
<pre>qemu-img convert VMWareSingleDisk.vmdk -O qcow2 KVMDiskImage.qcow
qemu-img convert VMWareSingleDisk.vmdk -O raw KVMDiskImage.img</pre>
<p>My preference is to use raw disk image files as they can be directly processed with normal forensic tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win7 Shortcut easter egg</title>
		<link>http://ylansi.net/tatakalum/?p=46</link>
		<comments>http://ylansi.net/tatakalum/?p=46#comments</comments>
		<pubDate>Mon, 15 Aug 2011 19:09:20 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=46</guid>
		<description><![CDATA[Windows 7 has an easter egg that gives &#8220;convenient&#8221; access to a long list of Windows tools. Create a folder on the desktop and rename it folder to:  Shortcuts.{ED7BA470-8E54-465E-825C-99712043E01C}]]></description>
			<content:encoded><![CDATA[<p>Windows 7 has an easter egg that gives &#8220;convenient&#8221; access to a long list of Windows tools. Create a folder on the desktop and rename it folder to:  <strong>Shortcuts.{ED7BA470-8E54-465E-825C-99712043E01C}</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow grep</title>
		<link>http://ylansi.net/tatakalum/?p=41</link>
		<comments>http://ylansi.net/tatakalum/?p=41#comments</comments>
		<pubDate>Mon, 15 Aug 2011 18:47:17 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=41</guid>
		<description><![CDATA[[original at http://tdas.wordpress.com/2008/02/03/speed-up-grep/] GNU grep is very slow in the UTF-8 locale. It is orders of magnitude faster in the C locale. To check your current locale, type the following at shell prompt: locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" &#8230; <a href="http://ylansi.net/tatakalum/?p=41">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>[original at http://tdas.wordpress.com/2008/02/03/speed-up-grep/]</p>
<p>GNU grep is very slow in the <strong>UTF-8 locale</strong>. It is orders of magnitude faster in the C locale. To check your current locale, type the following at shell prompt: <strong>locale</strong></p>
<pre>LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=</pre>
<p>In the above example, my locale is en_US.UTF-8. If you are grep’ing very large files, you can greatly improve the speed by changing the locale to C. In bash, you would type: <strong>export LC_ALL=C</strong></p>
<p>Then type <strong>locale</strong> again, the display should look something like this :</p>
<pre>LANG=en_US.utf8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C</pre>
<p>At some point grep is supposed to address this issue. Until then, use the C locale with grep. If you frequently use grep to search for large text files you should alter the locale in your  .bash_profile.</p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory Acquisition</title>
		<link>http://ylansi.net/tatakalum/?p=38</link>
		<comments>http://ylansi.net/tatakalum/?p=38#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:34:06 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=38</guid>
		<description><![CDATA[Live acquisition of RAM contents is a complex and evolving topic. Tools that work on one system may not work on another. This is a list of such tools. DumpIt For those who missed the news MoonSols DumpIt had been &#8230; <a href="http://ylansi.net/tatakalum/?p=38">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Live acquisition of RAM contents is a complex and evolving topic. Tools that work on one system may not work on another. This is a list of such tools.</p>
<p><strong>DumpIt</strong></p>
<p>For those who missed the news MoonSols DumpIt had been released as a free version. It supports both 32bits and 64bits memory acquisition, it&#8217;s fast and only one executable which makes it really easy to deploy on a USB storage for instance.</p>
<p>More information there :</p>
<p>http://www.moonsols.com/2011/07/18/moonsols-dumpit-goes-mainstream/</p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brute Forcing TrueCrypt</title>
		<link>http://ylansi.net/tatakalum/?p=33</link>
		<comments>http://ylansi.net/tatakalum/?p=33#comments</comments>
		<pubDate>Mon, 15 Aug 2011 13:39:03 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=33</guid>
		<description><![CDATA[TrueCrypt has some deliberate slowdowns in its code for using a password to decrypt a volume which reduce it to approximately 1 password per second per thread. Additionally, it tries every supported hash scheme which further slows it down if &#8230; <a href="http://ylansi.net/tatakalum/?p=33">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>TrueCrypt has some deliberate slowdowns in its code for using a password to decrypt a volume which reduce it to approximately 1 password per second per thread. Additionally, it tries every supported hash scheme which further slows it down if the hash scheme is known before hand. OTFBrutus is a standalone brute forcer aimed at users who remember most of their password. It can generate a wordlist and use it against the volume header to rapidly (relative to using TrueCrypt itself) attempt a decrypt.</p>
<p><a title="www.tateu.net/software/" href="http://www.tateu.net/software/" target="_blank">http://www.tateu.net/software/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carrara in Wine</title>
		<link>http://ylansi.net/tatakalum/?p=25</link>
		<comments>http://ylansi.net/tatakalum/?p=25#comments</comments>
		<pubDate>Sat, 06 Aug 2011 20:48:05 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[3D Rendering]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=25</guid>
		<description><![CDATA[After finally updating to Kubuntu 10.04 and what with the recent release of Carrara 8.1.1 (build 12) I decided to see how well it worked in wine. The result? So very, very close but no cigar. Although the road was &#8230; <a href="http://ylansi.net/tatakalum/?p=25">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After finally updating to Kubuntu 10.04 and what with the recent release of Carrara 8.1.1 (build 12) I decided to see how well it worked in wine. The result? So very, very close but no cigar.</p>
<p>Although the road was very slightly more circuitous it serves no useful purpose to elaborate. What works and what doesn&#8217;t:</p>
<p>Installation &#8212; this goes just swimmingly and leaves a false impression</p>
<p>Error: there&#8217;s a commandline error about opengl. It was eliminated by calling as follows:</p>
<p>LD_PRELOAD=/usr/lib32/nvidia-current/libGL.so wine ~/.wine/drive_c/Program\ Files/DAZ\ 3D/Carrara8/Carrara.exe</p>
<p>It accepted the registration information no problem and I added a run time. Some icons (I haven&#8217;t checked for a commonality) are not displayed, but the two items tried (AE Boat, Victoria 4.2) load without issue. The GUI is amazingly responsive</p>
<p>Rendering fails 100% of the time, instantly on launch. It might have to do with multi-threaded code, I&#8217;m not sure. The error message is the ever informative &#8220;An error occured.&#8221;</p>
<p>Visiting the shader room gives an immediate error due to the mini-render view. All the sphere previews for the different parts of the shader tree are blank (no ability to render).</p>
<p>Eliminating the overhead of Windows operating system bloat overall seems to be a good thing performance-wise. But the inability to render anything ultimately makes this an exercise in futility.</p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=25</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Antivirus on Linux</title>
		<link>http://ylansi.net/tatakalum/?p=14</link>
		<comments>http://ylansi.net/tatakalum/?p=14#comments</comments>
		<pubDate>Sun, 19 Jun 2011 13:47:42 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=14</guid>
		<description><![CDATA[Antivirus for forensics needs to be on demand and non-destructive. That is, it should not attempt to &#8220;clean&#8221; or remove the virus, merely identify it. There are a few options. F-Prot has a linux client that is a command line &#8230; <a href="http://ylansi.net/tatakalum/?p=14">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Antivirus for forensics needs to be on demand and non-destructive. That is, it should not attempt to &#8220;clean&#8221; or remove the virus, merely identify it. There are a few options.</p>
<p>F-Prot has a linux client that is a command line scanner and very easy suitable though it does not appear to have good detection.</p>
<p>AVG also has a free linux client, but it appears to be focused on the desktop and did not appear to have a way to on demand scan a file, or to prevent attempts at removal or containment. It relies on a service that, after installation, was not enabled. It may also require a paid license to function, despite being &#8220;free.&#8221;</p>
<p>Supposedly SuperAntiSpyware works perfectly in Linux using WINE, though I have not tested that yet.</p>
<p>Malwarebytes has pretty good detection rates, but it has not been tested in WINE either.</p>
<p>Another option is to generate file hashes and check those against VirusTotal or similar services. For example, to get the hashes, associate names, remove duplicates and check against Team Cymry&#8217;s Malware Hash Registry (<a href="http://www.team-cymru.org/Services/MHR/">http://www.team-cymru.org/Services/MHR/</a>):</p>
<p>$ find /mnt/ntfs -type f -exec md5sum &#8216;{}&#8217; &#8216;;&#8217; &gt; windows_file_hashes<br />
$ cat windows_file_hashes | awk &#8216;{print $1}&#8217; &gt; just_hashes<br />
$ sort just_hashes | uniq &gt; sorted_hashes<br />
$ netcat hash.cymru.com 43 &lt; sorted_hashes &gt; scanned_hashes</p>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using KVM</title>
		<link>http://ylansi.net/tatakalum/?p=10</link>
		<comments>http://ylansi.net/tatakalum/?p=10#comments</comments>
		<pubDate>Sun, 19 Jun 2011 13:37:30 +0000</pubDate>
		<dc:creator>ghibli</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://ylansi.net/tatakalum/?p=10</guid>
		<description><![CDATA[Information for creating and managing VMs with KVM Create a new hard disk: # Pre-allocated dd if=/dev/zero of=newDisk.dd bs=1024 count=8000 # Sparse dd if=/dev/zero of=newDisk.dd bs=1 count=0 seek=8G Initial Install # Windows kvm -hda newDisk.dd -net nic -net user -cdrom &#8230; <a href="http://ylansi.net/tatakalum/?p=10">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p><em>Information for creating and managing VMs with KVM</em></p>
<p><strong>Create a new hard disk:</strong></p>
<pre># Pre-allocated
dd if=/dev/zero of=newDisk.dd bs=1024 count=8000
# Sparse
dd if=/dev/zero of=newDisk.dd bs=1 count=0 seek=8G</pre>
<p><strong>Initial Install</strong></p>
<pre># Windows
kvm -hda newDisk.dd -net nic -net user -cdrom WinXPCD.iso</pre>
<p><strong>Running KVM</strong></p>
<pre><strong></strong># emulate specific real hardware
kvm -cpu athlon -soundhw ac97 -m 512M -vga cirrus
# using a VMWare image
kvm &lt;other settings&gt; -vga vmware
# avoid writing to hard drive
# ** doing this WILL change the hard disk file, even if pre-allocated (par2 detected re-ordered blocks)
kvm &lt;other settings&gt; -snapshot</pre>
<p><strong>Backing up a disk image</strong></p>
<pre># create parity files for a state, use par2 to "repair" the disk image to restore the state
# -m is used to speed loading of the disk image
# -r sets the level of redundancy as a percent
par2create -m100000000 -r20 newDisk.dd-YYYYMMDD-title.par2
# use rsync to update a snapshot image of a sparse hard drive file
dd if=/dev/zero of=snapshotDisk.dd bs=1 count=0 seek=8G
rsync -av --inplace /path/to/newDisk.dd /path/to/snapshotDisk.dd</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ylansi.net/tatakalum/?feed=rss2&#038;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

