<?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>SetupSwarm &#187; Panuary</title>
	<atom:link href="http://www.setupswarm.com/author/panuary/feed" rel="self" type="application/rss+xml" />
	<link>http://www.setupswarm.com</link>
	<description>A dark place on the interwebs</description>
	<lastBuildDate>Sun, 29 Jan 2012 11:24:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Calculate File Hash</title>
		<link>http://www.setupswarm.com/main/software/calculate-file-hash</link>
		<comments>http://www.setupswarm.com/main/software/calculate-file-hash#comments</comments>
		<pubDate>Tue, 08 Jun 2010 06:57:48 +0000</pubDate>
		<dc:creator>Panuary</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.setupswarm.com/?p=1720</guid>
		<description><![CDATA[Calculating the file hash for your downloaded files is a convenient way of verifying if the file posted on the server is the same as the one you downloaded. While algorithms like MD5 and SHA-1 are still widely used, in the near future SHA-3 will be the new standard. Below I will mention a few [...]]]></description>
			<content:encoded><![CDATA[<p>Calculating the file hash for your downloaded files is a convenient way of verifying if the file posted on the server is the same as the one you downloaded. While algorithms like MD5 and SHA-1 are still widely used, in the near future SHA-3 will be the new standard. Below I will mention a few applications that will help you evaluate the authenticity of your file on Windows. Some will have a console interface while others will have a Graphical User Interface (GUI) for you to conduct recursive checks or to execute the check function from your context menu.</p>
<p>Cyohash is a simple application to assist the end-user in calculating the file hash. You can conveniently check the file hash via the program window or context menu. Another plus is that Cyohash is Open-Source and it also has a very small memory footprint at 587Kb.</p>
<p><img src="http://i47.tinypic.com/2s1nmzp.jpg" alt="Application Interface" /></p>
<p><img src="http://i49.tinypic.com/1zp5qao.jpg" alt="Context Menu" /></p>
<p><img src="http://i49.tinypic.com/161do1w.jpg" alt="Results" /></p>
<p>Link: <a href="http://hotfile.com/dl/45922003/bd83d0c/CyoHash.exe.html">http://hotfile.com/dl/45922003/bd83d0c/CyoHash.exe.html</a> (0.058Mb)<br />
File Version: 1.0.6.0<br />
MD5checksum: F4AC2CE272EA6CCD5312FD4AED969A7A  CyoHash.exe<br />
SHA1checksum: 4DCFC71FD21D0F30FEAEEE29F462F524810695D5  CyoHash.exe</p>
]]></content:encoded>
			<wfw:commentRss>http://www.setupswarm.com/main/software/calculate-file-hash/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Security &#8211; How to Harden it</title>
		<link>http://www.setupswarm.com/main/general/how-to-harden-windows-security</link>
		<comments>http://www.setupswarm.com/main/general/how-to-harden-windows-security#comments</comments>
		<pubDate>Mon, 31 May 2010 14:15:37 +0000</pubDate>
		<dc:creator>Panuary</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.setupswarm.com/?p=1705</guid>
		<description><![CDATA[Overview of Windows Security While there are many features of the Windows OS that are useful, many of them are left dorment and take up space. While active it eats away at your RAM, makes Volume Shadow Copies in the System Volume Information folder, dumps logs of your activities, fragments your MFT, facilitates drive-by downloads, [...]]]></description>
			<content:encoded><![CDATA[<p><em>Overview of Windows Security</em><br />
While there are many features of the Windows OS that are useful, many of them are left dorment and take up space. While active it eats away at your RAM, makes Volume Shadow Copies in the System Volume Information folder, dumps logs of your activities, fragments your MFT<span id="more-1705"></span>, facilitates drive-by downloads, provides another avenue for crackers or black-hat hackers to intrude/infiltrate your system, and sometimes allows them get right under (or through) your firewall/security system (especially in the case of the BITS service).</p>
<p>Worst of all is unbeknownst to the user, Windows can also install patches and collect data covertly without notifying the user as seen in the 2006, 2008-09 incident where Windows was under the scrutiny of the public eye for the installation of a patch (Windows systems were vulnerable for 17 years before it came to light). Now we can take action to protect ourselves from those potential threats.</p>
<p>Here are some practical preventative procedures to secure your Windows Operating System (OS).<br />
If you feel something is unfathomable or outside your comfort zone, simply skip the procedure because you&#8217;d know your system more than I do here in Australia. For security reasons, making a recovery disc is necessary to save yourself from unnecessary trouble. Ultimately, it&#8217;s your best judgment in the matter.</p>
<p><strong>System Hardening</strong></p>
<hr/>
<em>Background</em><br />
Below are a number of tools that I find have been useful to make your Windows OS less visible on the Internet, particularly from those zombies controlled by bot net servers and those who lurk in the dark net. I will also mention two methods to secure your Windows OS in case you have not patched your system.</p>
<p><em>Security Tool</em><br />
The Windows Worm Door Cleaner is a non-install free application that closes and prevents access to the most commonly targetted ports which are open by default on Windows systems. These are 135 (RPC), 137-139 (file-sharing), 445 (Server Message Block: SMB) and the Windows Messenger service port (SPAM). It&#8217;s no surprise why it was removed from later Windows releases (post XP*).</p>
<p>This program was hosted on the firewallleaktester website, but now is provided on other security webportals.</p>
<p><em>Download</em><br />
Here is the download link and the checksum verification code:-<br />
<a href="http://hotfile.com/dl/45142301/d866a84/wwdc.exe.html">http://hotfile.com/dl/45142301/d866a84/wwdc.exe.html</a> (51KBs)<br />
Company: gkweb<br />
File Version: 1.4.1.0<br />
MD5checksum: 999f6e5c8d5c81f48afbdab7f8777323  wwdc.exe</p>
<p><em>Implementation</em><br />
Simply execute the program (right-click -&gt; Run as Administrator), close all the ports, and restart your computer.</p>
<p>For Windows Vista or higher, if there is a pop-up that informs you the value for the Windows Messenger Service in the Windows Registry cannot be found, click OK to proceed. The reason is because it is not installed (see above*).</p>
<p>To undo any changes, run the program again and click Open Ports to re-enable these services.</p>
<p><em>Verification</em><br />
To verify that the vulnerable Windows ports are now closed, open a Command Prompt window (cmd.exe or conhost.exe for Windows 7) and type:</p>
<p><img src="http://i45.tinypic.com/2a6ulhf.jpg" alt="Command prompt" width="90%" /></p>
<p>netstat -aonbv, or</p>
<p>if you are not operating with Administrator privileges:</p>
<p>netstat -aon</p>
<p>This will list all the &#8220;listening&#8221; ports on your computer.</p>
<hr/>
<em>Follow-up</em><br />
For people who find it difficult to close port 135 after using the Windows Worm Door Cleaner, you can use the tool created by the Gibson Research Center called the DCOMBobulator.</p>
<p>This will effectively close port 135, stopping one more port that an intruder might use to compromise your system.</p>
<p><img src="http://i48.tinypic.com/2z3w6kw.jpg" alt="Click on Disable DCOM" width="90%" /></p>
<p><em>Download</em><br />
Here is the download link and checksum verification code:-</p>
<p><a href="http://hotfile.com/dl/45143403/27ef5d0/DCOMbob.exe.html">http://hotfile.com/dl/45143403/27ef5d0/DCOMbob.exe.html</a> (29KBs)<br />
Company: Gibson Research Corp.<br />
File Version: 2.0.1.0<br />
MD5checksum: bd10d5383d9f1851cca46d4a5f5f4c03  DCOMbob.exe</p>
<hr/>
<em>Background of malware propagation via physical mediums</em><br />
Today, a lot of malware is actually spread via USB transactions. In retrospect, floppy disks used to overwrite the boot sector, hence boot sector virus. Now with the advent of the Universal Serial Bus (USB), Firewire and people being more &#8220;networked&#8221;, simply plugging in a USB drive into a running OS is enough to allow the malware to propagate. Here is one method of mitigating these attacks by stopping malware from writing to &#8220;autorun.inf&#8221;. The next section deals with ways to prevent executable files from running in &#8216;undefined&#8217; pathways.</p>
<p><em>Security Tool</em><br />
Panda Security has released a program called the Panda USB Vaccine and its purpose is to set an autorun.inf file that cannot be overwritten easily through convention means. The safest option is to format your USB before using the program and be certain that any malware or data that may have been contained in your $Recycler or areas on the drive are cleared.</p>
<p>Then install the Panda USB Vaccine to vaccinate your computer. The current version supports File Allocation Table (FAT) 16/32 drives, but not full support for New Technology Files Systems (NTFS). However, as with all the applications above, you can undo any changes made by re-running the program and selecting &#8220;remove vaccination&#8221;.</p>
<p><img src="http://i48.tinypic.com/144a6b4.jpg" alt="PANDA USB Vaccine Utility" width="90%" /></p>
<p><em>Download</em><br />
<a href="http://hotfile.com/dl/45316700/1109413/USBVaccineSetup.exe.html">http://hotfile.com/dl/45316700/1109413/USBVaccineSetup.exe.html</a> (828KBs)<br />
Company: Panda Security<br />
File Version: 1.0.1.4<br />
MD5checksum: 58cc5b530fc552c8e31870f90db425ed  USBVaccineSetup.exe</p>
<hr/>
Secure RPC service (for unpatched Windows versions)<br />
I am fairly certain that every person in the IT security industry has heard of the Conficker worm, also referred to as Downadup. To prevent the B variant from installing on your system, you need to set a rule to block the Conficker entry, essentially securing the RPC service.</p>
<p>Simply open a Command Prompt window and enter the entries below where [X:\&gt;] refers to your drive letter:-</p>
<p>X:\&gt;netsh&gt;rpc<br />
X:\&gt;netsh rpc&gt;filter<br />
X:\&gt;netsh rpc filter&gt;add rule layer=um actiontype=block<br />
X:\&gt;netsh rpc filter&gt;add condition field=if_uuid matchtype=equal data=4b324fc8-1670-01d3-1278-5a47bf6ee188<br />
X:\&gt;netsh rpc filter&gt;add filter</p>
<p><img src="http://i48.tinypic.com/6fqidt.jpg" alt="Image Guide" width="90%" /></p>
<p><em>Verification</em><br />
X:\&gt;netsh rpc filter&gt;show filter</p>
<p>Basically &#8220;actiontype=block&#8221; is a rule that will block an entry on the condition (in the case that) the entry equals that data block.</p>
<p>Adding the filter enforces the rule.<br />
You can remove the filter with the remove parameter.</p>
<hr/>
<em>Additional notes</em><br />
For Windows XP SP3 and Windows 7 Users – Below we explain a method to restrict the execution (running) of programs in unspecified areas. You can use this to stop the WAT service before it logs all your activities in the Windows Registry and reports to Microsoft Servers (Enterprise, Professional and Ultimate versions)<br />
We know of tools like RemoveWAT225 which are capable of removing the WAT, but this method is to teach you how to stop executable files from running without your implicit instructions.</p>
<hr/>
<p>Using the Group Policy Objects (GPO) to enforce security policies is a very powerful tool – in fact, it can even stop any executable file from running such as shortcuts or extensions like vbs, msc, bat, com etc&#8230;</p>
<p>Simply execute gpedit.msc via the run command (windows button + R, or start menu)</p>
<p>or find it in your %systemroot%\system32 folder, or for x64, \windows\syswow64 folder</p>
<p>e.g. C:\Windows\System32\gpedit.msc      |      C:\Windows\Syswow64\</p>
<p>When the Microsoft Management Console (MMC) opens, navigate to Software Restriction Policy:-</p>
<p>Local Computer Policy &gt; Windows Settings &gt; Security Settings &gt; Software Restriction Policy</p>
<p>Right-click on the folder and &#8216;Add Security Policy&#8217;</p>
<p>Double-click on the folder &#8216;Additional Rules&#8217; in the menu bar select Action (Alt right-key, down-key),<br />
click on New Path Rule</p>
<p>Under Path: type in C:\Windows\System32\Wat or C:\Windows\syswow64\Wat</p>
<p>(replace C:\ with the system partition drive, or simply replace it with %systemroot%\)</p>
<p>The Security level should be set to Disallowed (default value to prevent execution)</p>
<p>Restart your computer and the WAT service will no longer be running.</p>
<p>To undo the changes, simply remove the GPO Path Rule<br />
Alternatively, you can delete the Registry entry that enforces the GPO rule.<br />
HKEY_LOCAL_MACHINE\Microsoft\Policies\Safer\*</p>
<p>To remove some restrictions to allow you to easily navigate your system you need to remove the extension or set the appropriate permission in each case as shown below.</p>
<p><img src="http://i48.tinypic.com/331d452.jpg" alt="Designated File Types" width="90%" /></p>
<hr/>
The Windows Hosts file<br />
The hosts file is, by default, located on your Windows OS at: %systemroot%\system32\drivers\etc<br />
Its function is to define the addresses that you request. Basically, it&#8217;s your map to where you want to go on the Internet. Ordinarily, a website has a domain name like www.setupswarm.com, but its IP (Internet Protocol) address is like the Map/GPS coordinates that helps you find your way around the Internet.</p>
<p>However, thanks to the versatility and powerful computer languages being able to execute functions in different environments, users like us are more vulnerable to &#8220;tricks&#8221; such as spoofing, phishing attempts (fake e-mail requesting user information), even VoiP Vishing (Voice over IP) and DNS cache poisoning (classic), malformed iFrames, Man-in-the-middle attacks &#8211; the list goes on.</p>
<p>The rising trend in malicious activity comes in the form of &#8220;drive-by&#8221; downloads. If you or I just visit a website like CNN or ABC, our computer could be compromised. We can protect ourselves by <strong>redirecting</strong> the malicious sites to your local host (127.0.0.1).</p>
<p>What this means is, your computer doesn&#8217;t try to find the address on the Internet, it tries to find it on your computer. These private addresses are inaccessible from the Internet because it&#8217;s like trying to find a museum on your residence. Hence, it will not &#8220;resolve&#8221; itself, and you won&#8217;t be caught in harms way.</p>
<p><em>Security Tool</em><br />
A number of people have posted &#8220;blacklists&#8221; on sites such as MVPS, hosts-file, malwaredomainlist and so on. Using an application known as Hostsman will help you optimise your use of the Windows hosts file to prevent access to known malicious sites.</p>
<p><em>Troubleshooting</em><br />
If you suddenly experience slow browsing and the DNS Client service is still running, open a command prompt window and type:<br />
ipconfig /flushdns<br />
net stop dnsclient<br />
Alternatively, in Administrative Tools &gt; services.msc (right-click &gt; Run as Administrator)<br />
Disable the DNS Client service<br />
Restart</p>
<p><em>Exceptions</em><br />
You can also add an &#8220;exclusion&#8221; to access a site. One of the limitations of using the hosts file is that the address specified must be static. As an example, malicious sites must be defined &#8211; &#8220;baddykkp.info&#8221;, &#8220;baddykkpx.info&#8221; and the list goes on. Since malicious users will just change the name anyway, we need to find a work around.</p>
<p><em>Download</em><br />
<a href="http://hotfile.com/dl/45320798/0b55c5d/hm_3.2.73_installer.zip.html">http://hotfile.com/dl/45320798/0b55c5d/hm_3.2.73_installer.zip.html</a> (1.89MBs)<br />
Company: Abelha Digital<br />
File Version: 3.2.73 (stable release)<br />
MD5checksum: de2e19040d44b78180c0c9f40cb06a0b  hm_3.2.73_installer.zip</p>
<p><em>Limitations and Development</em><br />
Over time, things have developed to a point where people believe that blacklists just don&#8217;t cut it. Just like a firewall that stealths all ports by default, there should be a &#8220;whitelist&#8221;, a list of trusted sites that we can access instead of &#8220;blacklisted sites&#8221; that number in the billions. I have avoided this feature because I&#8217;m not very paranoid and don&#8217;t want to be oppressed by &#8220;parental controls&#8221;.</p>
<p>Instead, we can use PACs (Proxy Auto-Config). It tells your browser what to avoid by using wildcards. Wildcards means that everything before and/or after this entry is Disallowed. For example, *.pokemon.* tells the browser not to go to any site with pokemon in its domain name, so www.ieat<strong>pokemon</strong>forbreakfast.biz would not resolve.</p>
<p>These can be found at the website below:<br />
<a href="http://securemecca.com/pac.html">http://securemecca.com/pac.html</a></p>
<p><em>Troubleshooting</em><br />
When your browser reports that a page could not resolve, open the file &#8220;proxy_en.txt&#8221;,<br />
Ctrl + F to find a keyword (usually in the URL address), and remove it.<br />
Save, exit your browser, and try again. Alternatively, use the Reload feature.</p>
<p><img src="http://i50.tinypic.com/33zg009.jpg" alt="PAC configuration" width="90%" /></p>
<p>I only know that the Mozilla browser supports this reload feature, so please inform me of any other browsers that support the PAC reload function.</p>
<p><em>Future Expectations</em><br />
Despite our best efforts, there is always the fear that human error will undo all these safeguards. Here, the ingenious laboratory <del>mad</del> scientists are developing the Blade Defender which is a robust system with a 100% success rate of preventing drive-by downloads by testing and stopping 0-day attempts at compromising systems. However, it is still under development so it has not been officially released. I&#8217;m looking forward to seeing this protecting us in the future.<br />
<a href="http://www.blade-defender.org/">www.blade-defender.org</a></p>
<p>It is likely that virtualisation in hardware form will become more prominent for the end-user. In the mean time, you can run programs in a Sandbox and any changes made will not affect your system &#8211; unfortunately, misconfiguration and &#8220;undiscovered&#8221; features may present unforeseen consequences.</p>
<p>Therefore, I recommend that you backup your system, have a Live recovery disk (preferably Linux), a system image backup (plenty of open-source software to be found at sourceforge.net), and if you feel up to it, complete drive encryption, TPM and the works.</p>
<p>There may be articles in the future if I am permitted to post again after this mammoth article, but hopefully it has helped you to understand more of what is happening in your computing environment. Never download screensavers, and if you like playing with toys and testing things out (I know I do!), try using a Virtualualised Environment to work out all your experiments. VMWare (free or commercial), VirtualBox (free and open-source) and others can solve many problems with having only one or two PCs.</p>
<p>I have done my best to avoid all the technical jargon, but if you feel that there are any steps that need clarifying or too parsimonious, please post a comment below and I will help however I can.</p>
<p><em>Final notes</em><br />
All Operating Systems have their advantages and limitations, so it would be a mistake to assume any one OS is more secure than another. It is a human creation and will be imperfect if another human were to introduce &#8220;bugs&#8221; and &#8220;tweaks&#8221; during development; the notorious patch; the seemingly innocent sister; the lithesome fingers that work the dvorak/qwerty keys; and the infamous beta. If you must use beta software, please try to avoid using it on your work PC. It might bring out unprecented consequences and make your system more vulnerable.</p>
<p>If you would like to setup a system that rollbacks any changes made have a look at Shadow Defender, Returnil (I experienced some BSODs so I avoided this one &#8211; beta, later editions possible fixed issues) and others.</p>
<p>I have decided against suggesting Harden-It as a security tool, but feel free to try it. For post-XP systems, you need to run and set Compatibility Mode as Windows XP (SP2). It basically adds Windows Registry Entries to secure your network. I believe it works on servers also. Use SSL1.0, 3.0, TLS 1.1, 1.2, etc&#8230; but not SSL v2.0 since there has been talk of vulnerabilities concerning that protocol.</p>
<p>Just a reminder, installing plenty of security software won&#8217;t protect you more. It&#8217;s like stacking yourself with ironclad armor, then a copper-stove onto your head. You&#8217;ll be blinded, tired from the heavy CPU load, a bit queasy from loss of RAM, and potentially fatal&#8230; flatulence? Try to limit real-time scanners to one, support open-source since it helps developers make free and transparent software, and don&#8217;t go overboard because we&#8217;re all liable for our own actions.</p>
<p>I&#8217;d like to thank everyone here at setupswarm and the inspiring, hard-working individuals that made the security tools discussed above. Any comments from people not suffering from a&#8230; consideration defecit, are duly welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.setupswarm.com/main/general/how-to-harden-windows-security/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

