Russell Shaw reports that there is now a new "attack vector" utilizing Java and Quicktime on a web page. This is basically the security bug that was recently found against MacOS, but it's actually not against MacOS per-se, but rather Quicktime. That means not only is MacOS vulnerable, but Windows is potentially vulnerable too.

From nist.org article:

Currently Safari and Firefox are confirmed vectors on the MacIntel OSX platform. Currently it is known that Windows Quicktime is vulnerable as well. What is not known is to what degree. If the attack is a buffer overflow an actual "exploiting the box" type attack may be OS specific. In other words Quicktime under Windows may simply crash or hang the computer if the same exploit code is used. Converting a buffer overflow in to a full fledged exploit takes time and is not always possible. But they did it on the OSX platform so it is entirely possible that someone can do it on the Windows platform as well. However, if the exploit simply takes advantage of a function built-in to Quicktime than the current exploit may work on both platforms.

The mitigation for this issue?  Disable Java, Uninstall Quicktime, or if you're a Firefox user, use the NoScript extension and ensure Java is disabled on untrusted sites. Not getting rid of Java or Quicktime, but I sure use NoScript. Yes, it's a pain, but these kinds of issues are precisely why I am willing to go through the trouble of running it.

Presumably, Apple is now aware of this issue and is working quickly to patch this issue both in Windows and MacOS.

Everyone blew this supposed "Mac" security issue out of the water, it seems. The Mac was "hacked," but it wasn't exactly specific to the Mac as the issue could be replicated in any browser on any system. It was a local exploit, at best, and it involved cross-site scripting, something that is inherently dangerous on all computers.

Please let me know when the Mac can be remotely rooted, though. That will be some serious news.

I am currently taking a CISSP Prep class online thru Global Knowledge. They are using a tool called iLinc for the class, and I have to say, I'm throughly unimpressed with the experience.

First off, the voice quality frequently goes from mediocre to worse. When the instructor drops off and comes back--which happens on more than one occasion--when the voice comes back, it chipmunks big-time until the voice buffer clears and everything returns to normal. The iLinc client has crashed on my relatively vanilla Windows XP machine a half-dozen times. Oh yeah, it requires Internet Explorer, which means Windows only. Yuck! The chat client stinks and they do a lousy job of providing ways for participants to give feedback. In a previous online class I took with Global Knowledge, they use a tool called Interwise, which required installing a Windows client, but seemed like it was much more stable.

Probably my biggest complaint with the whole experience is the instructor's Internet connection, which seems to be causing at least some of the issues. But it really sucks whatever it is.

Meanwhile, next week, I will be starting an online class with SANS on Intrusion Detection Systems. Their online class tool seems to be Java-based and should work on the Mac, which I would prefer for obvious reasons.

I've also played with WebEx, Lotus Sametime, and Windows LiveMeeting. They all have their issues. None of them provide an optimal experience and they all certainly aren't cross-platform. I do want to check out Unyte Meeting, which is working on a new version that has gone into public beta. The pertinent deets from their press release:

WebDialogs¬†is seeking users to participate in the beta test, which will run through April 25, 2007. As a registered user, participants can sample Unyte Meeting‚Äôs unified voice, video and Web conferencing capabilities without charge for up to 1,500 minutes or until April 25‚ÄĒwhichever comes first. To sign up, visit¬†http://www.webdialogs.com/umbeta/¬†

Unyte Meeting Spring ’07 is faster, yet still completely browser-based, with no downloads required for hosts, presenters or participants. The service is based on WebDialogs’ proprietary conferencing technology that is currently used in the market today by more than 200 brand names through 70 partner agreements.

I did play with their Skype remote desktop product, which I was suitably impressed with. Still waiting for them to come out with a Mac version of the "host" part of their application--the Mac client piece worked fine.

Meanwhile, all this training is paying a price on my ability to blog, so continue to expect light blogging over the next couple of weeks.

In my past life, I did a heck of a lot with Check Point FireWall-1, now called VPN-1 Power or something. I don't do much with it now except for use their VPN client to access work, but I do spend some of my day job reviewing stuff other people write about it.

One of the things I have to do in order to use my work computer on my home network is to actually allow my work computer to access a couple of things at home: namely my Mac sitting right next to it and my network printer. Unfortunately, the combination of the VPN configuration and the firewall software loaded on the laptop make this a challenge, but not difficult.

One of the things the VPN does is add all these routes to the routing table that essentially override the local routes. Now I can see why an enterprise might want to do that, but if you want to access local resources, then it creates a challenge.

What I was doing to correct this issue was doing all this by hand: looking at the routing table, removing the offending routes, and adding a few others. In smaller environments, the routes are going to always be to the same default IP. The problem with the implementation I am working with is the nexthop for these routes has a habit of being different each time I connect. I needed to look at the routing table manually before doing the surgery on it. The end result was that I could access the machines I needed.

Today, I got the bug to automate all this, so I decided to write a Windows Batch file to accomplish all this. Apparently, this was harder than I thought, but I wrote a batch file that:

  • Looked at the routing table for a route I know the VPN will set. Fortunately Windows allows you to print only a specific route.
  • Parse out all the junk that gets printed in addition to the information I wanted. This parsing turned out to be the most difficult, particularly in getting the information¬†out¬†of a FOR loop.
  • Set routes, which is relatively easy once you have the information.

And FTW, I decided to also add in automatically logging into SecureClient. One batch script logs me in and mucks with the routing table. To find that information, I had to refer to a tome I wrote nearly four years ago. Yes, I know it was published in 2004, but I did a lot of the writing for it in 2002/2003. Damn publisher lead times. Anyway, I looked in a more recent Check Point book (on NGX) that I had lying around and it didn't even cover SecureClient on the command line. It's not the first time I found something in my own book that hasn't made it into other, more recent books, either.

Anyway, I am happy to say it's all working just fine. I do miss being able to use my SecureClient GUI (enabling CLI mode disables all that stuff), but I like how much easier the entire logging on experience is now. For those who are interested, I am posting my batch job after the break. If you're interested, click on thru and read my handy work.

@REM kill Echo
@echo off setlocal EnableDelayedExpansion set SCC="C:Program FilesCheckPointSecuRemotebinscc" %SCC% setmode cli rem %SCC% disconnect %SCC% up username %1% %SCC% connect "VPN Profile" %SCC% status %SCC% ep @REM Trying to pull out VPN route and mess with routing table @REM @REM Did we find the netmask line? set hitnetmask=0 @REM Let's pull out a route I know will be there: @for /f "tokens=3" %%i in ('route print 192.168.0.0') do ( @REM After we found the netmask, the next thing we get is the route we want @REM and make sure we get out of dodge if !hitnetmask! EQU 1 ( call :set_nexthop %%i GOTO :found_route ) @REM The next line after the "netmask" line is the one we want. if "%%i" == "Netmask" (call :set_hitnetmask) ) :set_hitnetmask set hitnetmask=1 GOTO :eof :set_nexthop set nexthop=%1 GOTO :EOF :found_route echo Nexthop is %nexthop%, deleting/setting the routes appropriately echo on route delete 192.168.0.0 mask 255.255.255.0 %nexthop% route delete 192.168.0.2 %nexthop% route delete 192.168.2.253 %nexthop% route add 192.168.2.253 192.168.0.254 @endlocal
Reblog this post with Zemanta

Being that I am in the Bay Area, and my Aunt and her kids live down in the Santa Cruz area, every once in a while I feel the need to go down there and see them. This time, I even gave them more than a few hours of notice that I was coming so I could see at least one of my cousins, whom complains she never gets to see me.

Anyway, after the usual discussions about my mom, the rest of the family, politics and religion, the conversation drifted into computers. Apparently, my uncle had bought a Linksys WRT54GS and was trying to use his laptop in the living room. He had bought one of those WiFi repeaters that Linksys sells because he was having signal issues. He was worried, rightfully so, about not having any of this secured.

The Linksys WiFi repeater is particularly difficult to configure, since it has no Ethernet port. It's even worse when you are trying to use it with WPA. I eventually gave up using it myself. I found that proper location of the WiFi router, hi-gain antennas, and third-party firmware such as DD-WRT resolved the vast majority of my issues. The main reason for the third party firmware: the ability to adjust your transmit power to at least 50mW. Unfortunately, he has one of the newer WRT54GS units. You know, the ones Linksys neutered so that it is difficult to flash third party firmware on them. Still, antennas and orientation will work wonders.

Later on, I had pulled out my MacBook to show some photos and videos I took with my various Nokia handsets. They really liked the FrontRow interface of the Mac. After we finished with that, I had iStumbler running and picked up a half dozen WiFi access points--most of them on channel 6. Of course their access point was also running on channel 6. I suggested changing to either channel 1 or channel 11. Of course, I suggested killing that WiFi repeater because even I have a problem configuring that thing. I can't imagine my uncle, who is a semi-computer literate person in his 60s, trying to accomplish this.

Then we got onto the whole spyware/virus/cookie thing. Like most people, they are running on their computers as administrator. That's dangerous, even for someone like me who knows what they are doing. It is not a very good idea for most people to operate in that fashion. Of course, Microsoft and application vendors make it difficult to do properly. You should also use Firefox instead of Internet Explorer and/or configure Internet Explorer with safer default settings to reduce your exposure risk.

Because the above was a lot of information, I am going to summarize in bullet form with links to tools and articles.

WiFi Hints

  • Don't buy a repeater. They are almost¬†never¬†easy to configure.
  • Buy a higher-gain antenna set for your router. If your router doesn't have detachable antennas, get a router that does.
  • If you have a Linksys WiFi router, vertically mount the unit on the wall so the antennas and the rest of the unit is a flat plane. This maximizes the router's ability to broadcast. You may need a Linksys SM-1 mounting bracket to accomplish this. I bought them on eBay, but you can get them on Amazon.com and other places.
  • Check what channel your neighors are using. Pick a less-crowded channel. Channel 6 is the default for most routers. Use a tool like¬†NetStumbler¬†(PC) or¬†iStumbler¬†(Mac) to find out what WiFis are in use in your neighborhood. Look for routers in channels 1, 6, and 11. Choose one of these three with the least amount of routers.
  • If you're willing to spend money on new cards¬†and¬†new routers, go get one of the Draft-N WiFi routers and cards (from the same manufacturer). Your range should improve.
  • Configure your router to use WPA. Use a totally random, long, secure passphrase from¬†grc.com/passwords.

Protecting Your Windows XP Box

  • If you haven't already, make sure Service Pack 2 is loaded.
  • Enable the firewall¬†if it's not already.
  • Use¬†Firefox!
  • If you¬†must¬†use Internet Explorer, set your default security settings in Internet Explorer to HIGH. This can be done under Tools > Internet Options > Privacy tab. This will prevent sites you don't explicitly trust from running ActiveX controls, Javascript, or anything like that. You can then click on the Sites button to add the sites you trust. Yes, this takes a little due-diligence on your part, but you really block against unwanted things entering your platform via Internet Explorer.
  • Use Limited user accounts on Windows XP. Each person that uses your PC should have an account that is a Limited user. This should stop¬†most¬†malware from doing anything¬†to¬†the computer aside from possibly deleting user data. It also prevents¬†stupid user mistakes¬†as well. They can still run programs, of course, but they cannot be permanently installed by a Limited user. One¬†administrator account should exist on the computer, but nobody should use it on a regular basis except to install new software or browser plugins. User accounts can be edited by going to Start > Control Panel, then click on User Accounts, and then either create new accounts as appropriate, or editing the existing accounts and clicking on "Change my account type" and setting the type to Limited.

Of course, after my uncle and my cousin saw how sexy my Mac was, how you could also run Windows on it, and how easy it was to use, they were thinking maybe they'd buy a Mac next. Considering the price isn't all that different nowadays, it's worth it to buy a compuer capable of running two operating systems (MacOS and Windows) instead of just one (Windows).