<?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>New Technologies System Virtualisation &#187; security</title>
	<atom:link href="http://www.ntsysv.com/index.php/category/security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ntsysv.com</link>
	<description>La théorie rejoint la pratique</description>
	<lastBuildDate>Fri, 02 Dec 2011 13:33:14 +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>Réactions Européennes aux Failles d&#8217;Internet Explorer</title>
		<link>http://www.ntsysv.com/index.php/reactions-europeennes-aux-failles-dinternet-explorer</link>
		<comments>http://www.ntsysv.com/index.php/reactions-europeennes-aux-failles-dinternet-explorer#comments</comments>
		<pubDate>Mon, 18 Jan 2010 11:18:57 +0000</pubDate>
		<dc:creator>ElMehdi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Internet explorer]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=418</guid>
		<description><![CDATA[Suite à la publication de son bulletin de sécurité le Jeudi 14 à propos de son navigateur historique Internet Explorer, Microsoft se retrouve face aux réactions de l&#8217;Office fédéral allemand pour la sécurité de l&#8217;information (BSI) et du Certa (Centre d&#8217;expertise de réponse et de traitement des attaques informatiques). Ces derniers font appels à la [...]]]></description>
			<content:encoded><![CDATA[<p>Suite à la publication de son bulletin de sécurité le Jeudi 14 à propos de son navigateur historique Internet Explorer, Microsoft se retrouve face aux réactions de l&#8217;Office fédéral allemand pour la sécurité de l&#8217;information (BSI) et du Certa (Centre d&#8217;expertise de réponse et de traitement des attaques informatiques). Ces derniers font appels à la vigilence des utilisateurs lors de l&#8217;utilisation d&#8217;IE.<span id="more-418"></span><br />
Le BSI a demandé aux utilisateurs de césser l&#8217;utilisation d&#8217;Internet Explorer (versions 6 et +) et d&#8217;utiliser un navigateur alternatif, et par alternatif je vois surtout Firefox qui détient 25% de taux d&#8217;utilisation d&#8217;après les dernières études réalisées, après viendront Google Chrome, Safari&#8230;etc.</p>
<p>Parallèlement, le BSI et le CERTA ont demandé à Microsoft de corriger ces faillent de sécurité qui pourraient avoir de grands impacts sur le grand plublique; les risques d&#8217;impacts sur les achats en ligne riques d&#8217;être gros, et d&#8217;apporter plus à la &#8220;crise&#8221; qu&#8217;aux comptes des commerçants.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-7102278170967072";
google_ad_slot = "2452760370";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Microsoft ont fourni une première réponse et contournement qui limiterait les risques mais ne les annule pas : mettre le niveau de sécurité sur le niveau &#8220;élevé&#8221; pourrait réduire les risques dûs à l&#8217;utilisation des contrôles ActiveX et Javascript. Il va sans dire qu&#8217;en désactivant ces deux fonctionnalités il devient difficile voire même impossible de parcourir quelques sites Internet.</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/reactions-europeennes-aux-failles-dinternet-explorer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most Useful FireFox Plugin For Web Developers</title>
		<link>http://www.ntsysv.com/index.php/most-useful-firefox-plugin-for-web-developers</link>
		<comments>http://www.ntsysv.com/index.php/most-useful-firefox-plugin-for-web-developers#comments</comments>
		<pubDate>Sun, 29 Mar 2009 15:21:26 +0000</pubDate>
		<dc:creator>ElMehdi</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=384</guid>
		<description><![CDATA[Web Designers and Developers always find difficulties in putting all design, plugins and page components together. With Firefox we have the ability to extend its functionality using extensions. There&#8217;s thousands of firefox extensions for every kind of uses like video, chating .. and so on. In this post I will talk about some extensions I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Web Designers and Developers always find difficulties in putting all design, plugins and page components together. With Firefox we have the ability to extend its functionality using extensions. There&#8217;s thousands of firefox extensions for every kind of uses like video, chating .. and so on. In this post I will talk about some extensions I think worth trying. I will focus on Web Design and Security Testing.</p>
<p><span id="more-384"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-7102278170967072";
google_ad_slot = "2452760370";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>Firebug</h2>
<p style="text-align: justify;">We start with the most useful one : <a title="Firebug Firefox extention" href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a>.</p>
<p style="text-align: justify;">Firebug integrates with Firefox to put riches of development tools at your fingertips as you are browsing. You are able to edit, debug, and monitor CSS, HTML, and JavaScript alive in any web page&#8230;</p>
<p style="text-align: justify;">It lets you trace and fine-tune every line of HTML, JavaScript, and the Document Object Model (DOM). It&#8217;ll report on under-the-table AJAX queries, tell you the time it takes a page to load up, and allow you to edit a web page on the fly. The only thing it can&#8217;t do is allow you save your modifications back to the server.</p>
<p style="text-align: justify;">Changes made in Firebug are not permanent. They just apply to the individual instance of the page you are changing. If you refresh the page, all alterations will be lost. If you navigate out from the page, all modifications will be lost.</p>
<p style="text-align: justify;">If you&#8217;re accomplishing a test that implies locally altering HTML, JavaScript, or the DOM, make sure to copy and paste your changes into a separate file, or all evidence of your test will be lost. In a pinch, a screenshot works for recording test results, but can&#8217;t be copied and pasted to re-execute a test.</p>
<p style="text-align: right;"><script type="text/javascript"><!--
google_ad_client = "pub-7102278170967072";
google_ad_slot = "2452760370";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>View Source Chart</h2>
<p>View Source Chart allows you to graphically view HTML Tag edges, delimit Tag Nesting Order, Structure and Hierarchy. And finaly, adds a Simple but Powerful interface to Source Code.</p>
<p>The difference between source charting and identation only formating is that it allows user to :</p>
<p>* Rapidly scan and recognize a document&#8217;s tags without reading a single tag<br />
* see how deeply nested an element is just by looking to its left (no scrolling/finding/reading tags)<br />
* identify an element&#8217;s containing tags without being forced to scroll, find and read each tag</p>
<p>install it from <a title="View Source Chart Firefox extension" href="https://addons.mozilla.org/en-US/firefox/addon/655" target="_blank">here<br />
</a></p>
<h2>Tamper Data</h2>
<p>TamperData is an extension to track and modify http/https requests and is used for security testing more than for design matters.</p>
<p>you can get it <a title="Tamper Data Firefox extension" href="https://addons.mozilla.org/en-US/firefox/addon/966" target="_blank">here</a></p>
<h2>Edit Cookies</h2>
<p style="text-align: justify;">Edit Cookies is the only Firefox extension that allows one to change any aspect of a cookie from within the browser itself.</p>
<p>get it <a title="Edit Cookies Firefox extension" href="https://addons.mozilla.org/en-US/firefox/addon/4510" target="_blank">here</a>!</p>
<h2>User Agent Switcher</h2>
<p style="text-align: justify;">The User Agent Switcher extension adds a menu and a toolbar button to change the user agent of the web browser. It&#8217;s designed for Firefox, Flock  and Seamonkey, and will run on any operating system  that these browsers support including Windows, Mac OS  X and Linux.</p>
<p style="text-align: justify;">The extension is available <a title="User Agent Switcher Firefox extension" href="https://addons.mozilla.org/en-US/firefox/addon/59" target="_blank">here</a></p>
<p style="text-align: justify;"><script type="text/javascript"><!--
google_ad_client = "pub-7102278170967072";
google_ad_slot = "2452760370";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2 style="text-align: justify;">SwitchProxy</h2>
<p style="text-align: justify;">SwitchProxy allows you manage and alternate between multiple proxy configurations rapidly and easily. You can also use it as an anonymizer to protect your computer from prying eyes.</p>
<p style="text-align: justify;">have it <a title="SwitchProxy Firefox extension" href="https://addons.mozilla.org/en-US/firefox/addon/125" target="_blank">here</a></p>
<p style="text-align: justify;">I can not list all extensions, but I believe these are the most important in my point of view.</p>
<p style="text-align: justify;">Thank you for your time and happy reading.</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/most-useful-firefox-plugin-for-web-developers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introduction To DNSSEC : DNS Security Extensions</title>
		<link>http://www.ntsysv.com/index.php/introduction-to-dnssec-dns-security-extensions</link>
		<comments>http://www.ntsysv.com/index.php/introduction-to-dnssec-dns-security-extensions#comments</comments>
		<pubDate>Sun, 01 Mar 2009 00:38:40 +0000</pubDate>
		<dc:creator>Aicha</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[DNSSEC]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=345</guid>
		<description><![CDATA[DNSSEC (short for DNS Security Extensions) adds security to the Domain Name System (DNS). In fact, DNSSEC was designed to protect the Internet from certain attacks, such as DNS cache poisoning. DNSSEC is a specification of an extension to the DNS through the definition of additional DNS Resource Records that can be used by DNS [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>DNSSEC</strong> (short for <strong>DNS Security Extensions</strong>) adds security to the <strong>Domain Name System</strong> (DNS). In fact, <strong>DNSSEC</strong> was designed to protect the Internet from certain attacks, such as <strong>DNS cache poisoning</strong>. DNSSEC is a specification of an extension to the DNS through the definition of additional DNS Resource Records that can be used by DNS clients to validate the authenticity of a DNS response, the data integrity of the DNS response, and where the response indicates no such domain or resource type exists, this negative information can also be authenticated.</p>
<p style="text-align: justify;"><span id="more-345"></span></p>
<p style="text-align: justify;"><strong>DNSSEC </strong>provides:</p>
<p><!-- adman --></p>
<ol>
<li>Origin authentication of DNS data,</li>
<li>Data integrity</li>
<li>Authenticated denial of existence.</li>
</ol>
<p>These functions are based on asymmetric cryptography system</p>
<p style="text-align: justify;">In other words, if an attacker attempts to create a DNS response that has been altered from the original authentic response in some fashion, and the attacker then attempts to pass the response off as an authentic response, then a DNSSEC-aware DNS client should be able to detect the fact that the response has been altered and that the response does not correspond to the authoritative DNS information for that zone. In other words, DNSSEC is intended to protect DNS clients from forged DNS data. This protection does not eliminate the potential to inject false data into a DNS resolution transaction, but it adds additional information to DNS responses to allow a client to check that the response is authentic and complete.</p>
<p style="text-align: justify;">As I said before, dnssec is based on cryptography, especially Public key cryptography which relies on a public and private key pair</p>
<p style="text-align: justify;">Two <em>types </em>of keys are identified for use in zone signing operations. The first type is called</p>
<p style="text-align: justify;">A <em>Zone Signing Key (ZSK)</em> and the second type are called a <em>Key Signing Key (KSK)</em>. The ZSK Is used to sign the RRsets <em>within </em>the zone, and this includes signing the ZSK itself, the KSK is used to sign root of the Zone, which includes the ZSK and the KSK and may also be used outside the zone either as the trusted anchor in a security-aware server or as part of the chain of trust by a parent Name Server.</p>
<p style="text-align: justify;">DNSsec mechanisms require also changes to the <a href="http://www.bind9.net/rfc">DNS protocol</a>. DNSSEC adds four new resource record types: Resource Record Signature (RRSIG), DNS Public Key (DNSKEY), Delegation Signer (DS), and Next Secure (NSEC). These new RRs are described in detail in <a href="http://www.rfc-archive.org/getrfc.php?rfc=4034" target="rfc4034">RFC 4034</a></p>
<h2><strong>What are the uses of each resource record? </strong></h2>
<p style="text-align: justify;">DNSSEC uses public key cryptography to sign and authenticate DNS Resource record sets (RRsets).</p>
<p><!-- adman --></p>
<p style="text-align: justify;">The public keys are stored in DNSKEY Resource records, Digital signatures are stored in RRSIG resource records while, The NSEC resource record lists two separate things: the next owner name (in the canonical ordering of the zone) that contains Authoritative data or a delegation point NS RRset, and the set of RRTypes present at the NSEC RR&#8217;s owner name but for A DS RR it refers to a DNSKEY RR by Storing the key tag, algorithm number, and a digest of the DNSKEY RR, The DS RR appears only On the upper (parental) side of a delegation</p>
<h2><strong>Deploying Dnssec </strong></h2>
<p><strong> </strong></p>
<ol type="1">
<li>Enable dnssec in authorative  and recursive servers : Means that your dns will support dnssec functionality, so you have to add the following line in named.conf file (named configuration file):</li>
<blockquote><p>Options {Dnssec-enable    yes; };</p></blockquote>
<li>Generate zsk and ksk for each zone :
<ul> i/ Create zsk key:</ul>
<blockquote><p>Dnssec-keygen -a rsasha1 -b 1024 -n zone ecole.com</p></blockquote>
<p style="padding-left: 30px;">This command will generate 2 files with the following extensions:</p>
<p style="padding-left: 60px;"><strong>.key</strong> is public portion of the key</p>
<p style="padding-left: 60px;"><strong>.private</strong> is private portion of the key</p>
<ul> ii/ Create the ksk key:</ul>
<blockquote><p>dnssec-keygen -a rsasha1 -b 1400 -f KSK -n zone ecole.com</p></blockquote>
<p><strong> </strong></li>
<li>Include keys in the zone file : we have to add the public portions to the zone file either but just including using this syntax :</li>
<blockquote><p>$INCLUDE keys/Kecole.com.+005+12513.key; KSK</p>
<p>$INCLUDE keys/Kecole.com.+005+03977.key; ZSK</p></blockquote>
<p style="padding-left: 30px;">Or using command line mode :</p>
<blockquote><p>Cat keys/Kecole.com.+005+12513.key &gt;&gt; ecole.db</p>
<p>cat keys/Kecole.com.+005+03977.key &gt;&gt; ecole.db</p></blockquote>
<li> Sign the zone using the following command:</li>
<blockquote><p><strong> </strong>Dnssec-signzone -o ecole.com -t -k Kecole.com. +005+12513 ecole.db Kecole.com.+005+03977</p></blockquote>
<li>Update named.conf file :</li>
<p>Replace :</p>
<p><strong> </strong></p>
<blockquote><p>zone &#8220;ecole.com &#8221; {</p>
<p>file &#8220;ecole .db &#8220;;</p>
<p>};</p></blockquote>
<p>With:</p>
<blockquote><p>zone &#8220;ecole.com &#8221; {</p>
<p>file &#8220;ecole.db.signed &#8220;;</p>
<p>};</p></blockquote>
<li>Creating a secure delegation :</li>
<p style="padding-left: 30px; text-align: justify;">The process for signing a sub domain is essentially similar to that defined for signing a zone with one single difference; A Delegated Signer RR can be added to the ecole.com zone file to create secure delegation.</p>
<p style="padding-left: 30px; text-align: justify;">In fact we have to follow the same steps described before but while singing the zone we have to use the command:</p>
<blockquote><p>dnssec-signzone -o etudiant.ecole.com -t -g -k Ketudiant.ecole.com.+005+64536</p>
<p>etudiant.db Ketudiant.ecole.com.+005+48560</p></blockquote>
<p><strong> </strong></p>
<p style="padding-left: 30px; text-align: justify;">The -g argument is used to generate two special files called dsset-etudiant.ecole.com. (Containing the DS RR for the parent) and keyset-etudiant.ecole.com. (Containing a copy of the public Key DNSKEY RR of the KSK).</p>
</ol>
<p style="text-align: justify;">When the parent administrator receives the dsset-etudiant.ecole.com. and, optionally, the keyset-etudiant.ecole.com. files, they are placed in the same directory where the ecole.com zone is signed. The dsset-etudiant.ecole.com. File is included in the original ecole.com zone. Re-sign the zone by executing the dnssec-signzone command exactly as before</p>
<p style="text-align: justify;">The only thing that has changed is the additional Ds reecords in the new zone file, so that the sub domain zone gets its authentification through the delegation point in ecole.com in the parent zone</p>
<p style="text-align: justify;">You may understand more the use of the Ds record in my next article which will be about DLV System and how to create a trusted anchor within a chain of trust</p>
<p style="text-align: justify;">I hope it was useful and I want to thankyou for your time.</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/introduction-to-dnssec-dns-security-extensions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing Your Windows System</title>
		<link>http://www.ntsysv.com/index.php/securing-your-windows-system</link>
		<comments>http://www.ntsysv.com/index.php/securing-your-windows-system#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:25:57 +0000</pubDate>
		<dc:creator>ElMehdi</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[office]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=325</guid>
		<description><![CDATA[Today, increasingly people are using their computers for everything from communication to online banking and investing to shopping.  As we do these things on a more regular basis, we open ourselves up to potential attackers and crackers.  While some may be looking to phish your personal information and identity for resale, others simply just want [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today, increasingly people are using their computers for everything from <strong>communication </strong>to <strong>online banking </strong>and<strong> investing</strong> to <strong>shopping</strong>.  As we do these things on a more regular basis, we open ourselves up to potential attackers and crackers.  <span id="more-325"></span></p>
<p style="text-align: justify;">While some may be looking to <strong>phish </strong>your personal information and identity for resale, others simply just want to use your computer as a platform from which to attack other unknowing targets.  Below are a few easy, cost-effective steps you will be able to take to make your computer more protected.</p>
<ol style="text-align: justify;">
<li>Always make backups of important information and store in a safe place separate from your computer.</li>
<li>Update and patch your OS, browser and software frequently.  If you have a Windows OS, start by going to <a href="http://www.windowsupdate.microsfot.com" target="_blank">windowsupdate.microsoft.com</a> and running the update wizard.  This program will help you find the latest patches for your Windows computer.  Also go to <a href="http://officeupdate.microsoft.com" target="_blank">officeupdate.microsoft.com</a> to locate possible patches for your Office programs.</li>
<li>Install a firewall.  Without a good firewall, viruses, worms, Trojans, malware and adware can all easily access your computer from the Internet.  Consideration should be given to the benefits and differences between hardware and software based firewall programs.</li>
<li>Review your browser and email settings for optimum security.  Why should you do this?  Active-X and JavaScript are often used by hackers to plant malicious programs into your computers.  While cookies are relatively harmless in terms of security concerns, they do still track your movements on the Internet to build a profile of you.  At a minimum set your security setting for the “internet zone” to High, and your “trusted sites zone” to Medium Low.</li>
<li>Install antivirus software and set for automatic updates so that you receive the most current versions.</li>
<li>Do not open unknown email attachments.  It is simply not enough that you may recognize the address from which it originates because many viruses can spread from a familiar address.</li>
<li>Do not run programs from unknown origins.  Also, do not send these types of programs to friends and coworkers because they contain funny or amusing stories or jokes.  They may contain a Trojans horse waiting to infect a computer.</li>
<li>Disable hidden filename extensions.  By default, the Windows operating system is set to “hide file extensions for known file types”.  Disable this option so that file extensions display in Windows.  Some file extensions will, by default, continue to remain hidden, but you are more likely to see any unusual file extensions that do not belong.</li>
<li>Turn off your computer and disconnect from the network when not using the computer.  A hacker cannot attack your computer when you are disconnected from the network or the computer is off.</li>
<li style="text-align: justify;">Consider making a boot disk on a floppy disk in case your computer is damaged or compromised by a malicious program.  Obviously, you need to take this step before you experience a hostile breach of your system.</li>
</ol>
<p>I hope these recommendations will help you.</p>
<p>Happy staying in Ntsysv Blog!</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/securing-your-windows-system/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deploy Registry Key Using Group Policy Object</title>
		<link>http://www.ntsysv.com/index.php/deploy-registry-key-using-group-policy-object</link>
		<comments>http://www.ntsysv.com/index.php/deploy-registry-key-using-group-policy-object#comments</comments>
		<pubDate>Sun, 25 Jan 2009 21:30:07 +0000</pubDate>
		<dc:creator>ElMehdi</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=298</guid>
		<description><![CDATA[Setting specific values for registry keys is a usual task for administrators, either to manage users profiles, specific applications settings&#8230;etc. In this article I will give a basic but yet useful example to deploy such configuration using Group Policy Objects (GPO). In a previous article I talked about disabling Autorun facility in Windows using a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Setting specific values for <strong>registry </strong>keys is a usual task for administrators, either to <strong>manage users profiles</strong>, specific applications settings&#8230;etc. In this article I will give a basic but yet useful example to deploy such configuration using<strong> Group Policy Objects</strong> (GPO).<span id="more-298"></span></p>
<p style="text-align: justify;">In a <a href="http://www.ntsysv.com/index.php/howto-disable-autorun-windows-systems-effective-way" target="_blank">previous article</a> I talked about <strong>disabling Autorun</strong> facility in Windows using a <strong>registry value </strong>suggested by US-CERT. To remind the reader, the key and value are :</p>
<blockquote><p>Path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf<br />
Value : @=&#8221;@SYS:DoesNotExist&#8221;</p></blockquote>
<p style="text-align: justify;">To <strong>deploy this configuration using GPO</strong>, we need to create a new, or may be update an existing one, administration file. Administration files are normally located in folder :</p>
<blockquote><p>%systemroot%\inf</p></blockquote>
<p style="text-align: justify;">and have .adm extension.</p>
<p style="text-align: justify;">I will not go into details of ADM files syntax, version control and Operating System filtering, as it will need more than one article, but anyway : here is a prototype you can always use with Windows XP (and above?) and you can change the key and values but keep the same syntax. For interested readers, I recommend this document : &#8220;<strong>Using Administrative Template Files with Registry-Based Group Policy</strong>&#8221; from <a href="http://technet.microsoft.com/en-us/library/cc779567.aspx" target="_blank">Microsoft site</a>.</p>
<p>So, the ADM file I propose for this configuration:</p>
<blockquote><p>CLASS MACHINE<br />
CATEGORY !!category<br />
KEYNAME &#8220;SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf&#8221;<br />
POLICY !!policynameautorun<br />
ACTIONLISTON<br />
VALUENAME &#8220;@&#8221;        VALUE &#8220;@SYS:DoesNotExist&#8221;<br />
END ACTIONLISTON<br />
ACTIONLISTOFF<br />
VALUENAME &#8220;@&#8221;        VALUE &#8220;&#8221;<br />
END ACTIONLISTOFF<br />
END POLICY<br />
END CATEGORY<br />
[strings]<br />
category=&#8221;Custom Policy Settings&#8221;<br />
policynameautorun=&#8221;Disable autorun&#8221;</p></blockquote>
<p style="text-align: justify;">save this lines as &#8220;customPolicies.adm&#8221; for example, and import it as an administrative template. To do so, develop &#8220;<strong>computer configuration</strong>&#8220;, then right click on &#8220;<strong>administrative templates</strong>&#8221; group,  and choose &#8220;Add/Remove templates&#8221;, click on &#8220;Add&#8221; and browse for your file. Once selected, validate and close; You&#8217;ll see your new group of policies (that is named &#8220;category&#8221; in the adm file) in the groups tree. You can see this steps in this video.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_add-administrative-template-file_1277419571"
			class="flashmovie"
			width="400"
			height="300">
	<param name="movie" value="http://www.ntsysv.com/wp-content/uploads/2009/01/add-administrative-template-file.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.ntsysv.com/wp-content/uploads/2009/01/add-administrative-template-file.swf"
			name="fm_add-administrative-template-file_1277419571"
			width="400"
			height="300">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p style="text-align: justify;">One done, you man not see the new policy as there&#8217;s a default filtering. To disable filtering, right click on &#8220;administrative templates&#8221;, select &#8220;Display&#8221; menu and then &#8220;Filtering&#8221;; uncheck all checkboxes. Have a look here :</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_disable-policy-display-filtering_28491421"
			class="flashmovie"
			width="400"
			height="300">
	<param name="movie" value="http://www.ntsysv.com/wp-content/uploads/2009/01/disable-policy-display-filtering.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.ntsysv.com/wp-content/uploads/2009/01/disable-policy-display-filtering.swf"
			name="fm_disable-policy-display-filtering_28491421"
			width="400"
			height="300">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p style="text-align: justify;">Some explanations about parameters used in the above example :</p>
<ul style="text-align: justify;">
<li><strong>KEYNAME</strong> : Registry key to change/create.</li>
<li><strong>ACTIONLISTON</strong> : actions to perform when the policy is enabled</li>
<li><strong>ACTIONLISTOFF</strong> : actions to perform when policy is disabled</li>
<li><strong>strings</strong> section : values for substitution variables, noted with double exclamation mark (!!category for example). These varibales are used for portability between different language versions of Windows.</li>
</ul>
<p style="text-align: justify;">Having the adm file imported does not mean it is in use and applied. You need to create a new strategy (or update an existing one) to use the policy. Then you have to link this strategy to the Organisational Unit (OU) you want.</p>
<p style="text-align: justify;">In the client side, you need to run <strong>gpupdate </strong>in the command prompt if you want the modifications to be applied right at the moment without waiting any longer. Gpupdate command replaces <strong>secedit </strong>command available in Windows 2000 and older versions. Please refer to the help of these commands for more details.</p>
<p style="text-align: justify;">I hope you enjoyed reading and it was useful.</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/deploy-registry-key-using-group-policy-object/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Disable Autorun In Windows Systems : The Effective Way</title>
		<link>http://www.ntsysv.com/index.php/howto-disable-autorun-windows-systems-effective-way</link>
		<comments>http://www.ntsysv.com/index.php/howto-disable-autorun-windows-systems-effective-way#comments</comments>
		<pubDate>Wed, 21 Jan 2009 09:44:06 +0000</pubDate>
		<dc:creator>ElMehdi</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[autorun]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.ntsysv.com/?p=287</guid>
		<description><![CDATA[Having Autorun enabled in Microsoft Windows systems may help the spread of viruses. This is true because autorun can start any arbitrary code without user interaction. In a previous article we saw how to disable low dik space warnings in Windows systems, in this article we will talk about Autorun. Microsoft Windows come with the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Having <strong>Autorun </strong>enabled in <strong>Microsoft Windows</strong> systems may help the <strong>spread of viruses</strong>. This is true because <strong>autorun can start any arbitrary code without user interaction</strong>.<span id="more-287"></span></p>
<p style="text-align: justify;">In a previous article we saw <a href="http://www.ntsysv.com/index.php/tutoriel-video-desactivation-des-alertes-espace-disque-faible-sous-windows" target="_blank">how to disable low dik space warnings</a> in Windows systems, in this article we will talk about Autorun.</p>
<p style="text-align: justify;">Microsoft Windows come with the <strong>AutoRun </strong>feature which make applications start <strong>automaticaly </strong>when inserting a CD/DVD, mapping a network drive or plugging a USB key. This is the worst case because everyone can plug a usb key to move data, to get pictures from a friend, to copy music &#8230;etc.</p>
<p style="text-align: justify;">When a <strong>Removable Device</strong> is connected to computer, either the autorun launches the exe/.com file to witch a Autorun.inf file point to, or the user double click on the icon to browse the device content. In both cases, a hidden execution happens and make the computer infected. As an example, the Malicious software <a href="http://www.symantec.com/security_response/writeup.jsp?docid=2008-112203-2408-99" target="_blank"><strong>W32.Downadup</strong></a> uses this technique to spread.</p>
<p style="text-align: justify;">In Microsoft, we can read many articles, such :</p>
<ul style="text-align: justify;">
<li><a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B953252&amp;x=17&amp;y=17" target="_blank">How to correct &#8220;disable Autorun registry key&#8221; enforcement in Windows</a> : which details also how to <strong>disable autorun useing Group Policy Object</strong>s (GPO)</li>
<li><a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B155217&amp;x=18&amp;y=12" target="_blank">How to Enable or Disable Automatically Running CD-ROMs</a></li>
<li><a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B823732&amp;x=16&amp;y=11" target="_blank">How to disable the use of USB storage devices</a> (more radical solution!)</li>
</ul>
<p style="text-align: justify;">Today I received an <a href="http://www.cert.org" target="_blank">US-CERT</a> notification to say that those solutions are not effective when a media is first time connected to computer. In the <a href="http://www.us-cert.gov/cas/techalerts/TA09-020A.html" target="_blank">Technical Cyber Security Alert TA09-020A</a> we can read :</p>
<p style="text-align: justify;">
<blockquote>
<p style="text-align: justify;">The <strong>Autorun </strong>and <strong>NoDriveTypeAutorun </strong>registry values are both ineffective for  fully disabling AutoRun capabilities on Microsoft   Windows systems. Setting  the Autorun registry value to 0 <strong>will not prevent newly connected devices</strong> from automatically running code specified in the Autorun.inf file. It will,  however, disable Media Change Notification (MCN) messages, which may  prevent Windows from detecting when a CD or DVD is changed. According to  Microsoft, setting the NoDriveTypeAutorun registry value to 0xFF  &#8220;disables Autoplay on all types of drives.&#8221; Even with this value set,  Windows may execute arbitrary code when the user clicks the icon for  the device in Windows Explorer.</p>
</blockquote>
<p style="text-align: justify;">The proposed solution is to set the following value to registry :</p>
<blockquote><p>Path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows  NT\CurrentVersion\IniFileMapping\Autorun.inf</p>
<div style="direction: ltr;">Value : @=&#8221;@SYS:DoesNotExist&#8221;</div>
</blockquote>
<div style="direction: ltr;">You can copy past the following code to a blank text file, and save it as .reg file, name it for example &#8220;disable-autorun.reg&#8221;, you will just have to double click on it to register the value.</div>
<blockquote>
<div style="direction: ltr;">REGEDIT4<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]<br />
@=&#8221;@SYS:DoesNotExist&#8221;</div>
</blockquote>
<div style="direction: ltr;">To have this configuration taken into account, you&#8217;ll have to reboot your system. If it is not possible, you&#8217;ll have to clean pre-cached mounted devices by deleting the following key:</div>
<blockquote>
<div style="direction: ltr;">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2</div>
</blockquote>
<p style="text-align: justify;">Hope you found this post useful, and I&#8217;d like to invite you to subscribe to my feed to keep in touch with future posts.</p>
Copyright <b> <a href="http://www.ntsysv.com">Ntsysv.com </a></b>]]></content:encoded>
			<wfw:commentRss>http://www.ntsysv.com/index.php/howto-disable-autorun-windows-systems-effective-way/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

