A Cyber Forensics Framework

Total Page:16

File Type:pdf, Size:1020Kb

A Cyber Forensics Framework International Journal of Scientific and Research Publications, Volume 6, Issue 1, January 2016 374 ISSN 2250-3153 Design and Development of CLI for SleuthKit: A Cyber Forensics Framework Dilpreet Singh Bajwa*, Gurpal Singh Chhabra ** * Department, Institute Name ** Department, Institute Name, if any Abstract- There are many cyber forensic tools available for state and National law enforcement agencies. Right kind of tool extraction, making copy of original media and for analysis. Tools is in your hand to create a best sculpture, similarly right kind of are inherent part of any cyber forensic investigation and they tools are required to properly investigate the case. The must be based on proven methodology and techniques admissible authenticity and reliability of the gathered evidences rely to great under legal procedure. extent on the used forensic tools. If used tools are not reliable, The Sleuth Kit (TSK) is a popular open source cyber the result produced by these tools will not be considered reliable forensic tool constitutes a library and collection of command line [2]. tools that allow user to investigate disk images. These command In the present work, a CLI for sleuthkit which is a open line tools are difficult to use and the user have to use each one source cyber forensic tool is created and automate the process. only independently. Output is also not saved for future reference Some other tools for hash calculation are also incorporated in the and analysis. system to make it more efficient. Guidance and help is provided In this work, a common command line user interface is while we are executing these command line tools further output created for command line tools of sleuth kit and automates the just not shown on screen, in addition it saves in a file for further process. Some other tools for hash calculation are also analysis. Secondly whole session and steps followed by user as incorporated in the system to make it more efficient. cyber forensic expert is also saved. Figure: 1.1 given below helps to understand the idea. Index Terms- Cyber Forensics, Digital Forensics, Computer Forensics, Cyber Forensics Tools, Sleuthkit, Open source Cyber Forensic tool. I. INTRODUCTION ue to integration of computer and communication D technology and the fast development of digital technology have made significant changes to computer world. Firstly, the Figure: 1.1: Higher Level Model of CUI for Sleuthkit effectively and efficiently processing capability of computer made it most important tool for data processing. With the new So, the interface created provides easy execution of technology storage capacity is also increased day by day. As a command line tools, automate the process provide flexibility to result, more and more data is processed and stored in computer add new tools other than TSK. systems. Secondly, the internet influence is so much in our daily This paper is organized in to seven sections: First section life from simple email communication to banking transactions, provides introduction and background information, second online shopping, surfing, social networking etc. With this section discuss, is it fine to use open source tool instead of increase in computer and internet usage, the crime related to commercial tools. In Third section problem statement is given. computers is also increased gradually. To counter these criminal Fourth section provides proposed Design. Fifth section discusses activities and also to prove crime in court of law, a new field: implementation, Sixth section show working and experimental “Cyber Forensics” came in to existence which incorporates results and in Seventh section conclusion and future scope is procedure, tools and techniques to find the evidence against given. cyber criminals and prove it in court of law. Cyber forensics is defined as “The use of scientifically derived and proven methods toward the preservation, collection, II. OPEN SOURCE VS PROPRIETARY TOOLS validation, identification, analysis, interpretation, documentation In cyber forensics investigation Interpretation, analysis and and presentation of digital evidence derived from digital sources documentation are important steps to find the evidence and to for the purpose of facilitating or furthering the reconstruction of prove it in court of law. For analysis of digital devices several events found to be criminal, or helping to anticipate unauthorized commercial and open source forensic tools are available. actions shown to be disruptive to planned operations [1]”. Commercial tools are software products provided by different For cyber forensic investigation cyber forensic tools are organizations. Law enforcement agencies are using these tools now used on a daily basis by examiners and analysts within local, for cyber forensics. Education institutes which running course in www.ijsrp.org International Journal of Scientific and Research Publications, Volume 6, Issue 1, January 2016 375 ISSN 2250-3153 cyber forensics also use these proprietary tools. These • icat: Extracts the data units of a file, which is specified commercial tools are very expensive and can be purchased on by its meta data address (instead of the file name). license for particular duration. After expiry you again have to • ifind: Finds the meta data structure that has a given file renew the license. They are easy to use and proper name pointing to it or the meta data structure that points documentation and support is available for these commercial to a given data unit. tools usage. On the other hand open source cyber forensic tools • ils: Lists the meta data structures and their contents in a are also available which also equally efficient [3] but the pipe delimited format. disadvantage of using an open source tools is lack of support and • istat: Displays the statistics and details about a given proper documentation. It is also finding difficult to use these meta data structure in an easy to read format. tools. First, most Open Source Solutions (OSS) framework were • blkcat: Extracts the contents of a given data unit. adopted from system utilities such as disk backup, file system • blkls: Lists the details about data units and can extract detection and system check that were not designed for computer the unallocated space of the file system. forensics usage. Second. Investigator must have high-level • blkstat: Displays the statistics about a given data unit in information about computer architecture which posed serious an easy to read format. risk for novice or intermediate level investigator. Third, no GUI • blkcalc: Calculates where data in the unallocated space and, output provided by open source tools is text based and image (from blkls) exists in the original image. This is usually very hard to understand. Fourth in many cases, an expert used when evidence is found in unallocated space. has to use more than one tool to obtain evidence [4]. • jcat: Display the contents of a specific journal block. But there are several benefits attached in using open source • cyber forensic tools: You don’t have to purchase them, No jls: List the entries in the file system journal. license fee is required, and you can use them anywhere i.e. • mmls: Displays the layout of a disk, including the outside the licensed lab, for students, educationist and the unallocated spaces. organizations who don’t afford commercial tools, the open • mmstat: Display details about a volume system source tools are the best choice. In [4], author states that despite (typically only the type). the availability of commercial computer forensics software, most • mmcat: Extracts the contents of a specific volume to computer forensics investigators prefer to use the freely available STDOUT. open source solutions (OSS) due to various reasons: OSS freely • img_stat: tool will show the details of the image format available, OSS can be used to perform preliminary acquisition • img_cat: This tool will show the raw contents of an Information gathering while most commercials can only do post image file. acquisition information gathering. Further the code is available • hfind: Uses a binary sort algorithm to lookup hashes in for these open source forensic tools, you can optimize and the NIST NSRL, Hashkeeper, and custom hash modify them according to your requirement, you can also databases created by md5sum. understand the internal working and code and how results are • mactime: Takes input from the fls and ils tools to create produced which is not possible with commercial tools. You a timeline of file activity. authenticate them in court of law. Most of these Open Source • sorter: Sorts files based on their file type and performs tools in no way are less reliable and effective, when compared extension checking and hash database lookups. with the proprietary suits [3]. Open source software continues to • sigfind: Searches for a binary value at a given offset. be one of the most widely used tools in computer forensics [5]. Useful for recovering lost data structures. In the scenario to learn, to experiment, to understand internal working and code, open source cyber forensic tools are These tools perform some specific function and we can the best bet. Open source tools with proper combination also execute them independently only. We can also use many provide all features provide by any commercial tool. arguments with these command line tools which make their function more specific. So sleuthkit contains rich set of these command line tools which are used for disk analysis. III. PROBLEM STATEMENT The file system tools are used to examine file systems of a As it is clear from above discussion that open source tools suspect computer. It works on both Windows and UNIX provide a good alternative for computer forensics. The Sleuthkit platform. The volume system (media management) tools are used (TSK) is open source cyber forensic software and constitutes a C to examine the layout of disks and other media. With these tools, library and collection of command line tools for file and volume you can identify where partitions are located and extract them so system forensic analysis [6] that they can be analyzed with file system analysis tools.
Recommended publications
  • A Usability Analysis of the Autopsy Forensic Browser
    Proceedings of the Second International Symposium on Human Aspects of Information Security & Assurance (HAISA 2008) A Usability Analysis of the Autopsy Forensic Browser D.J. Bennett and P. Stephens Department of Computing (Academic), Canterbury Christ Church University, Canterbury, United Kingdom e-mail: {david.bennett, paul.stephens}@canterbury.ac.uk Abstract This paper reviews the usability of the Autopsy Forensic Browser. Two expert-based usability review techniques are used: Cognitive Walkthrough and Heuristic Evaluation. The results of the evaluation indicate that there are many areas where usability could be improved and these are classified into areas of eight overlapping areas. Examples from each area are presented, with suggestions as to methods to alleviate them. The paper concludes with a future work proposal to effect the changes suggested and retest the current and the replacement system with a user-based evaluation. Keywords Usability, Human-Computer Interaction, Interface Design, Autopsy Forensic Browser, The Sleuth Kit, Cognitive Walkthrough, Heuristic Evaluation 1. Introduction This paper reviews the usability of the Autopsy Forensic Browser tool. The reasoning for this is to improve future versions of the tool. In many ways forensic analysis tools are no different to any other mission critical software in terms of the need for usability. However, failure in usability in such tools could lead to outcomes which deny liberty to innocent persons, or enable criminals to continue with criminal activity should an investigation fail in some way. 1.1. Forensics and the Autopsy Forensic Browser Gottschalk et al. (2005) define computer forensics as the identification, preservation, investigation, and documentation of computer systems data used in criminal activity.
    [Show full text]
  • Extending the Sleuth Kit and Its Underlying Model for Pooled Storage File System Forensic Analysis
    Extending The Sleuth Kit and its Underlying Model for Pooled Storage File System Forensic Analysis Fraunhofer Institute for Communication, Information Processing and Ergonomics Jan-Niclas Hilgert* [email protected] Martin Lambertz [email protected] Daniel Plohmann [email protected] © Fraunhofer FKIE Digital Forensic Analysis Slide 2 August 8th, 2017 © Cyber Analysis & Defense Department, Fraunhofer FKIE File Systems n Define how data is read from and written to a storage device n Utilize metadata to keep order of the data stored n File systems differ in many aspects EXT2FS HFS NTFS n Extensive background knowledge is required for a forensic analysis n But not always existent Slide 3 August 8th, 2017 © Cyber Analysis & Defense Department, Fraunhofer FKIE File System Forensic Analysis De-Facto Standard Model Physical Storage Media Sectors of Data Device Analysis Volume Volume n Universal model for a file system Analysis forensic analysis n Presented by Brian Carrier in 2005 File System n Consists of four interdependent steps File Analysis n Implemented in The Sleuth Kit Application Analysis Slide 4 August 8th, 2017 © Cyber Analysis & Defense Department, Fraunhofer FKIE File System Forensic Analysis De-Facto Standard Model Physical Storage Media Sectors of Data Device Analysis n Works great on a lot of established file systems Volume Volume Analysis EXT2FS NTFS File System HFS File Analysis n Problem: It hasn’t been reviewed or changed since its publication Application Analysis Slide
    [Show full text]
  • Digital Forensics Tutorials – Analyzing a Disk Image in Kali Autopsy
    Digital Forensics Tutorials – Analyzing a Disk Image in Kali Autopsy Explanation Section About Disk Analysis Once the proper steps have been taken to secure and verify the disk image, the actual contents of the image must be analyzed for suspicious or incriminating evidence. When looking at the contents of an image, it is necessary to not only look at the clearly visible contents such as folders on the desktop and images in user files, but the image must also be checked for hidden, encrypted, or deleted files. It is always better to assume that a suspect may have known that they were to be investigated and took steps to hide, delete, or otherwise make it difficult to find the information they had been storing on their USB or computer. About Kali Linux Sleuth Kit and Autopsy Autopsy and Sleuth Kit are open source digital investigation tools that run on Windows, Linux, OS X, and other Unix systems. Autopsy is the custom front-end application of Sleuth Kit. They can be used to analyze disk images and perform in-depth analysis of file systems (such as NTFS, FAT, Ext3) and several volume system types. Examiners and analysts can use the Autopsy graphical interface or the Sleuth Kit command line tools to conduct an investigation. In this case, we will be launching the Autopsy graphical interface via the Sleuth Kit command line. Autopsy/Sleuth Kit allow for an examiner to open a .dd or other type of disk image file, hash the file, and search for files and other information contained within the file.
    [Show full text]
  • The Sleuth Kit (TSK)/Autopsy Software Version: Version 3.2.2/Version 2.24
    The Sleuth Kit (TSK) 3.2.2/Autopsy 2.24 Test Results for Deleted File Recovery and Active File Listing Tool July 2, 2014 This report was prepared for the Department of Homeland Security Science and Technology Directorate Cyber Security Division by the Office of Law Enforcement Standards of the National Institute of Standards and Technology. For additional information about the Cyber Security Division and ongoing projects, please visit www.cyber.st.dhs.gov. July 2014 Test Results for Deleted File Recovery and Active File Listing Tool: The Sleuth Kit (TSK) 3.2.2/Autopsy 2.24 Contents Introduction ......................................................................................................................... 1 How to Read This Report .................................................................................................... 1 1 Results Summary .......................................................................................................... 2 1.1 FAT ........................................................................................................................ 3 1.2 ExFat ...................................................................................................................... 3 1.3 NTFS ............................................................................................................................4 1.4 ext ........................................................................................................................... 4 1.5 HFS+ .....................................................................................................................
    [Show full text]
  • Comprehensive Study of Digital Forensics
    ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 COMPREHENSIVE STUDY OF DIGITAL FORENSICS Jatinder kaur, Gurpal Singh SMCA, Thapar University, Patiala-147004, India [email protected], [email protected] Abstract— This paper presenting the review about digital forensics, it consists of techniques as well as various tools used to accomplish the tasks in the digital forensic process. Network forensics is forensics and important technology for network security area. In this paper, we inspect digital evidence collection processes using these tools. From last few decades the Figure 1 : Shows processes to collect digital data digital forensic techniques have been improved appreciably but still we face a lack of effective forensics tools to deal with varied incidents caused by these rising technologies and the advances 2. Collect, observe & preserve. in cyber crime. This article discusses the tools used in network 3. Analyze , identify and forensics , various gaps founds in these tools, and the 4. Rebuild the evidence and verify the result every time [16]. advantages and disadvantages of these tools. In the document describe digital evidence collection process Index Terms— Forensics, Digital evidence, Network forensics, as follows: computer forensics, Cyber crime , Encase, Sleuth Kit. 1. Where is the evidence? List out the systems were involved in the incident and from which evidence will be collected. I. INTRODUCTION 2. Establish what is likely to be relevant and admissible. Forensics is use of science and technology to investigate and When in doubt err on the side of collecting too much rather establish facts in criminal and civil courts of law.
    [Show full text]
  • Taxonomy of Digital Forensics: Investigation Tools and Challenges
    Taxonomy of Digital Forensics: Investigation Tools and Challenges Nikita Rana1, Gunjan Sansanwal1, Kiran Khatter1,2 and Sukhdev Singh1,2 1Department of Computer Science and Engineering Manav Rachna International University, Faridabad-121004, India 2Accendere Knowledge Management Services Pvt. Ltd., India Abstract In today’s world of computers, any kind of information can be made available within few clicks for different endeavours. The information may be tampered by changing the statistical properties and can be further used for criminal activities. These days, Cybercrimes are happening at a very large scale, and possess big threats to the security of an individual, firm, industry and even to developed countries. To combat such crimes, law enforcement agencies and investment institutions are incorporating supportive examination policies, procedures and protocols to address the complete investigation process. The paper entails a detailed review of several cybercrimes followed by various digital forensics processes involved in the cybercrime investigation. Further various digital forensics tools with detail explanation are discussed with their advantages, disadvantages, challenges, and drawbacks. A comparison among all the selected tools is also presented. Finally the paper recommends the need of training programs for the first responder and judgement of signature based image authentication. 1. INTRODUCTION Computer is a masterpiece made by the human race that has made our lives smooth and effortless. Computers have become the very bedrock of today’s technological environment and we use them in almost every aspect of our customary life. They are everywhere from shopping, banking to school and hospitals, even our own homes. Businesses depend on these devices and the Internet to do their daily transactions, marketing and communications across the globe and given to our desideratum to have the best of everything it has seen noteworthy diversifications.
    [Show full text]
  • Computer Forensics
    Lukas Limacher Department of Computer Science, ETH Zurich¨ Computer Forensics September 25, 2014 Contents 9 Computer Forensics ............................................ 1 9.1 Objectives...................................... ........... 1 9.2 Introduction.................................... ........... 2 9.2.1 IncidentResponse .............................. ..... 2 9.2.2 ComputerForensics............................. ..... 5 9.3 ThenewVirtualMachine:Charlie.................... ......... 7 9.4 Collection...................................... ........... 8 9.4.1 LiveDataCollection ............................ ..... 8 9.4.2 ForensicDuplication ........................... ...... 8 9.5 FileSystemAnalysis .............................. ......... 11 9.5.1 FileSystemAbstractionModel.................... ..... 11 9.5.2 LinuxFileSystem:Ext3 .......................... .... 12 9.5.3 Carving ....................................... ..... 19 9.5.4 FileSlack..................................... ...... 22 9.6 Application/OS Analysis,File Analysis ............. .......... 23 9.6.1 LinuxArtifacts ................................ ...... 23 9.6.2 FileAnalysis.................................. ...... 27 9.7 Internet-relatedArtifacts....................... .............. 30 9.7.1 InternetArtifacts............................. ........ 30 9.7.2 FirefoxBrowserArtifacts ....................... ...... 30 9.8 CounterForensics ................................ .......... 35 9.8.1 TraditionalCounterForensics................... ....... 35 9.8.2 DataHidingApproaches
    [Show full text]
  • Digital Forensics Tools Integration
    Air Force Institute of Technology AFIT Scholar Theses and Dissertations Student Graduate Works 3-19-2020 Digital Forensics Tools Integration Alexander D. Kim Follow this and additional works at: https://scholar.afit.edu/etd Part of the Forensic Science and Technology Commons Recommended Citation Kim, Alexander D., "Digital Forensics Tools Integration" (2020). Theses and Dissertations. 3162. https://scholar.afit.edu/etd/3162 This Thesis is brought to you for free and open access by the Student Graduate Works at AFIT Scholar. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of AFIT Scholar. For more information, please contact [email protected]. Digital Forensics Tools Integration THESIS Alexander D.H. Kim, Captain, USAF AFIT-ENG-MS-20-M-031 DEPARTMENT OF THE AIR FORCE AIR UNIVERSITY AIR FORCE INSTITUTE OF TECHNOLOGY Wright-Patterson Air Force Base, Ohio DISTRIBUTION STATEMENT A APPROVED FOR PUBLIC RELEASE; DISTRIBUTION UNLIMITED. The views expressed in this document are those of the author and do not reflect the official policy or position of the United States Air Force, the United States Department of Defense or the United States Government. This material is declared a work of the U.S. Government and is not subject to copyright protection in the United States. AFIT-ENG-MS-20-M-031 Digital Forensics Tools Integration THESIS Presented to the Faculty Department of Electrical and Computer Engineering Graduate School of Engineering and Management Air Force Institute of Technology Air University Air Education and Training Command in Partial Fulfillment of the Requirements for the Degree of Master of Science in Cyber Operations Alexander D.H.
    [Show full text]
  • Forensic Tool Comparison
    Tool Comparison Team Lead: Megh Shah Researched by: David Paradise 175 Lakeside Ave, Room 300A Phone: 802/865-5744 Fax: 802/865-6446 http://www.lcdi.champlin.edu Published Date Disclaimer: Patrick Leahy Center for Digital Investigation (LCDI) This document contains information based on research that has been gathered by employee(s) of The Senator Patrick Leahy Center for Digital Investigation (LCDI). The data contained in this project is submitted voluntarily and is unaudited. Every effort has been made by LCDI to assure the accuracy and reliability of the data contained in this report. However, LCDI nor any of our employees make no representation, warranty or guarantee in connection with this report and hereby expressly disclaims any liability or responsibility for loss or damage resulting from use of this data. Information in this report can be downloaded and redistributed by any person or persons. Any redistribution must maintain the LCDI logo and any references from this report must be properly annotated. Contents Introduction ............................................................................................................................................................................. 2 Background: ........................................................................................................................................................................ 2 Purpose and Scope: ............................................................................................................................................................
    [Show full text]
  • FORENSICS Analyzing an Unknown Image
    FORENSICS Analyzing an Unknown Image Submitted by PRAVEEN DARSHANAM [email protected] http://www.darshanams.blogspot.com/ KNOWLEDGE IS NOT AN OBJECT. IT'S A FLOW. This is not a highly technical document but wrote with a notion that this document might help someone somewhere gain some knowledge and pave path to delve deep into forensics depending on the interest. This Whitepaper is written for Educational Purpose only. Can be distributed, Copied, Shared as per users interest. Author shall not bear any responsibility for any damages watsoever. Thanks to str0ke, All Andhra Hackers and All Indian Hackers !!! Grabbing the image for analyzing I extracted this image under analysis from a Virtual Machine with Windows 2000 Server Running. Many open source and commercial tools are available to take the image of a drive, hard disk, partition etc. Few tools which can be used are dd, windd etc. I used dd command for taking the image of the running virtual machine. First, lets list all the available drives/partitions on the VM. Figure: Available drives/partitions on the VM \\.\a: A Drive, Floppy Drive \\.\c: C Drive \\.\d: C Drive, CD ROM Drive \\.\e: C Drive, USB Drive Extracted the image using dd.exe. Figure. Snapshot of the dd command usage for extracting the VM image if input drive name which is used for analysis of output path to save the image bs block size --progress shows the progress of the image P.S. Couldn't get the full image as there is no sufficient space on my machine. By conducting investigations on the disk image, we could unearth any hidden intrusions since the image captures the invisible information as well.
    [Show full text]
  • Digital Forensics: a Demonstration of the Effectiveness of the Sleuth Kit and Autopsy Forensic Browser
    Digital Forensics: A Demonstration of the Effectiveness of The Sleuth Kit and Autopsy Forensic Browser Anthony Dowling A thesis submitted for the degree of Master of Science (Information Science) at the University of Otago, Dunedin, New Zealand Date: May 14, 2006 ii Abstract The Sleuth Kit is a collection of Linux tools that perform different aspects of a file system analysis. The Autopsy Forensic Browser is a graphical user interface that provides a user friendly interface to the command line tools contained within The Sleuth Kit. This research project investigates the use of The Sleuth Kit and Autopsy Forensic Browser as forensic investigation tools, with the aim of demonstrating the effectiveness of these tools in real world case studies as digital forensic tools. The research found that The Sleuth Kit and Autopsy Forensic Browser provide an effective file system analysis toolset. The flexibility of the tools contained within The Sleuth Kit often lead to complex command line strings, the complexity of which is overcome by the automation provided by the Autopsy Forensic Browser. Not only do The Sleuth Kit and Autopsy Forensic browser provide an effective toolset, they also offer an affordable alternative to expensive commercial or proprietary based toolsets. Digital Forensics is an area of increasing importance with an expanding field of coverage requiring many different tools to help perform varying functions. It is with this in mind that the focus of this research project is three case studies that are utilised to demonstrate the effectiveness of The Sleuth Kit and Autopsy Forensic Browser. The demonstration of The Sleuth Kit and Autopsy Forensic Browser contained within the case studies could serve as an introductory overview of a new toolset for investigators looking for an alternative or complementary Digital Forensics toolset.
    [Show full text]
  • Running Sleuthkit and Autopsy Under Windows
    Running Sleuthkit and Autopsy Under Windows Published June 11, 2004 Charles Lucas [email protected] http://www.memophage.net This tutorial is intended for people who are familiar with Windows and Windows-based forensics tools, but may not be familiar with UNIX-style syntax, or the Cygwin, Sleuthkit, or Autopsy toolsets. Note that some of the commands herein assume an NT-kernel based system (Windows NT, 2K, XP), and may not function correctly on a Windows 9X or Millennium Edition system. Cygwin is a Linux-like environment for Windows. It essentially pretends to be a Linux system, but intercepts the Linux system calls and routes them to the requisite Windows system calls instead. It comes with the gcc compiler, so it is often possible to recompile Linux-based applications to run under Cygwin on a Windows environment. In the case of Sleuthkit and Autopsy, the developers intentionally made sure that these utilities would compile under Cygwin, making our task much easier. Autopsy is a web-based graphical interface that uses the Sleuthkit command-line tools. Thus, we must first install the Cygwin environment, the compile the Sleuthkit tools under that environment. Once that is complete, we can install Autopsy, which will start its own local web server application that we can use to orchestrate the Sleuthkit tools. Installing Cygwin Browse to www.cygwin.com, and click on one of the install links with the icon to download setup.exe. When the File Download dialog window pops up, hit “Open”, to run the executable. This should download and start the “Cygwin Net Release Setup Program”.
    [Show full text]