[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74N33CYK9VEVTZN4WV65MTR":3,"skill-same:01M74N33CYK9VEVTZN4WV65MTR":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":40,"commitSha":41,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M74N33CYK9VEVTZN4WV65MTR","analyzing-outlook-pst-for-email-forensics",null,"Analyze Microsoft Outlook PST and OST files for email forensic evidence including message content, headers, attachments, deleted items, and metadata using libpff, pst-utils, and forensic email analysis tools for legal investigations and incident response.","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: analyzing-outlook-pst-for-email-forensics\ndescription: Analyze Microsoft Outlook PST and OST files for email forensic evidence including message content, headers, attachments, deleted items, and metadata using libpff, pst-utils, and forensic email analysis tools for legal investigations and incident response.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags: [email-forensics, pst, ost, outlook, mapi, email-headers, attachments, deleted-emails, libpff, eml-extraction]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Analyzing Outlook PST for Email Forensics\n\n## Overview\n\nMicrosoft Outlook PST (Personal Storage Table) and OST (Offline Storage Table) files are critical evidence sources in digital forensics investigations. PST files store email messages, calendar events, contacts, tasks, and notes in a proprietary binary format based on the MAPI (Messaging Application Programming Interface) property system. Forensic analysis of these files enables recovery of deleted emails (from the Recoverable Items folder), extraction of email headers for tracing message routes, analysis of attachments for malware or exfiltrated data, and reconstruction of communication patterns. Modern PST files use Unicode format with 4KB pages and can grow up to 50GB, while legacy ANSI format is limited to 2GB.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing outlook pst for email forensics\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- libpff\u002Fpffexport (open-source PST parser)\n- Python 3.8+ with pypff or libratom libraries\n- MailXaminer, Forensic Email Collector, or SysTools PST Forensics (commercial)\n- Microsoft Outlook (optional, for native PST access)\n- Sufficient disk space for extracted content\n\n## PST File Locations\n\n| Source | Path |\n|--------|------|\n| Outlook 2016+ Default | %USERPROFILE%\\Documents\\Outlook Files\\*.pst |\n| Outlook Legacy | %LOCALAPPDATA%\\Microsoft\\Outlook\\*.pst |\n| OST Cache | %LOCALAPPDATA%\\Microsoft\\Outlook\\*.ost |\n| Archive | %USERPROFILE%\\Documents\\Outlook Files\\archive.pst |\n\n## Analysis with Open-Source Tools\n\n### libpff \u002F pffexport\n\n```bash\n# Export all items from PST file\npffexport -m all evidence.pst -t exported_pst\n\n# Export only email messages\npffexport -m items evidence.pst -t exported_emails\n\n# Export recovered\u002Fdeleted items\npffexport -m recovered evidence.pst -t recovered_items\n\n# Get PST file information\npffinfo evidence.pst\n```\n\n### Python PST Analysis\n\n```python\nimport pypff\nimport os\nimport json\nimport hashlib\nimport email\nimport sys\nfrom datetime import datetime\nfrom collections import defaultdict\n\n\nclass PSTForensicAnalyzer:\n    \"\"\"Forensic analysis of Outlook PST\u002FOST files.\"\"\"\n\n    def __init__(self, pst_path: str, output_dir: str):\n        self.pst_path = pst_path\n        self.output_dir = output_dir\n        os.makedirs(output_dir, exist_ok=True)\n        self.pst = pypff.file()\n        self.pst.open(pst_path)\n        self.messages = []\n        self.attachments = []\n        self.stats = defaultdict(int)\n\n    def process_folder(self, folder, folder_path: str = \"\"):\n        \"\"\"Recursively process PST folders and extract messages.\"\"\"\n        folder_name = folder.name or \"Root\"\n        current_path = f\"{folder_path}\u002F{folder_name}\" if folder_path else folder_name\n\n        for i in range(folder.number_of_sub_messages):\n            try:\n                message = folder.get_sub_message(i)\n                msg_data = self.extract_message(message, current_path)\n                if msg_data:\n                    self.messages.append(msg_data)\n                    self.stats[\"total_messages\"] += 1\n            except Exception as e:\n                self.stats[\"parse_errors\"] += 1\n\n        for i in range(folder.number_of_sub_folders):\n            try:\n                subfolder = folder.get_sub_folder(i)\n                self.process_folder(subfolder, current_path)\n            except Exception:\n                continue\n\n    def extract_message(self, message, folder_path: str) -> dict:\n        \"\"\"Extract forensic metadata from a single email message.\"\"\"\n        msg_data = {\n            \"folder\": folder_path,\n            \"subject\": message.subject or \"\",\n            \"sender\": message.sender_name or \"\",\n            \"sender_email\": \"\",\n            \"creation_time\": str(message.creation_time) if message.creation_time else None,\n            \"delivery_time\": str(message.delivery_time) if message.delivery_time else None,\n            \"modification_time\": str(message.modification_time) if message.modification_time else None,\n            \"has_attachments\": message.number_of_attachments > 0,\n            \"attachment_count\": message.number_of_attachments,\n            \"body_size\": len(message.plain_text_body or b\"\"),\n            \"html_size\": len(message.html_body or b\"\"),\n        }\n\n        # Extract transport headers for routing analysis\n        headers = message.transport_headers\n        if headers:\n            msg_data[\"headers_present\"] = True\n            msg_data[\"headers_size\"] = len(headers)\n            # Parse key headers\n            parsed = email.message_from_string(headers)\n            msg_data[\"from_header\"] = parsed.get(\"From\", \"\")\n            msg_data[\"to_header\"] = parsed.get(\"To\", \"\")\n            msg_data[\"date_header\"] = parsed.get(\"Date\", \"\")\n            msg_data[\"message_id\"] = parsed.get(\"Message-ID\", \"\")\n            msg_data[\"x_originating_ip\"] = parsed.get(\"X-Originating-IP\", \"\")\n            msg_data[\"received_headers\"] = parsed.get_all(\"Received\", [])\n\n        # Process attachments\n        for j in range(message.number_of_attachments):\n            try:\n                attachment = message.get_attachment(j)\n                att_data = {\n                    \"message_subject\": msg_data[\"subject\"],\n                    \"name\": attachment.name or f\"attachment_{j}\",\n                    \"size\": attachment.size,\n                    \"content_type\": \"\",\n                }\n                self.attachments.append(att_data)\n                self.stats[\"total_attachments\"] += 1\n            except Exception:\n                continue\n\n        return msg_data\n\n    def save_attachments(self, max_size_mb: int = 100):\n        \"\"\"Export attachments to disk for analysis.\"\"\"\n        att_dir = os.path.join(self.output_dir, \"attachments\")\n        os.makedirs(att_dir, exist_ok=True)\n\n        root = self.pst.get_root_folder()\n        self._save_attachments_recursive(root, att_dir, max_size_mb)\n\n    def _save_attachments_recursive(self, folder, att_dir, max_size_mb):\n        for i in range(folder.number_of_sub_messages):\n            try:\n                message = folder.get_sub_message(i)\n                for j in range(message.number_of_attachments):\n                    att = message.get_attachment(j)\n                    if att.size and att.size \u003C max_size_mb * 1024 * 1024:\n                        name = att.name or f\"unknown_{i}_{j}\"\n                        safe_name = \"\".join(c if c.isalnum() or c in \".-_\" else \"_\" for c in name)\n                        path = os.path.join(att_dir, safe_name)\n                        try:\n                            data = att.read_buffer(att.size)\n                            with open(path, \"wb\") as f:\n                                f.write(data)\n                        except Exception:\n                            continue\n            except Exception:\n                continue\n\n        for i in range(folder.number_of_sub_folders):\n            try:\n                self._save_attachments_recursive(folder.get_sub_folder(i), att_dir, max_size_mb)\n            except Exception:\n                continue\n\n    def generate_report(self) -> str:\n        \"\"\"Generate comprehensive PST forensic analysis report.\"\"\"\n        root = self.pst.get_root_folder()\n        self.process_folder(root)\n\n        report = {\n            \"analysis_timestamp\": datetime.now().isoformat(),\n            \"pst_file\": self.pst_path,\n            \"pst_size_bytes\": os.path.getsize(self.pst_path),\n            \"statistics\": dict(self.stats),\n            \"messages\": self.messages[:500],\n            \"attachments\": self.attachments[:200],\n        }\n\n        report_path = os.path.join(self.output_dir, \"pst_forensic_report.json\")\n        with open(report_path, \"w\") as f:\n            json.dump(report, f, indent=2, default=str)\n\n        print(f\"[*] Total messages: {self.stats['total_messages']}\")\n        print(f\"[*] Total attachments: {self.stats['total_attachments']}\")\n        print(f\"[*] Parse errors: {self.stats['parse_errors']}\")\n        return report_path\n\n    def close(self):\n        self.pst.close()\n\n\ndef main():\n    if len(sys.argv) \u003C 3:\n        print(\"Usage: python process.py \u003Cpst_file> \u003Coutput_dir>\")\n        sys.exit(1)\n    analyzer = PSTForensicAnalyzer(sys.argv[1], sys.argv[2])\n    analyzer.generate_report()\n    analyzer.close()\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## Email Header Analysis\n\nKey headers for forensic investigation:\n\n| Header | Forensic Value |\n|--------|---------------|\n| Received | Message routing chain (read bottom to top) |\n| X-Originating-IP | Sender's actual IP address |\n| Message-ID | Unique identifier for correlation |\n| Date | Send timestamp |\n| Return-Path | Bounce address (may differ from From) |\n| DKIM-Signature | Domain authentication signature |\n| Authentication-Results | SPF, DKIM, DMARC verification results |\n| X-Mailer | Email client used |\n\n## References\n\n- MailXaminer PST Forensics: https:\u002F\u002Fwww.mailxaminer.com\u002Fblog\u002Foutlook-pst-file-forensics\u002F\n- libpff Documentation: https:\u002F\u002Fgithub.com\u002Flibyal\u002Flibpff\n- PST File Format Specification: https:\u002F\u002Fdocs.microsoft.com\u002Fen-us\u002Fopenspecs\u002Foffice_file_formats\u002Fms-pst\u002F\n- SANS Email Forensics: https:\u002F\u002Fwww.sans.org\u002Fblog\u002Femail-forensics\u002F\n\n## Example Output\n\n```text\n$ pffexport \u002Fevidence\u002Fjsmith_archive.pst -t \u002Fanalysis\u002Fpst_output\n\npffexport 20231205 - libpff PST\u002FOST Export Tool\n=================================================\nInput: \u002Fevidence\u002Fjsmith_archive.pst (2.3 GB)\n\nExporting PST contents...\n  Folders:       45\n  Messages:      12,456\n  Attachments:   3,234\n  Contacts:      567\n  Calendar:      234\n  Tasks:         89\n\nExport completed in 3m 42s.\n\n$ python3 pst_analyzer.py \u002Fanalysis\u002Fpst_output \u002Fanalysis\u002Femail_report\n\nPST Forensic Analysis Report\n==============================\nSource: jsmith_archive.pst (john.smith@corporate.com)\nDate Range: 2023-06-01 to 2024-01-18\n\n--- Mailbox Statistics ---\n  Total Emails:       12,456\n  Sent:               4,567\n  Received:           7,889\n  With Attachments:   3,234\n  Deleted (recovered): 234\n\n--- Phishing \u002F Suspicious Emails ---\nEmail #8923\n  Date:        2024-01-15 14:30:22 UTC\n  From:        \"IT Support\" \u003Cit-support@c0rporate-help.com>\n  To:          john.smith@corporate.com\n  Subject:     Urgent: Password Reset Required\n  Headers:\n    Return-Path:    bounce@mail-relay.c0rporate-help.com\n    X-Originating-IP: 203.0.113.55\n    Received:       from mail-relay.c0rporate-help.com (203.0.113.55)\n    SPF:            FAIL (domain c0rporate-help.com)\n    DKIM:           NONE\n    DMARC:          FAIL\n  Attachments:\n    - Password_Reset_Form.xlsm (245 KB) SHA-256: 7a3b8c9d...e1f2a3b4\n  Body Preview:  \"Dear Employee, Your password will expire in 24 hours.\n                  Please open the attached form to reset your credentials...\"\n\n--- Data Exfiltration Indicators ---\nEmail #9102\n  Date:        2024-01-16 03:15:45 UTC\n  From:        john.smith@corporate.com\n  To:          j.smith.personal8842@protonmail.com\n  Subject:     (no subject)\n  Attachments:\n    - archive_part1.7z (24.5 MB) - encrypted\n    - archive_part2.7z (24.5 MB) - encrypted\n\nEmail #9103\n  Date:        2024-01-16 03:18:22 UTC\n  From:        john.smith@corporate.com\n  To:          j.smith.personal8842@protonmail.com\n  Subject:     Re:\n  Attachments:\n    - archive_part3.7z (18.2 MB) - encrypted\n\n--- Keyword Hits ---\n  \"confidential\":     45 emails\n  \"password\":         23 emails\n  \"transfer\":         12 emails\n  \"resign\":           3 emails\n  \"delete evidence\":  1 email (Email #9200, 2024-01-17 22:30:00 UTC)\n\nSummary:\n  Phishing emails detected:    1 (initial compromise vector)\n  Suspicious sent emails:      5 (to personal accounts with attachments)\n  Encrypted attachments:       3 (67.2 MB total - possible exfiltration)\n  Report: \u002Fanalysis\u002Femail_report\u002Fpst_forensic_report.json\n```\n","# Analyzing Outlook PST for Email Forensics\n\n## Overview\n\nMicrosoft Outlook PST (Personal Storage Table) and OST (Offline Storage Table) files are critical evidence sources in digital forensics investigations. PST files store email messages, calendar events, contacts, tasks, and notes in a proprietary binary format based on the MAPI (Messaging Application Programming Interface) property system. Forensic analysis of these files enables recovery of deleted emails (from the Recoverable Items folder), extraction of email headers for tracing message routes, analysis of attachments for malware or exfiltrated data, and reconstruction of communication patterns. Modern PST files use Unicode format with 4KB pages and can grow up to 50GB, while legacy ANSI format is limited to 2GB.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing outlook pst for email forensics\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- libpff\u002Fpffexport (open-source PST parser)\n- Python 3.8+ with pypff or libratom libraries\n- MailXaminer, Forensic Email Collector, or SysTools PST Forensics (commercial)\n- Microsoft Outlook (optional, for native PST access)\n- Sufficient disk space for extracted content\n\n## PST File Locations\n\n| Source | Path |\n|--------|------|\n| Outlook 2016+ Default | %USERPROFILE%\\Documents\\Outlook Files\\*.pst |\n| Outlook Legacy | %LOCALAPPDATA%\\Microsoft\\Outlook\\*.pst |\n| OST Cache | %LOCALAPPDATA%\\Microsoft\\Outlook\\*.ost |\n| Archive | %USERPROFILE%\\Documents\\Outlook Files\\archive.pst |\n\n## Analysis with Open-Source Tools\n\n### libpff \u002F pffexport\n\n```bash\n# Export all items from PST file\npffexport -m all evidence.pst -t exported_pst\n\n# Export only email messages\npffexport -m items evidence.pst -t exported_emails\n\n# Export recovered\u002Fdeleted items\npffexport -m recovered evidence.pst -t recovered_items\n\n# Get PST file information\npffinfo evidence.pst\n```\n\n### Python PST Analysis\n\n```python\nimport pypff\nimport os\nimport json\nimport hashlib\nimport email\nimport sys\nfrom datetime import datetime\nfrom collections import defaultdict\n\n\nclass PSTForensicAnalyzer:\n    \"\"\"Forensic analysis of Outlook PST\u002FOST files.\"\"\"\n\n    def __init__(self, pst_path: str, output_dir: str):\n        self.pst_path = pst_path\n        self.output_dir = output_dir\n        os.makedirs(output_dir, exist_ok=True)\n        self.pst = pypff.file()\n        self.pst.open(pst_path)\n        self.messages = []\n        self.attachments = []\n        self.stats = defaultdict(int)\n\n    def process_folder(self, folder, folder_path: str = \"\"):\n        \"\"\"Recursively process PST folders and extract messages.\"\"\"\n        folder_name = folder.name or \"Root\"\n        current_path = f\"{folder_path}\u002F{folder_name}\" if folder_path else folder_name\n\n        for i in range(folder.number_of_sub_messages):\n            try:\n                message = folder.get_sub_message(i)\n                msg_data = self.extract_message(message, current_path)\n                if msg_data:\n                    self.messages.append(msg_data)\n                    self.stats[\"total_messages\"] += 1\n            except Exception as e:\n                self.stats[\"parse_errors\"] += 1\n\n        for i in range(folder.number_of_sub_folders):\n            try:\n                subfolder = folder.get_sub_folder(i)\n                self.process_folder(subfolder, current_path)\n            except Exception:\n                continue\n\n    def extract_message(self, message, folder_path: str) -> dict:\n        \"\"\"Extract forensic metadata from a single email message.\"\"\"\n        msg_data = {\n            \"folder\": folder_path,\n            \"subject\": message.subject or \"\",\n            \"sender\": message.sender_name or \"\",\n            \"sender_email\": \"\",\n            \"creation_time\": str(message.creation_time) if message.creation_time else None,\n            \"delivery_time\": str(message.delivery_time) if message.delivery_time else None,\n            \"modification_time\": str(message.modification_time) if message.modification_time else None,\n            \"has_attachments\": message.number_of_attachments > 0,\n            \"attachment_count\": message.number_of_attachments,\n            \"body_size\": len(message.plain_text_body or b\"\"),\n            \"html_size\": len(message.html_body or b\"\"),\n        }\n\n        # Extract transport headers for routing analysis\n        headers = message.transport_headers\n        if headers:\n            msg_data[\"headers_present\"] = True\n            msg_data[\"headers_size\"] = len(headers)\n            # Parse key headers\n            parsed = email.message_from_string(headers)\n            msg_data[\"from_header\"] = parsed.get(\"From\", \"\")\n            msg_data[\"to_header\"] = parsed.get(\"To\", \"\")\n            msg_data[\"date_header\"] = parsed.get(\"Date\", \"\")\n            msg_data[\"message_id\"] = parsed.get(\"Message-ID\", \"\")\n            msg_data[\"x_originating_ip\"] = parsed.get(\"X-Originating-IP\", \"\")\n            msg_data[\"received_headers\"] = parsed.get_all(\"Received\", [])\n\n        # Process attachments\n        for j in range(message.number_of_attachments):\n            try:\n                attachment = message.get_attachment(j)\n                att_data = {\n                    \"message_subject\": msg_data[\"subject\"],\n                    \"name\": attachment.name or f\"attachment_{j}\",\n                    \"size\": attachment.size,\n                    \"content_type\": \"\",\n                }\n                self.attachments.append(att_data)\n                self.stats[\"total_attachments\"] += 1\n            except Exception:\n                continue\n\n        return msg_data\n\n    def save_attachments(self, max_size_mb: int = 100):\n        \"\"\"Export attachments to disk for analysis.\"\"\"\n        att_dir = os.path.join(self.output_dir, \"attachments\")\n        os.makedirs(att_dir, exist_ok=True)\n\n        root = self.pst.get_root_folder()\n        self._save_attachments_recursive(root, att_dir, max_size_mb)\n\n    def _save_attachments_recursive(self, folder, att_dir, max_size_mb):\n        for i in range(folder.number_of_sub_messages):\n            try:\n                message = folder.get_sub_message(i)\n                for j in range(message.number_of_attachments):\n                    att = message.get_attachment(j)\n                    if att.size and att.size \u003C max_size_mb * 1024 * 1024:\n                        name = att.name or f\"unknown_{i}_{j}\"\n                        safe_name = \"\".join(c if c.isalnum() or c in \".-_\" else \"_\" for c in name)\n                        path = os.path.join(att_dir, safe_name)\n                        try:\n                            data = att.read_buffer(att.size)\n                            with open(path, \"wb\") as f:\n                                f.write(data)\n                        except Exception:\n                            continue\n            except Exception:\n                continue\n\n        for i in range(folder.number_of_sub_folders):\n            try:\n                self._save_attachments_recursive(folder.get_sub_folder(i), att_dir, max_size_mb)\n            except Exception:\n                continue\n\n    def generate_report(self) -> str:\n        \"\"\"Generate comprehensive PST forensic analysis report.\"\"\"\n        root = self.pst.get_root_folder()\n        self.process_folder(root)\n\n        report = {\n            \"analysis_timestamp\": datetime.now().isoformat(),\n            \"pst_file\": self.pst_path,\n            \"pst_size_bytes\": os.path.getsize(self.pst_path),\n            \"statistics\": dict(self.stats),\n            \"messages\": self.messages[:500],\n            \"attachments\": self.attachments[:200],\n        }\n\n        report_path = os.path.join(self.output_dir, \"pst_forensic_report.json\")\n        with open(report_path, \"w\") as f:\n            json.dump(report, f, indent=2, default=str)\n\n        print(f\"[*] Total messages: {self.stats['total_messages']}\")\n        print(f\"[*] Total attachments: {self.stats['total_attachments']}\")\n        print(f\"[*] Parse errors: {self.stats['parse_errors']}\")\n        return report_path\n\n    def close(self):\n        self.pst.close()\n\n\ndef main():\n    if len(sys.argv) \u003C 3:\n        print(\"Usage: python process.py \u003Cpst_file> \u003Coutput_dir>\")\n        sys.exit(1)\n    analyzer = PSTForensicAnalyzer(sys.argv[1], sys.argv[2])\n    analyzer.generate_report()\n    analyzer.close()\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## Email Header Analysis\n\nKey headers for forensic investigation:\n\n| Header | Forensic Value |\n|--------|---------------|\n| Received | Message routing chain (read bottom to top) |\n| X-Originating-IP | Sender's actual IP address |\n| Message-ID | Unique identifier for correlation |\n| Date | Send timestamp |\n| Return-Path | Bounce address (may differ from From) |\n| DKIM-Signature | Domain authentication signature |\n| Authentication-Results | SPF, DKIM, DMARC verification results |\n| X-Mailer | Email client used |\n\n## References\n\n- MailXaminer PST Forensics: https:\u002F\u002Fwww.mailxaminer.com\u002Fblog\u002Foutlook-pst-file-forensics\u002F\n- libpff Documentation: https:\u002F\u002Fgithub.com\u002Flibyal\u002Flibpff\n- PST File Format Specification: https:\u002F\u002Fdocs.microsoft.com\u002Fen-us\u002Fopenspecs\u002Foffice_file_formats\u002Fms-pst\u002F\n- SANS Email Forensics: https:\u002F\u002Fwww.sans.org\u002Fblog\u002Femail-forensics\u002F\n\n## Example Output\n\n```text\n$ pffexport \u002Fevidence\u002Fjsmith_archive.pst -t \u002Fanalysis\u002Fpst_output\n\npffexport 20231205 - libpff PST\u002FOST Export Tool\n=================================================\nInput: \u002Fevidence\u002Fjsmith_archive.pst (2.3 GB)\n\nExporting PST contents...\n  Folders:       45\n  Messages:      12,456\n  Attachments:   3,234\n  Contacts:      567\n  Calendar:      234\n  Tasks:         89\n\nExport completed in 3m 42s.\n\n$ python3 pst_analyzer.py \u002Fanalysis\u002Fpst_output \u002Fanalysis\u002Femail_report\n\nPST Forensic Analysis Report\n==============================\nSource: jsmith_archive.pst (john.smith@corporate.com)\nDate Range: 2023-06-01 to 2024-01-18\n\n--- Mailbox Statistics ---\n  Total Emails:       12,456\n  Sent:               4,567\n  Received:           7,889\n  With Attachments:   3,234\n  Deleted (recovered): 234\n\n--- Phishing \u002F Suspicious Emails ---\nEmail #8923\n  Date:        2024-01-15 14:30:22 UTC\n  From:        \"IT Support\" \u003Cit-support@c0rporate-help.com>\n  To:          john.smith@corporate.com\n  Subject:     Urgent: Password Reset Required\n  Headers:\n    Return-Path:    bounce@mail-relay.c0rporate-help.com\n    X-Originating-IP: 203.0.113.55\n    Received:       from mail-relay.c0rporate-help.com (203.0.113.55)\n    SPF:            FAIL (domain c0rporate-help.com)\n    DKIM:           NONE\n    DMARC:          FAIL\n  Attachments:\n    - Password_Reset_Form.xlsm (245 KB) SHA-256: 7a3b8c9d...e1f2a3b4\n  Body Preview:  \"Dear Employee, Your password will expire in 24 hours.\n                  Please open the attached form to reset your credentials...\"\n\n--- Data Exfiltration Indicators ---\nEmail #9102\n  Date:        2024-01-16 03:15:45 UTC\n  From:        john.smith@corporate.com\n  To:          j.smith.personal8842@protonmail.com\n  Subject:     (no subject)\n  Attachments:\n    - archive_part1.7z (24.5 MB) - encrypted\n    - archive_part2.7z (24.5 MB) - encrypted\n\nEmail #9103\n  Date:        2024-01-16 03:18:22 UTC\n  From:        john.smith@corporate.com\n  To:          j.smith.personal8842@protonmail.com\n  Subject:     Re:\n  Attachments:\n    - archive_part3.7z (18.2 MB) - encrypted\n\n--- Keyword Hits ---\n  \"confidential\":     45 emails\n  \"password\":         23 emails\n  \"transfer\":         12 emails\n  \"resign\":           3 emails\n  \"delete evidence\":  1 email (Email #9200, 2024-01-17 22:30:00 UTC)\n\nSummary:\n  Phishing emails detected:    1 (initial compromise vector)\n  Suspicious sent emails:      5 (to personal accounts with attachments)\n  Encrypted attachments:       3 (67.2 MB total - possible exfiltration)\n  Report: \u002Fanalysis\u002Femail_report\u002Fpst_forensic_report.json\n```\n",{"name":5,"tags":25,"author":36,"domain":37,"license":15,"version":38,"subdomain":39,"description":7},[26,27,28,29,30,31,32,33,34,35],"email-forensics","pst","ost","outlook","mapi","email-headers","attachments","deleted-emails","libpff","eml-extraction","mahipal","cybersecurity","1.0","digital-forensics","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-outlook-pst-for-email-forensics",{"tool":52,"command":53},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-outlook-pst-for-email-forensics",{"tool":55,"command":56},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-outlook-pst-for-email-forensics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002FSKILL.md",true,[60,64,70,74,78],{"path":61,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fapi-reference.md","REFERENCE","参考文档",2566,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fapi-reference.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fstandards.md",634,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fstandards.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fworkflows.md",397,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fworkflows.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",5996,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-outlook-pst-for-email-forensics\u002Fscripts\u002Fagent.py",[85,94,101,108,115,122],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":93},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":93},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":93},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":93},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":93},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]