Autopsy  4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule Class Reference

Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.

Public Member Functions

ProcessResult process (AbstractFile abstractFile)
 
void shutDown ()
 
void startUp (IngestJobContext context) throws IngestModuleException
 

Private Member Functions

BlackboardArtifact addEmailArtifact (EmailMessage email, AbstractFile abstractFile)
 
BlackboardArtifact associateAttachmentWithMesssge (BlackboardArtifact message, AbstractFile attachedFile) throws TskCoreException
 
Set< String > findEmailAddresess (String input)
 
List< AbstractFile > handleAttachments (List< EmailMessage.Attachment > attachments, AbstractFile abstractFile, BlackboardArtifact messageArtifact)
 
void processEmails (List< EmailMessage > partialEmailsForThreading, Iterator< EmailMessage > fullMessageIterator, AbstractFile abstractFile)
 
ProcessResult processEMLFile (AbstractFile abstractFile)
 
ProcessResult processMBox (AbstractFile abstractFile)
 
ProcessResult processPst (AbstractFile abstractFile)
 
ProcessResult processVcard (AbstractFile abstractFile)
 

Private Attributes

Blackboard blackboard
 
CommunicationArtifactsHelper communicationArtifactsHelper
 
IngestJobContext context
 
Case currentCase
 
FileManager fileManager
 
final IngestServices services = IngestServices.getInstance()
 

Static Private Attributes

static final Logger logger = Logger.getLogger(ThunderbirdMboxFileIngestModule.class.getName())
 

Detailed Description

File-level ingest module that detects MBOX, PST, and vCard files based on signature. Understands Thunderbird folder layout to provide additional structure and metadata.

Definition at line 71 of file ThunderbirdMboxFileIngestModule.java.

Member Function Documentation

BlackboardArtifact org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact ( EmailMessage  email,
AbstractFile  abstractFile 
)
private
BlackboardArtifact org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.associateAttachmentWithMesssge ( BlackboardArtifact  message,
AbstractFile  attachedFile 
) throws TskCoreException
private

Creates a TSK_ASSOCIATED_OBJECT artifact between the attachment file and the message artifact.

Definition at line 561 of file ThunderbirdMboxFileIngestModule.java.

Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments().

Set<String> org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.findEmailAddresess ( String  input)
private

Finds and returns a set of unique email addresses found in the input string

Parameters
input- input string, like the To/CC line from an email header
Returns
Set<String>: set of email addresses found in the input string

Definition at line 577 of file ThunderbirdMboxFileIngestModule.java.

Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact().

List<AbstractFile> org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments ( List< EmailMessage.Attachment >  attachments,
AbstractFile  abstractFile,
BlackboardArtifact  messageArtifact 
)
private
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process ( AbstractFile  file)
void org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails ( List< EmailMessage >  partialEmailsForThreading,
Iterator< EmailMessage >  fullMessageIterator,
AbstractFile  abstractFile 
)
private
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEMLFile ( AbstractFile  abstractFile)
private
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox ( AbstractFile  abstractFile)
private
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst ( AbstractFile  abstractFile)
private
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processVcard ( AbstractFile  abstractFile)
private

Parse and extract data from a vCard file.

Parameters
abstractFileThe content to be processed.
Returns
'ERROR' whenever a NoCurrentCaseException is encountered; otherwise 'OK'.

Definition at line 358 of file ThunderbirdMboxFileIngestModule.java.

References org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.

Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process().

void org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.shutDown ( )

Invoked by Autopsy when an ingest job is completed (either because the data has been analyzed or because the job was canceled - check IngestJobContext.fileIngestIsCancelled()), before the ingest module instance is discarded. The module should respond by doing things like releasing private resources, submitting final results, and posting a final ingest message.

Implements org.sleuthkit.autopsy.ingest.FileIngestModule.

Definition at line 755 of file ThunderbirdMboxFileIngestModule.java.

void org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp ( IngestJobContext  context) throws IngestModuleException

Invoked by Autopsy to allow an ingest module instance to set up any internal data structures and acquire any private resources it will need during an ingest job. If the module depends on loading any resources, it should do so in this method so that it can throw an exception in the case of an error and alert the user. Exceptions that are thrown from process() and shutDown() are logged, but do not stop processing of the data source.

Parameters
contextProvides data and services specific to the ingest job and the ingest pipeline of which the module is a part.
Exceptions
org.sleuthkit.autopsy.ingest.IngestModule.IngestModuleException

Implements org.sleuthkit.autopsy.ingest.IngestModule.

Definition at line 89 of file ThunderbirdMboxFileIngestModule.java.

References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.context, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.services.Services.getFileManager(), and org.sleuthkit.autopsy.casemodule.Case.getServices().

Member Data Documentation

Blackboard org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.blackboard
private

Definition at line 76 of file ThunderbirdMboxFileIngestModule.java.

CommunicationArtifactsHelper org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.communicationArtifactsHelper
private

Definition at line 77 of file ThunderbirdMboxFileIngestModule.java.

IngestJobContext org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.context
private
Case org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.currentCase
private

Definition at line 79 of file ThunderbirdMboxFileIngestModule.java.

FileManager org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.fileManager
private

Definition at line 74 of file ThunderbirdMboxFileIngestModule.java.

final Logger org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.logger = Logger.getLogger(ThunderbirdMboxFileIngestModule.class.getName())
staticprivate

Definition at line 72 of file ThunderbirdMboxFileIngestModule.java.

final IngestServices org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.services = IngestServices.getInstance()
private

Definition at line 73 of file ThunderbirdMboxFileIngestModule.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.