Search Results: "Uwe Hermann"

10 February 2006

Uwe Hermann: Forensic Discovery - a (free) book by Wietse Venema and Dan Farmer about forensic techniques for gathering digital evidence

I accidentally stumbled over this today: the book Forensic Discovery, written by two security gurus — Wietse Venema and Dan Farmer - has been published by Addison-Wesley. Which is nice and all, but even nicer is the fact that the book is freely available for online reading. There's also a ZIP-file, if you want to get the whole thing. This should make for some interesting reading during the next few weeks...

8 February 2006

Uwe Hermann: How to detect and defeat hardware backdoors and wiretaps?

A network card How nice. The FCC wants "a "back door" be built into all Internet-communications hardware and software to provide access for law enforcement agencies". This and similar horror scenarios for the freedom and privacy of the people are nothing unusual these days. A more general (and more paranoid) question: How do we know whether our software or hardware is backdoored/wiretapped? We all know that using a certain OS from Redmond opens a lot of security holes in itself. Add to that all the now-public attempts of agencies and companies ranging from the FBI, NSA, Sony to antivirus-software vendors who install backdoors on your PC, and you've got some very good reasons to never trust any closed-source software again. This is not a problem for most of us using Free Software and free operating systems (Linux, *BSD, etc.). Theoretically, we can read the source code of almost every single instruction being executed on our hardware, and verify that the software doesn't do any funny things like phoning home, logging keystrokes, opening backdoors and so on. However, how can we know whether or not our hardware has been backdoored/wiretapped/trojaned (or whatever you want to call it)? Given that almost all devices we own nowadays (PDA, iPod, cell phone, hardware VOIP phone, and all the other gadgets) as well as most parts of our PCs and laptops have some sort of microcontrollers on them, how can we be sure that there is no secret code hidden in there which spies on us or provides hidden backdoors to them (whoever that may be)? With some devices you can dump the firmware and analyze that, but most parts are probably not easily analyzable by mere mortals. Think network cards, builtin wireless cards, sound cards, bluetooth chips and so on. IMHO, a good first step in the right direction are things like OpenBIOS (Free Software firmware/BIOS) and OpenEZX (Free Software GSM phones). Alas, I think DRM will pose a major threat here in future, as we probably cannot easily replace custom firmware/software anymore if DRM in the worst form becomes reality. So, how would you go about to ensure that your hardware has not been backdoored? How can we detect such things? How can we defend against such things? How can we remove backdoors if we find any? Do you know of any relevant research, papers, documents, HOWTOs? Any cases you know of where such things happened? Any practical tips or advice?

6 February 2006

Uwe Hermann: /media vs. /mnt

Martin, you should enable comments in your blog instead of forcing me to resort to email or spamming Planet Debian :) Seriously though, while I know that the FHS recommends /media as a mount point for removable media (and it sure makes sense for Debian as a whole to use that), one of the first things I do on my own boxes upon a fresh install is "rmdir /media /cdrom /floppy /initrd". I don't want to have yet another directory cluttering my root, and I find /mnt is perfectly fine for any mount points, especially since I don't really care whether I mount removable media or not. For example, I have /mnt/cdrom, /mnt/usbstick, /mnt/win, /mnt/hda1, /mnt/hda2, ..., /mnt/ipod etc. etc.

Uwe Hermann: HOWTO: Encrypted USB thumb drives and (USB) hard disks using loop-AES

Yet another thing that has been on my TODO list for quite a while: encrypted USB thumb drives and/or encrypted external USB hard drives. I have finally tried this over the weekend using loop-AES. This is very useful for securing your USB thumb drive contents in case you lose it or it gets stolen. Also, I use an external USB hard drive for backups (previously unencrypted). This is encryped now, too. Here's a quick HOWTO:
  1. Get the loop-AES kernel patches, apply them, enable "AES encrypted loop device support" in "Device Drivers -> Block Devices -> Loopback device support", and recompile the kernel.
    I also enabled "loop encryption key scrubbing support" as it seems to promise higher security (can anybody confirm that?).
    If you're using the Debian kernel packages, apt-get install loop-aes-2.6-686 (or a similar package) should suffice.
  2. Get a loop-aes enabled losetup, mount etc.:
    apt-get install loop-aes-utils
  3. Securely delete the target partition: shred -n 1 -v /dev/sda3.
    Use -n 25 or higher if you want more security and have a few days time to wait for the thing to finish...
  4. Setup the loopback device: losetup -e aes256 -C 3 -S 'seed' /dev/loop0 /dev/sda3.
    Notes:
    • I used AES-256 as cipher, but others are possible.
    • The -C 3 means "run hashed password through 3000 iterations of AES-256 before using it for loop encryption. This consumes lots of CPU cycles at loop setup/mount time but not thereafter." (see losetup(8)). This is supposed to be more secure.
    • Using -S 'seed' (replace "seed" with a secret string like "g7sN4" or something) should make brute force attacks a bit harder. Don't forget the seed!
    • You'll be asked for a passphrase > 20 characters. Choose a good one. Don't forget it!
  5. Create the filesystem (I used ext3): mke2fs -j /dev/loop0
  6. Detach the loopback device: losetup -d /dev/loop0
  7. Add this to /etc/fstab:
    /dev/sda3 /mnt/crypted_sda3 ext3 noauto,loop=/dev/loop0,encryption=AES256,itercountk=3 0 0
  8. Mount the (now encrypted) partition by supplying the seed and entering the chosen password: mount -o pseed=seed /mnt/crypted_sda3
  9. Done. You can now copy stuff to /mnt/crypted_sda3 which will be encrypted automatically.
For a more detailed guide read the Encrypted-Root-Filesystem-HOWTO. A performance comparison of different ciphers is available, but in general I didn't notice too much of a slow-down because of the encryption...

2 February 2006

Uwe Hermann: The new German digital identity card, and what the government plans to do with your data...

What kind of sick joke is this? The German government seems to want to sell the personal information of 80 million German citizens to interested companies. They wanted to introduce a new digital identity card with biometric data and possibly also an RFID chip on it for quite a while now (you know, all those evil terrorists out there, blah blah blah). And now they dream about selling the data records stored on that card for 40-50 cents per record to interested companies? WTF? I don't think I have to elaborate on the abuse-potential this can have, and on what this means for the privacy of all 80 million citizens affected... The above article and also another article are a bit fuzzy on the exact details so we'll have to wait until more info is published/leaked, but this is definately an alarming trend/discussion... (via Anarchaia, Fefe, netzpolitik.org)

31 January 2006

Uwe Hermann: Beagle 0.2.1 released - fancy desktop search tool for Linux

Beagle screenshot 1 Beagle 0.2.1 is out. Beagle is a very useful desktop search engine for GNOME (but you can use it with KDE, too, or even without any desktop environment like I do). Despite the low version number it is already quite stable and usable, and has lots of features. It can index all kinds of files and information on your computer (txt, pdf, doc, emails, IM logs, IRC logs, source code, images, music, and whatnot) and provides a very nice (new) search interface (see screenshot). Yes, Google Desktop Search and Spotlight do the same thing, but neither is available for Linux, and neither of them is Free Software. They can "phone home" without telling you and do other funny things. With Beagle you can easily check what it does (use the source, Luke!). Oh, and Beagle can now also parse Ruby files, a simple filter I had written and submitted has been included in the latest release (well, actually it was there in 0.2.0 already, but I didn't tell anybody ;-)).

30 January 2006

Uwe Hermann: Stanislav Petrov saved the world

This man really deserves our respect: Stanislav Petrov, former Russian Army colonel has quite probably saved our planet in 1983. He has recently been awarded a special World Citizen Award at a UN meeting in New York which reads "Man Who Averted Nuclear War". To quote mosnews.com:
Back in 1983 Petrov made a decision that prevented a war that could have destroyed the planet. He was the duty officer at Russia s main nuclear command center in September 1983 when the system indicated a nuclear missile attack was launched by the U.S. on Russia. [...] The Soviet procedure manual was inflexible, and it demanded he notify his superiors of the attack immediately. But relying on his intuition, Petrov disobeyed. For almost five minutes, he stalled, holding his hotline phone in one hand and his intercom in the other, barking orders to his personnel to get back to their desks. Then he made the decision that saved the world. Summoning up his firmest voice, he called his Kremlin liaison and said it was a false alarm. But today he admits, "I wasn t 100 percent sure. Not even close to 100 percent".
(via Fefe)

28 January 2006

Uwe Hermann: Al Gore Speech on Unlawful Wiretapping, Imprisonment, and Torture by US President Bush

Al Gore Al Gore, former vice president of the US, has given a very, very interesting and impressing speech on Martin Luther King Day a few days ago. He states very clearly a huge number of (unlawful, illegal, or immoral) things the current US president Bush and/or his administration have done. For example: A quote of Al Gore, from a small Reuters summary of the speech:
We still have much to learn about the NSA's domestic surveillance. What we do know about this pervasive wiretapping virtually compels the conclusion that the president of the United States has been breaking the law repeatedly and insistently.
Transscripts are available from The Raw Story and the Washington Post, and there's also a full audio recording of the speech (MP3, 48 MB). Although I'm not very political usually (or at least I don't write too much about it), this is really something I highly recommend listening to. I cannot imagine why a president of a democratic country can still be in charge, after all these things have become publically known... (via Tim Pritlove)

27 January 2006

Uwe Hermann: Ehren Starks - One Big Hope

Ehren Starks album art Ahh, I haven't played a purely instrumental piano piece for a while, so here goes. Ehren Starks with a wonderfully calm piece which gets more energetic near the end... Song: Ehren Starks - One Big Hope (4:50 min, 4.5 MB)
License: CC-by-nc-sa 1.0
Source: magnatune.com
Purchase from: Magnatune

Uwe Hermann: Unmaintained Free Software is back (again)

Yeah, it's that time of the year (again)... Unmaintained Free Software is a wiki which collects and categorizes orphaned Free Software projects, in order to find new maintainers for the projects — just in case you didn't know or guess that already ;-) Well, the site was down for weeks (again), hosting support was non-responsive, slow and not very helpful (again), so I moved the domain to another, more pricey server (again), I waited for the domain transfer for a small eternity (again), and finally installed backups and put the site up (again) today. Email is not working yet on the new server, I still need to setup Postfix or something. But other than that everything should work fine, please report any issues you notice. Oh, and I plan for some more neat (technical) stuff soonish, e.g. https/SSL support and a properly signed certificate thanks to CAcert (got me some assurance points at 22C3, thanks to everybody who assured me!). Shameless plug: If you happen to know of any unmaintained project, just add it (it's a wiki). If you have too much time on your hands, go ahead and adopt one of the orphaned projects and eternal fame will be yours!

25 January 2006

Uwe Hermann: How to Survive a Robot Uprising

Daniel H. Wilson, Ph.D. from the Robotics Institute of Carnegie Mellon University, has written a book about HOW TO SURVIVE A ROBOT UPRISING. Bruce Schneier asked for more suggestions, and he received. Plenty. (via Bruce Schneier)

22 January 2006

Uwe Hermann: For those who care about SN9C10x based webcams

Webcam
Sonic-snap screenshot
Sonic-snap-gui screenshot
Note: Yeah, I'm abusing the latest Debian flamewar meme for some attention mongering. Sue me. A few days ago, I have tested my cheap, crappy webcam I bought more than a year ago for the first time. Using the latest SN9C10x driver (which is already included in recent 2.6.1x kernels) worked fine, i.e., the USB webcam was recognized. I tried running sonic-snap (site is currently down, try the Google Cache) in order to get snapshot images and/or videos off the webcam, which initially didn't work. But I soon found out what the cause of the problem was and created a trivial patch which fixed the problem for me. Then, after I made myself look like an idiot by reporting a bug against a non-existing sonic-snap Debian package, I finally sent the patch to the upstream author. I'll probably ITP the package, though, as I might be using the webcam more often... I also tested the webcam with Gnomemeeting for some videoconferencing fun, which didn't work at first either. After some stupid guessing and googling, I finally found out that you need to apt-get install libpt-plugins-v4l2, which is not installed by default (why?). Other than that (and apart from the really, really crappy image quality of the webcam), it worked really nice... Here's the exact lsusb output for Google to parse, other people might be searching for this info:

Bus 003 Device 003: ID 0c45:602a Microdia Meade ETX-105EC Camera

19 January 2006

Uwe Hermann: kitty, a Qt/KDE based RSS podcast and video aggregator, is now in unstable

kitty screenshot As mentioned earlier, I wanted to package the KDE videoblog client kitty for Debian. I finally found the time to really do it, and the package has entered Debian unstable a few days ago. The first bug has already been reported (sigh), but I'm working on it. kitty got even mentioned in Debian Weekly News (w00t!)

17 January 2006

Uwe Hermann: Genie 1693 PDA - what can I do with it?

Genie 1693 PDA I'm rich! I won the lottery this weekend! I won 8.70 Euros in total... Of course I went out to spend the huge amounts of money I now possess on some ultimately useless gadget. I got myself a Genie 1693 PDA thing. Which costs 13 Euros. Next time I'll have to win more money ;) Anyways, the gadget has 384 KB of memory, a touchscreen, and a serial cable to connect it to a computer. Let's see if I can come up with something interesting to do with this thing (suggestions welcome). I was thinking in the direction of putting my own software on it (I don't think that'll work) or reverse engineering the communication protocol or whatever comes to my mind when I'm bored...

16 January 2006

Uwe Hermann: GPLv3 - Discussion Draft 1 [Update]

You might have already noticed (if not, you will, very very soon) that the FSF has released the first draft of the forthcoming GNU General Public License 3. You can leave comments on the license or help to populate the wiki, if you're inclined. I think the Rationale Document will be very interesting to read (for me, at least). I'll leave it to more competent people to comment on the pros and cons of the changes of this new version... I hope that in the end (after a few more months of reviews etc.) we will have a fine new version of the GPL which will suit the majority of the Free Software world very well. Update 2006-01-18: Here's a nice diff between GPLv2 and GPLv3-draft1 (thanks Nico Golde).

15 January 2006

Uwe Hermann: xbubble: xlibs-dev transition done

xbubble screenshot Just a quick update on Amaya Rodrigo's recent post on Planet Debian about xbubble's upstream author sending a patch for the Debian xlibs-dev transition: I have uploaded a (hopefully) fixed version of the package yesterday => one step closer to the end of the transition. Addicting game, btw., give it a try!

Uwe Hermann: Phonecaster.de - Listen to podcasts via telephone or cell phone

PhoneCaster.de is a nice service which offers podcasts via telephone. I received an email from them today which told me that someone had added my music podcast to their site (thanks anonymous stranger!). This means that you can now listen to my podcast from your telephone or cell phone by dialing
Phonecaster.de
(in Germany). I'm not sure if it works from outside of Germany, but you could try to call +49 931 663927 408. Please leave a comment and report whether it works or doesn't work. There's quite a bunch of other podcasts available which you can listen to while in a train, on a bus, or while you're somewhere else without Internet access. This opens up some nice new possibilities...

13 January 2006

Uwe Hermann: 39 Megapixel Hasselblad Digital Camera

OMFG! There's a new 39 megapixel digital still camera, namely the H2D-39. I so want one of those. But I do not want to know how much such a thing costs, I really don't... (via One Stop Under)

10 January 2006

Uwe Hermann: Drupal 4.7.0 beta 3 available

Just a quick note: Drupal 4.7.0 beta 3 is available now, fixing more than 100 bugs since the last beta. If you have any further issues or suggestions for 4.7 — now is the time to speak up, file bug reports, post patches etc. I haven't had too much time for Drupal development recently, but I guess I should really start updating the poormanscron module now (finally!) and help with getting the German translation up-to-date...

9 January 2006

Uwe Hermann: Bored? Make music with your scanner

Bored? Feeling that artistic vibe? Why not make some music with your (HP ScanJet) scanner? Or at least watch a video of other people doing so (as soon as the slashdotting has stopped and the video is back, that is)? Note to self: Add this to Crazy Hacks later, gotta run now. (via hack a day)

Next.

Previous.