<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Réseaux et (in)sécurité</title>
	
	<link>http://blog.packetfault.org</link>
	<description>\x42\x45\x45\x52 in the DataCenter!</description>
	<lastBuildDate>Sun, 30 Aug 2009 18:45:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/packetfault" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Ma personnalité IDISC: Chercheur – Researcher</title>
		<link>http://blog.packetfault.org/2009/08/ma-personnalite-idisc-chercheur-researcher/</link>
		<comments>http://blog.packetfault.org/2009/08/ma-personnalite-idisc-chercheur-researcher/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 18:45:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=64</guid>
		<description><![CDATA[L&#8217;an passé j&#8217;ai lu The Personality Code the Travis Bradberry et réalisé le test de personnalité.
IDISC a été crée par un psychologue d&#8217;Harvard, Monsieur William Marston. Aussi inventeur de Wonder Woman.
Le résultat est que parmi les 14 personnalités, j&#8217;entre dans la case chercheur (Researcher). Voici les explications en anglais de ce type de personnalité :
As [...]]]></description>
			<content:encoded><![CDATA[<p>L&#8217;an passé j&#8217;ai lu <a href="http://www.amazon.fr/Personality-Code-Understanding-Colleagues-Friends/dp/0399154116/ref=sr_1_1?ie=UTF8&amp;s=english-books&amp;qid=1251655697&amp;sr=8-1">The Personality Code the Travis Bradberry</a> et réalisé le test de personnalité.</p>
<p>IDISC a été crée par un psychologue d&#8217;Harvard, Monsieur <a href="http://fr.wikipedia.org/wiki/William_Moulton_Marston">William Marston</a>. Aussi inventeur de <a href="http://fr.wikipedia.org/wiki/Wonder_Woman">Wonder Woman</a>.</p>
<p>Le résultat est que parmi les 14 personnalités, j&#8217;entre dans la case chercheur (Researcher). Voici les explications en anglais de ce type de personnalité :</p>
<p align="justify">As a Researcher, most of what you do is characterized by an utter reliance on logic and reason to solve problems, and a steadfast willingness to complete a project to the end without loose ends. You possess an unusual amount of determination and are highly task focused. You don&#8217;t mind working alone to accomplish goals, and are steadfast in your beliefs about what works and what doesn&#8217;t work. Just 4% of the population share this profile, including famous data hounds Warren Buffet and Jonas Salk.</p>
<table border="0" width="572">
<tbody>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333; letter-spacing: 1px;" width="324" height="99" valign="top">
<p align="justify"><strong>Strengths:</strong></p>
<ul>
<li>Completing tasks to the end without loose ends</li>
<li>Using logic and reason</li>
<li>Being confident</li>
</ul>
</td>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333; letter-spacing: 1px;" width="238" valign="top"><strong>Challenges:</strong></p>
<ul>
<li>Displaying emotion</li>
<li>Trusting your gut</li>
<li>Accepting change</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p><strong>How to make the most of your Researcher profile:</strong></p>
<ul>
<li>Due to your low-key and steady nature, others may interpret your style as cold or uncaring. You can avoid this by explaining your passion for facts and objective information.</li>
<li>Logic and reason appeal to you more than emotion and feelings, so you should pursue tasks that require focus on data and analytical reasoning to interpret problems and devise solutions.</li>
<li>People see you as rational and thorough so don&#8217;t be surprised when they come to you to test their, or someone else&#8217;s, thinking. Be careful not to deliver your feedback too harshly, or it will deter people from seeking you out.</li>
</ul>
<p><strong>Suggestions for connecting with a Researcher:</strong></p>
<ul>
<li>When presenting an idea or opinion to a Researcher, be sure to support your position with solid data.</li>
<li>Researchers require clearly stated goals and an organized plan to work effectively on a project.<strong> </strong></li>
<li>You will have far better luck wining over a Researcher with logical reasoning than you will with displays of emotion.</li>
</ul>
<p>D&#8217;après le test IDISC, chaque personnalité contient un anti-type. Ce dernier correspondant à un type de personnes avec lesquelles il risque d&#8217;avoir des étincelles&#8230; La bête noire du chercheur est le stratège.</p>
<p><img class="alignnone" title="researcher and strategist" src="http://www.personalitycode.com/idisc/versus/versusImages/researcher&amp;strategist.gif" alt="" width="577" height="307" /></p>
<p align="justify">What do you get when you bring two people together who are steadfast in their beliefs and always have a clear plan for the future? Unless their plans are matching, you&#8217;re bound to get fireworks. Since the Researcher and Strategist are motivated by different things &#8211; yet always have a plan for the future &#8211; their opinions of where to head are often at odds. The Researcher is characterized by his outright reliance on logic and reason when solving problems. He&#8217;s far more focused on tasks than people, and understandably unresponsive to persuasive displays of emotion. If you want to convince the Researcher of something, you better come with data. The Strategist, on the other hand, is primarily interested in people, and she uses her charisma to win people over to her way of thinking. Nobody likes talking to a brick wall, which is precisely what it feels like for a Strategist to talk to a Researcher &#8211; her most persuasive arguments go unnoticed. On the other side of the coin, the Researcher doesn&#8217;t understand why the Strategist can&#8217;t bring the facts forward, and is quick to assume that she&#8217;s hiding something to focus so fervently on, &#8220;anything other than the truth.&#8221;</p>
<p align="justify">Task-focused profiles often clash with people-focused profiles, and the source of resolution is generally fueled by the people-focused profile&#8217;s desire for harmony. This doesn&#8217;t work here. The Strategist may be focused on people, but she is quick to disdain those that don&#8217;t share enthusiasm for her ideas &#8211; and if anyone isn&#8217;t going to, it&#8217;s usually a Researcher wondering when she&#8217;s going to get the facts. Since both profiles are steadfast in their beliefs about how to get things done, the butting of heads that ensues can be fierce.</p>
<p align="justify">Is there anything the Researcher and Strategist can do to reconcile? Absolutely. It&#8217;s all about pace. You see, the Strategist is so willing to trust her gut that she grows impatient when others don&#8217;t do the same. But a Researcher isn&#8217;t going to budge here. Researchers just don&#8217;t offer quick decisions, and the Strategist has to understand that the Researcher needs time to collect the facts before he is comfortable offering an opinion. Whenever two people have trouble staying in sync, they need to check in with each other. Since the Strategist is usually going to be the one pushing to move things forward, she needs to stop and check-in with the Researcher every time that surge of impatience balloons in her belly. Make sure the two of you are talking about the same thing. The Researcher won&#8217;t hesitate to tell you the crux of what he&#8217;s thinking &#8211; so take what he says seriously.</p>
<p align="justify">If you think emotions can&#8217;t be measured, watch how quickly people are swayed by the Strategists ideas. She&#8217;s no pied piper &#8211; she&#8217;s convincing because she speaks directly to what people feel is important. The Strategist is also very good at planning ahead. She&#8217;s so good at it that people place great trust in what she thinks. So, you&#8217;re better off paying attention to what&#8217;s on her mind. If you&#8217;re hesitant to consider her suggestions, make sure it&#8217;s truly a logical fallacy and not your own resistance to change. The Strategist embraces change like a warm hug, and a Researcher can learn a lot from that. Finally, realize that the Strategist&#8217;s use of emotion to sway people&#8217;s opinion distracts from an important quality that she shares with the Researcher &#8211; perhaps more than any other profiles, the Strategist and the Researcher like to dot the i&#8217;s and cross the t&#8217;s. When things are going to hell in a hand basket, the Strategist is not only going to care about doing things right, she can convince the group to listen to a Researcher&#8217;s reason. Like the Researcher, the Strategist is a smart, logical thinker; when they find common ground in support of a plan, they make a formidable team.</p>
<p align="justify">
<p align="justify">Et vous quel est votre DISC ? <img src='http://blog.packetfault.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/08/ma-personnalite-idisc-chercheur-researcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retour sur l’incident “Watch your Internet routers!” du SANS</title>
		<link>http://blog.packetfault.org/2009/08/retour-incident-watch-your-internet-routers-isc-sans/</link>
		<comments>http://blog.packetfault.org/2009/08/retour-incident-watch-your-internet-routers-isc-sans/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 06:01:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[attaques]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=50</guid>
		<description><![CDATA[Le SANS est un organisme élitiste de barbichus se servant régulièrement d&#8217;étudiants pour pondre de beaux documents de sécurité.
Fin mars 2009, un lecteur du diary de l&#8217;ISC (journal de recensement des incidents sécurité du SANS) nous fait part d&#8217;une attaque sur l&#8217;un de ses routeurs Cisco ayant les services de management joignables depuis l&#8217;Internet.
Malheureusement pour [...]]]></description>
			<content:encoded><![CDATA[<p>Le <a href="http://isc.sans.org/">SANS</a> est un organisme élitiste de <a href="http://handlers.dshield.org/jclausing/handlers-2008.jpg">barbichus</a> se servant régulièrement d&#8217;étudiants pour pondre de <a href="http://www.sans.org/info/27979">beaux documents de sécurité</a>.</p>
<p>Fin mars 2009, un lecteur du diary de l&#8217;ISC (journal de recensement des incidents sécurité du SANS) nous fait part d&#8217;une <a href="http://isc.sans.org/diary.html?storyid=6100">attaque sur l&#8217;un de ses routeurs Cisco</a> ayant les services de management joignables depuis l&#8217;Internet.</p>
<p>Malheureusement pour eux, un compte &#8220;test&#8221; a été utilisé par un délinquant du (telnet|ssh). Mais cette expérience leur a été bénéfique, ils ont compris que collecter des logs est toujours utile.</p>
<p>Lles commandes entrées par le délinquant ont été enregistrées et les voici :</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:02 Authen OK test</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:04 test Default Group where &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:05 test Default Group who &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:13 test Default Group who &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:19 test Default Group show version &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:34:23 test Default Group who &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:38:38 test Default Group show configuration &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:38:59 test Default Group show interfaces &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:39:48 test Default Group configure terminal &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:39:50 test Default Group interface Tunnel 128 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:39:57 test Default Group show interfaces &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:48 test Default Group configure terminal &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:49 test Default Group access-list 20 permit 192.168.2.2 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:50 test Default Group ip nat pool new [removed] netmask 255.255.255.252 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:51 test Default Group ip nat inside source list 20 pool new overload &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:52 test Default Group ip nat inside source static tcp 192.168.2.2 113 [removed] 113 extendable</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:52 test Default Group interface Serial 1/0 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:53 test Default Group ip nat outside &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:53 test Default Group interface Tunnel 128 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:53 test Default Group ip nat inside &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:54 test Default Group ip address 192.168.2.1 255.255.255.0 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:54 test Default Group ip tcp adjust-mss 1400 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:55 test Default Group tunnel source Serial 1/0 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:41:55 test Default Group tunnel destination [removed] &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:47:23 test Default Group configure terminal &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:47:26 test Default Group line console 0 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:47:32 test Default Group password *****</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:47:45 test Default Group who &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:47:55 test Default Group configure terminal &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:48:01 test Default Group line vty 0 1052 &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:48:06 test Default Group password *****</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:49:12 test Default Group no transport input &lt;cr&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3/28/2009 8:49:26 test Default Group transport input ssh &lt;cr&gt;</div>
<blockquote><p>3/28/2009 <strong>8:34:02 Authen OK test</strong></p>
<p>3/28/2009 8:34:04 test Default Group where &lt;cr&gt;</p>
<p>3/28/2009 8:34:05 test Default Group who &lt;cr&gt;</p>
<p>3/28/2009 8:34:13 test Default Group who &lt;cr&gt;</p>
<p>3/28/2009 8:34:19 test Default Group show version &lt;cr&gt;</p>
<p>3/28/2009 8:34:23 test Default Group who &lt;cr&gt;</p>
<p>3/28/2009 8:38:38 test Default Group show configuration &lt;cr&gt;</p>
<p>3/28/2009 8:38:59 test Default Group show interfaces &lt;cr&gt;</p>
<p>3/28/2009 8:39:48 test Default Group configure terminal &lt;cr&gt;</p>
<p>3/28/2009 8:39:50 test Default Group interface Tunnel 128 &lt;cr&gt;</p>
<p>3/28/2009 8:39:57 test Default Group show interfaces &lt;cr&gt;</p>
<p>3/28/2009 <strong>8:41:48 test Default Group configure terminal &lt;cr&gt;</strong></p>
<p>3/28/2009 8:41:49 test Default Group access-list 20 permit 192.168.2.2 &lt;cr&gt;</p>
<p>3/28/2009 8:41:50 test Default Group ip nat pool new [removed] netmask 255.255.255.252 &lt;cr&gt;</p>
<p>3/28/2009 8:41:51 test Default Group ip nat inside source list 20 pool new overload &lt;cr&gt;</p>
<p>3/28/2009 8:41:52 test Default Group ip nat inside source static tcp 192.168.2.2 113 [removed] 113 extendable</p>
<p>3/28/2009 8:41:52 test Default Group interface Serial 1/0 &lt;cr&gt;</p>
<p>3/28/2009 8:41:53 test Default Group ip nat outside &lt;cr&gt;</p>
<p>3/28/2009 8:41:53 test Default Group interface Tunnel 128 &lt;cr&gt;</p>
<p>3/28/2009 8:41:53 test Default Group ip nat inside &lt;cr&gt;</p>
<p>3/28/2009 8:41:54 test Default Group ip address 192.168.2.1 255.255.255.0 &lt;cr&gt;</p>
<p>3/28/2009 8:41:54 test Default Group ip tcp adjust-mss 1400 &lt;cr&gt;</p>
<p>3/28/2009 8:41:55 test Default Group tunnel source Serial 1/0 &lt;cr&gt;</p>
<p>3/28/2009 8:41:55 test Default Group tunnel destination [removed] &lt;cr&gt;</p>
<p>3/28/2009 <strong>8:47:23 test Default Group configure terminal &lt;cr&gt;</strong></p>
<p>3/28/2009 8:47:26 test Default Group line console 0 &lt;cr&gt;</p>
<p>3/28/2009 8:47:32 test Default Group password *****</p>
<p>3/28/2009 8:47:45 test Default Group who &lt;cr&gt;</p>
<p>3/28/2009 8:47:55 test Default Group configure terminal &lt;cr&gt;</p>
<p>3/28/2009 8:48:01 test Default Group line vty 0 1052 &lt;cr&gt;</p>
<p>3/28/2009 8:48:06 test Default Group password *****</p>
<p>3/28/2009 8:49:12 test Default Group no transport input &lt;cr&gt;</p>
<p>3/28/2009 8:49:26 test Default Group transport input ssh &lt;cr&gt;</p></blockquote>
<p>L&#8217;attaquant arrive à 8h34. Il vérifie si quelqu&#8217;un d&#8217;autre est connecté au routeur. Un petit show version, show conf (à l&#8217;ancienne!) histoire de savoir où l&#8217;attaquant a mis ses pieds.</p>
<p>A 8h41, l&#8217;attaquant monte un tunnel entre le routeur victime (If tunnel: 192.168.2.1 sourcé par l&#8217;interface S1/0) et son propre routeur (If tunnel: 192.168.2.2 à destination de l&#8217;adresse IP du routeur de l&#8217;attaquant). En l&#8217;état, ce tunnel n&#8217;a pas été utilisé pour <a href="http://www.secuobs.com/revue/news/130981.shtml">mirrorer du traffic via GRE</a> et donc pas de leaking d&#8217;informations. L&#8217;authentification sur le routeur a pu être déjouée mais l&#8217;attaquant n&#8217;a, au final, rien fait d&#8217;intéressant (à priori puisque l&#8217;on ne sait pas quel traffic a pu être émis). Ce genre de configuration est utile pour faire passer sa connexion par un routeur victime histoire de se cacher &#8220;ou comment les délinquants transforment ton routeur Cisco en proxy full open-ports!&#8221;. Une petite règle NAT pour pouvoir répondre aux requêtes identd (<a href="http://www.mirc.com/ircintro.html">44 &#8211; What is an Ident server? Why am I unidentified and why does it matter?</a>) des serveurs le demandant et voilà ton routeur prêt pour être utilisé comme router-in-the-middle (c) pour relayer des paquets. En voyant autant de bétises, on se dirait presque que les admins réseaux du routeur victime l&#8217;ont fait exprès ou font parti du projet <a href="http://www.honeynet.org/">honeynet</a> mais, à priori, il n&#8217;en n&#8217;est rien <img src='http://blog.packetfault.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Après 8h52, les commandes sont totalement <a href="http://www.urbandictionary.com/define.php?term=blarg">&#8220;blarg!&#8221;</a> puisque les modifications sont appliquées immédiatement (changement du mot de passe ssh) mais la logique de l&#8217;IOS utilisera la configuration AAA à base de RADIUS/TACACS en premier. Le fallback vers la configuration locale prenant place uniquement si le serveur RADIUS/TACACS devient inaccessible.</p>
<p>Au vu de la session, l&#8217;attaquant  ne donne pas l&#8217;impression de maîtriser complètement le système d&#8217;exploitation sur lequel il est tombé. D&#8217;ailleurs ça lui aura été vite fatale puisque</p>
<p>quelques minutes plus tard, les victimes ont été prévenu grâce à <a href="http://www.shrubbery.net/rancid/">RANCID</a> qui a enregistré un changement de configuration et envoyé un e-mail à l&#8217;administrateur réseau qui a quoi faire. Moralité .. désactiver vos comptes de tests et rédiger des <strong>documents de réponse à incident </strong><strong><span style="text-decoration: underline;">pertinents</span></strong> assure une excellente réactivité et efficacité de la part des opérationnels.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/08/retour-incident-watch-your-internet-routers-isc-sans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sémaphores et Cisco IOS EEM</title>
		<link>http://blog.packetfault.org/2009/08/semaphores-et-cisco-ios-eem/</link>
		<comments>http://blog.packetfault.org/2009/08/semaphores-et-cisco-ios-eem/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 11:53:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EEM]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=37</guid>
		<description><![CDATA[Inventé par Monsieur Dijkstra, personnage incontournable dans le monde du routage OSPF ou IS-IS. Les sémaphores sont bien connus des étudiants en cycle ingénieur et autres geeks aimant creuser les entrailles des systèmes d&#8217;exploitation. Grossièrement, le rôle d&#8217;un sémaphore est de réserver l&#8217;accès exclusif à une ressource. Pratique pour résoudre une race condition inter-processus ou pas :
Mais [...]]]></description>
			<content:encoded><![CDATA[<p>Inventé par Monsieur Dijkstra, <a href="http://fr.wikipedia.org/wiki/Algorithme_de_Dijkstra">personnage incontournable</a> dans le monde du routage <a href="http://www.marchetto.at/2009/01/16/cours-ospf/">OSPF</a> ou <a href="http://www.labo-cisco.com/fr/articles/theorie/protocole-is-is.html">IS-IS</a>. Les <a href="http://fr.wikipedia.org/wiki/S%C3%A9maphore_(informatique)">sémaphores</a> sont bien connus des étudiants en cycle ingénieur et autres geeks aimant creuser les entrailles des systèmes d&#8217;exploitation. Grossièrement, le rôle d&#8217;un sémaphore est de réserver l&#8217;accès exclusif à une ressource. Pratique pour résoudre une <a href="http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&amp;bugId=CSCdm04861">race condition inter-processus</a> <strong>ou pas</strong> :</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Mais les sémaphores ne sont pas parfait. En voici un exemple lorsqu&#8217;un un grand nombre d&#8217;interfaces contient des ACL configurés.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Une opération rapide de création/suppression d&#8217;ACE entraîne ces message sur les plateform c10k http://www.cisco.com/en/US/products/hw/routers/ps133/:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dec 27 12:46:09.884: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">locked by itself</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dec 27 12:46:09.888: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">locked by itself</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dec 27 12:46:09.888: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">locked by itself</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dec 27 12:46:15.076: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">locked by itself</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dec 27 12:46:15.088: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">locked by itself</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</div>
<p>Les sémaphores ne sont pas parfait. En voici un exemple lorsqu&#8217;un un grand nombre d&#8217;interfaces contient des ACL configurés.</p>
<p>Une opération rapide de création/suppression d&#8217;ACE entraîne ces message sur les plateformes <a href="http://www.cisco.com/en/US/products/hw/routers/ps133/">c10k</a> :</p>
<blockquote><p>Dec 27 12:46:09.884: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already locked by itself</p>
<p>-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</p>
<p>Dec 27 12:46:09.888: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already locked by itself</p>
<p>-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</p>
<p>Dec 27 12:46:09.888: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already locked by itself</p>
<p>-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</p>
<p>Dec 27 12:46:15.076: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already locked by itself</p>
<p>-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</p>
<p>Dec 27 12:46:15.088: %SCHED-3-SEMLOCKED: TurboACL attempted to lock a semaphore, already locked by itself</p>
<p>-Traceback= 60530010 6061B3C4 61030AFC 603E658C 603E946C 603E9594</p></blockquote>
<p>Côté opérationnel, un sémaphore s&#8217;implémente grâce à <a href="http://www.cisco.com/web/FR/documents/pdfs/newsletter/ciscomag/2008/01/Ciscomag_14-Dossier-Creation_de_scripts_sur_les_routeurs-Embedded_Event_Manager.pdf">EEM</a> (lorsqu&#8217;il est absent, <a href="http://blog.packetfault.org/2009/08/remplacer-cisco-eem-par-un-script-python-la-loose-cest-meme-pas-en-ruby/">une parade existe</a>). Ce dernier permet d&#8217;ajouter une logique (humaine, oups! on est pas dans la merde!) à la logique de fonctionnement parfois inadapté de l&#8217;IOS. Lorsque la raison n&#8217;est pas technique (dans notre cas ici, ça l&#8217;est), les couches 8 et 9 du modèle OSI ont <a href="https://www.isc.org/files/9layer.thumb.png">toujours raison</a>!</p>
<p>En particulier en environnement datacenter, dans lequel idéalement, les domaines spanning-tree de niveau 2 en accès doivent être isolés du coeur du réseau afin de prévenir la propagation d&#8217;une boucle de commutation non pas sur un site de datacenter mais sur la totalité des datacenter. L&#8217;isolation de spanning-tree est donc obligatoire. Si votre consultant favori ne vous a pas parlé de ça, alors fuyez! .. ça me rappelle le <a href="http://chuvakin.blogspot.com/2009/08/myth-of-expert-generalist.html">mythe de l&#8217;expert sécurité généraliste</a>.</p>
<p>Afin de garantir une topologie loop-free de bout en bout, un sémaphore (merci EEM) est configuré pour garantir qu&#8217;aucune boucle ne soit généré par les liens WAN reliant les différents datacenter. Considérons la topologie suivante :</p>
<p><img class="aligncenter" title="MPLS datacenter" src="http://blog.packetfault.org/mpls-dc.jpg" alt="" width="482" height="382" /></p>
<p>Les N-PE primary et backup sont interconnectés au coeur de réseau MPLS (généralement administré par Orange pour les clients Français). L&#8217;on va positionner les sémaphores entre chaque N-PE primary et backup (matérialisés par les flèches rouges et vertes entre chaque primary et backup sur le schéma précédent).  Le primary forward les flux pendant que le backup est en attente. Aucune boucle n&#8217;est alors possible car les <a href="http://mpls-experts.com/blog/?p=26">pseudowires</a> sont actif uniquement sur le lien primary.</p>
<p>Régulièrement un signal (sémaphore &#8211; flèche rouge) est envoyé au N-PE backup indiquant que le N-PE primary est toujours connecté alors le N-PE backup indique au primary que son lien est bien down. Si le primary passe down, le backup passe UP. Le sémaphore &#8211; flèche verte s&#8217;active évitant ainsi une transition &#8220;active/active&#8221;. Lorsque le lien WAN du primary repasse en UP. Le sémaphore rouge est envoyé. Mais le vert aussi. Un timer est alors déclenché afin de s&#8217;assurer que le lien WAN du primary est stable et n&#8217;est pas en train de flapper ou repassera down dans les prochaines secondes. Le backup assure son rôle, alors pourquoi vouloir se presser ! Lorsque le timer est passé, le sémaphore du backup passe en down et le primary gère de nouveaux les flux inter-datacenter.</p>
<p>Voici la configuration anti boucle de commutation réalisé grâce aux sémaphores. Sur les primaires :</p>
<blockquote><p>interface loopback80</p>
<p>ip address 10.80.74.4 255.255.255.255</p>
<p>track timer timer ip route 1</p>
<p>track 10 ip route 10.80.76.5/32 reachability</p></blockquote>
<p>Sur les backup :</p>
<blockquote><p>interface loopback80</p>
<p>ip address 10.80.76.5 255.255.255.255</p>
<p>shutdown</p>
<p>track timer ip route 1</p>
<p>track 10 ip route 10.80.76.4/32 reachability</p>
<p>delay up 100</p></blockquote>
<p>Les événements EEM déclenchés seront des shut/no shut des interfaces loopback permettant d&#8217;activer/désactiver les sémaphores.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/08/semaphores-et-cisco-ios-eem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remplacer Cisco EEM par un script python (la loose c’est même pas en ruby)</title>
		<link>http://blog.packetfault.org/2009/08/remplacer-cisco-eem-par-un-script-python-la-loose-cest-meme-pas-en-ruby/</link>
		<comments>http://blog.packetfault.org/2009/08/remplacer-cisco-eem-par-un-script-python-la-loose-cest-meme-pas-en-ruby/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:43:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[outils]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=31</guid>
		<description><![CDATA[EEM (IOS Embedded Event Manager) permet principalement de déclencher des actions automatiques en fonction d&#8217;événements sur les Cisco.
Les anciens codes IOS (routeurs ou switches) ne supportent pas toujours ce système que ça soit dans sa dernière ou première version.
Hélas, je suis tombé sur un système qui ne supportait pas l&#8217;EEM &#8230; mais après tout, il y [...]]]></description>
			<content:encoded><![CDATA[<p>EEM (<a href="http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.html">IOS Embedded Event Manager</a>) permet principalement de déclencher des actions automatiques en fonction d&#8217;événements sur les Cisco.</p>
<p>Les anciens codes IOS (routeurs ou switches) ne supportent pas toujours ce système que ça soit dans sa dernière ou première version.</p>
<p>Hélas, je suis tombé sur un système qui ne supportait pas l&#8217;EEM &#8230; mais après tout, il y a pire : Il paraît que certains ont vu se déployer <a href="http://fr.wikipedia.org/wiki/Rsh">RSH</a> en 2009 au grand damn de <a href="http://jp.gaulier.info/blog/">JPGaulier</a>.</p>
<p>Le <a href="http://docs.python.org/">python</a> et <a href="http://www.pspad.com/fr/">pspad</a> utilisés comme outils afin d&#8217;écrire un petit bout de code dont le but est de remplacer une des fonctionnalités d&#8217;EEM.</p>
<p>Paramétrer la ligne logging 1.2.3.4 (où 1.2.3.4 est la machine sur laquelle le script est lancé) sur le switch. Vous pouvez avoir plusieurs lignes &#8220;logging&#8221; dans la configuration, les logs seront envoyés aux adresses IP spécifiés pour chacune des lignes de configuration.</p>
<p>Ensuite, le fichier motcle.txt contient un mot-clé recherché dans les logs réceptionnés et déclenchera les commandes indiqués dans le fichier commandes.txt. Après avoir spécifié l&#8217;adresse IP du switch ainsi que ses paramètres de connexions (username, mot de passe, mot de passe et enable) dans le fichier password.txt, lancer le script.</p>
<p>Pour mon besoin, il y a une boucle qui tourne 10 fois. Ici, le but recherché était de surveiller les compteurs d&#8217;interfaces afin de détecter des micro-spikes et comparer le retour des commandes à une baseline de traffic. Du coup, lorsque le script a lancé les commandes, un fichier cisco-date-heure-.log est crée dans le répertoire courant.</p>
<p><a href="http://blog.packetfault.org/eem-killer.py">Télécharger le script</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/08/remplacer-cisco-eem-par-un-script-python-la-loose-cest-meme-pas-en-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MISC 44 – Attaque des numéros de séquences cryptographiques sur OSPF</title>
		<link>http://blog.packetfault.org/2009/08/misc-44-attaque-des-numeros-de-sequences-cryptographiques-sur-ospf/</link>
		<comments>http://blog.packetfault.org/2009/08/misc-44-attaque-des-numeros-de-sequences-cryptographiques-sur-ospf/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 10:24:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[publications]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=17</guid>
		<description><![CDATA[Mon article et preuve de concept sur l&#8217;attaque des numéros de séquences cryptographiques sur OSPFv2 est disponible dans le dernier MISC de Juillet/Août 2009.
En résumé pour être safe &#8230; faites passer vos flux OSPF uniquement dans des liens point à point ou alors passez à OSPFv3 et donc IPv6 !

]]></description>
			<content:encoded><![CDATA[<p>Mon article et preuve de concept sur l&#8217;attaque des numéros de séquences cryptographiques sur OSPFv2 est disponible dans le dernier <a href="http://www.miscmag.com/index.php/2009/07/03/misc-n%c2%b044-juilletaout-2009-chez-votre-marchand-de-journaux">MISC</a> de Juillet/Août 2009.</p>
<p>En résumé pour être safe &#8230; faites passer vos flux OSPF uniquement dans des liens point à point ou alors passez à OSPFv3 et donc IPv6 !</p>
<p><img class="alignnone" title="MISC44" src="http://blog.packetfault.org/misc44.jpg" alt="" width="200" height="250" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/08/misc-44-attaque-des-numeros-de-sequences-cryptographiques-sur-ospf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reconstruire des fichiers qui passent dans un flux TFTP grâce à Ruby (pour être hype)</title>
		<link>http://blog.packetfault.org/2009/07/reconstruire-des-fichiers-qui-passent-dans-un-flux-tftp-grace-a-ruby-pour-etre-hype/</link>
		<comments>http://blog.packetfault.org/2009/07/reconstruire-des-fichiers-qui-passent-dans-un-flux-tftp-grace-a-ruby-pour-etre-hype/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 10:35:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[outils]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=22</guid>
		<description><![CDATA[Parfois les collègues de la VoIP reçoivent des données à troubleshooter au format PCAP et dedans il y a des requêtes TFTP de transferts de fichiers.
- &#8220;François, tu aurais une idée pour voir les fichiers avec wireshark ?&#8221;
- &#8220;Wireshark ne sait pas faire ça. Allez on va coder notre mini tool!&#8221;
Newsoft me disant au cours [...]]]></description>
			<content:encoded><![CDATA[<p>Parfois les collègues de la VoIP reçoivent des données à troubleshooter au format PCAP et dedans il y a des requêtes TFTP de transferts de fichiers.</p>
<p>- &#8220;François, tu aurais une idée pour voir les fichiers avec wireshark ?&#8221;</p>
<p>- &#8220;Wireshark ne sait pas faire ça. Allez on va coder notre mini tool!&#8221;</p>
<p><a href="http://news0ft.blogspot.com/">Newsoft</a> me disant au cours de la semaine que le Ruby c&#8217;était &#8220;à la mode&#8221; &#8230; alors j&#8217;ai crée un mini-tool en ruby qui reconstruit les fichiers en lisant un fichier PCAP.</p>
<p>Et voilà ton .Jar et tes paramètres de boot des IP phones reconstitués!</p>
<p><a href="http://blog.packetfault.org/tftp-extractor.zip">Le script est téléchargeable ici</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2009/07/reconstruire-des-fichiers-qui-passent-dans-un-flux-tftp-grace-a-ruby-pour-etre-hype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MISC40 Sécurité des réseaux, les nouveaux enjeux</title>
		<link>http://blog.packetfault.org/2008/10/misc40-securite-des-reseaux-les-nouveaux-enjeux/</link>
		<comments>http://blog.packetfault.org/2008/10/misc40-securite-des-reseaux-les-nouveaux-enjeux/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 10:01:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[publications]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=7</guid>
		<description><![CDATA[Oyé oyé! Le MISC numéro 40 avec un dossier sécurité des réseaux est disponible dans votre kiosque préféré depuis aujourd’hui. D’habitude je ne fais pas les sorties de nouveaux numéros mais là c’est différent car j’ai pu écrire un article dedans (Le très haut débit &#8211; un challenge pour la sécurité). Voici le sommaire complet:
http://blog.packetfault.org/misc40.jpg
Infowar [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Oyé oyé! Le MISC numéro 40 avec un dossier sécurité des réseaux est disponible dans votre kiosque préféré depuis aujourd’hui. D’habitude je ne fais pas les sorties de nouveaux numéros mais là c’est différent car j’ai pu écrire un article dedans (Le très haut débit &#8211; un challenge pour la sécurité). Voici le sommaire complet:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://blog.packetfault.org/misc40.jpg</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Infowar [04 - 13]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Conflit russo-géorgien et guerre de l’information</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Cryptographie [14 - 16]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">MOC ou la biométrie dans une carte à puce</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">DOSSIER [18 - 59]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">[Sécurité des réseaux : les nouveaux enjeux]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Sécurité pour l’introduction de l’IPv6 dans les coeurs de réseau / 19 &#8211; 28</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Le très haut débit – Un challenge pour la sécurité / 29 &#8211; 37</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Les nouvelles sondes de sécurité dans les réseaux multiservices / 38 &#8211; 44</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Une nouvelle approche dans l’analyse des configurations / 47 &#8211; 52</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Émulation d’architectures réseau / 53 &#8211; 59</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Système [60 - 69]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Comprendre les rôles de Solaris™ et d’OpenSolaris</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Science [70 - 82]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">La biométrie : solution ou illusion ?</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Bonne lecture!</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.miscmag.com/index.php/2008/10/31/misc-40-securite-des-reseaux-les-nouveaux-enjeux-novembredecembre-2008-chez-votre-marchand-de-journaux</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.ed-diamond.com/produit.php?produit=601</div>
<p>Le MISC numéro 40 (Novembre/Décembre) avec un dossier sécurité des réseaux est disponible dans votre kiosque préféré depuis aujourd’hui.</p>
<p>J’ai pu écrire un article dedans (Le très haut débit &#8211; un challenge pour la sécurité). Voici le sommaire complet :</p>
<p><img class="alignnone" title="MISC40" src="http://blog.packetfault.org/misc40.jpg" alt="" width="200" height="250" /></p>
<p>Infowar [04 - 13]</p>
<p>Conflit russo-géorgien et guerre de l’information</p>
<p>Cryptographie [14 - 16]</p>
<p>MOC ou la biométrie dans une carte à puce</p>
<p>DOSSIER [18 - 59]</p>
<p>[Sécurité des réseaux : les nouveaux enjeux]</p>
<p>Sécurité pour l’introduction de l’IPv6 dans les coeurs de réseau<br />
Le très haut débit – Un challenge pour la sécurité<br />
Les nouvelles sondes de sécurité dans les réseaux multiservices<br />
Une nouvelle approche dans l’analyse des configurations<br />
Émulation d’architectures réseau</p>
<p>Système [60 - 69]</p>
<p>Comprendre les rôles de Solaris™ et d’OpenSolaris</p>
<p>Science [70 - 82]</p>
<p>La biométrie : solution ou illusion ?</p>
<p>Bonne lecture!</p>
<p><a href="http://www.miscmag.com/index.php/2008/10/31/misc-40-securite-des-reseaux-les-nouveaux-enjeux-novembredecembre-2008-chez-votre-marchand-de-journaux">http://www.miscmag.com/index.php/2008/10/31/misc-40-securite-des-reseaux-les-nouveaux-enjeux-novembredecembre-2008-chez-votre-marchand-de-journaux</a></p>
<p><a href="http://www.ed-diamond.com/produit.php?produit=601">http://www.ed-diamond.com/produit.php?produit=601</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2008/10/misc40-securite-des-reseaux-les-nouveaux-enjeux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapper une adresse IP à un numéro d’AS BGP grâce à Python</title>
		<link>http://blog.packetfault.org/2008/10/mapper-une-adresse-ip-a-un-numero-das-bgp-grace-a-python/</link>
		<comments>http://blog.packetfault.org/2008/10/mapper-une-adresse-ip-a-un-numero-das-bgp-grace-a-python/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 10:06:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[outils]]></category>

		<guid isPermaLink="false">http://blog.packetfault.org/?p=11</guid>
		<description><![CDATA[This morning I felt on http://nmap.org/book/nse-scripts-list.html then wrote a tiny tool in python to map IP with an AS number, country, AS peers and subnet.
Output example: python ip2asn.py 194.140.247.6
AS Numbers:
BGP: 194.140.247.0/24 &#124; Country: GB
Origin AS: 41156 SUPINFO-AS SUPINFO &#8211; International Institute of Information Technology
Peer AS: 8928 12600
Peer AS are Interoute and Telecity Paris. SUPINFO is [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">This morning I felt on http://nmap.org/book/nse-scripts-list.html then wrote a tiny tool in python to map IP with an AS number, country, AS peers and subnet.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Output example: python ip2asn.py 194.140.247.6</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">AS Numbers:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">BGP: 194.140.247.0/24 | Country: GB</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Origin AS: 41156 SUPINFO-AS SUPINFO &#8211; International Institute of Information Technology</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Peer AS: 8928 12600</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Peer AS are Interoute and Telecity Paris. SUPINFO is the school where I got my diploma.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Script is downloadable here.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Here is the python’s code:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">#!/usr/bin/env python</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8220;&#8221;"</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Francois ROPERT</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://blog.packetfault.org</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8220;&#8221;"</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import sys</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import dns.resolver</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">from dns.exception import DNSException</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">def usage():</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8220;Usage: &#8220;+sys.argv[0]+&#8221; [remote IP dnssrv.py] [woot]&#8220;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">sys.exit(0)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">if ( len(sys.argv) &#8211; 1 &lt; 1 ):</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">usage()</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">resolver = dns.resolver.Resolver()</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">reversed_ip=sys.argv[1].split(&#8217;.')</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">reversed_ip.reverse()</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">reversed_ip = &#8220;.&#8221;.join(reversed_ip)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bgp_answers=[]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">try:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">answer_origin = resolver.query(reversed_ip+&#8221;.origin.asn.cymru.com&#8221;, &#8220;TXT&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">answer_peer = resolver.query(reversed_ip+&#8221;.peer.asn.cymru.com&#8221;, &#8220;TXT&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8220;AS Numbers:&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">for rdata in answer_origin:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">origin=str(rdata)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">origin=origin.replace(&#8217;\&#8221;&#8216;,&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">origin=origin.split(&#8217; | &#8216;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">asnumber = &#8220;AS&#8221;+origin[0]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bgp_answers.append([origin[1],origin[0],origin[2]])</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">answer_asn = resolver.query(asnumber+&#8221;.asn.cymru.com&#8221;, &#8220;TXT&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">for rdata in answer_asn:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">asn=str(rdata)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">asn=asn.replace(&#8217;\&#8221;&#8216;,&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">asn=asn.split(&#8217; | &#8216;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">for i in range (0, len(bgp_answers)):</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bgp_answers[i].append(asn[4])</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">count=0</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">for rdata in answer_peer:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">peer=str(rdata)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">peer=peer.replace(&#8217;\&#8221;&#8216;,&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">peer=peer.split(&#8217; | &#8216;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bgp_answers[count].append(peer[0])</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">count=count+1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">for i in range(0,len(bgp_answers)):</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8220;BGP: &#8220;+ bgp_answers[i][0] + &#8221; | Country: &#8221; + bgp_answers[i][2]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8221;  Origin AS: &#8221; + bgp_answers[i][1] + &#8221; &#8221; + bgp_answers[i][3]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8221;    Peer AS: &#8221; + bgp_answers[i][4]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">except DNSException, e:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">print &#8220;FAIL cuz u sux!&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Enjoy</div>
<p>Ce matin je suis tombé sur <a href="http://nmap.org/book/nse-scripts-list.html">http://nmap.org/book/nse-scripts-list.html</a> alors j&#8217;ai écris un mini outil en python permettant de mapper une IP à un numéro d&#8217;AS, à un pays mais aussi d&#8217;afficher quels AS ont peerés avec l&#8217;AS d&#8217;origine.  Vous pouvez <a href="http://blog.packetfault.org/ip2asn.zip">télécharger le script ici</a>.</p>
<p>Example : python ip2asn.py 194.140.247.6</p>
<p>AS Numbers:</p>
<p>BGP: 194.140.247.0/24 | Country: GB</p>
<p>Origin AS: 41156 SUPINFO-AS SUPINFO &#8211; International Institute of Information Technology</p>
<p>Peer AS: 8928 12600</p>
<p>Peer AS are Interoute and Telecity Paris. SUPINFO is the school where I got my diploma.</p>
<p>Vive le python!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.packetfault.org/2008/10/mapper-une-adresse-ip-a-un-numero-das-bgp-grace-a-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
