Many of these tools not only list the integrations they watch, but allow reversable management of them as well. This is very useful when troubleshooting issues like "why does my PC dial out when I list files in My Computer?" or "why is it so slow to list files?".
Now there are tools that are great to have around, and then there are tools that you use so often they become as familiar as your favorite ballpoint. Then there are tools you've had for ages, but only recently started using, as you hadn't really thought of them before.
Some tools that I'm using a lot at the moment are:
NirSoft Registry Scanner, which searches the registry for something and then lists all the occurances, each of which jumps into RegEdit at that particular item. One gets so used to Start, Run, RegEdit and then search, that it's hard to switch that habit to running this instead, but it's worth it.
Sure, searching the registry takes the same time either way, but it's easier to double-track jobs if all that overhead is imposed in one go, rather than between each "next", and it's easier to keep track of what you're doing if you can quickly edit each occurrance one after the other. Also, seeing an overview of what's found can change your strategy; it's obvious when you've cross-searched something you didn't want to find, or when you're about to bite into the tiger's tail (say, "330 items found" - do you really want to eyeball them all?).
Paraglider's RegShot takes snapshots of the registry, compares them, and provides a .TXT log that can be trimmed into a .REG that will apply the differences. It's from http://www.paraglidernc.com/RegShot.html and is a modified continuation of the work of another (as credited on the page).
Now I've used this sort of tool long ago in the Win95 era, and didn't find it useful; I either got too much "noise" (fluff settings such as which desktop icon was moved 2 pixels to the left, etc.) or an incomplete result that left out half the changes I'd need to apply. But whether it's a better tool, or improved registry operations in XP, it's now an approach that works about 90% of the time, when you have an interactive setting that you wished you could automate via a .REG:
- Undo the changes you want, Apply
- Take the first registry snapshot
- Make the changes you want, Apply
- Take the second registry snapshot
- Compare, Save, edit to commented .REG, Save As
Dependency Walker tracks what a particular code file depends on, and is from http://www.dependencywalker.com/
You know the drill; you scrape over some program, run it, and it says "needs blahblah.dll", so you Find the latest copy of that on the source system and drop it into the program's directory. Then you run it and it says it "needs blah27.dll", so you etc. This can go on for n iterations, during which point you start to wonder whether the effort is worth it.
Dependency Walker would have been a better approach there, because you'd have a better idea of what you're up against. Sure, you may have to repeat the process when added code libraries reveal their own dependency fan-outs, but at least you are seeing one level at a time, and not one item at a time. After a while, you'll get a feel for the relationships between code libraries and the issues associated with them, and that's good knowledge to have.
Paraglider's RunScanner is a fundamental brick in the process of building a maintenance OS; it allows programs to run as if a different set of registry hives were in effect. The full ramifications of that are Beyond The Scope Of This Post (or "left as an exercise for the reader") but what it does is facilitate the formal use of tools that assume they are being run "live" from the installation you are trying to formally approach.
By "formal", I mean by not running any of the code under scrutiny; one of the most basic tenants of tackling malware, right up there with "don't write to the drive" for data recovery. Sure, most of today's approaches to malware are informal; they also don't always work (as in "Blah-Blah AntiVirus for Windows says it found XYZ, but can't clean it!"). The relationship between these two points is not coincidental.
NirSoft's Windows Update and JRE Listers fulfill a common need; to quickly assess the patch status of a system. This is particularly important with Sun's Java Runtime Engines, given that Sun doesn't remove old engines when installing new ones - and yes, the old dumb-ass exploitable engine is still left available to be (ab)used by malware.
Speaking of "code of the day", it seems as if Firefox is discovering the pain of patching isn't a Microsoft thing. There's been a new revision of Firefox most months, which looks a lot like Microsoft's monthly patch release cycle, until a longish spell between 1.0.4 and 1.0.5 - then 1.0.5 was almost immediately by "antidote" 1.0.6, all of which suggests that a certain degree of complexity plus edge expose will inevitably lead to code churnover and quality issues.
2 comments:
I just downloaded a bunch of the NirSoft utilities yesterday and skimmed over them one by one. But I can't tell from first glance which ones help identify: "why does my PC dial out when I list files in My Computer?" or "why is it so slow to list files?".
Which of those utilities help in these cases? BTW, I came across Nirsoft's utilities from here when on a portable apps tear -- http://www.downloadsquad.com/2008/09/02/24-killer-portable-apps-for-your-usb-flash-drive/ -- and downloaded all but about 2-3 of them. The screenshots really sell the 'see-all-the-info-in-one-place' story.
Hi shnoid!
Integration that triggers when listing "your computer" via namespace browsers such as Windows Explorer, My Computer etc. will be via one of three methods...
1) Left-pane objects
Namespace objects may appear as "drives" or non-shortcut, non-file items in the left ("tree") panel of Explorer.
These include MS's IE and Outlook icons, and similar from 3rd-parties, such as PDA, phone etc. icons.
2) On-view filters
May also be referred to as "persistent handlers", these integrate as handlers for particular "file types".
When that "file type" is present in the contents of a folder, i.e. Explorer's right pane, this code kicks in. Anything that integrates into the right-click context menu "below the line" (or as a fly-out) will do this, but such integrations do not have to have visibility there.
Examples include WinZip, WinRAR, av and other scanners, image thumbnailers, etc.
3) Other
Other methods include Desktop.ini and \Autorun.inf methods that can autorun code when these stand-alone linkage files are encountrered. Unlike (1) and (2), these may have no registry footprint.
Code may also integrate via IE's BHOs and toolbars, if these extend to Windows Explorer, or other parts of the OS that are not part of the shell integration set.
The Nirsoft tool I had in mind was Shell Extension Viewer, which is good at (2) and perhaps (3). There's also one for shell context menus, which I haven't used as much.
Nirsoft's approach is more like *NIX, i.e. multiple small tools that do one thing only, but do it well. Contrast that with the all-in-one-place suites, such as Windows Defender, HiJackThis, Spybot, etc.
BTW, Nirsoft's ProduKey can't find keys in Vista64, unless Nirsoft has updated their tool (I'm checking for that now), so screenshot that as you enter it!
Post a Comment