WetStone Technologies, Inc. Intelligent Solutions for Digital Inestigations
 
The Science of Digital Investigation - by Chet Hosmer

03/26/08

Permalink 08:08:37 am, by chet hosmer Email , 501 words, 170 views   English (US)
Categories: Digital Investigation, Background

Forensic Network Mapping

For many years forensic investigators and IT personnel alike have used tools like NMAP (originally developed by Gordon Lyon pseudonym Fyodor Vaskovich), netcat, ping, traceroute, telnet and many other tools to discover the layout, configuration and in some cases vulnerabilities existing in enterprise network environments. Traditionally, these tools have three basic capabilities a) To discover hosts that exist within a network; b) identify active ports within the identified hosts; and c). Identify the specific operating systems and version of the identified hosts.

Within a forensic context, tools and technologies are emerging that allow the “forensic” mapping of enterprise networks. Much like photographing a physical crime scene, these tools attempt to identify at a moment in time the state of the network through the lens the Internet Protocol (IP). They now attempt to even delve deeper into networks in order to better understand the network, configuration, hosts, topology and vulnerabilities that exists. For example, they not only identify hosts in the traditional sense, but also identify routers, firewalls, network switches, printers, gateways, domain controllers, application servers, etc. In addition, when provided with administrative credentials, these tools probe deeper to identify shares, user accounts, running services along with their current state, installed drivers, mounted file systems (including temporal file systems such as USB, Firewire or Remote Network based file systems), last boot times, logged on users and even known Trojan / rootkit / key logger and botnet ports).

One of the key aspects of these new additions to the forensic investigator toolkit is the preservation of the snapshots within a digital evidence bag or case files facilitating the use of these snapshots as evidence within civil or even criminal cases. This is a critical aspect of forensic based scanners in order to both correlate the time of the capture and to preserve the evidence. Based on the size of the enterprise, network or subnet to be snapped, the time to collect a full picture can range from a few seconds to several hours. Most of the time, investigators are able to derive a more specific aspect of the network to discover (by address range, subnet range or host domain). The forensic captures are typically taken on a one-shot basis prior to other live or postmortem investigative actions, but in some cases are repeated in order to evaluate the changing nature of the network. For example if a host is turned off, the forensic scanner will assume that the IP address is dark, whereas on a subsequent scan the host may appear if it is turned on or rebooted.

Performing a forensic discovery of an enterprise network prior to investigations may reveal key elements that otherwise may be overlooked. These network maps, along with a large amount of metadata associated with each node, can provide evidence that is likely to be crucial in unwinding malicious or criminal activity. Executing such discoveries require well vetted tools, experienced and trained investigators and skilled examiners that analyze these results to develop hypothesis and execute other investigative strategies and actions.

02/26/08

Permalink 05:59:03 am, by chet hosmer Email , 1000 words, 714 views   English (US)
Categories: Digital Investigation

Digital Timestamps Aid Live Investigations

Live digital investigations are quite different from traditional postmortem investigations, in that they collect evidence that has both stateful and temporal characteristics. More like taking a photograph of a crime scene, live investigations require the investigators to testify more succinctly regarding the “when” of digital evidence collected.

Digital timestamps offer unique capabilities that can aid both live and traditional postmortem investigations. Digital timestamps provide more than the ability to mark content with time however, they also provide the ability to preserve the data integrity of digital evidence and provide time based non-repudiation.

Read more! »

02/13/08

Permalink 08:08:22 am, by chet hosmer Email , 784 words, 126 views   English (US)
Categories: Background

Live Hash Discovery

Digital investigator’s commonly utilized one-way hash technologies MD5 or SHA varieties to generate unique mathematical signatures of known files.

Traditionally, hashing is performed during postmortem forensic investigations and is used to maintain evidence integrity, as well as to identify known files (known good or known hostile).

Autonomous Hashing (over the wire or during direct overt or covert interactions) the process of collecting hash values from live running systems can significantly speed the identification of known threats and known files that users should or shouldn’t possess. Performance enhancement is obtained by performing the hashing function utilizing the target machines computing resources, in other words off-loading the processing to the target. This approach has two important benefits, first the content of the files, directories or drives being hashed don’t pass over the network which could potentially expose (if not encrypted) proprietary data. Secondarily, the performance is dramatically improved especially if multiple targets are being processed simultaneously, network traffic congestion is reduced.

Autonomous Hashing is accomplished by pushing a small software agent to the target(s) machine (credentialed access to the target under investigation is required to accomplish this, or the agent must be installed a priori). The hashing agent is then instructed to gather hashes from the target machine and report back results when completed. The agent can be instructed to collect hashes from all drives and devices permanently or temporality attached, searches can further be restricted to specific directories or file types. This can include USB or Firewire drives, local or remote network drives, mounted or encrypted file systems. Once the collection of hashes (and associated file attributes) is completed the agent delivers a report back to the investigator workstation with the result. It most cases this report is delivered as a compressed and encrypted XML document that is ready for post processing by the investigator. The reason this document is encrypted, is to prevent the disclosure of file system data collected by the agent. Even though the file contents are not included in this report, file system information contained in the report still may contain proprietary data that requires protection.

Post processing of the resulting discovery provides investigators a wealth of data regarding the target. Obviously a file system inventory may reveal recent documents, population of images, audio files, movies, application data, documents etc. In addition, based on the Hash values collected a comparison of hashes collected to known good (operating system programs, application files, development tools) or known bad (rootkits, password crackers, botnet files, trojan horse, encryption, steganography, key loggers etc.) can be identified. In addition, to the known good or bad files identified in such a discovery, files containing proprietary data could be identified based on the hash files, known file names or known partial hashes.

One of the criticisms of utilizing autonomous agents that execute on the target platform is the potential untrustworthiness of the Operating System (OS) of the target. Developers of autonomous discovery technologies are certainly aware of the threats posed by root kits and other malicious code that can intercept OS calls and circumvent the discovery of hidden directories or files. Without revealing the specific details of the countermeasure that developers employ to overcome these hooks, it is safe to say that self inspection of the operating environment is critical to effective autonomous hashing software. This implies that the software must perform a thorough inspection and determine whether core API calls that will be used can be judged safe. In addition to the trustworthiness concerns, anxiety over agent modifications of target evidence that would bring into question the efficacy of the discovery in court. This argument is certainly a valid concern and the responsibility of those engaged in the development of such agents must be considered from the top down. For example great care must be taken to audit every operation and potential modification that the agent may cause. In addition, time stamping (from a trusted source) should be included in robust solutions in order to prove the exact time the snap shot of the file system and when collection of the hash values occurred. Since the target machine is running before, during and after the discovery, at the very next moment the file system is likely to have changed, this is especially important when collecting hashes across multiple targets potentially existing in differing time zones.

It is clear that autonomous hashing and live discovery technologies are advancing rapidly and provide value and expediency for investigators. It is important as we advance these solutions we consider not only what we collect, but also engineer solutions that can prove what we collected, where we collected it, when we collected it and by whom it was collected.

The Science of Digital Investigation

May 2008
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Search

Categories

Subscribe

XML Feeds

What is RSS?

powered by b2evolution free blog software