<?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>Security Dojo</title>
	<atom:link href="http://security-dojo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://security-dojo.com</link>
	<description>Mandando tus logs a /dev/null desde 1976</description>
	<lastBuildDate>Tue, 27 Sep 2011 15:22:00 +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>SQLMap query problems</title>
		<link>http://security-dojo.com/security-bits/sqlmap-query-problems/</link>
		<comments>http://security-dojo.com/security-bits/sqlmap-query-problems/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 15:22:00 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=140</guid>
		<description><![CDATA[Well, I run with psymera a CTF game and we are constantly adding new VMWare machines and new tests just to keep on playing and not get bored. As part of a internal training where I work I started to create some videos on how to use SQLMap (I promise to upload here shortly in [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I run with psymera a CTF game and we are constantly adding new VMWare machines and new tests just to keep on playing and not get bored. As part of a internal training where I work I started to create some videos on how to use SQLMap (I promise to upload here shortly in a big rant about it) so I started on what everyone does: update your version.</p>
<p>And something interesting happened, sqlmap enumeration broke (gorgeous) but it didn&#8217;t look much like it, it baffled me at first, so much that I had to do all by hand and asked psymera if he changed something, he said no.</p>
<p>So this is the info of the updated sqlmap version to that date:</p>
<p><code><br />
root@fsckOSX:/pentest/database/sqlmap# svn info<br />
Path: .<br />
URL: https://svn.sqlmap.org/sqlmap/trunk/sqlmap<br />
Repository Root: https://svn.sqlmap.org/sqlmap<br />
Repository UUID: 7eb2e9d7-d917-0410-b3c8-b11144ad09fb<br />
Revision: 4380<br />
Node Kind: directory<br />
Schedule: normal<br />
Last Changed Author: stamparm<br />
Last Changed Rev: 4380<br />
Last Changed Date: 2011-09-19 12:08:08 -0700 (Mon, 19 Sep 2011)<br />
</code></p>
<p>the SVN rev is 4380, latest at Sep 19th, here is the example of a run against the vulnerable web server with this revision.</p>
<p><span id="more-140"></span></p>
<p><code><br />
root@fuckOSX:/pentest/database/sqlmap# ./sqlmap.py -u "http://XXX.XXX.XXX.XXX/index.php?page=search" --data="search=aaa" --dbs</p>
<p>    sqlmap/1.0-dev (r4380) - automatic SQL injection and database takeover tool</p>
<p>http://www.sqlmap.org</p>
<p>[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program</p>
<p>[*] starting at 14:26:22</p>
<p>[14:26:22] [INFO] using '/pentest/database/sqlmap/output/XXX.XXX.XXX.XXX/session' as session file<br />
[14:26:22] [INFO] resuming injection data from session file<br />
[14:26:22] [INFO] resuming back-end DBMS 'mysql 4' from session file<br />
[14:26:22] [INFO] testing connection to the target url<br />
[14:26:23] [WARNING] there is a DBMS error found in the HTTP response bodywhich could interfere with the results of the tests<br />
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:<br />
---<br />
Place: POST<br />
Parameter: search<br />
    Type: UNION query<br />
    Title: MySQL UNION query (NULL) - 1 column<br />
    Payload: search=aaa' UNION ALL SELECT CONCAT(CHAR(58,107,98,119,58),CHAR(82,88,103,80,76,100,72,90,73,105),CHAR(58,116,99,109,58))# AND 'MXBu'='MXBu<br />
---</p>
<p>[14:26:23] [INFO] the back-end DBMS is MySQL<br />
web server operating system: Linux CentOS 4<br />
web application technology: PHP 4.3.9, Apache 2.0.52<br />
back-end DBMS: MySQL 4<br />
[14:26:23] [WARNING] information_schema not available, back-end DBMS is MySQL < 5. database names will be fetched from 'mysql' database<br />
[14:26:24] [WARNING] if the problem persists with 'None' values please try to use hidden switch --no-cast (fixing problems with some collation issues)<br />
[14:26:24] [WARNING] the SQL query provided does not return any output<br />
available databases [1]:<br />
[*]</p>
<p>[14:26:24] [INFO] Fetched data logged to text files under '/pentest/database/sqlmap/output/XXX.XXX.XXX.XXX'</p>
<p>[*] shutting down at 14:26:24<br />
</code></p>
<p>So note the</p>
<p><strong><br />
available databases [1]:<br />
[*]<br />
</strong></p>
<p>This is interesting, it FINDS the database apparently but there is no name for it. This is the part that had me baffled (obviously the table enumeration, the column enumeration failed as it didn't know the database name) </p>
<p>So I started to update back, some versions (such as 4320) would even crash on run (this is normal as sqlmap is a very active project) so after a while i found the last revision that worked</p>
<p><code><br />
root@fuckOSX:/pentest/database/sqlmap# svn update -r 4319<br />
D    _sqlmap.py<br />
U    xml/payloads.xml<br />
U    plugins/dbms/sybase/enumeration.py<br />
U    plugins/generic/enumeration.py<br />
U    sqlmap.conf<br />
U    sqlmap.py<br />
U    doc/FAQ.pdf<br />
U    doc/README.html<br />
U    doc/README.pdf<br />
U    doc/THANKS<br />
U    doc/README.sgml<br />
U    lib/takeover/web.py<br />
U    lib/takeover/metasploit.py<br />
U    lib/utils/hash.py<br />
U    lib/controller/checks.py<br />
U    lib/controller/controller.py<br />
U    lib/core/common.py<br />
U    lib/core/threads.py<br />
U    lib/core/agent.py<br />
U    lib/core/settings.py<br />
U    lib/core/dump.py<br />
U    lib/core/defaults.py<br />
U    lib/core/option.py<br />
U    lib/core/optiondict.py<br />
U    lib/request/connect.py<br />
U    lib/request/comparison.py<br />
U    lib/request/basic.py<br />
U    lib/techniques/blind/inference.py<br />
U    lib/techniques/union/use.py<br />
U    lib/techniques/union/test.py<br />
U    lib/techniques/error/use.py<br />
U    lib/parse/cmdline.py<br />
D    tamper/unmagicquotes.py<br />
Updated to revision 4319.<br />
</code></p>
<p>Notate how lib/techniques/ had some changes, but changes from latest revision to this one are more than that, so it's a compromise for now.</p>
<p>So here is this revision against the same vulnerable web server.</p>
<p><code><br />
root@fsckOSX:/pentest/database/sqlmap# ./sqlmap.py -u "http://XXX.XXX.XXX.XXX/index.php?page=search" --data="search=aaa" --dbs</p>
<p>    sqlmap/1.0-dev (r4319) - automatic SQL injection and database takeover tool</p>
<p>http://www.sqlmap.org</p>
<p>[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program</p>
<p>[*] starting at 14:26:53</p>
<p>[14:26:53] [INFO] using '/pentest/database/sqlmap/output/XXX.XXX.XXX.XXX/session' as session file<br />
[14:26:53] [INFO] resuming injection data from session file<br />
[14:26:53] [INFO] resuming back-end DBMS 'mysql 4' from session file<br />
[14:26:53] [INFO] testing connection to the target url<br />
[14:26:54] [WARNING] there is a DBMS error found in the HTTP response bodywhich could interfere with the results of the tests<br />
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:<br />
---<br />
Place: POST<br />
Parameter: search<br />
    Type: UNION query<br />
    Title: MySQL UNION query (NULL) - 1 to 10 columns<br />
    Payload: search=aaa' UNION ALL SELECT CONCAT(CHAR(58,107,98,119,58),CHAR(82,88,103,80,76,100,72,90,73,105),CHAR(58,116,99,109,58))# AND 'MXBu'='MXBu<br />
---</p>
<p>[14:26:54] [INFO] the back-end DBMS is MySQL<br />
web server operating system: Linux CentOS 4<br />
web application technology: PHP 4.3.9, Apache 2.0.52<br />
back-end DBMS: MySQL 4<br />
[14:26:54] [WARNING] information_schema not available, back-end DBMS is MySQL < 5. database names will be fetched from 'mysql' database<br />
[14:26:54] [WARNING] if the problem persists with 'None' values please try to use hidden switch --no-cast (fixing problems with some collation issues)<br />
[14:26:54] [WARNING] it was not possible to count the number of entries for the used SQL query. sqlmap will assume that it returns only one entry<br />
[14:26:56] [INFO] fetching number of databases<br />
[14:26:56] [ERROR] unable to retrieve the number of databases<br />
[14:26:56] [INFO] falling back to current database<br />
[14:26:56] [INFO] fetching current database<br />
[14:26:56] [INFO] read from file '/pentest/database/sqlmap/output/XXX.XXX.XXX.XXX/session': pwnetwork<br />
available databases [1]:<br />
[*] pwnetwork</p>
<p>[14:26:56] [INFO] Fetched data logged to text files under '/pentest/database/sqlmap/output/XXX.XXX.XXX.XXX'</p>
<p>[*] shutting down at 14:26:56</p>
<p>root@fsckOSX:/pentest/database/sqlmap#<br />
</code></p>
<p>Here it is!!!</p>
<p><strong><br />
available databases [1]:<br />
[*] pwnetwork<br />
</strong></p>
<p>Just my 2 cents, this has been verified by other people and I hope if someone uses the tool and suddenly scratches his head can rollback to the working revision while sqlmap developers fix this (You guys are awesome keep the excellent work!!!)</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/security-bits/sqlmap-query-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stop232patent.com</title>
		<link>http://security-dojo.com/programming-bits/stop232patent-com/</link>
		<comments>http://security-dojo.com/programming-bits/stop232patent-com/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 02:04:27 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[linkedin]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tu Peor Enemigo]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=125</guid>
		<description><![CDATA[I&#8217;ve been in the security environment for quite around years now, I don&#8217;t consider myself an expert but I consider myself knowledgeable, one thing is all my life I&#8217;ve had awesome people around me, giving me always advise, knowledge and pushing my creativity. I recently catch upon Cenzic having a pretty interesting patent, which basically [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been in the security environment for quite around years now, I don&#8217;t consider myself an expert but I consider myself knowledgeable, one thing is all my life I&#8217;ve had awesome people around me, giving me always advise, knowledge and pushing my creativity.</p>
<p>I recently catch upon Cenzic having a pretty interesting patent, which basically covers any code that baselines a web page and then injects faulty code into parameters to verify vulnerabilities. Yes you read correctly, this patent awarded in 2007 covers all web scanners and even powerful fuzzers into the patent, why it was granted? beats me I presume whoever checked it out didn&#8217;t really find prior art (there is) or really understand what was being patented (go lawyer+techie talk) the result? an overlapping patent.</p>
<p>Now a patent should ALWAYS be used defensively, which means &#8220;I protect myself from other people coming and breaking my stuff, asking me for money for something I developed or saying I didn&#8217;t create it&#8221; the problem is, Cenzic is NOT using the patent defensively, they are using it to get money out of web scanner companies.</p>
<p>IBM/HP already did a cross licensing deal with them, (probably giving them their crawler technology) and now they went and asked <a href="http://www.ntobjectives.com">NTObjectives</a> an insane amount of money, result? NTObjectives is fighting back, the filed a <a href="http://www.ntobjectives.com/news/NTOBJECTivesEntersPatentLitigationWithCenzic,Inc.">suit</a> which will then break the patent and stop this company from basically extorting money out of other companies for a very generic and broken patent.</p>
<p>It makes me sad, why? because one of the patent owners is someone I really respect: Greg Hoglund, the founder of rootkit.com, his books are great and I love them, but this patent, this is wrong. It saddens me the fact that someone on the security environment (I hate using the industry word, because grayhats and blackhats are not on the industry but are still on the environment) would do this and let it go.</p>
<p>I created then the website <a href="http://www.stop232patent.com">www.stop232patent.com</a> you can follow an in depth detail of the analysis of the patent, trial, prior art, etc. </p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/programming-bits/stop232patent-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where information should stop</title>
		<link>http://security-dojo.com/programming-bits/where-information-should-stop/</link>
		<comments>http://security-dojo.com/programming-bits/where-information-should-stop/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 01:36:52 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[trapper]]></category>
		<category><![CDATA[Tu Peor Enemigo]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=115</guid>
		<description><![CDATA[I often stay away from political and economical sources, why? well due to my job and research I believe I should not be involved in any of them, is my job not to be bias against nobody that could potentially be my client, so I just shut up, even with close relatives, friends and relationships. [...]]]></description>
			<content:encoded><![CDATA[<p>I often stay away from political and economical sources, why? well due to my job and research I believe I should not be involved in any of them, is my job not to be bias against nobody that could potentially be my client, so I just shut up, even with close relatives, friends and relationships.</p>
<p>As the release of trapper was getting closer I started thinking what good would the complete release of the software will do, and I came up with this answers:<br />
- Nothing, nobody would use it<br />
- Some people would use it for kicks, mostly to hack their own networks or hack work<br />
- It could be used to crack something large and big<br />
- Other people would use it on their audits, call me I&#8217;m finished and keep on using my research and work.<br />
- Man in black would seize my server (since it&#8217;s on the US) and force the app to be erased after magically appearing with a copy of it.</p>
<p>While the last one appears definitely far fetched the third one got me thinking seriously, not only because of the nature of my research has gone definitely into Hydras and AI / Neural Networks / Expert Systems but because potentially sooner or later it could be pushed into the light and someone will do something that would compromise the years I&#8217;ve work on the security field.</p>
<p>I&#8217;m not calling that a reporter, as the ones I know they have been always fair to me in developing at story, but today as I unleashed the third rewrite of trapper (yes I had to rewrite 2 times already due to redesign of the objects) someone at the starbucks checked their email via pop, in less than 5 minutes all his email was parsed, loged into facebook, found, friends found, had his avatar picture and was searching who he was talking to in MSN. At that second I realized I stupidly left the domain into * and not localhost, definitely my mistake but &#8230; it suddenly hit me, am I making stuff secure or insecure releasing this?<br />
<span id="more-115"></span><br />
The answer was &#8220;You are making stuff completely insecure, people won&#8217;t understand what is going on, it will be just pure blood and your point across will be lost&#8221; so my decision is to open trapper only to a few people without hard modules and keep it for <a href="http://www.yaguarete-sec.com">Yaguarete</a> as part of the internal tools, not because I don&#8217;t want to, believe me with the design I made a proficient coder will have no trouble to create it&#8217;s own little hydra, but it won&#8217;t me mine, it won&#8217;t be code breaking hard into stuff I seriously do not want to even ping.</p>
<p>YES I&#8217;ve become soft, YES I&#8217;m not the guy who used to rampage like 10 years ago in G-Con, but then again who would be? are you really a sane person holding into something that happened or said 10 years ago? is your life THAT pathetic?</p>
<p>I&#8217;ve seen people come from total &#8220;n00bs&#8221; into amazing hackers, like HKM I remember him messaging me saying he got hist first overflow after reading a paper then all the sudden he is destroying 2Wire with amazing research, people evolve, everything evolves, why wouldn&#8217;t I just evolve?</p>
<p>As I was reading the leaks that might break spies and complete networks of the CIA on Afganistan because of a leak I said &#8220;well sure government did stuff they shouldn&#8217;t have done? most probably but then again should documents leak THAT harshly?&#8221; I&#8217;m not condemning or applauding the act I just wondered &#8220;what if code I wrote ever is used for that?&#8221;</p>
<p>You might not have met me in my &#8220;worst&#8221; years, when I tough I was invincible, when nobody was smarter than me, more connected than me, etc. but I realize that those years I did more damage than help, I turn around and I smile when people tell me they look up to me and they have shaped cons in the sense of G-Con or stuff like that (I have to say that having someone name his kid after you felt great, thank you Pedro Navarro -byteStriker-)</p>
<p>Anyway I&#8217;m still alive, am I the same? no, is my research the same? probably is it still agressive? As much as I need to, because at the end, my research is only for me now, I don&#8217;t want any more fame, I don&#8217;t want the spotlight anymore, I&#8217;ve had my 15 minutes of fame, I want to do what I like, what I want and just be happy (breaking stuff sure why not)</p>
<p>Will trapper ever be public? to be honest it might, just not right now I&#8217;d like to keep the advantage before other companies use it and call my company inferior, anyway it will have a mixed license so too bad for ppl that will use it for commercial.</p>
<p>If you are interested in a copy of it, contact me and we can chat but I don&#8217;t promise anything.</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/programming-bits/where-information-should-stop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Trapper from sniffer to hydra</title>
		<link>http://security-dojo.com/security-bits/trapper-from-sniffer-to-hydra/</link>
		<comments>http://security-dojo.com/security-bits/trapper-from-sniffer-to-hydra/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:45:57 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[campus party]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[hydra]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[trapper]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=108</guid>
		<description><![CDATA[This is the presentation I&#8217;m going to push in Campus Party and in Sec-T in Sweden in september. This is a complete recode of trapper, even changing the language for ruby, having namespaces on it and the capabilities to attack and exploit miss-configurations. I&#8217;m going to be exporting a git repository the first week of [...]]]></description>
			<content:encoded><![CDATA[<p>This is the presentation I&#8217;m going to push in Campus Party and in <a href="http://www.sec-t.org">Sec-T</a> in Sweden in september.</p>
<p>This is a complete recode of trapper, even changing the language for ruby, having namespaces on it and the capabilities to attack and exploit miss-configurations.</p>
<p>I&#8217;m going to be exporting a git repository the first week of August with the public version of Trapper 1.0 in git.security-dojo.com (It&#8217;s not setup yet so don&#8217;t even try) and version 1.1 should hit around september in Sec-T.</p>
<p>What stuff is being coded or tested now?</p>
<p>- Sniffing<br />
- Cracking the hashes<br />
- Using hashes to bring more hosts into the game<br />
- Reading emails<br />
- Reading applications<br />
- SSH and telnet into hosts<br />
- Start other sniffer heads in different OS (This is going to take time but oh well)<br />
- More to come!</p>
<p>If you are interested in beta testing Trapper drop me an email, you might not get the chance since I&#8217;m really picky on who betas my stuff but you can try :P</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/security-bits/trapper-from-sniffer-to-hydra/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nahual goes to Cali!</title>
		<link>http://security-dojo.com/misc/nahual-goes-to-cali/</link>
		<comments>http://security-dojo.com/misc/nahual-goes-to-cali/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:48:30 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=87</guid>
		<description><![CDATA[YES! I&#8217;m getting my behind to California (Client shall remain nameless) to go there have fun around 1 or 2 weeks and go climbing and ruby coding, I&#8217;ll probably be very prolific since .. well no I won&#8217;t LoL! I will soon release trapper 1.0 (recoded on python for the framework I&#8217;m coding)]]></description>
			<content:encoded><![CDATA[<p>YES! I&#8217;m getting my behind to California (Client shall remain nameless) to go there have fun around 1 or 2 weeks and go climbing and ruby coding, I&#8217;ll probably be very prolific since .. well no I won&#8217;t LoL!</p>
<p>I will soon release trapper 1.0 (recoded on python for the framework I&#8217;m coding)</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/misc/nahual-goes-to-cali/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whitehat, Blackhat or .. CowHat?</title>
		<link>http://security-dojo.com/misc/whitehat-blackhat-or-cowhat/</link>
		<comments>http://security-dojo.com/misc/whitehat-blackhat-or-cowhat/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:25:12 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=82</guid>
		<description><![CDATA[Thinking today a bit i tried to ask myself in which part of the &#8220;hats&#8221; i would go into, or most ppl go into? I&#8217;ve never been a really fan of saying you can be a &#8220;pure&#8221; color hat, so i came up with this: Yep .. whitehat with spots of black! juuuuust like my [...]]]></description>
			<content:encoded><![CDATA[<p>Thinking today a bit i tried to ask myself in which part of the &#8220;hats&#8221; i would go into, or most ppl go into?</p>
<p>I&#8217;ve never been a really fan of saying you can be a &#8220;pure&#8221; color hat, so i came up with this:</p>
<p><a href="http://security-dojo.com/wp-content/uploads/2010/02/cowhat.jpg"><img src="http://security-dojo.com/wp-content/uploads/2010/02/cowhat.jpg" alt="" title="cowhat" width="425" height="304" class="aligncenter size-full wp-image-83" /></a></p>
<p>Yep .. whitehat with spots of black! juuuuust like my conscience!!</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/misc/whitehat-blackhat-or-cowhat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And the XML weird parsing award goes to &#8230;</title>
		<link>http://security-dojo.com/uncategorized/and-the-xml-weird-parsing-lets-execute-everything-award-goes-to/</link>
		<comments>http://security-dojo.com/uncategorized/and-the-xml-weird-parsing-lets-execute-everything-award-goes-to/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 19:50:14 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=69</guid>
		<description><![CDATA[Well, yesterday I was contacted by someone and asked me to go visit a web page, I&#8217;m actually not fond of doing that at all, but him being a trustworthy person I clicked on the link and found myself looking at a alert script, &#8220;Well sure having a web page you control with java script [...]]]></description>
			<content:encoded><![CDATA[<p>Well, yesterday I was contacted by someone and asked me to go visit a web page, I&#8217;m actually not fond of doing that at all, but him being a trustworthy person I clicked on the link and found myself looking at a alert script, &#8220;Well sure having a web page you control with java script is not a great triumph&#8221; but then I started to check exactly what was being done and executed.</p>
<p>Opened my IExplorer (ugh) and visited the same page, and I just saw a normal XML:</p>
<p><a href="http://security-dojo.com/wp-content/uploads/2010/02/xml_javascript1.png"><img src="http://security-dojo.com/wp-content/uploads/2010/02/xml_javascript1.png" alt="" title="xml_javascript1" width="486" height="352" class="aligncenter size-full wp-image-75" /></a></p>
<p>So I came back to Firefox and revisited the webpage:</p>
<p><span id="more-69"></span></p>
<p><a href="http://security-dojo.com/wp-content/uploads/2010/02/xml_javascript2.png"><img src="http://security-dojo.com/wp-content/uploads/2010/02/xml_javascript2.png" alt="" title="xml_javascript2" width="563" height="371" class="aligncenter size-full wp-image-77" /></a></p>
<p>Mmmm this is .. interesting, this was exactly the point of the discussion as someone from a big company was actually saying this cannot be done and that it didn&#8217;t work on his firefox (maybe it was an IExplorer with a Firefox skin?)</p>
<p>This reminds me of java script being executed in CSS since couple of years ago anyway (that is for another post) I think I&#8217;m going to dive a bit more into this specific Firefox thing see how nice and how atractive can it be to keep on executing stuff, since as you can see the tags are not script or jscript or anything, just pure script and it works.</p>
<p>I might debug tonight the java machine in Firefox but I believe is the embedded part that tries to be too smart and ends up being too weak on this part.</p>
<p>More specific details shall come soon, still I have to ask whoever found it if he is ok with me running my research and publishing </p>
<p>Anyway, of to coding and debugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/uncategorized/and-the-xml-weird-parsing-lets-execute-everything-award-goes-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Your Worst Enemy] Your Web Scanner</title>
		<link>http://security-dojo.com/tu-peor-enemigo/your-worst-enemy-your-web-scanner/</link>
		<comments>http://security-dojo.com/tu-peor-enemigo/your-worst-enemy-your-web-scanner/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 01:58:10 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[Tu Peor Enemigo]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[NTOSpider]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[web scanner]]></category>
		<category><![CDATA[your worst enemy]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=57</guid>
		<description><![CDATA[Recently I saw an article about web scanners, I personaly don&#8217;t like them, why? well 1. They are slow 2. They don&#8217;t have a sense of &#8220;weight&#8221; on the exploits 3. They miss half of the complex stuff Couple of weeks ago we lost a bid based on the fact that the client tought we [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I saw an article about web scanners, I personaly don&#8217;t like them, why? well </p>
<p>1. They are slow<br />
2. They don&#8217;t have a sense of &#8220;weight&#8221; on the exploits<br />
3. They miss half of the complex stuff</p>
<p>Couple of weeks ago we lost a bid based on the fact that the client tought we did everything automatic (Errr LoL! apparently they don&#8217;t read the blog, didn&#8217;t read my resume and didn&#8217;t reaaaaally understood some facts but then again who can blame the girl that was in charge?) this was hilarious but posed a very good question:</p>
<p><strong>Why all scanners <del> SUCK</del> ARE BAD?</strong></p>
<p><span id="more-57"></span></p>
<p>I&#8217;m not saying I&#8217;m way better than all of them, but given enough time I can find even more stuff than them on simple and way more on complex privilege escalation ones, I find myself writting my own tools for jobs and trying to make them as smart as I can, this is really a fun but slow job.</p>
<p>You would really think that since ALL webscanners have sites to try your scanner against they would make sure they would get most of the bugs even on those sites right? .. WROOOOOOOOONG most scanners found 50% of the bugs, God that makes you feel such a nice feeling, knowing you just got a very expensive web scanner to find .. HALF OF YOUR BUGS!</p>
<p>Anyway most of people know I usually get get software and products to break them up and then just either keep them (like my cisco routers) or give them back (like the Tipping Points &#8230; I never get to keep one! -_- ), this time I got the &#8220;pepsi challenge&#8221; from <a href="http://www.ntobjectives.com">NT Objectives</a> couple of weeks ago, and I was pleasantly surprised when I managed to hack into my intranet test sites before it, with a nice smile waited untill it finished saw the report, then passed the next 2 days trying to figure out 30% of the bugs it found.</p>
<p>I contacted them and chatted to them, I showed them my results and they showed me how to reproduce it raw and on HTML and I finally figured those out, I didn&#8217;t even know my sites had those bugs, I started o read up on their site and chat with their engineers and realized they have JavaScript Machines not to only parse the code but to actually run it, so they actually try different variations to bypass the javascript, try referer SQL injections, save web pages to actually find and differentiate from Blind SQL Injection AND (And this got me in love with the damn scanner) they actually find the COMPLETE injection, not just like &#8220;ok this breaks thank you for using our scanner now go make the exploit work yourself&#8221; kind of deal, noooo nooo noooo I mean this dudes find the entire SQL string you can just click on &#8220;verify&#8221; and you can check the exploit and get the URL to push it into your favorite injection tool if you want, figuring that out usually takes a while and is annoying (on this specific site the bug was inside a procedure so most of the scanners just broke the stuff but never really exploited and they found the ) and made the &#8220;<em>foo&#8217;) or (1=1</em>&#8221; to gather how bad or good was the injection.</p>
<p>I&#8217;m really not going to go into detail in the results and how good it is, all I can say is .. I went and bought it for myself, dropping all the other web scanners, don&#8217;t need them anymore at all, I still run everthing by hand anyway, but I feel confident than the low hanging fruit will be covered by this thing and hasn&#8217;t failed me yet.</p>
<p>I&#8217;ll leave you with the links so you can read up on the report, I found it very interesting!</p>
<p><a href="http://news.slashdot.org/story/10/02/06/1933211/Web-App-Scanners-Miss-Half-of-Vulnerabilities"> Slashdot link covering the report </a><br />
<a href="http://ha.ckers.org/blog/20100203/accuracy-and-time-costs-of-web-application-security-scanner-report/">Original report</a><br />
<a href="http://ha.ckers.org/files/Accuracy_and_Time_Costs_of_Web_App_Scanners.pdf">PDF of the report</a></p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/tu-peor-enemigo/your-worst-enemy-your-web-scanner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Muerte al RunPE&#8230;</title>
		<link>http://security-dojo.com/security-bits/muerte-al-runpe/</link>
		<comments>http://security-dojo.com/security-bits/muerte-al-runpe/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 05:51:44 +0000</pubDate>
		<dc:creator>psymera</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=53</guid>
		<description><![CDATA[Bien aki mi ultima creacion para matar todos esos crypters chafas okupados por gran cantidad de malware para ser indetectables a los AV&#8217;s esta tool se basa en que todo los programas ke okupan el runpe como tecnica para ejeucion en memoria termina siendo igual sin importar el tipo de cambio ke s ele haga [...]]]></description>
			<content:encoded><![CDATA[<p>Bien aki mi ultima creacion para matar todos esos crypters chafas okupados por gran cantidad de malware</p>
<p>para ser indetectables a los AV&#8217;s</p>
<p><span id="more-53"></span></p>
<p>esta tool se basa en que todo los programas ke okupan el runpe como tecnica para ejeucion en memoria</p>
<p>termina siendo igual sin importar el tipo de cambio ke s ele haga</p>
<p>ya ke es un metodo muy poko flexible y porlotanto muy vulnerable</p>
<p>bueno esta herramienta me costo varias semanas de investigacion y desarrollo</p>
<p>esta echa en delphi y masm(primera vez ke trabajo en forma con asm xP)</p>
<p>sin mas aki les dejo este juguetito junto con su screenshot correspondiente</p>
<p>http://www.gigasize.com/get.php?d=b32byccdznf</p>
<p><img class="alignleft size-medium wp-image-54" src="http://security-dojo.com/wp-content/uploads/2009/07/screenshot-300x188.jpg" alt="screenshot" width="300" height="188" /></p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/security-bits/muerte-al-runpe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>whitehats.com.mx</title>
		<link>http://security-dojo.com/misc/whitehatscommx/</link>
		<comments>http://security-dojo.com/misc/whitehatscommx/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 18:04:55 +0000</pubDate>
		<dc:creator>nahual</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[whitehats]]></category>

		<guid isPermaLink="false">http://security-dojo.com/?p=50</guid>
		<description><![CDATA[Hoy termine de dar de alta whitehats.com.mx un &#8220;facebook&#8221; (red social) de personas que les interese en seguridad tanto en Mexico como en el mundo, pero mas enfocado a Mexico, intentando poner cada vez mas apenfra y nhacker listo para poder hacer publish de los tools.]]></description>
			<content:encoded><![CDATA[<p>Hoy termine de dar de alta whitehats.com.mx un &#8220;facebook&#8221; (red social) de personas que les interese en seguridad tanto en Mexico como en el mundo, pero mas enfocado a Mexico, intentando poner cada vez mas apenfra y nhacker listo para poder hacer publish de los tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://security-dojo.com/misc/whitehatscommx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

