Monday, January 2, 2017

Conducting an Electronic Investigation: A Case Study in Virginia Politics

January 2, 2017

Conducting an Electronic Investigation:
A Case Study in Virginia Politics

Happy New Year!  2017 has already started off with a proverbial “bang” in our home state of Virginia with a story in the political world which directly relates to the field of digital forensics and electronic investigation.  Two Republican candidates for Lieutenant Governor, Jill Vogel and Bryce Reeves, are now embroiled in a scandal which is detailed in The Washington Post and the conservative blog, The Bull Elephant, which are also linked below:

The Washington Post: (click here)


In a nutshell, an email was sent from a Gmail account allegedly accusing Reeves of having an affair with an aide.  Court records indicate the email detailing the affair were sent from Vogel’s home IP address,  she claims that she (or others close to her) was/were “hacked” and the damaging personal email had nothing to do with her campaign.  There is already a civil matter filed which deals with the email and the investigation is ongoing.

What I find in reading the blog comments and online postings of those who may be interested in this story is the lack of knowledge about what can be proved vs. what cannot be proved and that is what we’ll explore here.  As a matter of full disclosure, I have met Reeves, although I doubt he remembers.  We have mutual friends and acquaintances in various areas of the practice of law and in public service.  I have not met Vogel. I have also offered the assistance of Pro Digital Consulting in this case in one or more public forums.

Potential Areas of Evidence

So how does an investigator go about proving or disproving that emails were sent from a particular device at a specific location?  There are a number of potentially relevant pieces of information and evidence which can help lead us to a reasonable conclusion.  The evidence can be from a larger entity, such as the email provider or internet service provider (ISP) and can be drilled down to a single user, depending on the specific makeup of the network in use.  So here’s what we’d be looking for, in order of increasing specificity:

IP Connection Records

IP or Internet Protocol addresses are similar to a telephone number for your computer or other web-connected devices. Every subscriber on the internet is issued an IP address for a location and the IP address is what reaches out via your internet service provider (i.e., Verizon, Comcast, Cox Cable, etc.) or ISP to the larger internet.  In the most basic terms, a single subscriber is issued an IP address by the ISP to a specific location, such as a home or office, and that IP address is shared internally between individual users on the internal network through a wireless or other router.  The router also issues IP addresses to each device that is connected on the internal or private network, but those private IP addresses can be manipulated, depending on the knowledge of the private network administrator.



Of key importance with this information is the correct day and time of the connection of interest.  IP addresses are sometimes static (not changing) and sometimes dynamic (changes often).  Additionally, while the connection of interest may have been made in Virginia, the ISP may be located in California, so standardizing the time zone in the subpoena request is also very important.  One larger piece of evidence which appears to already exist in this case is the subpoena return to the ISP, which allegedly details that the IP address issued at the specific date and time that the email in question was sent was issued to Vogel’s home address.  However, a twist comes in when we add that her neighbor allegedly shared an internet connection with the Vogels via an unsecured wireless router (or routers).  More on that later.

Records from the Email Provider

The crux of this case is the email, which Ms. Vogel claims she did not send, nor did anyone related to her campaign.  Therefore, it is crucial to get as much information about this email as possible.  Emails are nothing more than text messages sent with more detail (i.e., metadata) and with more “digital breadcrumbs” associated with them.  Every email provider is a little different, but generally speaking, they all log incoming and outgoing dates & times, IP addresses and other metadata that can be useful in the email header.  However, as is widely known, certain email providers anonymize their IP addresses, which makes tracking down the sender slightly more difficult, but not impossible.

All emails contain headers, which contain this vital information and metadata.  While you may not see them, they’re there.  It’s how each ISP and their servers log the activity as a virtual Post Office for each email you send.  The original email(s) in question in this case should be preserved as evidence, both in print and digitally, as a matter of best practice.  What we often see is an email that is submitted as evidence for analysis or investigation that has been forwarded once, twice, three times… You get the idea.  The best evidence in any case is the original evidence, or at least as close as we can get to it.  Evidence that has been passed from hand to hand to hand only degrades in its value and impact in the overall investigation. 

The headers in the email(s) in question will tell us when it was sent, who sent it (the sending account), from what IP address it was sent and so on.  From there, subpoenas for additional information may be submitted to the email provider for account holder information, which will include the creation date and time of the account and most often, the IP address that was captured at the time the account was created, as well as potential other information, such as a phone number in this specific case, which is most often used to verify the account belongs to a person.  Then, a subsequent subpoena may be issued for the subscriber information for the IP address that was used to create the fictitious or anonymous email account and the owner of the phone number used for verification.  Of course, if cause can be shown, the court may be petitioned for an order to the email provider also releasing the content of all emails present on the account, which can also be very valuable and contain additional metadata (IP addresses, other email addresses, etc.) that may prove useful.

Interrogation of the Internal Private Router

As discussed earlier, once the ISP issues an IP address to a subscriber, that individual (or company) then needs to use a private router to allow individual users to access the internet.  That router issues private IP addresses to each device internally, the records of which are logged in the router itself.  Typically (and all routers are different), the router will log the date and time of last connection for each device, the name of the device (e.g., ProDigital-PC or Patrick’s iPhone), the MAC address of the device, the internal IP address that was issued to that device and the status of the router – be it open or secure access. 

So what’s the MAC address?  The MAC is the Media Access Control, an internal unique identifier assigned to network interface devices for communications.  “Unique” in this case means, unit-specific.  In other words, every device connected to the network has its own MAC address and they cannot be duplicated.  There are also ways to break down the MAC address and determine the device manufacturer and potentially other items of interest.

By connecting to the internal private routers, all connection records become available to us and can be preserved as evidence.  So what’s the catch?  The data is almost always volatile.  In other words, if you remove the power source from the routers, this data is erased and reset.  It’s extremely valuable, especially when investigating claims of hacking or unauthorized access on a private network, so any thorough investigation needs attempt to capture this data by going go on-site as soon as possible and before the router is removed from power, there is a power outage or some other happenstance that will make this data disappear. 

Due diligence also dictates that an investigator go on-site to determine the range and status of the allegedly open wireless connections for themselves.  Could an unknown third part have driven into the Vogel’s neighbor’s driveway to “tap” into the router without their knowledge?  There’s one sure way to find out – try to do it yourself!

The Specific Device(s)

One comment on an online forum I read with regard to this case stated “IP addresses do not equal an individual.”  Very true!  In fact, there are documented cases where investigations of criminal suspects based solely upon an IP address have yielded such errors as search warrants being executed on the wrong residence and later discovery that criminal suspects were “stealing” access to open wireless connections to facilitate their crimes.  This is why the best and most specific piece of evidence in any case is the actual device upon which the alleged activity was conducted.  In this case, it appears to be the iPhone belonging to Ms. Vogel’s husband.  However, none of the evidence cited here exists in a vacuum.  The reason all of the subpoenas and connection records and router logs are important is they serve to verify the source of the evidence in question (emails). 



By capturing the router logs and comparing that data to the internal MAC address and issued IP address(es) of the specific device(s) in question, we start to tie all of the electronic evidence together to then put an actual person behind the device – the one responsible.  The value of forensic data acquisition and analysis on the devices in question can also not be overlooked.  In this case example, the analysis of the email records would need to be conducted manually, as iPhone email records are not currently available through a mobile forensic data extraction. However, a forensic extraction should still be performed as it may yield other information, data and evidence that may be useful.  Connected email accounts, web history, deleted apps of interest and potentially recoverable information from app databases may all prove valuable pieces of evidence in an investigation such as this.  Key word searches can also be conducted for key terms such as the anonymous/sending email address, terms contained in the original email and other specific text that can point to the originating device.

Conclusions

Every investigation is different and invariably, they all take left turns at some point.  The overview of specific areas of available evidence listed here is not exhaustive, but is designed to provide a blueprint of what is available and what should be done in order to conduct a thorough investigation and determine who is or is not responsible in cases involving matters where professional reputation and survival, as well as personal integrity and public appearance, may be at stake.  It’s easy to throw down the claim that one has been “hacked”, but quite another to undertake the proper steps to prove or disprove that claim in a manner which is acceptable in a court of law. 

As a wise man once said upon his acquittal on serious criminal charges “Great!  Now where do I go to get my reputation back?”  While a complete investigation may reveal that Vogel and her campaign had nothing to do with these emails, it seems clear that several people’s personal and professional reputations may be at stake here… and that’s the best motivation to want to find the truth.


Author:
Patrick J. Siewert
Principal Consultant
Professional Digital Forensic Consulting, LLC
Virginia DCJS #11-14869
Based in Richmond, Virginia
Available Globally


We Find the Truth for a Living!
Computer Forensics -- Mobile Forensics -- Specialized Investigation

About the Author:
Patrick Siewert is the Principal Consultant of Pro Digital Forensic Consulting, based in Richmond, Virginia.  In 15 years of law enforcement, he investigated hundreds of high-tech crimes, incorporating digital forensics into the investigations, and was responsible for investigating some of the highest jury and plea bargain child exploitation investigations in Virginia court history.  Patrick is a graduate of SCERS, BCERT, the Reid School of Interview & Interrogation and multiple online investigation schools (among others). He continues to hone his digital forensic expertise in the private sector while growing his consulting & investigation business marketed toward litigators, professional investigators and corporations, while keeping in touch with the public safety community as a Law Enforcement Instructor.
Twitter: @ProDigital4n6

Wednesday, December 14, 2016

Analysis vs. Translation



December 14, 2016

Analysis vs. Translation

Very often, examiners get called upon to do what may be referred to as "push-button forensics".  Meaning that we acquire data, plug it into a tool, and wait for the processing and output from that tool to tell us what we have that may be relevant to the case.  Unfortunately, this isn't forensics at all, it's allowing software to do a job for us.  Perhaps that's why some prefer forensic tools such as X-Ways Forensics, because while tools like X-Ways make the examiner's job easier, the data is not necessarily served up on a "silver platter" and the examiner still has to know how the tool works and how & where to find the relevant data.  This is analysis and investigation, not simple data extraction & reporting.  But there are nuances to this practice that go even beyond the analysis for the final product to be useful and understandable.

Analysis Levels

In digital forensics, analysis levels are important to know and distinguish.  Very often, the quick acquisition of evidence and triage of data can lead to a break in a case of a missing juvenile or help stem further data loss to mitigate a breach.  Triaging evidence can also help identify which pieces are more likely relevant and help examiners spend less time weeding through data that is simply not important.  However, triage is a very low-level type of analysis.  It's so low-level that triage of digital evidence is being taught to non-examiners just to help streamline the overall examination process.  Triage evidence should be used for investigative leads only as very often the finer points about where the data is stored, how it got there, who put it there and other key factors are not part of a triage of evidence.
When we dive deeper into the analysis of the evidence, we start to get into the nuts and bolts of forensics.  Important factors can include the type of file system, the users on the system, the time offset on the system, files and metadata.  This is the area where some push-button tools operate, because they do dive deeper than triage or preview levels, but it's also a danger zone for many would-be examiners.  Push-button tools are great for pointing you in the right direction, but sometimes lack with the detail that is often necessary in forensics.  And as any experienced examiner will tell you, the devil is in the details.



Deeper levels of examination, analysis and investigation require intense, skill and above all, experience.  No course of study can prepare an examiner for trying to prove or disprove the really hard cases.  For example, will a push-button tool really help you prove a child exploitation case without any images being present on the system?  Probably not.  Even if it did present some valuable evidence, you'd have to dive deeper and search for fragments, history and other evidence that may be "hidden" or very difficult to locate.  Most push-button tools won't dive deeper into slack space or volume shadow copies.  They're designed to streamline the digital evidence process to decrease backlogs and get cases out the door faster.  This is a dangerous trap in forensics and one examiners must constantly work to avoid.  

So once we've done our in-depth analysis and completed the digital forensic portion of the investigation, then what do we do?  This is where the intangible asset of translation becomes the point where the proverbial rubber meets the road.  Without it, the evidence is almost useless.

The Value of Translation

A wise man once said, "You can make a cop a geek, but you can't make a geek a cop!"  So what's a "geek" and what's a "cop" and why is it only a one-way street?  In this discussion, the term "geek" is used to describe a person who is good with computers, good with technology, enjoys gadgets and all of the new innovations on the market today and even goes so far as to learn more about them, study them, hone their knowledge of them.  These are skills that are necessary for a good digital forensic examiner.  One can be taught about file systems, operating systems, metadata, slack & unallocated space, but without the ability to articulate what those things are and why their important (i.e., relevant) in your investigation, those skills are only utilitarian. 



In this discussion, a "cop" is someone who has an inquisitive nature.  A truth-seeker.  A trained hunter of facts.  Someone who has honed the ability to weed out what may be irrelevant and concentrate on what facts or evidence help prove or disprove the matter at hand which is being investigated.  Most importantly, they've honed the ability to explain and articulate that evidence for stake-holders in the case, being other investigators, attorneys, judges and juries (i.e., laypeople).  It is this intangible asset which turns the analysis into something meaningful.  Because all of the technical skills in the world don't matter if you cannot articulate what you did, why you did it, what you found, where and how it got there.  Even the ability to explain what you may not have found is an asset to a trained examiner.  Sometimes the absence of evidence can be evidence in itself.

So when it's said that you "...can't make a geek a cop", what it means is that many "geeks" don't have this intangible ability in large part.  Think back to the last time you asked a really technical person a question.  You probably received a very technical answer, which is not something that lay people understand very often.  The ability to whittle down the minutiae into specific, articulable and understandable talking points is something many people in general don't possess, let alone highly technical people.

Wrapping it up

Analysis is but one important component of digital forensics.  The translation of that analysis into specific articulated facts is quite another.  It's hard for technical schools to teach students two basic, yet very important skills:  critical thinking and effective communication.  So just because someone has a degree/certification in digital forensics or law or medicine doesn't always mean they can effectively translate (i.e., communicate) what they know, suspect or conclude based upon the evidence at hand.  This ability comes from one primary source: experience.

Author:
Patrick J. Siewert
Principal Consultant
Professional Digital Forensic Consulting, LLC
Virginia DCJS #11-14869
Based in Richmond, Virginia
Available Globally


We Find the Truth for a Living!
Computer Forensics -- Mobile Forensics -- Specialized Investigation

About the Author:
Patrick Siewert is the Principal Consultant of Pro Digital Forensic Consulting, based in Richmond, Virginia.  In 15 years of law enforcement, he investigated hundreds of high-tech crimes, incorporating digital forensics into the investigations, and was responsible for investigating some of the highest jury and plea bargain child exploitation investigations in Virginia court history.  Patrick is a graduate of SCERS, BCERT, the Reid School of Interview & Interrogation and multiple online investigation schools (among others). He continues to hone his digital forensic expertise in the private sector while growing his consulting & investigation business marketed toward litigators, professional investigators and corporations, while keeping in touch with the public safety community as a Law Enforcement Instructor.
Twitter: @ProDigital4n6

Monday, November 21, 2016

Problem Solving Digital Forensics



November 21, 2016

Problem Solving Digital Forensics

For those of you who are involved in (and can tell people about) active digital forensic casework, you probably get the same response when you tell others about your job – “Wow!  That sounds really cool!”.  Yes, it sounds cool and can often be very interesting, but many cases are mundane and repetitive.  Often times, the most challenging part of digital forensics is getting to the data.  That is to say, acquiring the data so we may conduct our analysis fully and appropriately.  It is then when the life skill of problem solving comes in very handy.  Problem solving is an evolving issue in both computer and mobile device forensics and will continue to be as the industry progresses.  It’s also not a skill that is taught so much as ingrained and acquired over time with experience.

Problem Solving Computer Forensics

The methodology in computer forensics is virtually unchanged throughout the years.  Yes, the technology changes and there are additional considerations along with that, but at the core, we are trained and practice to create a forensic disk image, verify the image and conduct our analysis on the exact copy of the media.  However, the integration of newer technology such as solid state drives in various forms and memory storage that is hard-wired into the logic board of some computers presents a problem that needs to be solved.  With items like this, we can’t always simply remove the media and create our forensic image, we need to work-around the problem while still maintaining the integrity of the evidence.  I’m often asked how to acquire the main memory on items such as newer Mac computers.  For this particular subset of technology, we generally find Paladin by Sumuri to be a great resource.  The Linux-based bootable tool (which is also free) provides a non-intrusive forensic solution to acquire this data simply and easily without tearing the complex hardware apart.  There are other tools for trouble-shooting this as well.



But what about issues like encryption? Network storage?  RAID arrays?  Generally speaking, there are solutions available to deal with these circumstances, but when it comes down to the specific hardware, software and environment in a given case, you can almost always be guaranteed that there will be some case-specific problem solving that will need to take place.  For instance, a case we worked in 2015 required acquisition of network folders from an exchange 2003 server.  Not only was the server slow, but the process overall was painfully slow because of the outdated technology.  The data connections were out of date (SCSI), the transfer rates were slow (USB 2.0) and the acquisition took much longer than we would have preferred.  When working cases of varying type and technology, sometimes the most important questions are the ones you ask (or forget to ask) prior to getting on-scene. 

Problem Solving Mobile Device Forensics

As mentioned in previous articles, my personal forensic experience did not start out in the mobile device space, rather basic and more advanced training was gained on the computer/dead box forensic side first, then evolved into the mobile space within the past 3 years or so.  To say that acquiring the data in mobile forensic cases involves some problem solving is an understatement.  Consider that the security on devices such as the iPhone (and other associated iDevices) has consistently given digital forensic examiners problems throughout the past few years to the point of frustration.  Then add into the mix the multitude of manufacturers and software versions for Android-based devices and the water gets further muddied.  Now, throw the “feature phones” with proprietary operating systems and almost countless manufacturers from all over the globe and we have a problem-solving mess on our hands. 

This is why companies like Cellebrite, Oxygen, Magnet Forensics, XRY and others exist.  Yes, they all do an adequate job parsing, presenting and reporting the data post-analysis, but before we even get to that point, we need to acquire the data.  This has emerged as the biggest challenge in mobile device forensics.  This is why we pay so much for those licenses and renewals every year.



Techniques such as ISP, JTAG and chip-off have emerged as commonly accepted methods for bypassing this security and accessing the data as well.  These methods have given rise to a newer form of problem-solving where we access the physical memory storage on the device to be able to obtain a data extraction.  However, these methods likely won’t be viable indefinitely and the problem-solving part of the mobile forensics industry will need to keep evolving to work-around acquiring the data for years to come.    

Wrapping it up

Problem solving is a tangible skill.  If digital forensic examiners think that “push-button forensics” is the norm or even the wave of the future, it is not.  Quite the opposite.  Sometimes, what separates a decent examiner from a plug-and-play examiner is the ability to size up the problem(s) in the case and devise ways to work around or solve them.  The fundamentals of forensics can be taught, but only experience working cases of varying type and degree can serve to separate those who can solve problems from those who cannot.


Author:
Patrick J. Siewert
Principal Consultant
Professional Digital Forensic Consulting, LLC
Virginia DCJS #11-14869
Based in Richmond, Virginia
Available Globally


We Find the Truth for a Living!
Computer Forensics -- Mobile Forensics -- Specialized Investigation

About the Author:
Patrick Siewert is the Principal Consultant of Pro Digital Forensic Consulting, based in Richmond, Virginia.  In 15 years of law enforcement, he investigated hundreds of high-tech crimes, incorporating digital forensics into the investigations, and was responsible for investigating some of the highest jury and plea bargain child exploitation investigations in Virginia court history.  Patrick is a graduate of SCERS, BCERT, the Reid School of Interview & Interrogation and multiple online investigation schools (among others). He continues to hone his digital forensic expertise in the private sector while growing his consulting & investigation business marketed toward litigators, professional investigators and corporations, while keeping in touch with the public safety community as a Law Enforcement Instructor.
Twitter: @ProDigital4n6