Archive for October, 2004

Thursday, October 28, 2004

Firefox 1.0 RC1: Tabs Done Right

I recently dumped Safari on my Macs in favor of Firefox. Nearly everything worked as I wanted, but one very important function was still misbehaving (at least as far as I was concerned). Every, and I mean every, link I clicked on in an external program would open a new window. This was slightly annoying at work with Windows, but it was a genuine PITA on my Macs because Firefox would attempt to offset the new window, inevitably resulting in part of the window being off screen.

I’m very particular about my web browser. I want a single window with tabs. That’s all. Safari handled this superbly. Now, before you jump all over me to point out that there were extensions to add this functionality, the fact is, they don’t count. This is for two reasons. The first is that none of them ever worked on OS X right. Most essentially killed the browser and the one that didn’t made it nearly impossible to open a tab. Great.

Thankfully, some of the Mozilla folks saw that the inability to force external links to open in a new tab instead of a window or internal links that attempt to opena new window open in a new tab instead, was a mistake. It translated into a half-assed adoption of tabbed browsing. It had the meat, but left out the dressing.

Release Candidate 1 (now available on Mozilla’s servers) has controls in the preferences to set behavior for external links (new window, current tab/window, new tab in current window) as well as a preference to force new window links to open in either the current window or a new tab. Finally.

This will appear in the final 1.0 version of Firefox (due on Novermber 9th). If you don’t desperately want these freatures, you can simply wait. Can you stand the excitement?

Wednesday, October 27, 2004

New Themes

Check out the new styles. I’ve made “blue” the default, but I’m partial to orange myself.

What Curse?

That’s right. It was the year!

All you naysayers can put that in your hash pipe and smoke it!

Call Me Your Latin Lover

Just for fun, I decided that I would check Bloglines related feeds feature on my weblog. The results were rather surprising. Every single “related” feed was “en espanol.”

For the life of me, I can not figure this out. What exactly about my site makes it similar to these sites? I certainly don’t use any spanish.

Tuesday, October 26, 2004

Opener Malware: The Straight Deal

After days of reporting about this story, I’m still rather disappointed by the coverage. Most writers have been pouring out pages of worthless hyperbole. Of most note and worthy of the most criticism are Cnet with Mac users face rare threat and ZDnet with Destructive OS X malware spies on Apple users. Leave sensationalism to the tabloids, boys.

Let’s get down to what Opener, or as Sophos calls it, SH/Renepo-A, is. First notice that Sophos reversed its name. Clever. Anyway, as linked to from the MacInTouch article, the script itself can be viewed at the Macintosh Underground Forum. The current latest version known is 2.3.8. Let’s lay out exactly what it does:

  • Copies itself into /System/Library/StartupItems forcing it to run at startup as root
  • Copies itself into the same directory for any bootable disk mounted (this includes Carbon Copy Cloner backups)
  • Installs ohphoneX and runs it at startup silently
  • Disables built-in firewall
  • Disables Software Update’s automatic schedule
  • Kills LittleSnitch
  • Installs krec (keystroke recorder) (disabled in latest version because of visibility)
  • Turns on SSH
  • Turns on FileSharing
  • Turns on Windows File Sharing (disabled by default)
  • Turns on Apache (disabled by default)
  • Creates .info directory to store data gathered
  • Gets the name of the computer
  • Gets private and public IP addresses (in case behind router)
  • Gets OpenFirmware password
  • Gets OSXvnc password if installed
  • Gets a series of files with passwords and user information
  • Gets serials for several commercial software packages
  • Copies .info directory (full of information) to every Public user folder
  • Modifies Limewire settings
  • Creates admin user named “LDAP-daemon” for login
  • Attempts to grab password from virtual memory files (known exploit)
  • Uses John the Ripper to decode passwords
  • Installs dsniff

Sounds scary. For the most part it is. However, all of these things are individually acceptable when running them as root. None of this is a security exploit. Also note that nowhere in there is a way for it to initially install itself on other machines. In fact, it doesn’t even copy itself to the .info directory! It keeps itself in StartupItems. Therefore, you would have to install this onto your machine yourself (or run a malicious installer and give it permission to install it).

What’s totally absurd about this situation is that Sophos, supposed virus experts, have classified this as a worm! Wikipedia defines a computer worm as:

A computer worm is a self-replicating computer program, similar to a computer virus. A virus attaches itself to, and becomes part of, another executable program; however, a worm is self-contained and does not need to be part of another program to propagate itself. They are often designed to exploit the file transmission capabilities found on many computers.

Well, we’ve already established that Opener doesn’t attach itself to anything as it is a simple shell script (nothing more). The next aspect is that it propagates itself. The only time it replicates itself is in the first two steps. The first step is local. The second copies itself to the StartupItems directory of a mounted volume. As we are assuming root, any local hard disks would be automatically be infected. However, these are still local disks, and therefore, this is not worm behavior as it is still contained within the same machine.

We finally discover the only way one could possibly construe this piece of malware as a worm when we think about what else a mounted volume can be. It can also be a network share. This is where we run the danger of wild speculation and try to force the title of worm upon this script. We need two things in a network share in order for it to be installed onto that remote filesystem. First, it must be a full boot disk (which is not a typical share to be using anyway). Second, the user that you log in as must have permissions to /System on that remote file system. This means you must be an admin or root on that remote machine. The natural reaction is to jump all over this and immediately conclude that is not important because the script is already running as root. This is wrong. Having root power in the local filesystem does not bestow root privileges in the remote share. You are still constrained by the username you mounted that share with. This does not qualify this as a worm.

The problem with the reporting of this malware is that it ignores the real lesson to be learned from the software. That is simply that once your computer is compromised and you’ve given root permissions to an errant program, the game is over. You’ve lost. What this script lacks is a strong propogation vector. Without that, this script is simply a reminder of what may happen if you are compromised.

Users can protect themselves by staying up to date with security fixes (coming through Software Update) and by being careful about what they give administrative power to (when the system probes you for your password). Don’t use shares that are entire boot disks. Finally, and this is how most users get bit, get your software from reputable sources such as software retailers and use version tracking services to get user feedback before you install it yourself. Do not use Limewire or any other P2P service to download your software. That’s how the last trojan (the Microsoft Office 2004 installer trojan) was spread. Trying to get software without paying for it is bad karma. Let this be another reason to not even try it.