Grand Stream Dreams blog

...soaring up...chasing dreams...what would I do if I caught one...

Calling H-Town Techies: Help Save our Laptop!

One quick request for Houston-area Tech repair knowledge.

Seems that over the last few weeks, our Gateway laptop has been sick.  The screen was flickering and it was going on/off battery-power even though plugged into the AC brick.

At first I thought it was the AC cord up by the plug, so I picked up a replacement adapter/plug set but that didn’t help at all.

Now I am certain that the DC plug has been damaged. 

For a while I could do a funky cousin to the old-school rabbit ears tweaking and by putting the cord a certain way and putting just a certain bit of pressure, the AC power would flow steady.  Now that is next to impossible to do.

I’ve done some research and though I am bold enough to try a motherboard swap on the laptop, I’m not yet ready to drop approximately $400 for a replacement just yet.

I am NOT brave enough to attempt a re-solder job myself.  But I don’t think the issue is with the pins.  From some web-searching, I think that these units (and similar brands) are using a plug that had slightly more brittle plastics and the component itself is cracked.

I’ve done some research and it looks like there is an outfit down in Webster that seems like it can do a replacement of the DC plug.  Unfortunately, they’ve been closed during the holiday season so I haven’t been able to contact them just yet.

I’ve also found a shop up in the North East that specializes in these as well, but I really would like to try to stimulate the local economy first (and avoid the ship-off).

Do any of my Houston tech readers have any recommendations for a reputable shop in the Houston-Metro (south/east/southeast preferred) area that could replace the DC plug on the laptop systemboard?

I’d really appreciate any leads as it turns out I have grown more attached to this laptop for blogging than I would like to admit.  Lavie likes it as well as that means I can sit with her in the living room and not holed up in the study on the desktop system.

I’m planning on yanking the HDD from it first (for security).  I figure the system will still power up and hit the BIOS so that should be sufficient.

Danke!

--Claus V.

Merry Christmas and Happy New Year!

I hope your Christmas holiday season has been as enjoyable as ours around the Valca homestead.

I have purposefully worked to not spend much time on the computers this year.  I think this decision has been a good thing from me and the girls.

With the exception of picking out digital family pictures and bulk post-process formatting them for transfer to the digital photo-frames we got most of the family, I think total hours logged on-line has been under an hour this past week.

Amazing.

That’s not to say we have been completely devoid of tech in our holiday time.

Little bro decided we needed to adopt a homeless Sony Bravia 46” flat-screen HDTV.  We happily accepted it even though it hasn’t been housetrained  yet.  Although truth be told, he actually gave it to Alvis’s hamster.  Lucky rat.

It was quickly put to work displaying multi-hour long jam sessions of Guitar Hero with the two axes we got as well.  Family time has never been so intense!  When we went over to Lavie’s uncle’s place for the extended-family get-together, a Wii version of GH was also set up and kids of all ages (grandparents to the mini-me’s) took turns all afternoon and night long on it.  It really is funny how this game appeals to everyone!  I’m still trying to graduate from the “Easy” level.

We go back to work this week (except for the 1st) and then one last round of family holiday visits and then back to the comfort of our family routines.  So please expect the posts to pick up again by the end of next weekend.

Hope everyone is well and best wishes for the new year to you and all your loved ones.

Cheers!

--Claus V.

Early Monday morn Linkfest: Utility Focus

Looks like this posting session might stretch into the cold and windy wee hours of the morning.

I just can’t help but share!

Goodness me.

CLI Tips

Always on the lookout for arcane but useful CLI tips I found these this past week:

  • Run cmd.exe as Local System in Safe Mode – TinyApps blog. Great tip from Miles on how to load a command-line window (cmd) session in LocalSystem Account while in Safe Mode. That is something that isn’t normally possible. From Miles’ more thorough accounting in his post:

Here are the combined steps (which assume you are booted into Safe Mode):

  1. Add a key to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SafeBoot\Minimal named lscmd or what have you.
  2. sc create lscmd binpath= "cmd /K start" type= own type= interact
  3. sc start lscmd
  4. A new cmd.exe window will open with LocalSystem privileges. When you are finished, close the window, delete the registry key you made, and delete the service: sc delete lscmd .
  • Batch Files, Task Scheduler and PSTools – and a EULA? - Ask the Performance Team. I love Sysinternals tools and they work great. However you may have noticed that some tools launch (for the first time run) on a system by popping up a EULA to clear first. If you are trying to fire them off via a batch-file or Task Scheduler, they might fail due to the need to accept the EULA first.  The Performance Team provides two clever workarounds.  One involves dropping some registry keys to show that the EULA was agreed to, prior to executing the file.  The other involves passing the Sysinternals tool a –accepteula argument as well.  They note this may or may-not work on all tools.

Clearly Chrome (with a Foxy tease tossed in)

GSD commenter “comment gravity well” has been keeping me on my toes with Chome/ium lately!  I had teased that I had found two neat new Chrome/ium related items this week and was reminded in the process that I had to go back and check progress on some other related items I hadn’t spent time with lately.

  • Chrome Privacy Guard (CPG) - Die Milchtüte - (freeware) – Mini utility that strips out the unique ID from each installed build of Chrome on a system. Most users of Chrome don’t know about this feature or if they do, could care less.  Some however would like a little more privacy and to be free of this “feature” for Chrome.  Source-code available from site for inspection. From the developer’s description:

…I wrote a small tool that automatically deletes the unique Client ID before each run of Google Chrome.

People that never close their browser will obviously not benefit from that tool. In the future you should always start the included ChromePrivacyGuard.exe instead of the original Chrome executable. This tool scans the "Local State" file inside the Chrome directory and removes all informations regarding the Client ID and afterwards automatically starts Chrome.

In any case you should also disable the option inside Google Chrome to allow it to send statistical data to Google.

  • UnChrome - (freeware) – An alternative tool to remove the Unique ID from Chrome.  Closes source and you get a pop-up ad for the developer’s other software offerings as well.  Your choice.  Spotted via Download Squad.

  • Iron - (freeware) – This German build of Chrome/ium is for privacy (though not an anonymizer) fans in that it strips out not only the Unique ID from Chrome, but a host of additional concerns and “features” that Chrome brings with it. “comment gravity well” also adds that it has some rudimentary ad-blocking as well.  I’m going to have to play with this one a bit.

  • Greasemetal - an Userscript Runtime for Google Chrome – Adds some additional custom functionality to Chrome.  Not quite at “Add-on” level like one would think of with Firefox, but some of the scripts can add some additional features.  Your mileage may vary.

  • Mozilla Firefox, Portable Edition 3.1 Beta 2 Released - PortableApps.com – Just in case you wanted to see what all the fuss was about with Firefox 3.1b2 but didn’t want to hose or risk damage to your existing 3.0.x installation.  This is a safe way to test and play.

USB Tools and Utilities

I love a good utility to help with USB devices.  I’ve found some new ones and am reposting some oldies but goodies!

  • PAR – EjectUSB - (freeware) – Clever little utility that assists you in automatically shutting down any running programs that might tie into a USB device and then eject the USB device in question. From the developer’s description:

Designed to be a simple utility to close all programs running from a specified drive or folder and then attempt ejection if a drive was specified. Extended functionality includes flushing the file cache, closing Explorer windows and removing registry entries and Recent Document shortcuts referencing the specified drive or folder.

  • USB Disk Ejector - (freeware) – Nice, simple and works the majority of the time. Provides a “real-world” GUI window that offers up a clear image and description of the USB device you are trying to eject.  Helps (but isn’t perfect) about cleanly ejecting USB devices without some of the hangs that sometimes occur using the Windows USB ejection method. For stubborn cases keep reading this section for a better alternative. I use this one almost daily as I have a number of USB storage devices connected to my work system and was often ejecting the wrong one!
  • AutoRunGuard - (freeware) – Neat little batch-file/executable combo that allows you to set your system to auto-scan an attached USB drive for virus/malware (and then some).  Really cool and not nearly as challenging to use as you might think. More at this recent GSD post: Grand Stream Dreams: USB Security: AutoRunGuard, Encryption ...
  • USBDeview - (freeware) – NirSoft application that lists all USB devices currently and historically connected to your computer. Lots of detailed log information. Must carry application.
  • USB drive letter manager – USBDLM - (freeware) – Neat little sysadmin’s friend that (with a bit of INI file modding) can force USB devices to use a particular drive letter, or range of drive letters. It has a few more bells and whistles, but that pretty much covers it. Not a regular tool, but folks who do network drive mapping might find it useful and handy.
  • Desk Drive - (freeware) – Blue Onion software helps you mange your USB devices by allowing quick access to your inserted USB storage contents.  When running Desk Drive adds a desktop icon pointing to the drive.  When the device is removed, the shortcut goes away. Perfect!
  • USB Image Tool - (freeware) – Use this neat tool by Alex’s coding playground that simply and easily creates images of USB flash drives.  From the website:
  • Features

    • create image files of USB flash drives
    • restore images of USB flash drives
    • compressed image file format
    • show USB device information
    • manage favorite USB images
    • command line utility

  • USB Safely Remove - (freeware) – Amazing tool that not only gives you “real names” for USB devices so you can remove them correctly and accurately, but it also provides detailed information on what process/files are keeping a USB device from ejecting and the ability to close/terminate that process first, set custom autorun scripts to execute before the device is ejected (say make a backup), command-line support, eject memory cards (and not the reader device), and remove “phantom” memory card drives, and a host of other tools. Awesomeness for USB device wrangling. Giddy-up!

Windows Live Writer – Update

Yep. Most everyone’s favorite blogging tool has just gotten another update.  This might be the last before it goes “gold”!

I can’t tell much of a difference between this one and the previous version I was using. The link has a change-log of sorts, but most of those features I either wasn’t interested in using, or thought they already had something similar going already  I still dislike the lightened color-bar customizing. It is way too washed out an effect than the previous versions.  I also am bummed I can’t seem to customize the toolbar nor am I offered a quick-pick for font-color changing. However, minor quibbles aside, it’s still the strongest blogging tool out there (IMHO) and I use it exclusively for all posting.

NirSoft Updates

If it’s from Nir, it’s all good! Here are the updates on particular utilities that interest me.

  • PingInfoView version 1.20 -- Great tool that allows Pinging to multiple host names/IP addresses.  Updates include New column: % Failed, and new options: Beep On Failed Pings and Put Icon On Tray.
  • RegFromApp version 1.15 – Allows monitoring and generation of RegEdit .reg file from Registry changes made by a monitored application.  Multiple updates include automatic stop when the process that you inspect is terminated, remembers that last sort in select process dialog-box, added new command-line option: /AttachProcess, automatic save to .reg file and exit when the inspected process is terminated (/AutoSave in command-line)
  • WirelessKeyView version 1.20 – Use this tool to recover lost WEP/WPA keys stored by Windows Wireless Zero Configuration service.  This update allows extraction of the wireless keys from an external instance of Windows XP (in Advanced Options) which could be useful to investigators or sysadmins.
  • WirelessNetView version 1.12 – More wireless fun that monitors wireless networks in your area.  Now provides a new option: Beep On New Network.
  • MozillaCacheView version 1.16 -- - Great and handy tool that simply and effectively displays the cached files of Mozilla/Firefox browsers. Nir does some deep under-the-hood repair work on this one and has added a 'Hide Missing Cache Files' option as well as fixed a serious bug in that for some systems, MozillaCacheView didn't display all cache files. Oops!  Now all better!

Happy Holidays!

--Claus V.

Late Sunday Linkfest: Focus on Security

Wow.  What a busy last couple of days!  I’m only now coming up for air.

Been playing taxi taking Alvis to school and picking her up early as she has short days due to finals.

Then there was that two-day jaunt through the piney woods up to Jasper, Texas for an extended family wedding.

Today Lavie and I started some of the Christmas shopping. We made a small dent but much remains to be done.  I always start to get a bit stressed out during this time, despite all the reminders (at home and church) of what the real focus needs to be.  I guess I want to be sure everyone is taken care of and happy, so I sometimes over-extend myself.

Expect a slightly lighter posting around the place as I try to pause from time to time.

Somehow I think I won’t be alone….

Here are some security bits that I picked up this week.

  • Microsoft Security Bulletin MS08-078 - Critical: Security Update for Internet Explorer (960714) – Microsoft released an out-of cycle patch for a serious flaw.  Go get your Windows Updates if you haven’t already.  Applies to almost every recent and upcoming Internet Explorer builds.

  • The Security Development Lifecycle : MS08-078 and the SDL – Microsoft opens up a bit and lets it team share a bit more technical data about the flaw.  They go into the specific reason for the flaw, why it wasn’t identified sooner (by them) and supposition on how it might have been discovered in the wild.  More for code-heads, but still it provides some insight into the bug-finding and patching process.

  • Memoryze - (freeware) – MANDIANT’s new tool is a “…memory forensic software that helps incident responders find evil in live memory. Memoryze can acquire and/or analyze memory images, and on live systems can include the paging file in its analysis.” That link contains a full summary of features.  It also is able to run a full battery of actions against “…live system memory or memory image files – whether they were acquired by Memoryze or other memory acquisition tools.”   Mandiant also details other uses for this tool such as traditional memory forensics, incident response support, malware analysis, reverse engineering, and rootkit  and hook detection.  One thing I’m not sure of (yet) is how this fits with “do-no-harm” forensics works as the download appears to be an MSI  installer and must be installed and run on the live system.  On a forensically captured system, the install process would by necessity overwrite captured drive space, and by it’s very presence, possibly alter the system/memory you are attempting to capture  I don’t know if it has a “portable agent” component like their Mandiant Red Curtain - Incident Review Software (GSD Post review).  Anyway, looks interesting and I’ll be playing with it more in the coming weeks.  Spotted over at gaetano zappulla’s soup

  • Volatility seems to be one of the premier memory acquisition and forensics tools out there at the moment.  I guess this is what Memoryze is “competing” against.  It’s another tool I haven’t had the pleasure of getting my feet wet in yet.  However it looks like it could be useful in dealing with incident response and malware analysis as well.  I did see word last week that it might have some    very specifically arising memory sample data corruption issues.  As this isn’t my area of expertise by a long-shot, I can’t say much more about it than that.

  • Lavasoft Anti-Virus Helix – This was curious.  At first blush, it appears that Lavasoft (of Ad-Aware anti-malware fame) is now releasing some new and cool anti-virus scanner as well.  No it is not free.  However, users knowledgeable in consumer AV products might be wondering where they have seen that GUI before..  Turns out that Lavasoft has just rebranded Avira AntiVir Personal which is a free product.  I imagine that that Lavasoft paid version offers a few more features like it’s paid Avira personal AV product as well so comparison to the free version isn’t quite accurate, but it is darn close..  However, I really can’t see much reason why folks would spring for this one over the Avira AntiVir Personal (free) version.  I guess Lavasoft is just trying to work on its security suite-building and feel it needs to offer an AV product as well.  For more details on this whole Lavasoft Helix/Avira AntiVir thing and comments from Lavasoft, see Ad-Aware gets an antivirus cousin over at the Download Blog.

  • Helix3 – forensics “LiveCD” -  I’ve had this in my software kit for many years and really love it.  The version 3 is very polished.  One tool in particular that I have found on it is called Pre-Screen/SearchIt and was developed by Paul Bright over at the NCIS. Basically it allows you to scan a drive/folder for a variety of image files to determine if any items are found that may warrant a deeper inspection of the system.  It’s a cool and very tiny little application.  Despite all my attempts, I haven’t been able to locate a download source for it other than snagging it off the Helix ISO file itself (download).  So I don’t know if newer versions exist.  In my use of the GUI on systems it still seems a bit buggy and hung up if i got too deep of the main menu options on both Vista and XP systems.  I also did some more looking if other similar (and free) software existed but didn’t find anything close.  It seems to be a bit slow on scans from my usage.  Does anyone know of any other alternatives I could try?  I know there are a lot of large graphic/thumbnailers out there but this one seems to not leave any “trace” on the local system when running and doing its thing.  Paul’s done a great job on this tool and I am grateful for his sharing with the community.  I’m no coder so I can’t critique it too hard and don’t mean for this to come across wrong, but I wonder if someone could write a bit faster and slightly easier to navigate tool to index major graphic image files on a system and display both a listing and adjustable thumbnails.  It may already exist, and it is also possible that Paul has a newer non-public version out there as well of his tool.  It just seemed so close to perfect greatness with just a little bit more tweaking and performance gain.  Alas, I also haven’t had time yet to snag and play with DEFT Linux computer forensics live cd.  It’s also on my “to-do” list this week.

  • Windows Viewers & Information Extractors for Various File Types - SANS Computer Forensics, Investigation, and Response blog. Great and most wonderful roundup of many, many tools to assist with system information extraction, file handling, and file viewing.  While I did have quite a few of them in my toolbox already, I came across a number of new and curious tools that will demand more study such as NavRoad Offline HTML Browser, GlobFX Swiff Player, Wimpy FLV Player, Exiftool, and Pinpoint Metaviewer.  That last one has a number of additional interesting apps from the developer to check out also!

  • Case Study: Suspicious Network Traffic -  TechScrawl blog.  Brief but interesting review of tracking down some weird network traffic.  Lots of good points and observations.

  • Syn: The Story of an Insider - Part 3. Playing at CSI – SynJunkie wraps up this second “story” about a security incident and response.  This one is especially juicy as it shows how the aforementioned Helix cd is used by a sysadmin to do a live dd capture of a system, port it into a virtual session using Live View.  Live View is for VMware virtualization.  I wonder if a similar tool exists for Virtual PC or Virtual Box software.  Anybody know of any they could recommend?

  • ViewHTML.com – Neat little site that pulls in and displays the site-code of a web-page without you having to actually load it first in your browser.  I had been doing a Google search in Chromium earlier this week and landed on page that started out normally, then some javascript ran and I got a pop-up for a rouge security warning that locked up the browser.  Having dealt with these before, I knew none of the “cancel” or “exit” buttons would actually do that and the only one that would “work” was the live download button, which I didn’t want to use.  I was able to CTRL-ALT-Delete and pull up Process Explorer which I had set as my alternative task-manager.  Using that I suspended the Chromium process then killed it.  That got me safely away from the page. But now I was curious.  I wanted to explore the page-code, but didn’t want to muck around with reloading it in a Linux “LiveCD” session and I didn’t have my more hardened Firefox build at hand.  So I captured the URL of the website in question, fed it to ViewHTML.com, and it regurgitated the page-code safely for me.  Buried in there were a number of javascript calls and checks for browser versions with URL redirects that generated the rouge security product popup call.  Curious stuff.  So I reported the malicious URL to a number of anti-malware tracking sites for good measure and Net citizenship.

Enjoy your holidays!

--Claus V.

Custom Win PE Boot Disk Building: Step Two – PGP Injection

First please review the prior links in this series.

The goal is to produce a WinPE 2.0 boot disk, that has PGP WDE driver support, and brings in a shell that is notches more sophisticated than the standard CMD window normally offered by WinPE 2.0. Oh yeah, and that works on Dell Optiplex 745/755 USB keyboards.

Note: I always do my PE/PGP/VistaPE building under an Administrator level permissions account, and all folders have security settings (and contained objects) set with full permissions for both “Administrator” and “Everyone”.  That seems to work with the least amount of headaches on both XP Professional and Vista systems.  Your mileage may vary.

PGP Prep-Work

Let’s lay the groundwork.

From Step One, we now have created the following folder (and contents) on the root of our C: drive:

c:\winpe_x86

Now let’s create two new folders on the root of C: that we will use for our PGP processing.

First create the following folder:

c:\WDE

Second create the following folder “PGP”

c:\PGP

Done?  Great!

Get the PGP Driver Files

You will need to have access to a PGP WDE Windows encrypted system for this next part.  That should be pretty easy because I’m assuming only system admins who support such configured systems would be taking the time and effort to do all this work in the first place!

Our systems use XP Professional, and my primary building is done on a XP Pro system as well.  However, Vista could also be used.  Regardless, go to that system and the files should be able to be found as follows:

c:\Program Files\PGP Corporation\PGP Desktop\pgpbootb.bin

c:\Program Files\PGP Corporation\PGP Desktop\pgpbootg.bin

c:\Program Files\PGP Corporation\PGP Desktop\PGPwde.exe

c:\Program Files\PGP Corporation\PGP Desktop\Stage1  (note “Stage1” is the filename with no extension)

c:\Windows\system32\PGPsdk.dll

c:\Windows\system32\PGPsdknl.dll

c:\Windows\system32\PGPwd.dll

c:\Windows\system32\drivers\PGPwded.sys

Copy each one of these files and place them into the C:\WDE folder.

Easy!

PGP PE Tools

Hop over to PGP Knowledgebase Answer ID 807 and scroll down to the “PGP Desktop PGP PE Tools” section.

You will need to download the appropriate ZIP file according to the version of PGP WDE you have deployed across your environment.  Be sure to pick the right one!

Download the ZIP file to your system.  I’m going to be using PGPpe990.zip

Now unpack, unpack, unpack the contents to the c:\PGP folder.

Note: that threw me off for a bit at first. See for some reason, the two files you need – pgppe.exe and pgpstart.exe are in a zip file, inside a zip file, inside a zip file.  So you will have to keep unzipping and unzipping, and unzipping until you can finally get at the two files inside.  Unless your ZIP program allows you to drill down inside them all and directly extract them.  Don’t give up, they really are in there!

When you are all done, you should now have the following files/folder:

c:\PGP\pgppe.exe

c:\PGP\pgpstart.exe

PGP PE File Injection

Now comes the fun part!

Open a command-prompt window. (Note: On Vista systems you must run the CMD window as Administrator-level.)

Browse to the c:\PGP folder

Run the following command:

Pgppe /winpe c:\winpe_x86\ c:\wde

It should only take a few moments and then if all goes well you will see the following return:

image

I actually ran a Process Monitor capture session on this some time back.  There’s a lot of activity going on behind the scenes. It basically mounts the winpe.wim file in a writeable mode, copies the special PGP files out of the folder we tucked them into their proper locations within the wim file, adds a number of registry keys, then dismounts the wim, saving the changes.  They packed a lot of activity into those command-line actions.

Do the winpe.wim / boot.wim file flip-flop

Last step in this stage is that we need to replace the winpe.wim file which will be our ultimate boot PE 2.0 wim with our now PGP WDE driver-injected winpe.wim version.

Open Windows Explorer and browse to the c:\winpe_x86 folder.

Copy the winpe.wim file there.  (This is the one we modified in the previous step.)

Browse deeper into the c:\winpe_x86\ISO\sources folder and paste it next to the boot.wim file already there.

Now move the boot.wim file in there out to the c:\winpe_x86 folder for safe-keeping.  It really is just a differently-named copy of the original winpe.wim file, pre-PGP driver injection.

Now go back into the c:\winpe_x86\ISO\sources folder and rename your updated winpe.wim file to “boot.wim”

You should note that the file size is now larger in the PGP-modified wim file version than the original.  That’s a good sign.

Hurray!  We are now done with this stage!

Pretty easy wasn’t it?

For Early Quitters

At this stage, if all you wanted was to have a plain-Jane WinPE 2.0 boot CD, all you would need to do are the following following steps:

Go to the Start menu and under All Programs find the Microsoft Windows AIK folder and launch Windows PE Tools Command Prompt, or open a command prompt and type

cd c:\program files\Windows AIK\Tools\PETools.

Then, type

oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso

(again, all one line)

An ISO file will be created inside the c:\winpe_86 folder.

With the ISO image file created, you can now burn the image file to CD.

However, while this will fit the bill, we have higher aspirations for our boot-cd.  Stay tuned!

Additional Notes:

More information on injecting PGP WDE drivers into WinPE 1.0, WinPE 2.0, Vista upgrade installations of pre-encrypted PGP WDE systems, and use with the XP Recovery Console can be found in this PGP Document:

Windows Preinstallation Environment & BartPE Tools – PGP Knowledgebase Answer ID 807

It also contains the CLI commands you will need to actually manually couple the user’s passphrase in with the pgpwde software you have added to the boot disk.

I’ll share them later in the process, but if you are curious check out the PDF file on that page.

Also, if you look carefully thought their PGP WinPE 2.0 building section, you will see that I’ve modified my commands/locations just a bit from the ones they recommend.  My method seems to keep things a bit more ordered, IMHO.

Next up?

Building a VistaPE base file set to work with.

--Claus V.

USB Security: AutoRunGuard, Encryption options, and Forensics

Deep into my earlier Security and Forensics Roundup: Heavy Version #2 post, I shared the renewed threat-vector of USB drives in general and the auto-run behavior in particular.

Then I immediately noted the need to get Alvis her own personal USB drive.

Great tips were offered by forensic gurus Hogfly and Harlan on dealing with USB security along with “Steve”.

That led to a minor post-post post NTFS Formatting an Imation USB Disk after which I received additional feedback from school IT administrator reminding me that Alvis would unlikely be able to use TrueCrypt at school due the fact the system-drivers would not load under the students’ restricted account policy settings.

So now I’ve had a bit more time to dwell (and research the subject) and am working on a few new angles worth sharing.

“Semi” Automatic USB device scanning – Foundation

From the first post comments, Steve suggested looking at Didier Stevens’ USBVirusScan which can be configured to launch an AV application when a USB stick gets inserted.

I did so and it looks like it could fit the bill. The way it works is (basically) you download the zip file and unpack.  Then you edit a .bat file to the specific drive letter and CLI path to executable you wish to run.  Set it all up and when the main-program detects a USB device loading, it triggers the pre-configured program to run.

See this Ditii blog post for some popular AV CLI commands to use: USBVirusScan: Automatic virus scanning, when plug in USB Flash Drive

As Steve (and Didier) suggest, this is great when tied to an AV/AM CLI supported software solution to scan the device in question immediately.

However, after reading Didier’s post, I (per usual practice) studied the post comments in depth looking for feedback and some additional practical applications.

Since some time has passed since Didier’s original post, the comments were filled with loads of comments.

And in them was an even better gem built on USBVirusScan.

And then there was AutoRunGuard

Dan McCloy took Didier’s work and expanded it in a pretty awesomely effective way.

But first, Dan shows his chops by breaking down the definitions and operations of Windows AutoRun, AutoPlay, and EDDC.  It really helps to clear up the finer points of what is going on.

Dan McCloy’s Autorun Reference Guide

Well worth reading the concise and organized page. Dan provides a number of strategies for reducing the effectiveness (for security gains) of AutoPlay and AutoRun

(Note: see also How to correct "disable Autorun registry key" enforcement in Windows – Microsoft KB953252)

Then Dan drops the bomb:

AutoRunGuard – freeware bat-file work combined with Didier’s USBVirusScan tool.

In its most basic default configuration, when a USB device is inserted, it opens a CLI window and asks you if you want to scan the drive, inoculate the device against future auto-run threats, or browse the device contents with Windows Explorer.

Cool.

However what takes Dan’s program off the chart is that with some careful cmd-file editing, you can edit it to respond based on a particular device’s volume name, treat cd material differently, do MD5-based authentication of drive items to ensure they were not altered or compromised, and much more.

I have to confess, even for a bat-file builder like myself it was a bit intimidating at first with all the stuff Dan crammed in there. But once I quickly identified the particular drive-letter to be used on my system(s) and had carefully read the attached help-file (well done I might add) I had the program configured in no time.

The setting that you are most likely to need to customize is the command line for your particular anti-virus scanner.  Following are some samples that may match what you need. 

Test it first by running the command exactly as shown except that you should replace %d% with a drive letter and a colon for this test.  Then in the AutoRunGuard.cmd file, scroll down about 135 lines to where it says,

:: [[ Modify the following line to be whatever your system needs for performing a virus scan. ]]

Then replace the setting in the following (set MenuCmd=...) line with the one that worked for you.

Note that the path and parameters that a program uses may vary from one version and edition to another.  You might try browsing your Program Files folder to find the actual .exe files.  Note also that some programs offer both a command-line version (text will appear in the AutoRunGuard window) and a means to call the normal scanning window.

Worked like a charm.

For boot to shutdown protection, add a shortcut for USBVirusScan to the startup folder (or schedule the event to run at login in Vista). It will be ready and waiting for your USB disk to arrive for scanning!

Highly recommended.

Curiosity

As I am currently testing VIPRE Antivirus + Antispyware and wanted to set it up as the target AV scanner for AutoRunGuard’s cmd file.

Although VIPRE wasn’t included in the sample listings for CLI templates, I did find Sunbelt Software Support Answer ID 1759 to guide me in writing my own.

VIPRE offers you the ability to run a scan from the command line scanner.
Note: Using VIPRE's command line scanner is an advanced feature and should only be used by knowledgeable computer users.

The following parameters are available for the command line scanner with the syntax: SBAMCommandLineScanner.exe [parameter]:
Parameter Description

/displaylocaldefversion - gets current version number of risk definitions
/displayvipreversion - gets current VIPRE software version number
/displaysdkversion - gets current SDK version number
/scannowquick - starts a Quick scan
/scannowdeep - starts a Deep System scan
/updatedefs - starts update definition
/enableap - enables active protection

However it didn’t provide information on how to run a scan on a particular drive/volume target. The scannowquick seems to totally skip all additional drives (non-system partitions) and the scannowdeep will get the USB mounted drive, eventually, as it scans ALL mounted volumes/partitions in the process. 

Thus, my line 136 of the AutoRunGuard.cmd file looks like this:

set MenuCmd="%ProgramFiles%\Sunbelt Software\VIPRE\sbamcommandlinescanner.exe" /scannowdeep "f:"

I saved it, launched the main USBVIrusScan executable, inserted my USB stick and then picked the option to scan drive when offered by the CLI window that appeared.

VIPRE began its (full) scan and about an hour and 1/2 later, all the drives including the USB one were scanned.

That’s a long wait in many cases for it to arrive at the USB device with VIPRE’s CLI options.  I might be done using the USB stick and have ejected it by the time it finishes, despite VIPRE’s speed.

I fired off an email to the product support team, and even though it was the weekend, the TIER 1 support rep responded later in the day confirming what I suspected. It appears there are no command-line arguments (documented/undocumented) that will allow a CLI scan for just a particular drive-letter.  That can only be set and handled with a custom scan via the program GUI interface.

That doesn’t help me (and I hope it can be considered as a feature in a future version of VIPRE), but all is not lost.  I will just have to use an alternative Portable Anti-Virus/Malware Security Tool that supports CLI drive-targeted scanning parameters. I listed a number of free ones to pick from.  Just ends up being another AV/AM tool to manually update DAT files for, however.

Users of other popular AV/AM tools won’t have that problem at all as most all support scanning just a particular drive via the CLI arguments they offer.

USB File/Volume Encryption - Revisited

As has been noted, TrueCrypt does require Admin rights to run the drivers, even if they don’t have to be installed.

I did find one alternative to TrueCrypt that seem to get around that limitation and might be a better solution for Alvis and other users desiring USB volume encryptions but working under restricted Windows accounts.

Rohos Mini Drive – freeware – Creates a hidden and encrypted volume on USB devices and does not require admin rights to run on any system. Nice. The interface is much more user-friendly GUI than TrueCrypt. Encryption algorithm: AES 256 bit key length. NIST approved. Size of encrypted volume is 1 GB. While not humongous, this should be more than adequate for the average user’s needs.  It also packs a virtual keyboard to attempt circumvention of any keyloggers. Learn more about it’s features and see screenshots.  Spotted on Download Squad.

I also found the following application that looked promising:

Cypherix LE Free Encryption Software – freeware – Similar to Rohos, this product (formerly known as Cryptainer LE) uses a 128 bit implementation of the Blowfish algorithm in Cipher Block Chaining (CBC) mode with a block size of 64 bytes. And you can create multiple 25 MB sized containers on your USB device. The interface is a bit more advanced than Rohos, but not quite to the TrueCrypt level of complexity. The USB portable version seems to be referred to as Cypherix Mobile.

Now for the administrator rights requirement test:

Can Cryptainer be installed without administrator privileges?

Unfortunately this is not possible. Cryptainer runs as a process within the Windows framework. It needs be enabled as well be started up and shut down on request. It is necessarily constrained, by the overall Windows configuration, of the client machine.
This in turn is derived from the security, permissions, to illustrate just one instance of the client machine.

Please note that while Cypherix Mobile cannot be used without Administrative Privileges, The full version (Cryptainer) can be installed on any machine, with or without Admin privileges.

Thus it doesn’t appear to fully fit the bill for students. Too bad, but less competition for Rohos I guess.

USB Related Security Matters

Expanding the USB device theme a bit more:

Prevent Your PC From Booting If Your USB Drive Is Not Inserted - MakeUseOf.com.  Beware! Here be dragons!  Varun Kashyap provides a clear--if not dangerous--way to create a poor-man’s SmartCard boot dongle.  Basically you set your BIOS (if supported) to boot from USB devices first, and move some critical Windows system boot files to a USB device (boot.ini, NTLDR and ntdetect.com).  When the system boots it looks to the USB device and reads the files needed. No USB device with needed files? No boot. Written for XP but should work in principle with Vista as well.

As the article points out, it isn’t “secure” in the sense that a system would be with a whole-disk-encryption method using either freeware software CompuSec or TrueCrypt.  As long as any advanced IT user had a LiveCD to boot the system with (Win PE or Linux) the files on the otherwise non-bootable system would still be accessible, quite easily.

The NOISY U3 Thumb Drive File Access behavior in Windows - SANS Computer Forensics, Investigation, and Response. Great post by J. Michael Butler using the older Sysinternals FileMon (now replaced by the more advanced Process Monitor) tool to capture U3 USB drive application behavior. He even identified a U3 activity log created under the user’s application temp folder containing dates, times and serial numbers. Neat!

Forensic Incident Response: Tales from the field – Great analysis from Hogfly of a malware infection response that also involves a USB drive and autorun behavior execution.

Forensic Incident Response: Old is new - Tales from the field – Hogfly details how old attack methods against the MBR and autorun files on removable devices are being repurposed for renewed system attacks. Good stuff, especially as new discovery techniques are matched against them!

Forensic Incident Response: Beware the key – Last one.  Reminder of applying common sense and some protective measures already discussed in this post against USB device autorun features.

Motto for the night: Plug up your holes before plugging into your USB ports!

--Claus V.

Security and Forensics Roundup: Heavy Version #3

070824-F-5957S-367

Public domain photo: taken by U.S. Air Force Senior Airman Julianne Showalter

Been a busy week in the security world this past week.

Lots of hurt coming up from the swamplands and lots of smack-back from the anti-malware forces.

Pull up a chair, it’s story-time from the trenches.

Malware and Rogue Security Products

Sunbelt blog points us to a recent whitepaper that look at the issues around classification of malware variants: Learning and classification of malware.  Just like virus and trojan classifications, to the average end-user, there seems little rhyme or reason in the way malware and viruses are classified. Adding to confusion, names given by one AV vendor may differ significantly from other vendors, leading to difficulty for both researches and end-users attempting to get uniform and detailed information from vendors.

It’s an interesting paper and while a deeply academic in parts, some sections could benefit both malware-busters and forensic examiners in behavior pattern descriptions and background. Working link to the 20-page PDF here.

FakeXPA... Journey of a Rogue and Win32/Yektel - the Other Kind of Rogue - Microsoft Malware Protection Center – Two short but sweet looks at rogue security products that attempt to lure users into paying for their software by use of fake false-positives and “official” looking Windows Security Center presentations.

The first post contains some new (to me) images where the rogue presents a fake "BSOD” graphic on screen and then a followup fake Windows “reboot” screen image.  While knowledgeable Windows users wouldn’t be fooled, unsophisticated users could easily be taken for an expensive ride “registering” the rogue product. The second post illustrates how a Browser Helper Object (BHO) can get installed and present warnings and alerts during IE browsing sessions eventually leading a user to “register” the rogue product online. Bad, bad, bad behavior!

There are a few security sites that seem to delight in uncovering and exposing these security rogues.  Malwarebytes blog » Rogues is one with a number of great catches. Sunbelt Blog is another great source. In fact, Alex Eckelberry has captures a year’s worth of rogueness on his 2008 Scareware perspective - a set on Flickr page.  I feel a bit guilty for enjoying it so much!

Many AV/AM products can remove a good number of these rogues including Microsoft’s Malicious Software Removal Tool (MSRT), Malwarebytes’ RogueRemover FREE and Malwarebytes' Anti-Malware programs, and Sunbelt Software’s VIPRE Antivirus + Antispyware program.

The Windows Security Blog – New blog from Windows. Anticipate more Windows Vista/W7 related security posts here.

Advanced Malware Examinations

For deeper explorations of malware behavior (always good to understand from both a preventative and incident response perspective) look no further than these articles. It pays to know your enemy.

MS08-076: Windows Media Components: Part 1 and Part 2 – Microsoft Security Vulnerability Research & Defense blog. Now fixed vulnerability that linked two issues to create a combined vulnerability.  Not going to be a common vector, but it just takes one event.

MS08-075: Reducing attack surface by turning off protocol handlers – Microsoft Security Vulnerability Research & Defense blog. Now fixed vulnerability in Windows Explorer in Vista and Server 2008 that was exposed through the search-ms protocol handler.  Required user interaction so this post provides information on turning off any protocol handlers you may not be using.

MS08-067: Worms, Worms, Worms - Ask the Performance Team blog.  Goodness knows there are lots of legitimate reasons your Windows CPU cycles can go off the chart.  It’s a Windows things. In some cases it could be due to malicious software.  This post looks at detecting specific malware that exhibits that particular behavior.

What makes Rustock tick? – Sunbelt Blog – Notice of a presentation by Sunbelt researcher Chandra Prakesh on the Rustock malware at a industry conference. (PDF and PowerPoint).  According to Alex Eckelberry, “Rustock is quite interesting, as it is a complex backdoor trojan that turns a compromised system into a covert proxy, using highly sophisticated methods of evasion.”

Who needs to watch “Law and Order” reruns on cable with this geeky investigative goodness?

Security FAIL

Digging Deeper Into the CheckFree Attack - Security Fix. Yep. For a while folks who logged into CheckFree bill payment system (host to over 330 companies). Attack vector appears to be a phishing or credentials hijack of a website administrator. Changes were thus made to the website and customers accessing the site were directed to a site that attempted a password-stealing application installation. No word if and how-many customers may have been compromised.  The post goes on to examine how this vector at the keepers of the keys may grow instead of attacks at the customers directly.  Good stuff

Yep. The otherwise useful MSRT actually ended up removing a few files from legitimate applications.  Microsoft pushed an updated version that corrected the failures a day later via Windows Updates out of cycle.

Now a word about that IE Zero-Day exploit thing…

Best I can tell at this point, it all started when a researcher found some malware in a Chinese forum that may have been used primarily for the hackers to steal credentials from Chinese gamers.  Or maybe not.

In the base-case, code exploits a bug in the way IE handles XML (Extensible Markup Language) and works on the browser about one in three times.

At first it looked like it was just an IE 6 thing on XP, but then it encompassed IE 7 on XP, and Vista platforms might also be impacted.  Now it appears that all versions of Internet Explorer from 5.x up to 8 betas are probably at risk.

Patch is still pending from Microsoft and most recommendations are folks to temporarily switch to an alternative browser including Google Chrome, Opera Browser, Firefox, or Apple Safari. If you haven’t tried one before most all should auto-import your IE bookmarks, but you can also try using the freeware Transmute utility.

For “official” word from Redmond see this Microsoft Security Advisory KB961051 which includes a number of workarounds (hint, look at the bottom of the expanded Suggested Actions section), although the risk is relatively low for users who practice safe computing behavior.  As summarized by rmogull at Securosis.com they are:

    1. Set Internet and Local intranet security zone settings to “High” to prompt before running ActiveX Controls and Active Scripting in these zones.
    2. Configure Internet Explorer to prompt before running Active Scripting or to disable Active Scripting in the Internet and Local intranet security zone.
    3. Enable DEP for Internet Explorer 7.
    4. Use ACL to disable OLEDB32.DLL.
    5. Unregister OLEDB32.DLL.
    6. Disable Data Binding support in Internet Explorer 8

Late breaking update: Clarification on the various workarounds from the recent IE advisory – Microsoft Security Vulnerability Research & Defense blog:

The vulnerability is caused by memory corruption resulting from the way Internet Explorer handles DHTML Data Bindings. This affects all currently supported versions of Internet Explorer. Malicious HTML that targets this vulnerability causes IE to create an array of data binding objects, release one of them, and later reference it. This class of vulnerability is exploitable by preparing heap memory with attacker-controlled data (“heap spray”) before the invalid pointer dereference.

Which workarounds should you apply?

The advisory now lists nine different workaround options. We have been adding additional workarounds with each advisory revision to give you more surgical options to cut off the vulnerable code path. Only IE8 has an option to turn off data binding altogether. So unless you are using IE8, you’ll need to:

  • (A) block access to the vulnerable code in MSHTML.dll via OLEDB, protecting against current attacks
  • (B) apply the most secure configuration against this specific vulnerability.

Optionally, you may choose to (C) make it much harder to heap spray.

The table…lists what type of protection each advisory workaround provides.

What is very beneficial from this late-breaking article is that it then goes into depth in technical discussion on why the various protection method workarounds work, and why some are “better” than others.  Neat and quite open material from Microsoft on a potentially impactful IE exploit.

Here is a roundup of what may be useful cross-referencing linkage on the IE exploit.

Forensic and Security LiveDVD goodness

Some GOLDEN find in Live boot disk compilations.  I carry several of these disks in my software kit, but these just might lead me to reduce the # considerably:

SUMO Linux – Combines Backtrack 3, Helix 2.0, Samurai Linux, DBAN, and DVL live distros into a single package.  How awesome is that!  Spotted via Room362 blog

MultiISO LiveDVD - Something for everyone - BadFoo.NET Pen Testing Shells -

…an integrated Live DVD technology which combines some of the very popular Live CD ISOs already available on the internet. It can be used for security reconnaissance, vulnerability identification, penetration testing, system rescue, media center and multimedia, system recovery, etc. It's a all-in-one multipurpose LiveDVD put together. There's something in it for everyone. I hope you enjoy it.

MultiISO LiveDVD Version 1.0 consists of Backtrack 3, Damn Small Linux (DSL) 4.2.5, GeeXboX 1.1, Damn Vulnerable Linux (Strychnine) 1.4 edition, Knoppix 5.1.1, MPentoo 2006.1, Ophcrack 1.2.2 (remastered to contain SSTIC04-5k [720MB] table sets), Puppy Linux 3.01, and last but not least Byzantine OS i586-20040404.

Spotted, yet again, via Multi-Boot Security LiveCD DVD – Room362 blog. That link also contains a link to a podcast review and more information.

Bonus Linux find: DEFT Linux LiveCD that contains Xplico; an alternative Sniffer/assembler from Wireshark and ClearSight Analyzer that combines many of the best of their features and capabilities.  Spotted over on the Eternal sunshine of the geeky mind blog’s: Network forensics beyond Wireshark post.

Yeah baby!

Crime and Smackdown Punishment

Nigerian Defense - Eternal sunshine of the geeky mind blog.  Really officer, I was duped!

CYB3RCRIM3 –new blog I discovered via above story.  Great writing and analysis on the intersection of criminal and civil laws and technology.  I lost a full afternoon just reading the many posts.  Interesting meter of just how laws and technology are changing each other.

Sunbelt Blog: FTC goes after Winfixer and Sunbelt Blog: The Innovative Marketing saga continues. From the first post:

At the request of the Federal Trade Commission, a U.S. district court has issued a temporary halt to a massive “scareware” scheme, which falsely claimed that scans had detected viruses, spyware, and illegal pornography on consumers’ computers. According to the FTC, the scheme has tricked more than one million consumers into buying computer security products such as WinFixer, WinAntivirus, DriveCleaner, ErrorSafe, and XP Antivirus. The court also froze the assets of those responsible for the scheme, to preserve the possibility of providing consumers with monetary redress.

As we used to say to the neighbor’s sweet boxer Rufus, “Sic ‘em!”

Miscellany

Syn: The Story of an Insider - Part 2. The Sys Admins Story – SynJunkie’s second story detailing an insider threat and the security incident response is getting into high-gear now.  I sense a collision coming on!

Windows Physical Memory: Finding the Right Tool for the Job - SANS Computer Forensics, Investigation, and Response blog. Wonderful roundup of many free and a few commercials tools that can be of use to both forensic investigators as well as curious system administrators.

Got Download?

--Claus V.

Browser Bullets: #3

Browser related items from the past week.

Commentary provided at no charge…

Firefox

Yep.  Firefox 3.1 beta 2 was released this week to the public and curious.  I duly updated my systems. It’s stable and fast on my systems.

  • First look: Firefox 3.1 beta 2, now with private browsing – ars Technica – Good master-review of the newest features and additions in this version.
  • Firefox 3.1 nightly finally gets linking in source viewer – ars Technica – Very minor but cool feature.  When you view source in a webpage, the source-code URL’s are now hyperlinked so you can do direct jumps as needed and no-longer need to copy/paste them into the address bar.
  • Privacy, tabs and web content overhaul in Firefox 3.1 Beta 2 - Mozilla Links – Wonderful detailed review of the finer updates and changes making their debut in 3.1 b2 including enhanced program updating information, new session-restore dialog window and feedback provides bad-site recovery isolation, multiple-bookmark management, tagging refinement, among many others.
  • Mozilla Project Weekly Status: December 8th -Firefox Extension Guru’s Blog – What’s next!
  • Tip: Dragging Current Page to Bookmarks Folder - Firefox Extension Guru’s Blog – Firefox 3.1b2 now brings “tab-tearing” to Firefox.  That could be a good thing but many Firefox users are likely to find a realm of issues getting used to this new “feature”.  Previously I drag-n-dropped tabs into bookmark folders for my bookmark capture.  Now with tab-tearing, this creates all manner of havoc. New Firefox windows for tabbed pages littered my system.  The Guru’s tip? Instead of using the tabs to bookmark, drag-n-drop the favicon for the page on the address-bar. Simple and it works.  Now if I can just unlearn my previous bookmarking habit.

First Ever Firefox Malware Attack? NOT!

  • Firefox extension used as password stealer? – SANS ISC. First wind blew in regarding a rogue Firefox Add-on.
  • Firefox Malware? – meandering wildly blog – Johnath provides information on the attack vector (users have to be tricked to download and install the bad .xpi file) identification (look in you extensions Add-on list).  From that post:
  • Does This Mean that Firefox is Insecure?

    No, and here’s why:

    • This particular malware targets our program, but once you have malicious software running on your system, it can just as easily attack other programs, or harm your computer in other ways.
    • This isn’t contracted by just browsing around the web with Firefox 3. In fact, the Malware Protection features in Firefox 3 are designed specifically to prevent sites from being able to attack your computer.

    The people getting infected here are either downloading enticing files that have the malware hiding inside (which is why Firefox 3 hands off all downloads to your computer’s virus scanner once downloaded) or, as some sites are reporting, people who have already been infected in the past having their computers forced to download this file as well.

    Typical Firefox 3 users who avoid downloading software they don’t trust are unlikely to ever see this, and even the sites reporting it describe its incidence as “rare”.

  • Trojan.PWS.ChromeInject.B – BItDenfender write up on the technicals.

Of course they make a really lame statement trying to appear cutting-edge in their response.

It is the first malware that targets Firefox. The filtering is done by a JavaScript file running in Firefox's chrome environment.

Many other tech-sites took up the salaciousness of this statement and in typical security consciousness on the web ran with that as the hook.

Umm. Not even close.

Lest we forget so soon, installation of malware into Firefox has been a rare, but not-unheard occurrence for regular Firefox users and watchers.

  • Firefox add-on contains malware - heise open source UK – Remember this one from May 2008? It contained malware in a Vietnamese language pack add-on for Firefox on the servers of the Mozilla project and had been floating around since at least February 2008.
  • FormSpy - Spyware program hooks into Mozilla Firefox - Harry Waldron - Corporate and Home Security.  This bad-boy dates all the way back to July 2006 and in fact is remarkably similar to the current version in that its purpose is “…monitoring the user's browsing habits, stealing information including monitoring and logging information from Web forms”

As Johnath pointed out, users who don’t download unsolicited software/add-ons via email enticements and who use common sense are in no way to be fooled. Those users who do this regularly probably already suffer from bigger problems, the least of which should be blamed on Firefox or any “vulnerabilities” of this particular sort.

Finally, attempting to bring calm to this misguided train-wreck is Dancho Danchev who hasn’t forgotten previous attempts with malicious xpi file add-ons.  He suggests the damage is likely to be minimal at best. From his Password stealing malware masquerades as Firefox add-on post over at ZDNet.

Despite the novel approach used, the malware would have made a huge impact if it were released several years ago when E-banking authentication was still in its infancy since plain simple keylogging is one part of the session hijacking tactics used. And while they will indeed obtain the accounting data, this is no longer sufficient for a successful compromise of a bank account. In comparison, the techniques used by sophisticated crimeware like Zeus, Sinowal and Wsnpoem undermine the majority of two-factor authentication mechanisms used by E-banking providers, since once you start doing E-banking from a compromised environment nothing’s really what it seems to be anymore.

Enough said.  Lest I begin to sound like an Apple fanboy.

Chrome/Chromium

A number of goodies here.

  • Official Google Blog: Google Chrome (BETA) – Official Google Blog – Recent updates have convinced Google to remove the beta designation on Chrome.  Well deserved.
  • Google Code - Browser Security Handbook landing page – Great write up from Google on issues related to web-browser security.  This is not Chrome specific and provides a wonderful read for technically minded folks on browser security.
  • Google’s Chrome Team Mulls Local File Restrictions – InformationWeek. Thinking here is that Chrome might be better locked down in the way it is allowed to handle and execute local web-page format files on the system.  It is sensitive for Web-hosted page files, but security permissions might be looser locally and could be used for malicious purposes.
  • Chromium Nightly Updater v1.2 – I don’t use Chrome, but Chromium instead and the nightly updates in particular.  Since the internal updater doesn’t function very good with these, I use this to help me keep an eye on the latest versions.  This update adds a number of great and needed features:
      • Now checks the last 5 builds to see if one of them is working instead or just the last one.
      • Better informational messages.
      • Fixed: The URL to the page listing the latest builds was changed by the Chromium devs, thus causing the updater to always report it [the build] as not working.
      • Fixed: In certain situations the build status could be reported incorrectly.
      • A few other minor improvements and bug fixes.

  • Just another chromium updater - Google Chrome Forum – Alternative version that does the same thing but has a different layout and some different features.
    • retrieve logs/builds information partially.
    • get the latest 20-30 revision record with availabe download links in just 20s.
      (this depends on your net speed, the faster your network is,the more records you get.)
    • upper-casing keywords(update, bump, fix... etc) in revision logs
    • simple download function.
    • copy file link to clipboard on doubleclick on the links

  • Chromium Updater v1.01 – One last updater that is pretty simple. Run, downloads latest versions and installs the update. As a control-freak I want to do the unpacking and installing myself, but for those who don’t care, perfect.

In other IE Vulnerability news…

Yes, I do know about that current “0-day IE exploit” thing, but this isn’t related to that one.

This involves XSS weakness found in IE 8 Beta 2.

Internet Explorer 8.0 Beta 2 Anti-XSS Filter Vulnerabilities – cgisecurity blog.  Reported by Rafel Ivgi, I can only hope this one gets fixed in the next IE 8 Beta release. As explained in the first link, quoted from the source second link:

"Aspect9 has discovered several vulnerabilities in Microsoft Windows Internet Explorer 8.0 Beta 2. This new version of Microsoft's famous browser includes new security improvements such as a Cross Site Scripting(XSS) filter. This version also includes a new object that safely allows transferring data across domains, allowing them to interact with each other.

The Anti-XSS filter has been found to have some security holes in the current implementation. Microsoft decided to filter "Type 1 XSS" which is free text send to the server being reflected to the user and therefore injecting HTML code into the website's page. They chose not to handle certain situations such as injection into a JavaScript tag space, which would be extremely difficult to filter. The software giant also chose not to filter injection into HTTP headers, which will drive hackers to focus on discovering CRLF vulnerabilities."

There you go!

--Claus V.

Mid-December Linkfest: Snowflake version

This past Wednesday night we Texas Gulf-Coast residents were treated with a very rare sight:

Snow.

It started coming down while we were at our church-house and on the drive back it was full flurries.  Visibility driving was something else.  Alvis had been soaked by antics while I was wrapping up some training (for me) on the software used to build and project displays during the Sunday services.

It was late when I got out and it was cold and I wanted to get home and cook dinner for the girls.  So instead of playing for a moment, we jumped in and got home quick.

The next morning (Thursday) most of the East-side Houston freeways and overpasses were shut down due to ice.  Our cars were covered with at least 4 inches of powder-grade snow as were all horizontal and some vertical surfaces.

I made a really horrible mistake that I have been chastising myself for the rest of the week.

See I should have paused being a responsible adult and taken  the moment (or hour) to have a snowball fight and do other stupid things with Alvis and Lavie.

Instead I diligently worked to scrape down the cars so they would be safe to drive, pre-warm them by running the engines, and fuss at Alvis to stay back because of the mud, water, and the rush to get her off to school.

Big FAIL.

Once all was contained and all were in their designated places of action, reality hit me Dad-style for missing a rare opportunity to play in thick and deep snow with the girls.

I mean how many chances do we have to do that?  Apparently only after a major hurricane hits us.  That seems to be the pattern at least (Rita-snow/Ike-snow).

Lesson learned and not to be forgotten.

Take a moment to play in the snow…then move on with life.

It will still be there waiting.

Linkage

Here are some miscellaneous links for you to play in today.  No mess no fuss.

--Claus V.

Utility Bag dump-out

Here are some updated and improved tools you might want to take a look at:

Process Monitor v2.03 – Windows Sysinternals - “This update to Process Monitor, a real-time file, registry, process and network monitor, adds the ability to import and export configuration settings, shows an icon in the operations column depicting the event class of the operation, and fixes a symbol configuration bug on Windows XP.”

Autoruns v9.36 – Windows Sysinternals – “Autoruns changes the Hide Microsoft Entries to only hide Windows entries, fixes a bug in the Find behavior, allows enabling and disabling entries using the space bar, and fixes a number of minor bugs.”

Process Explorer v11.31 – Windows Sysinternals – “This update works around a bug in the latest Debugging Tools for Windows debug engine DLL and fixes a bug that could cause objects to show up as <unknown type> when Process Explorer was run without administrative rights.”

CleanAfterMe v1.30 – NirSoft - Clean Registry entries and files in your system adds new options: Fill files with zero bytes before deleting them (In Advanced Options), Don't ask me before cleaning my temporary folder (In Advanced Options), New cleaning items for Outlook/Word/Office temporary folder.

SpecialFoldersView v1.05 - Nirsoft – Utility to easily jump to special folders in Windows now adds 'CSIDL Name' column.

DriverView v1.16 – Nirsoft – Utility that lists all device drivers currently loaded on your Windows system now adds new option to hide Microsoft drivers.

NetworkMiner V0.87 released – SourceForge- NetworkMiner is a Network Forensic Analysis Tool (NFAT) for Windows that can detect the OS, hostname and open ports of network hosts through packet sniffing or by parsing a PCAP file. NetworkMiner can also extract transmitted files from network traffic. Version update deals with bug fixes.

Anti-Malware Toolkit v1.06.157 – Lunarsoft – Acts as a central anti-malware/anti-virus tool and program downloader.  Select the items you wish to download and it will auto-download the files to appropriate folders.  In many cases, users must still “install” the applications locally, but this does  provide “one-stop” downloading for harried support staff.  From the author’s website linked above:

Changes:

  • [Added] Tab control added to user interface to access Main, Settings and About.
  • [Added] Proxy settings including username and password for authorization.
  • [Added] Setting to download into categories (E.G.: Applications, Definitions).
  • [Added] Option to save download path.
  • [Added] Ability to open download folder when downloads complete.
  • [Added] Settings are now saved to an xml file.
  • [Added] Regedit now available under Tools menu.
  • [Added] Auto-update feature and option in Settings.
  • [Added] Update status added in statusbar.
  • [Changed] Links menu contents rearranged. Windows Update now under Tools; PC Cleanup, PC Security and Lunarsoft links found under Help.

According to Download Squad this version now “…supports 37 different downloads in five categories, including:

  • Spyware: Spyware Blaster, CCleaner, RogueRemover, SUPERAntiSpyware, Malwarebytes, Spybot, Hijack This
  • Definitions: Avast, Avira, Spybot, Malwarebytes, SUPERAntiSpyware
  • Utilities: Dial-a-fix, JavaRA, Autoruns, Process Explorer, Rootkit Revealer, Unlocker, LSPFix, MS Malcious Software Removal, Windows Installer Cleanup
  • Uninstallers: Avast, Avira, AVG (x86 and x64), BitDefender, Kaspersky, McAfee, One Care
  • Recommendations: Firefox, Opera, Thunderbird, Avast, AntiVir, Comdo (x86 and x64), Auslogics Defrag, PageDefrag, UPHClean “

Blue Badge rev. 3 – Within Windows blog – This Windows7 alpha image hack tool now “…no longer patches system files, no longer requires administrative permissions, and is no longer locked to any specific build. It inserts all the known protected feature GUIDs as of build 6956 into the current user’s branch of the registry.” These unlocked registry override bits allow activation of various disabled features including "Aero Peek".

Go get updating kiddos!

--Claus V.

(In)Security Response: Room for Improvement

I gotta confess.  I’m a bit depressed at the moment.

No, strike that.  Depressed is a word too strong and connotative.  Maybe melancholy?

Hmmmm.  Not quite there.

Let’s just describe it as reflectively-frustrated.

That will do.

See, I’ve decided that our security responsiveness is kinda “weak”.  And I’m feeling the pull of duty to do my part to kick-it up a notch…and the extra work that will bring on.  And maybe some resistance as well if things are ever implemented.

Background

I don’t see myself as a John Wayne or Walker, Texas Ranger figure.  Sure, I did want to pursue a career in law-enforcement as a young-man and through college.  Even applied at the F.B.I. at one point and talked to a Houston P.D. recruiter.

I think that came from two sources; a deep sense of respect for my late maternal grandfather who was a commended F.B.I. Special Agent (old-school Fed), and a deep curiosity of figuring out things that I currently don’t understand.

My career choices haven’t led me down that path.  However, that curiosity has led me down deeper into the realms of computer forensics and incident response awareness.

Computer systems fail for numerous reasons and I’ve always enjoyed working on them without feeling intimidated in the least.  That led to side-duties in my earlier jobs as a local site pc first contact.  That led me to become pretty darn good on my own troubleshooting local systems.  That was noticed (my offices rarely called into the Help Desk) and I was successfully recruited and joined the IT department. My familiarity with the desktop OS’s led me to pretty quickly detect malicious software without needing to use the traditional “AV” scan tool, and I could remove most infections by hand.

Dealing with malware regularly as part of my job and the go-to-guy led to a deeper and constant review of malware write-ups and analysis by others as well as additional tools used to detect and monitor system processes and activity.  Some of the very best tools and techniques overlap in the computer forensics field.  So I began adding just such websites and blogs to my RSS feed list, always on the lookout to learn more to sharpen my skills in core OS support.

Evolution

Funny thing happens when you do that.  You might grow in unintended ways

Although the majority of my job duties as a SME (subject matter expert) now entail project management and knowledge-base/process documentation and development I continue to actively stay engaged in the the field and topics of OS workings and malware/virus response. I love the challenge it brings.

All those readings and knowledge gleaned from real experts in the forensics and incident response professionals (of which I am not) have rubbed off. 

I have become deeply sensitive to these things, and the standards to which we need to not only aspire to, but master and apply.

And in my role, I have a duty and level of organizational influence to try to do something about it for improvement.

And we probably have a very long climb ahead.

The Peaks

Way up in or organization we have a CSO (chief security officer) who has been doing a great job in bringing security awareness and application into our organization.  We are now working on encrypting all hard-drives org-wide, have a great security policy document on the intranet somewhere, use email encryption, set password policy, and clearly have focused on software solutions for a majority of security weaknesses.

Way over elsewhere we have a crack team of network professionals who do magical things.  They actively monitor and filter the network and are very responsive during high-impact virus/worm/trojan breakouts in our system, blocking infected systems from the network until cleaned.

Finally, we have a very clever desktop and server support group.  They work hard and long to ensure desktop images are patched and up to date.  They coordinate and monitor reports to find local workstations that don’t have current anti-virus defs loaded, as well as systems that have reported in with AV activity.

So here’s the problem.

Our local group of technicians and analysts are tasked with working with these groups and fixing the problems found.  And the vast majority of work in the incident-response plan is sending a technician out to the location, running various cleaning tools (AV/AM) to disinfect the system, ensure it is fully patched and AV DAT files are current. Period.

That’s the bulk of of local incident-response plan and procedure.

And I’m now painfully aware that isn’t sufficient.

  • No attempt to first isolate the system and capture an image of it for review.
  • No attempt to determine the date and duration of initial compromise.
  • No attempt to log and capture the malware/virus/trojan/etc.
  • No attempt to determine what (if any) information on the local system might have been compromised or lost.
  • No attempt to analyze the source and vector of the “attack” infection.

None of the standard incident-response actions.

Usually only if something really “icky” is found, or IT is independently notified by our inspector general’s division, or a special request for review comes in does our IT team scramble the jets and actively do a “incident” response.  But even then, I sometimes wonder if our response process would would meet professional forensic response guidelines.

On most all days and cases it’s just explore, poke around, “clean”, and if it is really yucky, just off-load the user’s data, wipe the system, reimage it, and put the data back.

Scary isn’t it?

How much information is lost?  How much “damage” occurs?  What knowledge is lost by the “cleaning and inspection” process performed on the system by our technicians?

How do we find a balance between getting the end-user back up and running quickly for production work versus performing a thorough incident response to assess what (if any) information leak or compromise has occurred?

Meditations

I know from experience that at the root this is a “cultural” issue in our organization.

Our local staff are low in number and we have a ton of work to do.

They haven’t been trained in incident response methodology.

We don’t have (at least at the local level) any process, procedures, or clear expectations for incident response.  In fact, we really haven’t even clearly defined the scope and impact of what constitutes an “incident’.  Clearly based on our responses, infection of a system with virus/trojan/worm/rootkit/malware is defined as a removal task, not a potential system compromise incident response.

I, D-Man, Mr. No, and the other senior members of the IT team do care and are sensitive to these matters and want to vastly improve what we do in this area.

We are blessed to have a manager whom we report directly to who is also very sensitive and responsive about these issues.

We just need to do our homework, create a incident response structure and plan that fits our environment, do training, and then foster an ongoing and enhanced sense of incident response and awareness.

Right now I’m culling, printing, and using my “free-time” at work to study up materials, incident response forms, policies and structure from the following sources:

Incident Response Resources – U.S. Security Awareness

Best Practices Guide (BPGL) – FIRST Forum of Incident Response and Security Teams

What got me thinking…

Not too long ago we had an incident where an automatic tripwire alerted me to someone with a Chinese IP address attempting to log onto various network devices.  Even though it was the weekend, I alerted D-Man as well as the network gurus.  It appeared no harm was done, and (apparently) this happens all the time and isn’t that big of a concern.  Based on my own analysis of the event and the sphere of control I have, I proposed making some password and ID changes to the specific devices.  That was acknowledged but changes have yet to be implemented.

I read NASA’s Wayne Hale’s blog post Real Engineers and the way organizations look at the value of people based not on the roles people play, but what they can “really” do.

I earned an undergraduate degree in engineering from a prestigious and notoriously competitive university.  After that I went on to do engineering research and complete a graduate degree in engineering from another major university with a reputation for excellence in engineering; along the way I wrote and defended a thesis and authored several papers which were published in professional engineering journals.

When I came to work for NASA, I was fortunate to get a job in the operations area:  mission control.  A thorough understanding of engineering principles and practices was mandatory for my job.

So I was floored just a few months later when I first heard it:  "you are not a real engineer". I was just "an ops guy".

In the NASA pantheon of heros, the highest accolade any employee can be granted is that they are a "real engineer".  Not even astronauts rate higher.  The heart of the organization worships at the altar of engineering:  accomplishment, precision, efficiency.  What does it take to be a "real engineer"?

It’s a great read and while I was originally analyzing it in light of the “forensic examiners now need P.I. certifications” debate going on across states, it struck me that this might apply to our IT culture as well.

Maybe since we don’t see or interact with any “real” security incident responders, we don’t see the importance or value of our role on the front lines in this battle.  Are we just the grunts or infantry men who go in and take out the enemy pill-box and continue to advance?  It’s the job of military intelligence to collect the trends and larger picture. Clean and move on.

I think that is a dated and dangerous stance if true; particularly on the front-lines.  Our technicians play a keystone role in incident response.  Only it look like very few have realized it yet and certainly not drafted a plan for their role in it.

Consider the following recent posts from the professionals Hogfly and Keydet86’s computer incident response blogs on the dynamic tug between first responders and incident responders (who just happen to be two of the very best of many great incident response blog authors):

I promise, it will make your head spin!

Wish us luck. 

Kicking up this potential ant-pile at work seems like the only responsible thing to do.

I’m in no way saying there isn’t any security awareness at our shop or in our organization at large, or that our technicians are the problem, or that any of the groups or individuals charged with securing and responding to incidents in our system aren’t doing their jobs.  We do have clear polices and our staff work extra hard at doing what they are assigned to do.  I just wonder if it currently enough (on multiple levels of application) in today’s IT environment and regulatory demands.

I think we need to do more, and particularly at our field-level.  It’s the Sherpas who those who climb the highest peaks depend on.

And BTW I’m open to suggestions from the professionals on how and where to start this process building and implementation.

Cheers!

--Claus V.

Custom Win PE Boot Disk Building: Step One – WAIK up

First Review the prior links in this series.

Now what we have to do is install the Windows Automated Installation Kit so we will have the foundation for all our additional building efforts.

I’ve covered this part before here on GSD so you might want to also review my Windows PE 2.0 Free For Everyone (Almost) post first.  Most of what follows comes directly from it.

Also, this walkthrough will be specifically to create a x86 32-bit based WinPE 2.0 based boot disk.

Step One – Get the WAIK

From Microsoft download either of these two file packages.

I am going to be using the second one as it incorporates Vista SP1 while the first does not.

Step Two – Install the WAIK on your system

It can be installed on any of the following systems: Windows Server 2003 SP1; Windows XP SP2, and Windows Vista.

Note: The installation application says it must be an XP Professional version, but I just installed it and ran it on my Windows XP SP2 Home system just fine with no complaints at all.

Once downloaded, you have an IMG file which you then have two options to use.

1) Burn it to disk using a disk-burning application, or

2) Mount it as a virtual cd/disk image using a virtual disk application like the freeware SlySoft Virtual CloneDrive.  For tips on that try this post: Installing Windows AIK without a Disc is Free and Easy – ITsVISTA blog.

Take your pick.

Run the installer and get it loaded up.

(Note: All my systems are NTFS partition formatted and for this to work, the primary volume/partition that you will be working on should be the same as well.)

Step Three – Create the C:\winpe_x86 system folder

The C:\winpe_x86 folder will be the workhorse of our building work.  So we got to get it right.

I recommend first reading the Toss DOS, Install Vista with Free WinPE at ITsVISTA.

His steps are so easy to follow it’s become the defacto standard to me.

  1. Go to the Start menu and under All Programs find the Microsoft Windows AIK folder and launch Windows PE Tools Command Prompt, or open a command prompt and type cd c:\program files\Windows AIK\Tools\PETools.

  2. Create a local Windows PE build directory by typing the command copype.cmd <arch> <destination>. If you’ll be working with 32-bit machines (the rest of the examples will assume you are), replace <arch> with x86. If you’ll be working with 64-bit machines, replace <arch> with either amd64 or ia64, depending on which chipset your computers have.

  3. You’ll see a list of files copying.

So just follow step one as is.

At step two type in exactly the following command paying mind to the spaces and <enter>:

copype.cmd x86 c:\winpe_x86

The files will copy and when done you will see the cursor again.

Step Four – Validate

If everything went as planned you should now find the following when you look at your C: drive:

Double click “My Computer” or open Windows Explorer.

Open the C: drive.

Browse down and you should now see a folder “winpe_x86”

Double click it.

In there will be two folders “ISO” and “mount” along with two files, one of which is winpe.wim.

Open the ISO folder and there should now be even more folders and files.

Open the “sources” folder and you should find a “boot.wim” file.

Good?

That completes getting the WAIK installed, and creating the foundational c:\winpe_x86 folder.

Extra credit reading

Class dismissed until next lesson!

--Claus

NTFS Formatting an Imation USB Disk

If you read down to near the end of my Security and Forensics Roundup: Heavy Version #2 you will find that yesterday I got daughter-unit Alvis her very own USB disk to use for school.

I had bought a 2 GB USB stick with a write-block switch and it is an Imation brand.

This morning I was setting it up for her.

It did not come with any U3 stuff, so that was good.  Imation also kindly tossed in a partition-encryption program called “Imation Lock”.

Imation Lock

Figured I would play with it a bit to see if it would work better than with adding a TrueCrypt container.

Well, I wasn’t impressed. 

Basically you create a public and an private partition.  The private partition is the encrypted one. You set a password and then by using the software, can unlock and load the encrypted partition.

Sounds nice but it sucks.  Bad.

First I read the whole manual.  Yes.  All 16 large-font pages of it.

The same one that shows the “Effective” date of 25-Sep-2006. 

Oh bother.  Not a good sign.

On our XP system (under a full admin account) the configuration steps went fine. No real problems.

It was when I started actually using it that the problems showed up.

First, on my humble system, I never could get both the secure and public drives to show up at the same time.  One or the other baby, despite the photos in the manual.

Mounting and dismounting was pain and required removal and replugging of the USB drive when I switched between those volumes.

So I decided to reformat the USB drive and stick with my original plan with a TrueCrypt volume.

Format Away!

I used the Imation Lock program to remove the secure volume, then right-clicked the drive in My Computer and selected “format”, only it was formatted as a FAT volume and my only other choice was to format as FAT32. 

I wanted NTFS.

What gives?

More searching and here’s a modified version on how to do it:

To enable NTFS as an available File system option in the pull-down menu, the policies for your USB device must be set to "Optimize for performance".

    1. Insert USB drive into the computer’s USB port.
    2. In My Computer or Windows Explorer, highlight the USB's drive letter.
    3. Right click on the drive and select Properties. The Removable Disk Properties dialogue box will open up.
    4. Select the Hardware tab and then select the correct USB device for the drive.
    5. Click the Properties button near the bottom of the dialogue box. The Device Properties box will open up.
    6. Select the Policies tab in the dialogue box and then select the "Optimize for performance" radio button.
    7. Click the OK button in the Device Properties dialogue box to exit. Click the OK button again in the Removable Disk Properties dialogue box to exit.
    8. The NTFS option will now be an available option to select for the File system format. Follow normal procedures for formatting a drive volume in Windows.

Worked like a charm and the thing NTFS formatted in less than a minute (it’s only 2 GB).

Follow Up

I rounded it out with one of the PortableApps Suites along with some extra games and useful applications from the site as well.

Did you know you can add a 48x48 pixel image to the Portable Apps menu? Kind of like in XP/Vista’s Start menu? I stuck Polka-Dot’s (our family’s hamster) picture there.  Thought Alvis would be impressed.

polkadot   Kawaii! (“cute/adorable” in Japanese).

I added a TrueCrypt container.  Much, much easier to use and manage. 

Even for Alvis.

I copied her icanhascheezburger image collection to it.  What can I say….

Then I showed her how to manually launch the Portable Apps suite (since the autorun.inf file is now a folder) along with mounting/opening her TrueCrypt container.

She was impressed.

--Claus V

Custom Win PE Boot Disk Building Saga: Introduction

This will be the first of a series of posts that I really have wanted to compose so badly I’ve been avoiding it like The Plague.

It’s not that I don’t want to share the information and tips/tricks I have learned by myself and from others.

It’s that I’m still having a very difficult time deciding how to organize the material.  I think I have a sufficiently semi-logical outline developed and will be now starting an extended series of posts.

Hopefully some folks will find the information useful.

Introduction

I’ve been building “LiveCD” boot disks for many years now once I figured out the benefit it could have for our IT team.  D-Man and Mr. No at work paved the way before my joining the crew with some early bat.file DOS boot floppy work.

Not to be outdone and to show these god-like analysts I could bring-it, I soon had put together a CD that had an auto-run menu which would allow technicians (as I was at the time) to pick from various Windows utilities and setup programs.  It was cool and an instant classic.  It did not, however, contain system-boot support.

This was back before USB drives were common place, so to copy user data from a OS-dead system either meant removing the hard-drive and placing it in working system, or booting with a DOS boot disk and copying data to 1.44 MB floppies.  Not cool, even in old-school times.

In the Beginning there was Novell…

Since we were on a Novell network, I began building and implementing with Erwin Veermans NwDsk: NetWare Boot Disk (IP/IPX).  With some fairly easy Cd-Fu building I had quickly created a CD that could be used to boot a system from and connect to a Novell server volume.  Then data could be copied up bypassing the need for floppies.  Meanwhile the autorun menu/utility side still worked if the CD was put in a normally running Windows system.

That worked great.  However there was one little problem.  Most all of the technicians didn’t really know or like working in command-line. 

Give me a break.

DSL Build Period

So from there I gradually moved from the NW boot disk to Damn Small Linux (DSL) as the boot tool.  This provided a more usable GUI interface that I was able to customize while still being small enough for me to keep my Windows auto-play side intact.  I really had a blast learning all the Linux stuff to build and customize a booting ISO file.  Local off-line system files could be FTP’ed to the Novell volumes. Perfect!

That worked even better and was very pretty.  However there was one little problem.  Most all of the technicians didn’t really know or like working in Linux. 

Sigh.

BartPE Build Period

So I then found and started building Win PE 1.0 based Bart’s Preinstalled Environment (BartPE) boot disks.  This was way-cool.  Now I could build boot CD’s with a GUI based on XP.  Still preserving the Windows auto-play menu side.   Perfect right?

Nope. 

We were still a Windows 2000 shop and the Win PE 1.0 licensing requirements are very stringent.  I had to have sufficient XP licenses to cover them, which we only had a handful.  So I could only build and distribute a few. Eventually we upgraded from W2K to XP so I was freed up.  Still had to FTP local files to the servers, but still it was a solution.

Now it was near perfect.  The technicians were happy and I was happy.

The Dawn of a New Era: Win PE 2.0

Then came Win PE 2.0.  It was based on Vista, supported ImageX, and could do tons of really cool things and effectively had none of the onerous licensing that Win PE 1.0 carried.  I saw stars in my eyes and quickly worked out building a custom CD that still let the Windows auto-play menu work on a live system.

Only it was command-line based and again, despite all attempts, no one except D-Man and Mr. No thought it was worthwhile.  It languished and BartsPE ruled.

That was until I found VistaPE.  It is very similar (in theory) to BartPE but provides a wicked cool GUI to the Win PE 2.0 base.  For a sample, check out these GSD posts VistaPE Builder Tutorial - Highly Advanced (and Fun!) and VistaPE WinBuilder 011 - Basic Walkthrough.  Now we are at awesome-cool.

Away I went and everyone was amazed.  Vista LiveCD boot goodness and sophistication along with my now ingrained Window live auto-play utility menu. Happiness.  And not only could technicians still FTP files up to the server if needed, Win 2.0 would flawlessly auto-detect and mount USB storage devices (which had by now become the defacto standard for file-recovery and transfer). FTP became a rare activity.  Just copy/paste. Done.

Storm-clouds on the horizon…

With the OS march from Win95/98 to Win2K/XP, the auto-run menu launcher I had been using on the Windows side of the CD was showing its age.  It was based on 16-bit programming and now took too long to launch under 32-bit OS systems.  It would eventually, but not snappy like it did under Win95/98 when I had started using it.  I tried various replacements and eventually changed over to Pegtop PStart .  So while it wasn’t as nice a GUI for the menu structure I had been using, making updates was a snap and it could do a lot more tricks. It was back to snappy menu loading again.

The real storm came when we began the conversion of our desktop systems to Dell Optiplex systems (745/755/etc).  These models dropped PS2 connector support and were now all USB driven.  The standard keyboards were also USB devices with USB ports on the back.

Suddenly the VistaPE disks showed a serious problem.  Turns out that the VistaPE driver-loading process they use would render the Dell USB keyboards dead when the boot-disk side was used.  Yes, the mouse still worked, but it was of little use.  I hacked a temporary solution of installing and auto-launching On-Screen Keyboard Portable but while this worked, it was not sexy or convenient. 

So I never distributed it and have spent the last many months trying to hack-out a working fix for that Dell 755/745 USB keyboard driver loading problem under VistaPE with little success.

The keyboard would work fine under the plain “original” WinPE 2.0 disk build, it would work fine under a VistaPE (Vista RTM setup disk source) build.  It would not work under the VistaPE (WAIK source) build.

Since the D-man had provided me a legit copy of a Vista RTM setup disk I thought I was in good shape again. The Dell USB drivers would load and the keyboard worked again under that build strategy.

Then the ceiling came down…

Recently a decision was made higher up to deploy PGP whole disk encryption across all our desktop/laptop drives, enterprise-wide.

That is a Very GoodThing™.

Only here’s the new problem.  If the entire drive is encrypted, what use will a Live Boot CD be?  The system and user files were now securely tucked away out of sight!  PGP does provide their own PGP off-line recovery disk but I didn’t care for either the interface or the nature of the tool in general.  No offense to PGP but it wasn’t what I was interested in.

Leave it to clever Claus.  I wasn’t about to abandon all this work and investment, just yet at least.

PGP, PE 2.0, and VistaPE building: Let the migraines begin

Turns out, PGP does provide a way to inject their WDE drivers into a PE 2.0 disk build.

After some initial joy and effort working out frustrating typos in the document, I was successfully able to build a merged PGP/WinPE 2.0 boot disk. 

Hurray!

Then a dead-end as I didn’t want to go back to giving a CLI WinPE 2.0 disk out to the technicians again.  I knew from experience that they would never use it.

See this works for the pure Win PE 1.0 / PE 2.0 disk builds (and some BartPE stuff), but was not at all designed to support VistaPE builds.

Darn!

However I knew the VistaPE was based on WinPE 2.0 so it “should” work, somehow.  More clever hacking and experimenting and I actually worked out a way to inject them into a VistaPE build!

Hurray!

Only (yep) it would only work under the VistaPE WAIK-based builds, which as you will remember has that awful Dell USB keyboard driver killer problem.  No good unless I reverted again to the on-screen keyboard solution which as a non-starter to me.

D-Man tipped me off on a technique to try and while initial efforts looked positive, I eventually had to mostly abandon that path.  I did learn a lot of extra stuff in that process regarding WIM driver injections, off-line registry editing, WIM mounting and manipulation, and VistaPE driver supplementing, and untold other really cool things.  Heady stuff!  But it didn’t get me anywhere...so I thought.

Using the techniques under a VistaPE RTM-Vista disk build rendered a BSOD during the driver-load process due to a driver conflict between something and the PGP encryption system drivers.

Unfortunately I was back to square one.

A New Era Arrives!

Then in the very busy days leading up to the Thanksgiving holidays, somehow in all the ongoing work crossing my desk, I found time to pick at this whole thing from a fresh perspective.

All those disconnected facts and bits must have reached critical-mass.

I managed to re-evaluate all that I knew, what I didn’t know, and make one last attempt at it, shedding all my previous building techniques and taking a fresh approach that would make Victor Frankenstein proud and VistaPE’s NightMan developer cringe from my non-script-based hacking of VistaPE, the WinBuilder platform, Win 2.0, and the WAIK tools.

When I left work for the holidays that Wednesday night, I had on my desk a VistaPE-based boot disk CD, based on a WAIK build, with a custom desktop wallpaper of my own choosing, that worked on Dell Optiplex 755 and 745 (in fact all our desktop/laptop system models as yet tried) with full working keyboard support, Imagex drive capture and reimaging support, and PGP whole drive encryption support to allow decryption of the system drive(s) with the user’s passphrase.

Oh yeah,  I forgot to mention that when the CD is used on a live Windows system, my utility auto-run menu picker still works.

Sweet.

So in the coming weeks I will begin to share specific bits learned from this process and at the conclusion, provide Claus’s Frankenstein-ish method for you to hopefully have the same successes I did.

And if we are lucky, maybe the VistaPE building pros will help us along the way to make it even prettier.

Stay tuned.

--Claus V.

Security and Forensics Roundup: Heavy Version #2

cc image credit: Jeremy Botter, flickr

Standing guard so you can remain alert.

So many, many very good security and forensics related links, my head is spinning from trying to organize them all into a single and coherent post.

To help achieve that, commentary will be kept to a minimum.

Must Reads

  • (IN)SECURE Magazine – Volume 19 was released this week in PDF format.  Always an engaging mix of technical discussions, security concepts, and hidden tools and tricks. Highlight articles (to me) include:

    • The future of AV: looking for the good while stopping the bad
    • Eight holes in Windows login controls
    • Web filtering in a Web 2.0 world
    • The role of password management in compliance with the data protection act,
    • 5 strategies for proactively embracing failure
    • Navigating a sea of fake codecs,
    • Role Based Access Control, and
    • How to build a security strategy to grow your career, success, and results.

  • Secret Geek A-Team Hacks Back, Defends Worldwide Web – Amazing Wired Magazine article covering the incredible discovery by Dan Kaminsky on a critical DNS flaw, and the ensuing damage control.  If you haven’t read this yet, stop and read it now.  There have been lots of follow-on discussions on the web regarding this issue, but this is a foundational read.  Great writing on technical security subject by Joshua Davis.

Password?

  • NirBlog: Saved Password Locations – NirBlog post that provides awesome background information on the locations in the Registry or file system for popular password storage.

Good information for sysadmins and auditors.

All signs point to caution when installing Firefox Add-ons.  Don’t get caught.

Score: ElcomSoft 1 : Adobe 0

Password: Stop the Leak

Fresh on the heels of SynJunkie’s excellent wireless pen-attack story comes a new series on an insider attack and investigation.

Kick back and enjoy…depending on your perspective…

Tools and Tips for Forensic Examiners

  • Basic eBlaster forensic analysis – CFMADI blog.  Great breakdown on eBlaster computer monitoring software detection.

  • Cisco Router Forensics - SANS Computer Forensics, Investigation, and Response.   For a higher audience then the desktop level work I deal with but it was good stuff anyway.

  • Perl and Forensics - SANS Computer Forensics, Investigation, and Response. I’m quickly realizing that it might be a good thing to add “Learn Perl” to my “to-do” list.

Speaking of Forensic Examiners: R U A π?

While new legislative requirements within states for forensics professionals to hold private investigators credentials are not a new subject, they seem to again be popping up and causing some degree of confusion and concern in security circles.

I even recall concern for syadmins and pc-repair tech shops believing that new legislation in Texas would lead them to shut-down until they got proper PI accreditation. (Probably not…yet.)

Thus behind that backdrop, comes even more movement on the PI (get it now? PI, pi, π) certification front in forensics.

On the surface it seems like a very good idea.  I’m all for professional accreditation where it will provide valuable and critical training/knowledge to work done in the field.  If however it provides nothing but a piece of paper on the wall and no true relevant test of demonstrated skill in the forensics field, well, even I can let you show me where a horse has been stabled and I will find evidence of what he ate and call it proof for you.

For a perfect and crystal-clear example of just why real and certifiably proven professional forensics experts are needed (and not just those who are clearly “certifiable”) look no further than this case:

Alex Eckelberry and a team of real-world experts took a look at the official court record of evidence along with a Ghost copy of the hard-drive.

I’ve read the PDF they’ve provided based on their own professional analysis and it is simply frightening.  I don’t know where to begin.  Reading it certainly clears up a number of misconceptions I had.  And it helps me understand the whole problem much more clearly.

It should be a must-read for all forensic folks as well as system administrators/security wonks.  I almost put it in at the top.

I’m wondering if the PI accreditation requirements would have helped changed the prosecution’s "forensic” experts’ evaluation and conclusions.  Somehow I suspect not.

Which comes back to my take. Experience has taught me the following wisdom; experience doesn’t necessarily make you an “expert”, nor does any degree, honor, or accreditation. In the end it is what you do personally with any and none of those things that truly will define if you are an expert in the eyes of the public and your peers.  Enough said.

I see…malware in your future

In high-school I went through a very brief fascination with the Tarot cards.  That lasted until the reading I took regarding a hook-up with a very particular pretty girl in my class fell through.  I decided then and there it was bunk.

However, the dark-arts are alive and well in the world of malware.  And that is a prediction I would put money on to remain true.

  • Malware constructor – Sunbelt Blog highlights a new malware building tool for the masses.  Looks pretty cute and harmless until you come to find out from other links that it also seems to contain a trojan.  No honor among thieves I guess…

  • VirusTotal += Comodo – Yep. Comodo’s earned a major recognition upgrade here by getting its AV scanning engine included in the VirusTotal arsenal.

  • CBS.COM was compromised – Finjan MCRC Blog – Darn it.  And all I wanted to do was get tickets for “The Price is Right”….

  • Microsoft adds malware detection to its Webmaster tools - heise Security UK.  I’ve already signed up and have this blog being monitored by Webmaster Center.  So far so good.  Still need to enroll in Google’s Webmaster Tools which has similar features.  It was very simple and pretty easy to enroll and configure. No pain.

  • Merry Malware - You’d better watch out, you’d better think twice… and O Come All Ye Malware– Microsoft Malware Protection Center blog.  More fun and holiday cheer than a bad company holiday party coupled with rancid eggnog.  Yeah.  That good.

  • VLC Exploit In The Wild – Infosecurity.us – I’ve used and loved a portable version of VLC for quite a while, but Secunia’s PSI tool never has been happy with VLC for some reason. No matter how hard I patch it, it never seems like it was enough.  Now it seems that there are even more problems with it from a vulnerability standpoint.  I only use it with trusted media files, and it has not been set as an associated application. I’m not giving up yet. But you better be careful all the same and stick to trusted media files, from trusted sources.

Rootkits?

Here we go again with software vendors dropping rootkit like stuff into their products.  So it appears folks have already forgotten Sony’s failed foray into this arena?

The Ghost of USB/AutoRun malware past

As I responded at Harlan Carvey’s post in the comments:

Daughter unit (Alvis) needed a USB stick to take to her high school to save work from a computer-lab if her assignment work wasn't completed. She had responsibly asked me a few days in advance and I promptly forgot. We got in the car a few days later and I remembered again and asked her about it. She had the forethought to grab one of our old/small USB sticks (32MB?) and had it with her.

I had to confiscate it with regret.

  1. I didn't know what of our data was still on it and needed to "audit" it and remove anything of importance in case of loss/theft at the school. (update for the curious: Turns out it had two archived KeePass databases from early 2007 (!), numerous jr.high project documents, probably every picture from icanhascheezburger, some Zoo Tycoon save files, mid-2008 dated JSON and OMPL backup files from my Firefox profile, and a PE disk building tutorial from work.  Would have been “ok” but I’ve gone back and (securely) cleaned all the old stuff off anyway.)

  2. I needed to make sure it was "clean" of any thing that might get her into trouble at school for "possessing" (forbidden utilities perhaps such as pentesting tools and other PUPS, etc.).

  3. I have NO idea the condition of the lab-pc's she will be using at school. Don't know how their IT department maintains them, what AV/AM software is used, how often they are scanned/checked for rootkits and other baddies, etc. So cross-infection of our systems could be a real possibility.

  4. Need to figure out a "reasonable" way for daughter-unit to use a USB drive between school/friends houses/systems and our own but that will minimize chance of infecting our own. Going to have to spend time looking at my new AV/AM software to check out automatic detection and scanning/access settings for removable (USB) devices.  (update: from the comments, Steve suggested looking at Didier Stevens’ USBVirusScan which can be configured to launch an AV application when a USB stick gets inserted.  Awesome tip and now added to my Sunday “to do” list! Thanks Steve!)

(Sigh)

It's hard being an IT dude AND a dad these days. Oh to be blissfully unaware....

Harlan encouraged me to start applying the MS patch and registry fix. I’m working my way through our systems this weekend.

Hogfly also chimed in with tips

There are ways to mitigate risk on a usb stick.

1) Buy one with a write block switch. Kanguru sells these.

2) Create a directory(yes a directory) named Autorun.inf. This is known to help mitigate the ability of the malware to write to the drive.

3) Disable Autorun using group policy on your computers and force the following registry change:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"

These steps work.

So today I bought a 2 GB USB stick with a write-block switch for Alvis and will be keeping an eye on it as well as its contents.  I will also be removing all the U3 preloaded stuff, doing some more of Hogfly’s tips as well as adding a TrueCrypt container and showing her how to use everything. I might even round it out with one of the PortableApps Suites along with some extra apps as well.

Alvis even liked the carabiner clip it came with.  It passed the cool factor.

What a dad.

Software and Tip Roundup

Get along little doggies!

  • FileAlyzer shows you detailed info for any Windows file - Download Squad.  Been using this tool for years.  Easy to use and free.  Great starting point for looking into file specifics when mashing malware. FileAlyzer is developed by the makers of Spybot Search and Destroy malware scanner.  A new 2.0.0.10 version now supports multiple file handling.  By that I mean you can open more than one file and cascade/tile them in the main window (a la Windows Office files) for rapid comparison work.  It performed fast and great in my testing of the newest beta version.

  • PowerShell - Finding New User Accounts – SynJunkie blog. Script to locate all accounts created between two specified dates.

  • Patching offline virtual machines – Security4all. I think I remember forgetting I could do this. Now I am sure to do it.

  • Update: Restoring Safe Mode with a .REG file, and a Live CD - Didier Stevens shows us how to restore Safe Mode’s “SafeBoot” keys to the Registry via a LiveCD when they have been removed by malware attack. Got to add these to my own custom PE 2.0 build disk.

  • Privacy Alert - ISPs putting ad service boxes in the clickstream is bad - Scott Wright’s Security Views. At the risk of veering completely off target, indications are that a new partnership between Phorm and ISP’s could mean a major change in the way ads and your data is parsed through your ISP.  Tinfoil-hat stuff or true security risk?  Minority Report ad-service coming true?

  • Building a Security Tool Chest – InfoSec blog. Stumbled on this series of posts.  The first list is pretty short. The rest build in number of tools and usefulness. They might be a good starting point.  I like scanning these lists to see if I might come across a new tool or two. Your mileage here may vary.

Keep it safe!

--Claus V.

Windows Vista and Slipstreaming: A Primer

I’ve been slipstreaming XP setup disks since SP1 was released.

There are a lot of third-party tools to help make the process painless, but in the end, I always come back to the basic method outlined by Paul Thurrott in his Slipstreaming Windows XP with Service Pack 3 (SP3) guide (and previous version as well).  It’s easy, fairly fast, and once you’ve done a few, you can make XP Slipstream disks with your eyes closed.

I’ve got a number of what I consider the best links and guides for XP slipstreaming collected and have been sitting on them for months.  Eventually I will get around to posting that roundup.

However with Vista, the whole slipstreaming thing appears to have become derailed.

Why Concern Now?

After Vista was released the masses moaned to Microsoft about numerous performance issues and bugs.  Eventually MS released Vista SP1 and all was heavenly.  I (and most others) noticed immediate performance improvements and program stability.  Golden.

I imagine most folks just followed what I did and allowed Windows Updates to offer the SP1 install and apply it.  Part of that was due to a pre-update update that checked for necessary conditions prior to allowing SP1 on the system.  Seemed like a good idea.  As our Gateway laptop didn’t come with a traditional/pure Vista setup DVD, rather a OEM “restore” disk/partition, I didn’t have any source material to use for a Vista slipstream attempt anyway. With only one Vista system, I didn’t really care, to be honest.

Now Vista SP2 is on the way and thanks to the D-Man, I have a full and legit Vista SP1 setup DVD to use for testing and PE 2.0 building.

Suddenly I found myself waking up to a possible need for a Vista slipstreamed disk and as all the above links point out, a beta version was out ripe for testing.

Only a comment by joshf in the Techblog post left me suddenly wondering what crazy world I was waking up to!

They didn't include a slipstream feature in SP1 and said they'd do it in the next service pack, has anyone heard anything about it?

But if it is anything like Office 2007's so-called "slipstream" then I don't want it (placing the service pack setup in some "update" folder and AFTER the OS is installed spend another hour or so waiting for the service pack to install).

Turns out I had missed a lot of key developments in Windows slipstreaming devolution while I was asleep.

joshf had just delivered my wakeup call.

Vista Slipstreaming Primer

As stated, while I am getting very advanced with PE 2.0 WIM building and manipulations, I’m still taking in the background for Vista slipstreaming.  I have no doubt if I inadvertently make any mis-statements, I will quickly be corrected in the comments!  Please help educate me!

Vista setup is build on many processes wrapped in a WIM (Windows IMaging file). WIM files are wicked cool for image deployments, especially in that they can be “off-line” mounted and updated, include multiply “stacked” image versions in a single WIM, as well as have drivers and hot-fix updates (in some circumstances) injected into them.  Oh the tricks that one can do!  But that is for prior reading and future posts….

In a post earlier this year, Paul Thurrott outlines some key information that is a wakeup call for some of us XP slipstreaming pros: Microsoft speaks on slipstreaming Windows Vista with SP1 - SuperSite Blog

Way back when, one of the touted benefits of Windows Vista was that then-future updates, including service packs and hot-fixes, could be very easily "slipstreamed," or integrated, into the Vista install image, create an always up-to-date install image that would be used going forward. How easy was it supposed to be? Microsoft placed a convenient UPDATE folder right in the root of the Vista install image and claimed that any fixes you wanted to integrate simply needed to be copied into that folder. Voila! An integrated, slipstreamed Vista install image.

…however, this technical nirvana remains but a dream. Because of "some unexpected issues with the servicing stack," as Microsoft put it, this drag-and-drop form of slipstreaming never happened for SP1. I was told at the time that Microsoft was hoping to make it available for SP2, but no promises. (emphasis mine)

But what about SP1? During the same meeting that led to Inside Windows Vista Service Pack 1, Microsoft told me that customers interested in slipstreaming SP1 with Vista could still use the old -integrate method of slipstreaming (which I document in my XP SP2 slipstreaming guide). Fair enough: This process is well known and has had years of success. But then, that's true of the pre-WIM world. Vista, you see, uses a different servicing model than XP and previous NT-based versions of Windows. So things are a bit more complicated.

Make note of that part I’ve emphasized.

Now let’s go directly to the heart of the problem why slipstreaming of Vista RTM to Vista SP1 isn’t “officially” possible.

Full of I.T. : I can’t do WHAT?! Why can’t I create my own slipstreamed installation of Windows Vista SP1? – Kevin Remde’s IT Pro Weblog.

This seems to be THE definitive source pointed to across the Net on why one just can’t do it like XP/Windows 2000 builds. What Kevin says in that post is this:

Okay.  So here's the deal**.  And those of you who have experienced the SP1 installation have experienced this as well.   When you do the SP1 installation, even if it's from Windows Update (when available), you're going to see your machine shutdown and restart on it's own several times.  That's to be expected.

See, there's this important part of the OS known as the "servicing layer" in Windows Vista and Windows Server 2008.  This is the part of the OS that allows for easy update installation with minimal disruptions, allows for an update to be applied to an offline captured image that's within a .wim file, among other things.

Well.. let's say that that servicing layer ALSO needed to be updated?  What then?

"Oh.. I get it.  You can't update the thing that makes the updates happen smoothly, because the thing that makes updates go smoothly is itself being updated!"

Bingo.  You got it.  So hopefully the news that you can't just do an offline upgrade to an image .WIM file won't be too tragic.

"So.. what do I do instead?"

You are going to have to install your image to a machine.  Install the Service Pack.  Then re-capture the image.

"Simple!"

Not so simple.  There are additional steps that involve some cleanup once you've sysprepped your newly updated SP1 machine.  Detailed steps are available in the new WAIK documentation.

Make sense?

OK.

However, that seems to apply specifically just to the jump from Vista RTM to Vista SP1 as the key issue here was the critical update to the Windows Updater’s Servicing layer.

So the official method for “slipstreaming” was to (basically) install the base Vista setup to a system, update it with the new SP1, Sysprep it with the updated Sysprepper, and recapture the WIM. Only see the Vista RTM contains multiple versions and you have to make a fresh capture for each version you want to “slipstream”.  Ugly and a whole lot more work that XP/2000 setup media slipstreaming.

Leave it to the Younglings: Slipstreaming Vista RTM and SP1

Of course, just because Microsoft said something wasn’t supported, or the “official” way was the only way, didn’t mean gifted enthusiasts listened.  Nope.

They seem to have hammered out two basic alternatives.

The first and semi-official means is to “reverse integrate” by installing the Vista image to a host-system, install the Vista SP, then recapture.

This then led to a remarkable number of attempts to refine the process quite a lot more. Leading at the culmination to a editor’s nightmare of a post (although it remains a fascinating read).

You just have to love and feel for poor Arneh who stuck with it until the 12th update!

Rise of the Jedi: Third-party Vista SP1 slipstreaming tools

During this stage, Slipstreaming Jedi masters finally merged with the Vista force and developed two competing unofficial and unsupported Vista slipstreaming tools.

The first method is based on a German Vista Update Integrator .NET tool crafted by AlbertS2.

Looks awesome wicked-cool and brings out the German pride in me.

However, let’s not say everyone else is sleeping.

This long in development and refinement utility is very, very polished and, in fact, does support the ability to Slipstream Vista Service Pack.  Although it doesn’t specifically (yet) address how SP2 will be handled. I’m sure the gang is hard at work on it as we wait.

For a great and clear guide on how to use it, I found two almost identical guides on the net.  I would say one was ripped from the other.  Looking at dates in the comments and posting dates, I have ordered them in what I think is the original and ripped attribution.  I could be wrong and will be happy to correct any attribution errors.

The first one is complete, though the numbering is off with a “missing” digit. Seems that the author forgot to catch he should have used a “3” instead of “4”.  The second one corrects that mistake but is posted many months later than the first comment date from the first post by Amit Agarwal.

You be the judge.

I also recommend dropping by the vLite forum and in particular the following thread

[Tutorial] Build Windows Vista SP1 x86 DVD using vLite

Alright. Now on to Vista SP2 matters.

A New Hope: Vista SP2?

Are we now on the verge of finally realizing “true” slipstreaming under Vista SP2 release?

All the old signs say: Maybe.

In his Inside Windows Vista Service Pack 1 post, Paul Thurrott had posted direct word from Microsoft that “off-line updating” while stripped from SP1 would return to Vista, possibly in SP2.

Deploying Windows Vista SP1

Since we're on the topic of confusing issues surrounding Windows Vista Service Pack 1, this might be a good time to address another bit of confusion surrounding this release. Way back in May 2003, I wrote up a Vista Setup and Deployment showcase that was based on a Microsoft presentation at WinHEC 2003 described Microsoft's plans for Vista deployment. The biggest advance, of course, was Vista's componentized architecture, which provides the foundation for a number of capabilities. One of these was what Microsoft calls offline updating, which is the ability to slipstream service packs and other hot-fixes into a Windows install image. Businesses use these images to blast new Windows installed down to network-attached PCs. And enthusiasts use them to create new versions of the Windows Setup CD/DVD, so they can perform clean installs with the latest bits pre-configured. This process, called slipstreaming, is horribly difficult under Windows XP. (See my XP SP2 slipstreaming guide for details.) But Microsoft promised to make slipstreaming almost laughably simple in Vista: I was told that users would be able to copy service packs and other hot-fixes into an UPDATE folder in the root of a Vista DVD or install image and just install the system, and all those updates would be automatically applied. It sounded fantastic, as it would to anyone whose suffered through the XP slipstreaming process countless times, and I was looking forward to testing this with Vista SP1.

Something funny happened on the way to SP1, however. First, Microsoft was curiously silent in public about this update between the end of 2006 and the middle of 2007, no doubt in part to convince its enterprise customers not to wait on the release before upgrading. And when Microsoft finally did break its silence at the end of summer 2007, it released a whitepaper describing the various ways in which users and admins could deploy SP1. And the only slipstreaming option that was mentioned was one in which Microsoft slipstreamed it for you and then supplied you with a new install DVD. Huh?

The fear, of course, was that Microsoft had given up on the drag and drop slipstreaming method, thereby erasing one of the key benefits of the new system. And this fear was only exacerbated by Microsoft continued silence on the topic.

So it with a sense of relief that I can now report that drag and drop slipstreaming--excuse me, offline updating--is still happening. It's just not happening in Vista SP1. "Vista Service Pack 1 will not be able to be applied as an offline update to prestaged install images," Zipkin told me. "But this will work as planned with future update, post-SP1 updates. We ran into some unexpected issues with the servicing stack, so we can't do it for SP1. But we're planning to add this capability for SP2, though we can't make any promises. This will be a bigger issue around SP2 than it is now. We think this is a one time thing. But you can still make your own slipstream DVD using the old '-integrate' method as with XP if you want to."

And in the release notes FAQ for Vista SP2 I found a curious tease regarding possible Vista "slipstreaming/integration" of service packs.

Frequently Asked Questions: Windows Server 2008 Service Pack 2 Beta and Windows Vista Service Pack 2 Beta Updated: December 2, 2008

"What is a standalone vs. an integrated SP2 DVD?

An integrated installation (also known as "slipstream installation") means that the service pack is integrated into the operating system, and therefore the operating system and service pack are installed simultaneously. You can use the integrated installation to upgrade computers running Windows XP and to perform clean installations on computers that do not have an operating system. A standalone SP2 DVD, also known as a 'Patch DVD', you use the stand-alone pack to upgrade computers that already are running the Windows Vista operating system with Service Pack 1 level installation. The download size of the stand-alone package is larger than the package applied with Windows Update. This method is recommended for: 1) Applying Windows Vista SP2 to computers without (or with limited) Internet connectivity 2) Applying the service pack to more than one computer using deployment tools such as Systems Management Server 2003 (SMS) or System Center Configuration Manager 2007 (SCCM).

Will Microsoft provide an integrated Vista SP2 DVD?

The ability to create an integrated DVD is available for customers, and Microsoft is still determining the demand to provide an integrated DVD. For more information

For more information, what? That second answer just ends hanging.  Where do I go for more information?  What is the information?  Does it relate to “the ability to create an integrated DVD” by all customers or the less enticing “to provide an integrated DVD” clause?

Has the UPDATE folder on the Vista root finally been armed to accept SP2 and higher for integration?  (I am assuming logically that due the issues related to Vista RTM and SP1 that IF so, it would only work with original Vista SP1 RTM disks as they would have thus bypassed the original “updating the updater service” barrier that caused the problems in the first place.

Fact is, I just don’t know!

What does that cryptic dangling statement really mean?

What is this ability and do I have to come from Krypton to have it?

I’ve spent a lot of time searching and trying to follow up on those statements by Paul Thurrott and Windows Client product manager Dave Zipkin about still making “…your own slipstream DVD using the old '-integrate' method as with XP if you want to."

But darned if I can find any hard (TechNet quality) information on how or where this is possible with Vista.

And none of the official Vista SP2 beta feature details make mention of the re-addition of Vista slipstreaming.

Plea for Clarification from the Pros

If any of my various technical Windows readers or enthusiasts have a way to clarify if "true" slipstreaming/integration is now possible and back in under Vista SP2 I would really appreciate you sharing details in the post comments.

I’d also be grateful for tips/leads on those just do your Vista slipstreaming the old way like XP with the “-integrate” method if they exist.

If not, what exactly is Microsoft talking about? Is it back to the old base "install Vista, update, recapture WIM" method?

If so, that's still not the holy-grail of "true and off-line" slipstreaming as I would see it (like in XP/2000), but plain-Jane OS deployment and image recapture.

Just wondering and wishing….and waiting to see if this feature will be delivered in Vista SP2

--Claus V.

 

PE 2.0 and WAIK Post Script:

While doing the research on this post, I came across periodic mention in a few forums of a WAIK (Windows Automated Installation Kit) command-line tool I hadn’t heard about: PostReflect.exe along with the VSP1CLN.exe file.

PostReflect Command-Line Options - TechNet

The boot critical driver projection tool, PostReflect.exe, is used to reflect all boot critical device drivers out of the driver store in an offline image.

Driver reflection is the process of installing a driver on a computer that might or might not have a device for that driver. Typically, this involves copying the driver files to the destination location so that the driver can be loaded by the operating system during the boot process. If all of the boot critical drivers are reflected in the image, it can be deployed to various hardware configurations.

After Windows Vista Service Pack 1 (SP1) is applied online, this tool must be run on the offline Windows image because SP1 contains boot critical drivers for the hardware abstraction layer (HAL) and matching changes to the kernel. If the changed versions of boot-critical drivers for the HAL and the kernel are not correctly installed on the computer that you are deploying to, the operating system will not boot, nor will the image boot on any computer that has a different CPU or hardware configuration.

Also related a kindred soul’s post:

VSP1CLN Command-Line Options – TechNet

The Windows Vista Service Pack 1 (SP1) Files Removal Tool (VSP1CLN.exe) can be used to remove the files that are archived after Windows Vista SP1 is applied. Running this tool is optional.

Installing Windows Vista SP1 increases the amount of disk space that is used by the operating system. This space is used to archive files so that SP1 can be uninstalled. Typically, you should run VSP1CLN.exe if you want to reclaim this disk space after applying SP1 and if you will not need to uninstall SP1.

This tool works in conjunction with SP1 only and can be used online or offline.

Don’t know if these will be helpful to anyone else, but I’m making note of them here for my own personal study and application down the road.

That is all.

Software Goodies

Been quite a while since I have posted a roundup of new/improved software finds.

Here you go from the previous weeks’ culling.

  • CompuSec - (freeware) – German proprietary whole disk encryption solution I just discovered this week.  The free version has no limitations and is open to both professional (business/commercial) as well as personal users.  On-line support is available and supports all Windows versions as well as Linux.  Lots of handbooks available and is provided in both German and English flavors. Discussed and reviewed in depth by Leo Laporte and Steve Gibson in a CRC Security Now! podcast session. 

  • TrueCrypt - (freeware) - Free Open-Source On-The-Fly Disk Encryption Software for Windows Vista/XP, Mac OS X and Linux.  Simply the best (IMHO) solution for home users and consumers looking for a fast, efficient, and rock-solid solution to encrypting their laptop/desktop system’s hard-drives to prevent unauthorized data-loss in event of theft of general maliciousness.  Now at version 6.1a.  Anyone who doesn’t use some form of whole-disk encryption with a laptop is probably just asking for eventual trouble, especially if used in a business/enterprise setting.  Desktops are just as vulnerable so don’t forget them as well.

  • PGP Corporation - ($-$$$) Enterprise grade whole-disk encryption software.  Not the only vendor of such out there but one of the leaders in the market.

  • Foxit Reader 3.0 - (freeware) – This major version update brings a larger file size to the previously light alternative PDF reader.  While still “small” in comparison to Adobe Reader, it has gotten a bit more chunky than previous upgrades. It’s still one of the best Free PDF Readers (and then some) in an otherwise large crowd.   I don’t feel like repeating a big list of What's New in 3.0 so hop that link, then grab the updated version.  I don’t think you will be disappointed.

  • CurrPorts - (freeware) – Nirsoft app for viewing/monitoring open TCP/IP ports and connections on Windows now provides information on the total number of remote connections in the program’s status bar as well as port information in the tray-icon tooltip.

  • ShellExView - (freeware) – Nirsoft app for working with shell extensions for Windows now gets a critical feature; support for use with external drives via a command-line option.

  • NK2View - (freeware) – Nirsoft app for working with Outlook’s NK2 file got an update to delete selected items and add items from address bar to the menu system as well as more “accelerator” keys.  Definitely a must have for any sysadmin who supports Outlook users.

  • LSASecretsView- (freeware) – Nirsoft app for viewing LSA (local security authority service) secrets stored on your computer. This version now supports pulling LSA data from a off-line version of Windows 2000/XP/2003. Related: Nir’s LSASecretsDump utility.

  • Secunia Personal Software Inspector (PSI) 1.0 – Now out and polished up.  Previously reviewed RC1 version was great and highly recommended by me. Secunia Personal Software Inspector RC-1: Wowzers!  This new “final” build has experienced some major tweaks and got  some important changes since I last wrote about it in the RC-march up to the final version. 

    • Fix for Windows Vista UAC bug - The Secunia PSI will now start up correctly after a system reboot in Windows Vista
    • Added green icon download icon - The green download icon will indicate that a patch link has been clicked, making it obvious which patches have been requested when applying multiple patches at a time
    • New user interface concept - The user interface has been split into two, a "Simple" and an "Advanced" mode
    • Improved Easy-to-Patch functionality - The Easy-to-Patch has been improved significantly
    • Criticality indication for all programs - The Secunia Advisory criticality rating is now listed for each insecure program found
    • Generally more focus on the security threats each program expose your PC to Secunia Profile recovery - It is possible to recover your Secunia Profile and register the same Secunia Profile on multiple PCs

  • Zoundry Raven for Windows - (freeware) – Looks like this eager bird is about ready to take to wing.  All the standard items and platform support with a nice interface.  Worth checking out.  Also nice is the Portable Application install option. Reviewed by Paul Thurrott in Potential Windows Live Writer competitor at his SuperSite Blog as well as at CyberNet News

  • JavaFX 1.0 Released – As if we didn’t have enough “rich content” applications between Java, Flash, Shockwave, AIR, Silverlight, etc., etc. etc.  Now we are getting JavaFX.  Follow the links to be dully amazed/bored/disinterested depending on your take.

  • PCLinuxOS 2009 is coming soon for release.  I really love this particular Distro and while 2007 has been strong, 2009 should be even more refined.  Hop over to the site to get all the news.

  • KLS Mail Backup - (freeware) – Provides simple backups of Windows mail, Outlook Express, Windows Live applications, Address book,  IE favorites and accounts, as well as various Mozilla programs including Thunderbird and Firefox. Spotted in a KLS Mail Backup makes email, browser backups a snap - Download Squad post.

There you go.

--Claus V.

Windows 7 News Roundup #4

Yep. The road to W7 is littered with news.

Release date for W7 Beta 1 looks to be sometime around January according to various sources and Ed Bott is picking January 13th for his W7 roulette stake.

However, if you attend an upcoming MSDN Developer Conference and pony up $99 registration fee, you will (eventually) get (by mail) a copy of the Windows 7 Beta DVD when available.  Just how hard-core an early adopter are you?  Windows 7 Beta for MDC Attendees – Bob’s blog.

          Date            City

I’m afraid I’m booked up already for the Houston date, so will have to continue waiting for a TechNet preview release of W7 (if ever offered there) down the road.  I’m not feeling up to Torrenting a version right now.

These are some great technical posts how how W7 error recovery “works” at least in early releases.  Reading through them it seems to me that they are successful but are curiously clunky in the recovery process.  I can’t image them staying in this format for the final release.  Vista’s is much more refined.  Although no Windows recovery process has ever seemed easy to understand for non-technical users, Vista and XP to a lesser degree are serviceable. This W7 stuff seems sure to frighten!

I just loved this technical look by Rafael inside W7’s boot-progress architecture.  It is surprisingly complicated, yet simple as well.  Here is the golden-part that sent chills down my WIM hacking spine:

In Windows 7, the boot screen is simplified in many ways. It comprises of a single bitmap, loaded from a small Windows Imaging (WIM) file at runtime, and some text rendered on-the-fly. The approach of stuffing a small bitmap inside a WIM may seem a little overkill right now but this was likely done to future-proof boot reporting. I won’t be surprised if we see other boot-related resources (e.g. sounds) housed within the WIM in the near future…

Some great initial info on how W7 may support the mobile broadband platform.  This will allow simplified connection to the Net through a cellular modem so you don’t have to get tied up with the connection manager.

A great Google article, the difference between ‘easy’ and ‘simple’; and why this is a problem for Windows 7 - SuperSite Blog

Paul Thurrott opines on how Microsoft is still overreaching on OS design models and why W7 might still fail to please everyone.

But what about Windows 7? As I and others have written, Windows 7 is all about a complete reexamination of the Windows OS. Microsoft has probed into every visible and invisible corner of the system and tweaked virtually everything. The result is, condescendingly, “Vista done right” or, in my mind, simply a very finely tuned tool. As a friend noted via IM the other day, [I’m paraphrasing here], it’s pretty clear that what we’ve seen so far in Windows 7 is it. There’s nothing more coming. And I don’t know whether to be excited by that or freaked.

The problem with Windows 7 is that Microsoft is copying the Mac, again. No, they’ll never really make Windows as simple as Mac OS X, though by God they’re going to try. And the reason they won’t is because you can’t simply erase decades of piling on functionality on top of functionality. Windows will always be a Swiss Army knife. You can’t escape your heritage.

Gotta say, as a long-time Windows user and support person, I think Paul has some very good points and Microsoft is in a lot of danger of digging into a deeper hole that they started in Vista.

Will W7 be good, better, and more refined than previous versions? Sure.

Will that be enough to technically distance itself from Vista in the fickle minds of consumers and enterprise operations? Jury’s still out, but I’m doubtful it will, with Vista still so fresh out of the can.

I’m thinking only the hard-core Windows enthusiasts and fan-boys/girls will be salivating for W7 for the foreseeable future (pre/post final release).

Meanwhile folks in Cupertino orchard are leaning back in their chairs and smiling….

--Claus V.

Warm things for cool and blustery days

Minipost.

For the Belly

I still love RSS feeding the Houstonist for the latest behind the scenes goings on around our fine city of Houston, Texas.

I miss that they seem to have dropped their previous Tech Buzz regular posts.  Not so much  as they often pulled material from my blog, but I liked that local tech-news connection.

Anyway, a surviving post category has been local dining locations, and a top-post this week was Houstonist: One Pho the Money, Two Pho the Show covering two new Pho shop locations about Houston.

I’ve found a few choice Pho picks off Harwin, Fuqua, and recently on Bay Area Boulevard worthy of eating.  I sometimes stop in with a few near the light-rail line on the south-side of downtown with my Dad after work as well.  So I was happy to see this featured and be able to note some new joints to try.

A nice super-big bowl of beef Pho with some torn basil and hoisin sauce does wonders beyond miracles to my soul.

Of Belly “Bear”ers of the round and tumbly kind

I’m a kid at heart.

Give me a cold winter night and a DVD or VHS tape of the classic Winnie the Pooh stories and I am in childlike comfort.

Original Winnie the Pooh drawings » Drawn! The Illustration and Cartooning Blog

This brought me back to all things wonderful.

Hop over to BibliOdyssey: Original Winnie The Pooh Drawings for the full and amazing post up of E.H. Shepard’s brilliantly simple but evocative drawings of our beloved bear and friends.  Peacay also provides some nice commentary on them near the end of the post.

As stated, there is no telling if or how long the image links may survive depending on any copyright challenge requests for posting them, so finish up those stoutness exercises and head on over before they disappear like honey before a bear of very small brain.

….hmmmm.

Wonder how Pho with honey would taste?

--Claus V.

Browser Bullets: #2

That last post took a bit longer to compose than I expected.  I’ve got a number more waiting in the wings and I really want to shove them out so I can turn my attention to a series of posts on a subject near and dear to my heart: WinPE boot disk building.

So with no more delay, here are this week’s browser-related links of note:

This is interesting only as it applies to the older 2.0 version of Firefox. In my old post Firefox 3 Security Blocker: Going In Deep I looked at how the anti-phishing/attack-site protection features worked and how they got their data from Google.  It was heady stuff.

Now because of a protocol being discontinued, this feature will be stripped from the very last Firefox 2.0 build; version 2.0.0.19 to be released in a few weeks.

Firefox 2.x users should make the jump to the 3.0 versions now out for a number of reasons, including performance, security, and GUI enhancements. It’s too bad it this security feature couldn’t have been preserved for the few folks who haven’t decided to make the jump.

The ffextensionguru and I have been all over this before.  However, there was a new tidbit of info in that article I had not known about as it concerns Firefox 3.1 releases:

One big change in the 3.1b2 is the addition of "Web workers," a feature that lets the browser process tasks in the background. That feature, part of the still-evolving HTML 5 specification, adds another level of sophistication for programmers writing Web applications and gives multicore computers a better way to use their processors' abilities.

He gave one illustration of Web workers in action running a JavaScript program that emulates a decades-old processor design, the 8080. One thread emulates the processor in the background while another handles user interaction such as checking for typing on the keyboard.

This sounds interesting and might help with system and web-application performance for supported pages/applications.

Though I am remain a staunch Firefox fan (with Chromium closely second) Opera remains near and dear to my heart.  The 9.x builds are a major step forward both in terms of speed and rendering.  Now we are at 10.x alphas in the Opera line.

Granted, this initial 10.0 alpha 1 release primarily introduces the Presto 2.2 JavaScript engine and other performance gains.  It also packs in auto-updating and inline spell checking.  Things that many other browsers already have folded in to their currently released versions.  For those who care, Presto brings with it a 100/100 pixel-perfect score on the Acid3 test.   I think it is something to be proud of and nice to know, but certainly isn’t a deciding factor to me in browser choices (Firefox 3.1b1 gets a slowly earned 84/100 right now and Chromium 0.5.155.0 rips through it with a 100/100 but fails the link test.)

It will install alongside your existing Opera build without interference and seems to be able to share the same profile settings so you can jump between them with no issues.

Certainly worth looking into if you are a browser junkie.

Check out the Lifehacker link for pictures and the ARS post has better technical description of the under-the-hood improvements.

Only for the hard-core Mozilla junkies, the Mozilla Web Development blog announces that they are working a new deployment of the crash-reporting system (Socorro).

The current page design works, but isn’t particularly easy to navigate or hunt up information in.

Database and form-junkies won’t have any trouble, but for non-technical fans, it is a bit daunting to drill down to the information you want.

The new design takes on a “dashboard” approach that pre-loads the top crashers.

The filter is also much more user intuitive to create your target set.

Hard-core junkies shouldn’t feel abandoned.  Advanced filters will be available and should further refine searches for pin-point searches.

Also curious, while poking around I see that the crash-reporter has already been collecting information on the following 3.1 (beta) builds along with some 3.2 action as well:

Like I said, only browser freaks like a few of us (who don’t even code) really would waste their time looking into these reports and stats, but it is fun and curious for the brave few.

--Claus V.

Who are u.exe?

Since mid-November, I’ve wiped all remnants of AVG Free 8 from my systems and have been diligently trial-testing a new (to me) AV/AM program.

I’m not yet at the point of dropping a review of Sunbelt Software’s VIPRE, but in a vague and general statement as to my feelings toward it at this stage of usage I will say this: it rocks.

I have it loaded on a XP Home desktop, a XP Home laptop, as well as a Vista laptop.  All come with various degrees of hardware/CPU/memory configurations.  So I hope to be able to provide a good and fair overview when ready.

But for now, let’s meet my specific u.exe friend.

U.exe’ve been snake-bit!

I had set up a staggered schedule of scans on the systems and scan results have indicated either potentially unwanted programs (PUPS) which are my sysadmin tools, or the occasional tracking cookies.

So I was a bit disturbed a number of weeks back when a new occupant on my desktop system’s hard-drive was located by the scanner and reported back as a trojan.

The alert was tagged as a Trojan.SVcHost threat under a “severe” risk level.  The threat-description sounded fairly menacing.

When I was able, I checked out the local scan “risk details” and found that the file named “u.exe” had been located in the C:\Documents and Settings\profile-name\Local Settings\Temp folder.  On Vista systems it shows up in the C:\users\profile-name\AppData\Local\Temp\ folder.

Hmmm. 

File names themselves are no indication of the maliciousness or friendliness of a file.  But the name did sound familiar. 

A quick search on my blog turned up the filename as being one I had run across at work in association with a particularly bad malicious worm package.  Not necessarily a match but the location and name certainly now how my full attention.

A u.exe - Google Search turned up all kinds of horrible indicators.  Looked like this really was a baddie!

Feeling pretty bummed and wondering what extent of compromise may have occurred I set to work.  Because this was my home system, I did pursue the “assessment” a bit more loosely in method and manner than I follow at work.

The detected file had been quarantined (and I was not fully familiar with the scanner features), so I was unable to view the properties information.

Looked like I had to go ahead and restore it.  Dangerous but necessary to do due to a possible short-coming in the VIPRE interface.

First, though, I was offered the chance to send it to the mother-ship labs for additional review (of a false positive).  What to do?  The A/V program said it was a threat. It could be. I had no info to say otherwise. Darn!  Feeling bad but fishing for more info I sent in anyway. 

More on this “feature” and related implications in the post-mortem report at this post’s end.

First Contact

With Spidey-Sense tingling due the loaded weapon now hot and armed on my desktop I started work.

First thing was to fire-up CurrPorts so I could see if it started jabbering away on the net if it executed.

I also had to disable the AV programs “active protection” so it wouldn’t keep alerting/removing the file as I worked with it.

I noted the file date, and then ran a scan with additional Nirsoft tools on all the system’s browsers looking for possible correspondence between the file name/time and surfing habits.  Sure that can be faked, but it was a starting point.  Unfortunately, no corresponding leads were found.

A check on the general file-properties found some more information.  Although it also can be faked, it did provide quite a lot of leads to follow.

  • File Version: 2.0.0.0
  • Description: PC Decrapifier
  • Copyright: Jason York, 2008
  • Comments: Free for personal use, other users see http://www.pcderaptifier.com

I went ahead and tossed Strings as well as FileAlyzer at it but though some interesting bits came up, nothing out of the ordinary at first-review.

It has a MD5 of 7eb9d42285d699e0c4b7b1ae9ba7f0f3

I uploaded the file to both jotti and VirusTotal.

The Virus Total report overall came back clean with only eSafe reporting it as a suspicious file and Symantec reporting it as the W32.Harakit.

Curious.

The Jotti report came back clean with only Dr.Web reporting it as the Trojan.Siggen.586 file. 

Hmmm.

Back to those file-property leads then.

Teasing out the PC Decrapifier connection

The PC Decrapifier is an outstanding and beloved freeware utility crafted by Jason York that removes a ton of OEM crapware that comes pre-installed on pre-built Windows systems.  These are the ones you bring home from the store or on-line and once booted, provide an onslaught of unwanted or trial-ware applications.  Most folks leave them on, many of us remove them, but a one-by-one removal process can be a drag. This applications wipe a high percentage of them off the system automatically. How cool is that!  I even host a link-back to this program under my “Claus’s PC Toolbox” sidebar which is something I rarely do for a program, free or paid.

So, finding possible associated links between it and what a number of AV programs report as a trojan was very disturbing.  Was it related or not?

I set a trap.

I downloaded the latest version of PC Decrapifier directly from Jason’s site.  So far so good.  No alerts.

I fired up Process Explorer as well as Process Monitor.  I set a number of filters on Process Monitor related to the malware file as well as PC Decrapifier.  I also started a Snag It video capture of the Process Explorer screen.  Sometimes some processes fire up/close so fast they can’t be screen-captured.

I also removed the u.exe file from the location and monitored the folder.

I executed the downloaded exe file and waited.  I got the wizard and started walking through the steps, right up to the point of applying the removals.

There was the u.exe file popping into the directory.

What have we here?

PC Decrapifier was without a doubt the source of this particular u.exe file.

From the screen capture as monitored by Process Explorer, you can clearly see that the main pc-decrapifier-2.0.0.exe loads a sub-process called pc-decrapifier.exe which then will (very) briefly create the u.exe process.

2008-12-06_095508

Process Monitor’s findings were even better.

image

A fast review of all those 5,615 events showed that, basically, the host file download unpacked the main pcdecrapifier executable which then performs a whole bunch of file/directory/registry checks.  During this process, the u.exe file is created and it then also executes a whole bunch of file/directory/registry checks.

Everything looked on the up-and-up.

By now I had clearly nailed the source of the file, and was reasonably comfortable that the file was legitimate and, in-fact, a false-positive.  I suspected that the false-positive may be caused by the u.exe packing method within the larger PC Decrapifier executable container.  However, I’m not certain if the alert is being caused by the AV due to a signature or heuristics.

Checking in with Jason

Now breathing much more relaxed, I wondered if the developer might be willing to shed some light on why he is using this particular method to execute the program.

I sent off a request for clarification on u.exe and Jason kindly struck up a correspondence.  He has allowed me to quote the gist of his explanation from one of our emails.

The download file uses NSIS (http://nsis.sourceforge.net/Main_Page) which really just unzips the necessary files into the temp folder as you have found.

The u.exe file is a AutoIt script (http://www.autoitscript.com/autoit3/index.shtml) which does use a  UPX packer. With version 2.0, I did convert the main program  completely over to a C++ application, but there were still some custom AutoIT uninstall scripts that I didn't want to rewrite.  So I kept some of them in as a helper application (u.exe)  The C++ application will make numerous calls to this to have it detect if there are applications it can remove.

There you go. Now the whole picture makes perfect sense to me.

Post Mortem

So, in regards specifically to this u.exe file with MD5 of 7eb9d42285d699e0c4b7b1ae9ba7f0f3, the file is harmless (to everything but OEM software crap at least) and is not, in fact malware as best I can determine but an integral part/function of the very awesome The PC Decrapifier utility.

Special appreciation to Jason for being so transparent with his program’s operation and structure.

For a few days, VIPRE had indeed stopped alerting on u.exe and my systems were nice and quiet again.  However the signature/heuristics are once again biting on this particular u.exe file.

I have resent the file to Sunbelt’s team as a false-positive report and also gained some more perspectives on how VIPRE works with quarantined files, as well as have a few kind suggestions for improvement.

First. in my initial encounter with the “trojan” and VIPRE, turns out the file had been created on my system prior to installation of VIPRE.  I hadn’t run The PC Decrapifier application post installation.  Thus it wasn’t found until a “full/deep” system scan kicked off.

When found, the file was alerted on in the (in progress) scan progress page.  Fair enough. However, I had to wait until the entire scan had been completed to get any additional details on the file in particular. Not good.  I would like the ability to get (at least) basic information about file location, properties, etc. mid-scan.

Secondly, once the scan had been completed, I was able to go into the Quarantine area of the program and then click the “Risk Details” button which then only provided me with a summary of the threat facts from Sunbelt as well as the location the file was found in.  I couldn’t get any other information about the file.  To do so I had to restore the file.

Thirdly, once I had wrapped up my “investigation” on my original XP system I ran the PC Decrapifier again on our Vista system.  Since this was a “fresh-run” VIPRE’s “Active Protection” system caught the u.exe “threat” immediately.  And tossed up a notification window.

Ahh!

In the window alert was a link to “show details”.  Clicking that shows a much more detailed report on the file specifics full of great information. (Text-selectable report is shown below underneath the alert window.)

U_exe_VIPRE-rpt

(observation: an MD5 hash in addition to the CRC8 would be nice for cross report checking from other sources.)

versus….

image

Which would you prefer?

I’d personally like to have access to both reports/details from both locations.

I can’t figure out why this same detail report option isn’t available during the scan on items found mid-scan nor why it isn’t offered (and differs) from the “Risk Details” displayed via the quarantine page. Maybe the file is rendered inaccessible to the “advanced” report detail API once in quarantine?  If so, it would be very nice to be generated/logged during the pre-quarantine process.

While average home-users of the product probably could care less, advanced users and researchers could clearly find value in access to the advanced report details while the file is still in quarantine as well as having it accessible mid-scan instead of only during “Active Protection” hits.

Fourthly, for some reason, I had recalled that when I sent the initial false-positive report in, I had the option to add additional comments to the transmission.  However, when I resent, I found that was not the case.  Having the ability to add comments or details to the virus report transmission might allow the reporter to provide great information to the labs allowing them context and information regarding the discovered threat and why/or why not the submitter feels it is in fact a false-positive alert.

Lastly, I would really, really, really like to see just a bit more feedback, even if automated, from files sent by the user to Sunbelt Software for additional analysis out of the quarantine jail.

At a basic level, just a simple return acknowledgement via email (if requested) would be nice to show the file was received.  Kicking it up a notch, a tracking number for the submission would be nice on a return email confirmation.  By providing that I could at least attempt to tie my updated research on the false-positive findings to an early case-file number to cut down on duplicate work in the Sunbelt Labs. Goodness knows we all have to be more productive now-days in IT.

I’m sure I’m not the only one out here who would gratefully provide more of my investigative work directly to Sunbelt lab analysts as we amateur and semi-pro sleuths have time on the side and tease out more details of a suspect file.  Corresponding via a submission case # would be great if more information panned out, or if the Labs requested more details/information themselves.

Finally, I have no idea if Sunbelt labs provides any direct (private) acknowledgment to a reporter it they do independently prove a file was a false-positive.  Instead I seem to have to re-test and see if the new definitions cause a re-alert or not.  Time-consuming at the least, dangerous at the worst if it was in fact a malicious file after-all.

That could be critical information to the end-user/investigator!

Suppose for instance, that in my case, this u.exe had been a false positive to a critical program or system file.  As a “noobie” or unsophisticated user, I may have reported the file anyway, and then allowed VIPRE settings to either permanently delete the file or delete it after a certain number of days.

I might never know that was in fact a false-positive and thus continue on with a critical file now missing from my system.

If I get feedback, I might be able to restore the file once notified it was a false positive, thereby mitigating the long-term damage from removing the file.

These are not intended to be seen as negative criticisms on VIPRE. And I have no idea if they toyed with these "feature” implementations or not, and if so, why they may have been excluded.  Maybe they are in there as advanced settings and I haven’t RTFM deeply enough yet.

However, if I know Alex Eckelberry, I’m sure he will graciously provide some level of feedback on these questions and observations.

That said, so far I’m very pleased with VIPRE overall and this “investigation" was quite fun.

I hope this helps some panicked or confused folks and clears up any questions regarding this particular u.exe’s association with The PC Decrapifier.

--Cheers!

Claus V.

 

Additional Reading:

Antivirus programs unreliable during critical coverage gap – ARS Technical report

Windows Incident Response: Issues with AV – Wonderfully appropriate post by Windows forensics expert and author Harlan Carvey on AV report technical details and consistency.  You can never have enough info on threats discovered via a AV application.

Off the AVG bandwagan. [sic] - Nicholson Security.

More On Why I Think Free Microsoft AV Will Be Good For Consumers - securosis.com’s analysis on the Microsoft “Morro” project’s impact on the AV industry.  Fast but tight read.

Quick Browser and Google Bits

Just some browser bits and pieces over the last weeks that might be worth noting

Google Chrome

While still not my main browser (Firefox 3.1b1 takes that slot), Google’s Chrome browser has endeared itself to my heart for its simplicity and style.  I love using it during presentations and trainings.  It really does bring the focus away from the browser and on the content.

That said, it still lacks many basic (IMHO) features. One of which is a bookmarks manager.

That hurdle has now been cleared.

Google Chrome gains a bookmark manager - Download Squad

I’ve tried it and it does add a lot to the Chrome party.  If you haven’t updated your Chrome browser it’s time to do so, for this alone! To do so simply go to "About Google Chrome" in the Tools/Help menu.  The updater should be available.

heise Security UK also points out some other worthwhile additions:

Google has also has brought all of the privacy settings together, and has reworked the pop-up blocker.

A potential security problem has also been eliminated. Until now, local HTML files were able to use XMLHttpRequest to move data to or from the internet, something attackers were able to exploit in order to steal data. Google has now put an end to this.

Also making some news is that upcoming releases of Chrome will also be able to fully support Chrome extensions now that the framework for API development for Chrome extensions has been published. Finally.

Google Chrome: Chrome Extensions On the Way, Adblock Imminent – Lifehacker.

I have to say, of all the Firefox Add-on extensions I use, the two I would most want to see in Chrome versions would have to be (hands down) Adblock Plus and NoScript.

Everything else would be gravy

Mozilla 3.1b3 ?

While I still wait for Firefox 3.1b2 to be released, now comes some interesting news that there might be a 3rd beta in the wings scheduled for Firefox 3.1.

Mozilla eyes extra beta for Firefox 3.1 – LinuxWorld

Previous schedules published by Mozilla had limited Firefox 3.1 to only two betas before moving to a release candidate.

In a long post to the "mozilla.dev.planning" forum, Mike Beltzner, the director of Firefox, said that Beta 3 is necessary to get a feel for the severity of the remaining bugs and an idea of how long it will take developers to eradicate them. In addition, another beta will give more exposure to features landing in the browser only as of Beta 2, which has not yet been released.

Not sure how likely this will be, but if it brings added stability and bug-fixes to key features and functionality to the next version update, I’m all for it.

Fashion your Firefox – Add-ins pre-picked/pre-packaged

Completely unrelated, but interesting none-the-less is the Mozilla sponsored Fashion your Firefox. This page allows you to select a Firefox “functionality theme” and then either select some/all of the suggested Add-ons in one fell swoop.  I really like this as a starting point for new-to-Firefox users as it really helps sort out some great Add-ons to showcase how Firefox is so awesome in flexing to the needs of its users.  And from a Mozilla-blessed standpoint to boot.

Sadly, lacking in the list are any collections that are forensic/pen-testing/security centric.  If you want those you will have to look to the Security Database Tools Watch - FireCAT 1.4 package or pop over to the Package de plugins FireCAT 1.4 (natively in French so here is the English Version a-la Google) and download the compressed file and install away. 

RE: GMail Exploit or Not?

In a late November GSD post, All Over Gmail: Like Stink on a Skunk, I mentioned a possible Gmail flaw that allowed a domain hijacker to drop some incoming mail intercept filters and take over the MakeUseOf blog site among others.  At the time it was unclear if this was a new/old/non-existent exploit. Although more than a few folks thought it was.

Well now that some time has passed, Google officially has said “not so!”

Google Online Security Blog: Gmail security and recent phishing activity

We've seen some speculation recently about a purported security vulnerability in Gmail and the theft of several website owners' domains by unauthorized third parties. At Google we're committed to providing secure products, and we mounted an immediate investigation. Our results indicate no evidence of a Gmail vulnerability.

With help from affected users, we determined that the cause was a phishing scheme, a common method used by malicious actors to trick people into sharing their sensitive information. Attackers sent customized e-mails encouraging web domain owners to visit fraudulent websites such as "google-hosts.com" that they set up purely to harvest usernames and passwords. These fake sites had no affiliation with Google, and the ones we've seen are now offline. Once attackers gained the user credentials, they were free to modify the affected accounts as they desired. In this case, the attacker set up mail filters specifically designed to forward messages from web domain providers.

So according to Google, the impacted users were victims of a phishing attack, not a Gmail exploit.  However, some good proof of concept seems to still show that it could be possible, however unlikely.

So, I still say keep an eye on your Gmail filters and check for anything unwanted and in the meantime, always use the HTTPS access login feature of Gmail just to be safe.

Other related links I collected as this story continued to develop:

Google security denies XSRF reports - Network Security Blog. A very good and brief analysis and commentary on the state of this particular story from security blogger Martin McKeay.

The fact is, I don’t see enough evidence for or against the exploitation of this vulnerability to prove either side of the story.   No amount of fact checking in the blogosphere is going to prove the point, there’s simply not enough known, it’s almost all speculation.  The Google Security team has to deny the report, it’s part of what they do.  But they have done a good thing in strongly suggesting everyone force their Gmail account only use SSL when logging in.  It’s not a perfect solution, but it is a step up from what most people are currently doing.

Gmail Exploit May Aid Domain Hijacking – ReadWriteWeb. Includes timeline of events and breakdown of the story from a wide-angle.

Hole in Google Mail allows mail to be hijacked - heise Security UK. Security site provides their perspective on the issue.

Google GMail E-mail Hijack Technique – GNUCITIZEN old post on 2007 Gmail exploit issues.

Removing your Google Cached pages for deleted content

A very dear and cherished blogger whom I follow found herself out of work some months ago.  Her blogging has continued faithfully but recently took a turn of frustration and extro-spection when she wondered if her blog and its posts were a possible drag on her employment search and application-screening process.

With more and more Net savvy employers doing Google searches for evidence of an applicant’s background on the Net, it is becoming harder and harder to present a “sanitized” version of oneself.  The past can come back and bite you, even when “deleted”. (Related: The End of Online Anonymity –ReadWriteWeb).  I worry for Alvis and constantly coach her to be careful and restrained on what she shares about herself online.  It’s fun now as a teen but when she gets out of college eight or so years from now?  Then what when she starts climbing the career ladder?

Anyway, this particular blogger was contemplating deleting some/many of her previous blog posts.  I commented that while that seemed like a good response, Google’s cache or the Internet Archive makes it harder than ever to really scrub your previous online presence from the net.

That’s good from a research standpoint but bad from a personal-privacy/regret-remediation standpoint.

To learn more about how this can be done, see this post Browsing the Web Using Google Cache – Google Operating System Blog.

Google Cache is a great solution if a web page is down. If you're visiting a site and it returns a 404 error message, you can…do a search on Google for that site (add the cache: operator, so your search query would be something like cache:www.google.com).

Google Cache Hacking - rentzsch.com has more juicy details on this feature.

Instead, after opening my heart up a bit more than usual with perspective and encouragements, I offered some advice that maybe she should instead begin seeding her blog with more technical posts that would indicate her skills and showcase why her technical knowledge would be an asset, instead of just having posts (however wonderful they are) of a strictly personal nature.  Maybe that might work to her advantage as well as providing some balancing professional counterpoint to the personal themed posts.

That said, there are some avenues to getting your content removed from Google cache listings:

Google: Deleting things from Google’s cache – Lifehacker

Removing my own content from Google’s index – Google Webmaster Help Center

If the content is currently in our index, we will remove it after the next time we crawl it. To expedite removal, use the URL removal request tool in Google Webmaster Tools.

Same goes for the Internet Archive’s Wayback machine saved page removal.  From their FAQ

How can I remove my site's pages from the Wayback Machine?

The Internet Archive is not interested in preserving or offering access to Web sites or other Internet documents of persons who do not want their materials in the collection. By placing a simple robots.txt file on your Web server, you can exclude your site from being crawled as well as exclude any historical pages from the Wayback Machine.

Internet Archive uses the exclusion policy intended for use by both academic and non-academic digital repositories and archivists. See our exclusion policy.

Here are directions on how to automatically exclude your site. If you cannot place the robots.txt file, opt not to, or have further questions, email us at info at archive dot org.

These are the only locations that previously Net posted materials may be saved, but might be the most common. 

Feel free to leave other tips on sites that cache pages even when removed and links for the removal process.

As for the dear blogger, she removed that particular post (and it wasn’t cached BTW) and I haven’t heard a response to my comments, but I did notice a few more “technical” posts on her blog.  Good show and best wishes!

Cheers!

--Claus V.

Pushing through the wall

<deleted> long, rambling, ranting, possibly whiny post about boot disks, av false-positives, too few posts lately, too many valuable links worth sharing, something unkind about RGP contact lenses, and not enough time.

<insert> short honest post advising followers that Claus is here, very tired, having ate too much food, engaged in not nearly enough counter-balancing physical exercise, watched way too many college football games of importance, traveled to too many relatives’ homes on opposites sides of the fair state of Texas—by car, and despite all attempts to the contrary, avoided logging on to any family computer for three days out of a four-day holiday weekend.

I know. Remarkable.

Good news?

My new tailored-fit dress shirts still fit pretty darn well and that this weekend marks the traditional Valca girls’ efforts to trim the tree and home in all-things Christmas.

That means that while I will have to take some time extracting all the boxes from our storage closet, I am allowed in good will to retreat from household activities and keep my distance.

More posts for you!

It’s too early to tell what they may hold, but expect a few jam-packed linkfests, research on an av program’s particular false-positive, and (hopefully) I can begin to bring some closure (and neat lessons learned) to my VistaPE/WinPE 2.0 disk building journey to Hades and back.

Cheers!

--Claus V.