Posts

Writeblocked Blog

DFIROnline Updates

At the beginning of this month I was thinking that the schedule for DFIROnline was looking a little light. So I emailed a few people who I would to hear speak and received an extremely positive response. In fact a little more positive than I was expecting! As a result next space for a main presentation is in August. I thought I would take a few minutes to give a bit more detail on the upcoming presentations than is in the schedule and also announce that we will have a special meetup on May 3 with Willi Bellenthin of Mandiant presenting "Getting to know your NTFS INDX Records".

Other events coming up:

April 19 (that's this Thursday) Kevin Rippa will be taking us inside his lab and demonstrating physical hard drive analysis and recovery live. He will be using a couple of webcams and some really cool equipment. Then Girl Unallocated will be running through a Case Experience looking at how CCleaner was used in a case. She has been putting a heap of effort into the developing this and if you have been following her blog (if you have not you should) you will know that she brings a great sense of humour to everything.

May 3 - SPECIAL EVENT - Willi Bellenthin of Mandiant presenting "Getting to know your NTFS INDX Records". This is a presentation Willi made recently for NYC4SEC, it received lots of positive response and is a good reminder of how important it is to look beyond the MFT. He has already posted the slides

May 17 - Jesse Kornblum has done some great work on hashing algorithms and is the author of ssdeep, md5deep and hashdeep among others (you can see them all at: jessekornblum.com/tools/. As a Computer Forensics Research Guru with Kyrus Technology he is doing some pretty cool stuff. However this time he is looking at how you can tell a story rather than just repeating the facts.

On June 21 I will be in New York city so I contacted the folks at NY4SEC and suggested we stream a live session from their meeting. So this will be bit of an experiment, I will be looking at carving algorithms and the techniques used by different tools to carve files. I will be using adobe connect so everyone online will still be able to ask questions and of course heckle as much as they want.

I am still looking for people to present case studies (or more to the point tell a story) about a case so please let me know if you want to get involved, just email: meetup_at_writeblocked.org

Mike Add a comment

New Website and a new resource

I have transferred to a new hosting provider and made a few upgrades to the website. The most significant of which is the new DFIR directory. I got the idea for this after my post on free non-forensic tools for forensics. That post just kept getting hits. At the time I wrote it I had a quick look around for different sites listing forensic tools, there are a few out there but none seemed complete. For about five minutes I contemplated writing a list myself however the effort required in building and maintaining such a list is enormous and I don't really have the time to do it. So being the kind of person that looks for the long term solution I thought why not try a crowd sourced option. This was attractive for a couple of reasons, firstly it would give those people who provide tools, blogs and other resources somewhere to promote them. Secondly most lists are just that flat lists, they are hard to search and each entry can only be listed under one category (which is normally the platform it runs on or the cost, not particularly useful when you are looking for a tool to interpret data from a web browser for example) so my list had to be searchable and able to classify the tools by what they could do. Finally I wanted to allow people to review the tools and provide feedback.

So after a little bit of work I have created the DFIR Directory. At the moment it has ten categories, most with five or so sub categories. Any entry can be listed under one to five categories. In order to add an entry you must create an account, one you add an entry you will own it and only yourself and administrators will be able to change it. If you are the creator of a tool, or blog and would like ownership of the entry please email me (meetups_at_writeblocked.org) with your username and the reason why you should have ownership of the entry.

So after a few weekends of work the framework is in place, now the directory just needs to be filled. I will be doing that as time permits, but really it is not going to work unless everyone gets involved. So why not create an account and add your favourite tool and blog? It will only take you a few minutes and you will be helping the entire community.

I should also mention that I had an interview with HTCIA the other day, it is posted here: http://htcia.wordpress.com/2012/02/09/dfironline-defragmenting-the-digital-forensics-community-with-htcia-member-mike-wilkinson/.  I live in hope that the HTCIA will one day open it's membership to everyone, it would help to break down that fragmentation.

 

Add a comment

DFIROnline Meetup review

Well the DFIROnline meetup went well tonight. The turn-up tripled from the first event, we had a max of 97 attendees at one point. Harlan and Eric both gave a couple of great presentations, and I just sat there and looked like an idiot. Oh and drank every time Harlan said Mullware, which meant my beer did not last until the end of his presentation! I will be posting the recording tomorrow or Saturday. This time round there was a lot more activity in the chat's, lots of heckling and a few good points made, I am not sure if this was just because we had more people, or because I promised not to record the chats. There were some useful links posted during the chats, and I have posted most of them below. Unfortunately I did miss a few of the early ones, so will track them down tomorrow.
Harlan's malware (mullware) list: http://windowsir.blogspot.com/p/malware.html
Mandiant blog on Malware persistence without using the registry: https://blog.mandiant.com/archives/1207
Richard Bejtlich's definition of APT : http://taosecurity.blogspot.com/2010/01/what-is-apt-and-what-does-it-wan...
http://www.washingtonpost.com/world/national-security/cybersecurity-sec-...

Update:
I have now posted the recordings on the DFIROnline page, I have cut these down to just include the presentation and presenters voice, if you want to see real people and join in the chat you will just have to attend the meetings ;-) One of really good things about the meetup was that we had the audience contributing to the discussion during the presentation, which is where most of the links have come from.
Listening to the recording I have found out just how bad my mic was, which is strange as it was the same mic I used last time when it appeared to work fine. Anyway I will have it sorted for the next meeting I promise.

The other links that I missed are:
Simple Phishing Toolkit: www.sptoolkit.com
How malware authors evade antivirus detection http://blog.webroot.com/2012/01/18/how-malware-authors-evade-antivirus-d...
Social Engineering Toolkit: www.secmaniac.com/download/
http://www.amazon.com/America-Vulnerable-Digital-Espionage-Warfare/dp/15...
A recommended AV tool (can't remember who recommended, sorry) http://www.threatfire.com

Finally it appears that Anonymous was aware that all the top people in the field were at the meetup, as they chose that time to attack the DOJ and Universal websites! http://www.pcmag.com/article2/0,2817,2399116,00.asp (well alright it was a few hours before the meetup, but I suspect they were just over enthusiastic and started a bit early ;-)

Add a comment

Free non-forensic windows programs for forensics and thanks.

Over the past couple of days Harlan has been talking about people contributing to the DFIR profession and acknowledging the creators of free software. During an email exchange with him I confessed that I have only once thanked the creator of a free tool, I had always assumed (remember assume makes and ass out of u and me) that they knew how much their work was valued. In the conversation with Harlan it became apparent that this is not the case. Which makes sense when I think about it, why shouldn't I expect everyone else be a selfish bastard just like me? So this evening I started having a look at the free software on my computer and started emailing thank you’s to the creators. While I was at it I thought I would compile the following list of non-forensic tools I use for forensics (I figure that forensics people would already be familiar with the forensic ones). How about after reading this post you have a look at the free tools you use and send the creator a quick note of thanks, let’s see if we can flood an inbox or two....

 

The only requirement for a program to make it into this list is that a version of it is given away for free. So "free as in beer" apps like vmware player, made by a multimillion dollar company are included alongside true Open Source programs like SQLite Database Browser. I figure that if someone is going to go to the effort of writing a great application they should be free to distribute it as they see fit (sorry Mr Stallman).

 

If you are after a list of Free forensic tools there are already quite a few out there. Some good ones are:
The forensicswiki tools page
E-Evidence info, other tools
Open Source Digital Forensics
and while not specifically forensic, certainly relevant: sectools.org

 

If you have any others to add please post in the comments, or just send me an email and I will add it to the list.

 

Now the tools......

 

Notepad++

 

To compare Notepad++ to Microsoft’s notepad would be like comparing a Laser to an AC45.
I was put onto Notepad++ by one of my students in a Network Forensics class. In that case we were examining firewall log files, and he mentioned the great highlighting capabilities of notepad++. For log analysis this is really useful as when one block of text is selected all matching blocks are highlighted, really useful when looking for IP addresses in firewall logs.
Other features include:
Code Styles: with a massive list of built in languages, it is now my code editor of choice, in fact I am using it right now.
Linking to external apps: Run your code straight from the editor, or open html straight into the browser
shortcuts remapping: so you can make your system unusable for anyone else ;-)
The only limitation is a lack of spel checking.....

 

Zotero

 

Knowledge management is a critical aspect of Digital Forensics and really any knowledge based profession and Zotero is the best tool I have found for collecting, collating and searching electronic documents. It is intended to be used as a research tool, to support students and academics creating and managing electronic libraries. Currently it runs as a firefox plugin but version 3 will be able to run as a stand alone app, and add support for Chrome and Safari. The best part is that it enables you to archive any file in a matter of seconds. If the file is accessed through your webbrowser the source, title and date are automatically create. It is also able to scan a document and retrieve publication details from a library website.
This means that I have access to all my reference documents without being online, great for when responding in the field. They are also tagged and organized in a manner which is relevant to me. They also offer a cloud service so that libraries can be synced between multiple computers.
If you only look at one tool in this list, this is the one to check out.

 

VMware Player and Virtualbox

 

There was a time when I had a lab full of computers, all with different operating systems, network configurations and uses. These days all you need is virtualbox or vmware to run as many systems as you want. While I use the commercial VMware workstation, mainly for the team and snapshoting functions, you can do a lot with the free tools.

 

Wireshark

 

In the early 2000's I was working with IDS and network traffic analysis and have been a fan of ethereal/wireshark since then. So it is always a surprise to me when people are not familar with it. When it comes to examining network traffic this is still one of the best out there.

 

Sysinternals

 

I am sure that everyone is familar with Mark Russinovich and Bryce Cogswell's sysinternals tools, while originally designed for system administration and security these tools are great for working out how applications behave on a system and malware analysis.

 

SQLite Database Browser

 

These days it seems that every application is storing it's data in a SQLite database. While, if you are really masochistic, you can get out winhex (or any other hex editor) and parse the file manually, it is much easier to use this tool. There are a bunch of different sqlite tools out there, and I have not tested them all, but this is the one that works for me.

 

CYGwin

 

"Get that Linux feeling - on Windows" is the Cygwin motto, this great little package will give you a bash shell, plus most of the apps you know and love from the Unix/Linux environment. While not quite as good as the real thing it does make it possible to work in a terminal on windows.

 

ISOBuster

 

ISOBuster is describe as a CD, DVD, BD data recovery tool. It allows low level access and interpretation of most disc file systems, and will show you all the different formats on a disc. There is a basic version available for free, or for $30 to $50 you get the pro version.

 

Imgburn

 

This is the best disc burning software out there. Simple and easy to use, but rarely goes wrong. It even has a nice idiot proof interface that even your grandmother could use. However don't be mislead by the simple GUI, it also has a powerful command line interface so you can script image set archiving and verification.

 

Truecrypt

 

A great open source encryption package, what more can I say?

 

Music Bee

 

You can't forensicate without music can you? There are hundreds of different music managers and players out there, but this is the one that works for me.

 

VLC video player

 

This great little player supports a huge range of codecs and also seems to handle corrupted files better than anything else out there.

 

GSpot

 

Every now and then VLC won't work and you need to work out what codec a file is using. In these situations GSpot is THE tool. A simple interface gives you more information then you are ever likely to need about any media file you run across. Just make sure you use "gspot codec" if you are going to Google it, searching for gspot will take you to all the wrong places......

 

Exif-Viewer

 

This is a nice little app that performs one of the most comprehensive extraction of EXIF data I have found. One other nice feature is that you can point it at a directory full of files and it will dump everything to a csv file. The only limitation is that you have to specify the manufacturer in advance in order to decode the maker notes. Unfortunately it has not been updated since 2007 so the supported maker notes are now probably a little out of date.

 

ExifTool

 

In the event that Exif-Viewer does not do the trick for you there is always ExifTool, this is still actively maintained, in fact there was a new version released today! As a command line app this is really easy to incorporate into scripts (in fact there is a PERL Library Module available as well). There is also a GUI interface available if you are not a fan of typing....

 

NoScript

When using a windows platform I am a little paranoid (OK extremely paranoid) when doing anything online, occupational hazard I guess. Noscript is a great little Firefox plugin that allows you to control which scripts are run on a webpage and which are not. A great side benefit is that most advertising also gets blocked. It always surprises me when I use a machine without it installed and suddenly see all these adverts popping up on sites that I think of as just having useful information.

Add a comment

Thoughts about last night

So after last night’s meetup I have a few thoughts on what went well and what did not. The technology worked surprisingly well, with two chat sessions running it was possible for everyone who had something to say get it across. Another thing I liked was having someone else on webcam, often when I am running a class I will be the only one presenting and it feels kind of weird sitting in a room alone talking to yourself, (I should be getting used to this by now, but it just isn’t the same without the padded walls ;-). When presenting face to face it is easy to read the audience and check that they are understand what you are talking about. In the online environment this is much harder to do.

One disappointing thing was how quickly the chat dropped off once I started recording. There was a lot of activity prior to starting the recording but it pretty much stopped once the recording started. Once the recording stopped the activity started up again. I think in the future that I will not record the event. The idea is to create a community focused around sharing information, and recording seems in inhibit that. I will ask the presenters to make their slides available for download for those who cannot make it. For those of you who did not make it the recording is here: http://champlain.adobeconnect.com/p2t27yzq5ph/

Rob Lee and Kenneth Johnson (https://twitter.com/#!/Patories)) suggested creating a drinking game to keep the presenters on their toes, if you have any ideas for creating the game let’s hear them.

Both presentations went pretty quickly, and I think it would be good to keep it that way moving forward. According to the survey results people are most interested in case studies and malware analysis, and I think it would be great to have a couple of case studies each meeting. So if you have anything to share please let me know and sign up. I figure if we can get three people signed up for each meeting it will also provide a buffer if one of the presenters can’t make it because of work commitments.

If you are able to present please let me know via twitter (@mikewilko) or email This email address is being protected from spambots. You need JavaScript enabled to view it. .

Add a comment

The beauty of forms

I recently read the book the “Checklist Manifesto” by Atul Gawande In the book Atul describes how by creating and using checklists of common tasks that should be performed before, during and after surgery the incident of deaths following surgery was reduced by over 20%! That is pretty impressive when you think about it. A simple piece of paper has saved thousands of lives. I have been using checklists in the form of forms for my entire forensic career and while they may not have saved any lives they have probably saved my career once or twice.

In my previous lab we had a number of different forms for common tasks, this included acquisitions, search warrants, previews (triage) and analysis preparation. The forms serve two purposes, they act as a checklist to ensure that essential tasks are completed and they make it easy for another examiner to identify the key actions you have performed.
The checklist aspect was driven home to my when I had a job interview where I was asked to demonstrate the acquisition of hard drives in a computer. Of course I did not have any of my forms handy so I ran through the process through my head and then demonstrated it to the panel. I thought  had completed the job pretty well (especially since I had been teaching it a month or two before) when it was pointed out that I had not checked the system clock. If I had had my trusty form this would not have happened and I would have made a much better impression in the interview. It is this sort of simple oversight that can make the difference between having your evidence admitted for rejected in a criminal case.

Designing a good form is not simple, I was lucky in my previous job that we had a couple of staff with great attention to detail and good visual design skills. These address the two critical aspects of form design, working out what to include and fitting it all on a page (or two). If you are seeking ISO17025 accreditation there are also specific requirements for what must be included on a form.
When working out what to include one approach is to walk through the process and identify what should be recorded. That way you identify items in the order in which they are likely to be recorded. As a result the form will flow with your actions and steps are unlikely to be missed. As you handle each device think about what needs to be recorded, and how. Can you take a photograph of the serial numbers on a hard drive, or should you write it down? Do you need a checklist of photos that should be taken? Or just a checkbox that the exhibit was photographed?

Once you have worked out everything you need on the form you need to design the layout, make sure you leave enough space for your notes, but try to be efficient and fit everything to as few pages as possible. You also need to make sure that it looks tidy and professional, it is probably going to end up in court at some point after all. This is an area I really struggle with, being very much a function over form kind of guy, so you will have to look elsewhere for advice on that one.

For samples of forms we will be making the ones we are using in the LCDI available on our document management system (http://lcdi.champlain.edu/wiki) which should be going live in the next week or so.

Add a comment