[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HBVC4TV9X7R2H2P4E0YSZY":3,"skill-same:01M6HBVC4TV9X7R2H2P4E0YSZY":112},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6HBVC4TV9X7R2H2P4E0YSZY","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...","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"analyzing outlook pst for email forensics","for","outlook","pst","analyzing","forensics","email","email-forensics","ost","mapi","email-headers","cybersecurity","analysis","analyze","evidence","files","manage","incident","emails","utils","2026-11-10 10:12:30",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...\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags:\n- email-forensics\n- pst\n- ost\n- outlook\n- mapi\n- email-headers\n- attachments\n- deleted-emails\n- libpff\n- eml-extraction\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MANAGE-2.4\n- MANAGE-3.1\n- MEASURE-3.1\nnist_csf:\n- RS.AN-01\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\nmitre_attack:\n- T1114.001\n- T1564.008\n- T1070.008\ncategory: analyzing-outlook-pst-for-email-forensics\n---\n# Analyzing Outlook PST for Email Forensics\n\n## Overview\nAnalyze 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.\n\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\nAnalyze 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.\n\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":44,"author":49,"domain":30,"license":15,"version":50,"category":5,"nist_csf":51,"subdomain":56,"description":7,"nist_ai_rmf":57,"mitre_attack":61},[26,22,27,21,28,29,45,46,47,48],"attachments","deleted-emails","libpff","eml-extraction","mahipal","1.0",[52,53,54,55],"RS.AN-01","RS.AN-03","DE.AE-02","RS.MA-01","digital-forensics",[58,59,60],"MANAGE-2.4","MANAGE-3.1","MEASURE-3.1",[62,63,64],"T1114.001","T1564.008","T1070.008","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fanalyzing-outlook-pst-for-email-forensics",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill analyzing-outlook-pst-for-email-forensics",{"tool":79,"command":80},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill analyzing-outlook-pst-for-email-forensics",{"tool":82,"command":83},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill analyzing-outlook-pst-for-email-forensics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002FSKILL.md",true,[87,92,98,102,106],{"path":88,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002FLICENSE",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fapi-reference.md","REFERENCE","参考文档",2566,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fapi-reference.md",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fstandards.md",634,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fstandards.md",{"path":103,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fworkflows.md",397,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002Freferences\u002Fworkflows.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",5996,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-outlook-pst-for-email-forensics\u002Fscripts\u002Fagent.py",[113,137,163,185,201,222],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[120,121,122,123,20,124,30,125,126,127,128,129,130,131,132,133,134,36,135,136],"integrity","backup","recovery","validating backup integrity for recovery","testing","validate","verification","hash-verification","incident-response","ransomware","detection","t1078","t1490","disaster-recovery","restore","disaster recovery","ransomware response",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[144,145,146,147,148,30,149,150,151,152,153,154,155,156,157,158,159,160,161,162],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[170,171,36,30,172,173,174,131,132,31,175,176,177,178,179,180,181,182,183,184],"security","triaging security incident","actions","soc","NIST","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[170,192,193,171,36,148,30,194,173,128,195,196,131,132,197,175,158,198,199,200],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[170,208,209,210,211,212,30,213,214,215,173,216,131,217,218,219,178,220,36,221],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review","cm","de",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[229,230,231,232,30,233,234,235,236,237,238,217,239,240,220,241,221,242,243,244],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]