Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.
Public Member Functions | |
ProcessResult | process (AbstractFile abstractFile) |
void | shutDown () |
void | startUp (IngestJobContext context) throws IngestModuleException |
Static Public Member Functions | |
static String | getModuleOutputPath () |
static String | getRelModuleOutputPath () |
static String | getTempPath () |
Private Member Functions | |
void | addArtifact (EmailMessage email, AbstractFile abstractFile) |
List< AbstractFile > | handleAttachments (List< EmailMessage.Attachment > attachments, AbstractFile abstractFile) |
void | processEmails (List< EmailMessage > emails, AbstractFile abstractFile) |
ProcessResult | processMBox (AbstractFile abstractFile) |
ProcessResult | processPst (AbstractFile abstractFile) |
Private Attributes | |
Blackboard | blackboard |
IngestJobContext | context |
FileManager | fileManager |
IngestServices | services = IngestServices.getInstance() |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(ThunderbirdMboxFileIngestModule.class.getName()) |
File-level ingest module that detects MBOX files based on signature. Understands Thunderbird folder layout to provide additional structure and metadata.
Definition at line 56 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Add a blackboard artifact for the given email message.
abstractFile |
Definition at line 359 of file ThunderbirdMboxFileIngestModule.java.
References org::sleuthkit::datamodel::BlackboardArtifact.addAttributes(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org::sleuthkit::datamodel::BlackboardArtifact.getArtifactID(), org::sleuthkit::datamodel::BlackboardArtifact.getDisplayName(), org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact(), org::sleuthkit::datamodel::AbstractContent.newArtifact(), org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_DATETIME_RCVD, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_DATETIME_SENT, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_BCC, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_CC, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_CONTENT_HTML, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_CONTENT_PLAIN, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_CONTENT_RTF, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_FROM, org::sleuthkit::datamodel::BlackboardArtifact::ARTIFACT_TYPE.TSK_EMAIL_MSG, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_EMAIL_TO, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_MSG_ID, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_PATH, and org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_SUBJECT.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails().
|
static |
Definition at line 274 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory().
|
static |
Definition at line 284 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getModuleOutputDirectoryRelativePath().
|
static |
Get a path to a temporary folder.
Definition at line 264 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getTempDirectory().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst().
|
private |
Add the given attachments as derived files and reschedule them for ingest.
attachments | |
abstractFile |
Definition at line 323 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.services.FileManager.addDerivedFile(), and org::sleuthkit::datamodel::AbstractContent.getName().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails().
ProcessResult org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process | ( | AbstractFile | file | ) |
Processes a file. Called between calls to startUp() and shutDown(). Will be called for each file in a data source.
file | The file to analyze. |
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 74 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.services.Services.getBlackboard(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org::sleuthkit::datamodel::AbstractFile.getKnown(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org::sleuthkit::datamodel::AbstractFile.getSize(), org::sleuthkit::datamodel::AbstractFile.getType(), org::sleuthkit::datamodel::AbstractFile.isFile(), org::sleuthkit::datamodel::TskData::FileKnown.KNOWN, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst(), org::sleuthkit::datamodel::AbstractFile.read(), org::sleuthkit::datamodel::TskData::TSK_DB_FILES_TYPE_ENUM.SLACK, and org::sleuthkit::datamodel::TskData::TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS.
|
private |
Take the extracted information in the email messages and add the appropriate artifacts and derived files.
emails | |
abstractFile |
Definition at line 296 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addArtifact(), org.sleuthkit.autopsy.ingest.IngestJobContext.addFilesToJob(), org.sleuthkit.autopsy.ingest.IngestServices.fireModuleContentEvent(), org.sleuthkit.autopsy.ingest.IngestServices.fireModuleDataEvent(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments(), and org::sleuthkit::datamodel::BlackboardArtifact::ARTIFACT_TYPE.TSK_EMAIL_MSG.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst().
|
private |
Parse and extract email messages and attachments from an MBox file.
abstractFile |
Definition at line 205 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMonitor.DISK_FREE_SPACE_UNKNOWN, org.sleuthkit.autopsy.ingest.IngestServices.getFreeDiskSpace(), org::sleuthkit::datamodel::AbstractContent.getId(), org::sleuthkit::datamodel::AbstractContent.getName(), org::sleuthkit::datamodel::AbstractFile.getParentPath(), org::sleuthkit::datamodel::AbstractFile.getSize(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.getTempPath(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process().
|
private |
Processes a pst/ost data file and extracts and adds email artifacts.
abstractFile | The pst/ost data file to process. |
Definition at line 126 of file ThunderbirdMboxFileIngestModule.java.
References org::sleuthkit::datamodel::BlackboardArtifact.addAttribute(), org.sleuthkit.autopsy.ingest.IngestMessage.createErrorMessage(), org.sleuthkit.autopsy.ingest.IngestMonitor.DISK_FREE_SPACE_UNKNOWN, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.ingest.IngestServices.fireModuleDataEvent(), org::sleuthkit::datamodel::BlackboardArtifact.getArtifactID(), org::sleuthkit::datamodel::BlackboardArtifact.getDisplayName(), org.sleuthkit.autopsy.ingest.IngestServices.getFreeDiskSpace(), org::sleuthkit::datamodel::AbstractContent.getId(), org::sleuthkit::datamodel::AbstractContent.getName(), org::sleuthkit::datamodel::AbstractFile.getSize(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.getTempPath(), org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact(), org::sleuthkit::datamodel::AbstractContent.newArtifact(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.ingest.IngestServices.postMessage(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails(), org::sleuthkit::datamodel::BlackboardArtifact::ARTIFACT_TYPE.TSK_ENCRYPTION_DETECTED, org::sleuthkit::datamodel::BlackboardAttribute::ATTRIBUTE_TYPE.TSK_NAME, and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
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 436 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.
context | Provides data and services specific to the ingest job and the ingest pipeline of which the module is a part. |
Implements org.sleuthkit.autopsy.ingest.IngestModule.
Definition at line 68 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.context, org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.services.Services.getFileManager(), and org.sleuthkit.autopsy.casemodule.Case.getServices().
|
private |
Definition at line 62 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 61 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp().
|
private |
Definition at line 60 of file ThunderbirdMboxFileIngestModule.java.
|
staticprivate |
Definition at line 58 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 59 of file ThunderbirdMboxFileIngestModule.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.