Monday, August 3, 2009

Linux forensics - Part 1: Helix

In this article, we will introduce and review Helix, a vastly powerful Linux forensics distribution.

For more details about forensics in general, please see the Introduction.

What is Helix?

Helix is a live Linux CD carefully tailored for incident response, system investigation and analysis, data recovery, and security auditing. It is geared toward experienced users and system administrators working in small-to-medium, mixed environments where threats of data loss and security breaches are high.

The most recent version is based on Ubuntu, promising stability and ease of use. Helix has two modes, including pure Linux bootable live CD and the Windows mode, where it can be used in-vivo on top of a running Windows desktop.

Helix is available for download by email registration. We tested version 3 here.

Now, let's see what Helix can offer us.

Linux mode

As said, Helix comes as a live CD, allowing you to use it on a "suspect" machine with its native operating system dormant. It also makes Helix quite useful for network neighborhood auditing, by being able to run from just about any machine on the segment.

Helix boot

The latest version of Helix is based on Ubuntu (used to be Knoppix, in the past), so the minimalistic yet fully functional Gnome desktop comes as no surprise.

Desktop

By default, Helix will display monitors for mounted disks and CPU, memory and network activity.

It comes with a range of useful tools. Bear in mind that the Linux live CD part is only a fragment of the entire arsenal. We will talk about dedicated Windows utilities later.

Tools

The basic kit includes the omnipotent Wireshark network analyzer / packet sniffer, several anti-virus tools, retrieve passwords, backup and restore partitions, browse MAC partitions, examine binary files, and more.

The users can choose between XFPROT and ClamTk anti-virus scanners to examine files and folders on suspect machines, including local and remote disks.

Anti-virus 1

Anti-virus 2

You can also scan Windows registries.

Tools 2

Adepto allows you to create sector-by-sector images of local devices and take them offline for further analysis. It also allows you to restore disks / partitions, which makes it handy for recovery, too.

Tools 3

You can also try to retrieve Windows passwords.

Tools 4

Windows mode

In this mode, Helix is used just as any other CD inside Windows. Double-click to launch the application. You'll be warned about your actions.

Windows warning

The Windows mode differs from the Linux side in being a floating application rather than a complete operating system. Therefore, the navigation is a little different.

First, you have the Quick Launch.

Quicklaunch

Then, there is the Page menu, which allows you to browse different categories of tools.

Pages

The Windows side contains a broad range of highly useful utilities.

The Incident Response page is particularly rich, with lots of excellent programs. Did I say you should be knowledgeable and extremely careful when running these tools, as you can very easily obliterate your system and even cause significant damage to the LAN? There, I said it.

Windows tools 1

An entire section is dedicated to viewing (and retrieving) passwords, cookies and logs.

Windows tools 2

You also have tools for auditing of the system, remote connection (including VNC, SSH), file recovery, and rootkit scanning.

Windows tools 3

Like in Linux, it is possible to acquire entire disk drives (and even the physical memory).

Windows tools 4

You can also browse contents of files and folders, calculate hashes, check time stamps, and more. This allows you to look for suspicious, clandestine activities in your data archives.

Windows tools 5

As mentioned earlier, you can run full audits of your system.

Audit

Conclusion

Helix is a highly useful toolbox. The dual mode is especially valuable, since quite a few system administrators are not that proficient in Linux. Furthermore, it allows Helix users to approach Windows-related problems with several methods, first trying to cope with problems while still logged in Windows and then escalating to the Linux live CD mode.

Helix is a stable, complete package, with a broad range of great utilities that will significantly increase your ability to respond to problems, threats and incidents in your environment.

No comments:

Post a Comment