Autopsy
4.5.0
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 | |
BlackboardArtifact | addArtifact (EmailMessage email, AbstractFile abstractFile) |
void | addEmailAttribute (String stringVal, ATTRIBUTE_TYPE attrType, Collection< BlackboardAttribute > bbattributes) |
void | addEmailAttribute (long longVal, ATTRIBUTE_TYPE attrType, Collection< BlackboardAttribute > bbattributes) |
Set< String > | findEmailAddresess (String input) |
List< AbstractFile > | handleAttachments (List< EmailMessage.Attachment > attachments, AbstractFile abstractFile, BlackboardArtifact messageArtifact) |
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 65 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Add a blackboard artifact for the given email message.
abstractFile |
Definition at line 391 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailAttribute(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.findEmailAddresess(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails().
|
private |
Definition at line 486 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addArtifact().
|
private |
Definition at line 491 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Finds and returns a set of unique email addresses found in the input string
input | - input string, like the To/CC line from an email header |
Definition at line 373 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addArtifact().
|
static |
Definition at line 283 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory().
|
static |
Definition at line 293 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 273 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 | |
messageArtifact |
Definition at line 337 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.services.FileManager.addDerivedFile().
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 83 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.services.Services.getBlackboard(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst().
|
private |
Take the extracted information in the email messages and add the appropriate artifacts and derived files.
emails | |
abstractFile |
Definition at line 305 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(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments().
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 214 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMonitor.DISK_FREE_SPACE_UNKNOWN, org.sleuthkit.autopsy.ingest.IngestServices.getFreeDiskSpace(), 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 135 of file ThunderbirdMboxFileIngestModule.java.
References 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.autopsy.ingest.IngestServices.getFreeDiskSpace(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.getTempPath(), org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.ingest.IngestServices.postMessage(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails(), 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 507 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 77 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 71 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 70 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp().
|
private |
Definition at line 69 of file ThunderbirdMboxFileIngestModule.java.
|
staticprivate |
Definition at line 67 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 68 of file ThunderbirdMboxFileIngestModule.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.