Autopsy
4.15.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 |
Private Member Functions | |
BlackboardArtifact | addEmailArtifact (EmailMessage email, AbstractFile abstractFile) |
BlackboardArtifact | associateAttachmentWithMesssge (BlackboardArtifact message, AbstractFile attachedFile) throws TskCoreException |
Set< String > | findEmailAddresess (String input) |
List< Long > | findMboxSplitOffset (AbstractFile abstractFile, File file) throws IOException |
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) |
void | processMboxFile (File file, AbstractFile abstractFile, String emailFolder) |
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()) |
static final int | MBOX_SIZE_TO_SPLIT = 1048576000 |
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 72 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Add a blackboard artifact for the given e-mail message.
The e-mail message. | |
abstractFile | The associated file. |
Definition at line 657 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.findEmailAddresess(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEMLFile().
|
private |
Creates a TSK_ASSOCIATED_OBJECT artifact between the attachment file and the message artifact.
Definition at line 621 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments().
|
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 637 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact().
|
private |
Definition at line 359 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox().
|
private |
Add the given attachments as derived files and reschedule them for ingest.
attachments | |
abstractFile | |
messageArtifact |
Definition at line 571 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.casemodule.services.FileManager.addDerivedFile(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.associateAttachmentWithMesssge().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEMLFile().
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 103 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEMLFile(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processVcard().
|
private |
Take the extracted information in the email messages and add the appropriate artifacts and derived files.
partialEmailsForThreading | |
fullMessageIterator | |
abstractFile |
Definition at line 515 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact(), org.sleuthkit.autopsy.ingest.IngestJobContext.addFilesToJob(), org.sleuthkit.autopsy.ingest.IngestServices.fireModuleContentEvent(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMboxFile(), and org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst().
|
private |
Definition at line 429 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact(), org.sleuthkit.autopsy.ingest.IngestJobContext.addFilesToJob(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.ingest.IngestServices.fireModuleContentEvent(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.handleAttachments(), and org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process().
|
private |
Parse and extract email messages and attachments from an MBox file.
abstractFile |
Definition at line 279 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMonitor.DISK_FREE_SPACE_UNKNOWN, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.findMboxSplitOffset(), org.sleuthkit.autopsy.ingest.IngestServices.getFreeDiskSpace(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.MBOX_SIZE_TO_SPLIT, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMboxFile(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process().
|
private |
Definition at line 381 of file ThunderbirdMboxFileIngestModule.java.
References org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processEmails().
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox().
|
private |
Processes a pst/ost data file and extracts and adds email artifacts.
abstractFile | The pst/ost data file to process. |
Definition at line 179 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.getFreeDiskSpace(), 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().
|
private |
Parse and extract data from a vCard file.
abstractFile | The content to be processed. |
Definition at line 418 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 815 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 91 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().
|
private |
Definition at line 77 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 78 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 76 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp().
|
private |
Definition at line 81 of file ThunderbirdMboxFileIngestModule.java.
|
private |
Definition at line 75 of file ThunderbirdMboxFileIngestModule.java.
|
staticprivate |
Definition at line 73 of file ThunderbirdMboxFileIngestModule.java.
|
staticprivate |
Definition at line 80 of file ThunderbirdMboxFileIngestModule.java.
Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processMBox().
|
private |
Definition at line 74 of file ThunderbirdMboxFileIngestModule.java.
Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.