[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EVJHSHVVKBTJPSE8PVB82X":3,"skill-same:01M6EVJHSHVVKBTJPSE8PVB82X":115},{"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":31,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":76,"commitSha":77,"skillDirectory":78,"forksCount":14,"repositoryHtmlUrl":79,"repositoryHomepageUrl":80,"ownerHtmlUrl":81,"ownerBlogUrl":6,"ownerDescription":82,"updatedAt":83,"install":84,"resources":97},"01M6EVJHSHVVKBTJPSE8PVB82X","investigating-insider-threat-indicators",null,"Investigates insider threat indicators including data exfiltration attempts, unauthorized access patterns, policy violations, and pre-departure behaviors using SIEM analytics, DLP alerts, and HR data correlation. Use when SOC teams receive insider threat referrals from HR, detect anomalous data movement by employees, or need to build investigation timelines for potential insider threats.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FSKILL.md",[18,23,28],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",{"categoryNo":29,"categoryName":30,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000038","人力资源",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"insider","threat","indicators","investigating insider threat indicators","t1566","hr","de","referrals","alerts","cm","access","cybersecurity","t1078","dlp","insider-threat","data","data-exfiltration","exfiltration","soc","siem","2026-11-10 10:12:30",false,"---\nname: investigating-insider-threat-indicators\ndescription: 'Investigates insider threat indicators including data exfiltration attempts,\n  unauthorized access patterns, policy violations, and pre-departure behaviors using\n  SIEM analytics, DLP alerts, and HR data correlation. Use when SOC teams receive\n  insider threat referrals from HR, detect anomalous data movement by employees, or\n  need to build investigation timelines for potential insider threats.\n\n  '\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- soc\n- insider-threat\n- data-exfiltration\n- dlp\n- ueba\n- investigation\n- hr-correlation\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\nmitre_attack:\n- T1078\n- T1685.002\n- T1685.005\n- T1566\n- T1048\n---\n# Investigating Insider Threat Indicators\n\n## When to Use\n\nUse this skill when:\n- HR refers a departing employee for monitoring during their notice period\n- DLP alerts indicate bulk data downloads or transfers to personal storage\n- UEBA detects anomalous access patterns deviating significantly from peer baselines\n- Management reports concerns about an employee accessing sensitive data outside their role\n\n**Do not use** without proper legal authorization — insider threat investigations must be coordinated with HR, Legal, and Privacy teams before monitoring begins.\n\n## Prerequisites\n\n- Legal authorization and HR referral documenting investigation justification\n- SIEM with DLP, endpoint, email, proxy, and authentication log sources\n- Data Loss Prevention (DLP) system (Microsoft Purview, Symantec, Forcepoint) with policy alerts\n- Endpoint monitoring capability (EDR with USB\u002Fremovable media logging)\n- HR data feed providing employment status, notice dates, and access entitlements\n- Chain of custody procedures for evidence preservation\n\n## Workflow\n\n### Step 1: Establish Investigation Scope and Legal Authorization\n\nBefore any monitoring, ensure proper authorization:\n\n```\nINSIDER THREAT INVESTIGATION AUTHORIZATION\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nCase ID:           IT-2024-0089\nSubject:           [Employee Name] — [Department]\nAuthorized By:     [CISO \u002F General Counsel]\nReferral Source:   HR — Employee submitted resignation, 2-week notice\nJustification:     Employee has access to trade secrets and customer PII\nScope:             Email, file access, USB, cloud storage, printing\nDuration:          2024-03-15 to 2024-03-29 (notice period)\nPrivacy Review:    Completed — compliant with acceptable use policy\n```\n\n### Step 2: Build Activity Timeline from SIEM\n\nQuery comprehensive activity for the subject:\n\n```spl\nindex=* (user=\"jsmith\" OR src_user=\"jsmith\" OR sender=\"jsmith@company.com\"\n         OR SubjectUserName=\"jsmith\")\nearliest=\"2024-03-01\" latest=now\n| eval event_category = case(\n    sourcetype LIKE \"%dlp%\", \"DLP\",\n    sourcetype LIKE \"%proxy%\", \"Web Access\",\n    sourcetype LIKE \"%email%\", \"Email\",\n    sourcetype LIKE \"%WinEventLog%\", \"Endpoint\",\n    sourcetype LIKE \"%o365%\", \"Cloud\",\n    sourcetype LIKE \"%vpn%\", \"VPN\",\n    sourcetype LIKE \"%badge%\", \"Physical Access\",\n    1=1, sourcetype\n  )\n| stats count by event_category, sourcetype, _time\n| timechart span=1d count by event_category\n```\n\n### Step 3: Detect Data Exfiltration Indicators\n\n**Bulk File Downloads (SharePoint\u002FOneDrive):**\n\n```spl\nindex=o365 sourcetype=\"o365:management:activity\" Operation IN (\"FileDownloaded\", \"FileSynced\")\nUserId=\"jsmith@company.com\" earliest=-30d\n| stats count AS downloads, sum(eval(if(isnotnull(FileSize), FileSize, 0))) AS total_bytes,\n        dc(SourceFileName) AS unique_files\n  by UserId, SiteUrl, _time\n| bin _time span=1d\n| eval total_gb = round(total_bytes \u002F 1073741824, 2)\n| where downloads > 50 OR total_gb > 1\n| sort - total_gb\n```\n\n**USB\u002FRemovable Media Usage:**\n\n```spl\nindex=sysmon EventCode=1 Computer=\"WORKSTATION-JSMITH\"\n(CommandLine=\"*removable*\" OR CommandLine=\"*usb*\"\n OR Image=\"*\\\\xcopy*\" OR Image=\"*\\\\robocopy*\")\n| table _time, Computer, User, Image, CommandLine\n| append [\n    search index=endpoint sourcetype=\"endpoint:device_connect\"\n    user=\"jsmith\" device_type=\"removable\"\n    | table _time, user, device_name, device_serial, action\n  ]\n| sort _time\n```\n\n**Email-Based Exfiltration:**\n\n```spl\nindex=email sourcetype=\"o365:messageTrace\"\nSenderAddress=\"jsmith@company.com\"\n| eval is_external = if(match(RecipientAddress, \"@company\\.com$\"), 0, 1)\n| eval has_attachment = if(isnotnull(AttachmentName), 1, 0)\n| stats count AS total_emails,\n        sum(is_external) AS external_emails,\n        sum(has_attachment) AS with_attachments,\n        sum(eval(if(is_external=1 AND has_attachment=1, 1, 0))) AS external_with_attach,\n        sum(Size) AS total_size_bytes\n  by SenderAddress\n| eval external_attach_pct = round(external_with_attach \u002F total_emails * 100, 1)\n| eval total_size_mb = round(total_size_bytes \u002F 1048576, 1)\n```\n\n**Cloud Storage Upload Detection:**\n\n```spl\nindex=proxy user=\"jsmith\"\n(dest IN (\"*dropbox.com\", \"*drive.google.com\", \"*onedrive.live.com\",\n          \"*box.com\", \"*wetransfer.com\", \"*mega.nz\")\n OR category=\"cloud-storage\")\nhttp_method=POST\n| stats count AS uploads, sum(bytes_out) AS total_uploaded\n  by user, dest, category\n| eval uploaded_mb = round(total_uploaded \u002F 1048576, 1)\n| sort - uploaded_mb\n```\n\n### Step 4: Analyze Access Pattern Anomalies\n\n**Accessing Sensitive Systems Outside Normal Scope:**\n\n```spl\nindex=auth user=\"jsmith\" action=success earliest=-30d\n| stats dc(app) AS unique_apps, values(app) AS apps_accessed by user\n| join user type=left [\n    | inputlookup role_app_mapping.csv\n    | search role=\"Financial Analyst\"\n    | stats values(authorized_app) AS authorized_apps by role\n    | eval user=\"jsmith\"\n  ]\n| eval unauthorized = mvfilter(NOT match(apps_accessed, mvjoin(authorized_apps, \"|\")))\n| where isnotnull(unauthorized)\n| table user, unauthorized, authorized_apps\n```\n\n**After-Hours and Weekend Activity:**\n\n```spl\nindex=* user=\"jsmith\" earliest=-30d\n| eval hour = tonumber(strftime(_time, \"%H\"))\n| eval is_offhours = if(hour \u003C 7 OR hour > 19, 1, 0)\n| eval day = strftime(_time, \"%A\")\n| eval is_weekend = if(day IN (\"Saturday\", \"Sunday\"), 1, 0)\n| stats count AS total, sum(is_offhours) AS offhours, sum(is_weekend) AS weekend by user\n| eval offhours_pct = round(offhours \u002F total * 100, 1)\n| eval weekend_pct = round(weekend \u002F total * 100, 1)\n```\n\n### Step 5: Correlate with HR and Physical Security Data\n\n**Compare activity to resignation timeline:**\n\n```spl\n| makeresults\n| eval user=\"jsmith\",\n       resignation_date=\"2024-03-15\",\n       last_day=\"2024-03-29\",\n       access_revocation=\"2024-03-29 17:00\"\n| join user [\n    search index=* user=\"jsmith\" earliest=-90d\n    | bin _time span=1d\n    | stats count AS daily_events, dc(sourcetype) AS data_sources by user, _time\n  ]\n| eval phase = case(\n    _time \u003C relative_time(now(), \"-30d\"), \"Normal (Pre-Resignation)\",\n    _time >= strptime(resignation_date, \"%Y-%m-%d\") AND _time \u003C= strptime(last_day, \"%Y-%m-%d\"),\n      \"Notice Period\",\n    1=1, \"Transition\"\n  )\n| chart avg(daily_events) AS avg_events by phase\n```\n\n**Badge\u002FPhysical Access Correlation:**\n\n```spl\nindex=badge_access employee_id=\"jsmith\" earliest=-30d\n| stats count AS badge_events, values(door_name) AS doors_accessed,\n        earliest(_time) AS first_badge, latest(_time) AS last_badge by employee_id\n| eval areas = mvcount(doors_accessed)\n```\n\n### Step 6: Preserve Evidence and Document Findings\n\nMaintain chain of custody for all collected evidence:\n\n```python\nimport hashlib\nimport json\nfrom datetime import datetime\n\nevidence_log = {\n    \"case_id\": \"IT-2024-0089\",\n    \"investigator\": \"soc_analyst_tier2\",\n    \"collection_time\": datetime.utcnow().isoformat(),\n    \"items\": [\n        {\n            \"item_id\": \"EV-001\",\n            \"description\": \"Splunk export — all user activity 2024-03-01 to 2024-03-15\",\n            \"file\": \"jsmith_activity_export.csv\",\n            \"sha256\": hashlib.sha256(open(\"jsmith_activity_export.csv\", \"rb\").read()).hexdigest(),\n            \"collected_by\": \"analyst_doe\",\n            \"collection_method\": \"Splunk search export\"\n        },\n        {\n            \"item_id\": \"EV-002\",\n            \"description\": \"DLP alert details — 47 policy violations\",\n            \"file\": \"dlp_alerts_jsmith.json\",\n            \"sha256\": hashlib.sha256(open(\"dlp_alerts_jsmith.json\", \"rb\").read()).hexdigest(),\n            \"collected_by\": \"analyst_doe\",\n            \"collection_method\": \"Microsoft Purview export\"\n        }\n    ]\n}\n\nwith open(f\"evidence_log_{evidence_log['case_id']}.json\", \"w\") as f:\n    json.dump(evidence_log, f, indent=2)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Insider Threat** | Risk posed by individuals with legitimate access who misuse it for unauthorized purposes |\n| **Data Exfiltration** | Unauthorized transfer of data outside the organization via email, USB, cloud, or other channels |\n| **DLP** | Data Loss Prevention — technology monitoring and blocking unauthorized data transfers based on content policies |\n| **Notice Period Monitoring** | Enhanced surveillance of departing employees during their resignation-to-departure window |\n| **Chain of Custody** | Documented evidence handling procedures ensuring forensic integrity for potential legal proceedings |\n| **Need-to-Know Violation** | Accessing information or systems beyond what is required for an employee's role or current tasks |\n\n## Tools & Systems\n\n- **Microsoft Purview (formerly DLP)**: Data classification and loss prevention platform monitoring endpoints, email, and cloud storage\n- **Splunk UBA**: User behavior analytics detecting insider threat patterns through ML-based anomaly detection\n- **Forcepoint Insider Threat**: Dedicated insider threat detection platform with behavioral indicators and risk scoring\n- **DTEX InTERCEPT**: Endpoint-based insider threat detection focusing on user activity metadata collection\n- **Code42 Incydr**: Data risk detection platform specializing in file exfiltration monitoring across endpoints and cloud\n\n## Common Scenarios\n\n- **Departing Employee**: Bulk download of customer lists and product roadmaps during two-week notice period\n- **Disgruntled Employee**: After negative performance review, employee accesses executive salary data outside their role\n- **Contractor Overreach**: External consultant accessing systems beyond contracted scope, downloading source code\n- **Account Misuse**: Employee sharing credentials with unauthorized third party for competitive intelligence\n- **Sabotage Indicator**: IT admin creating backdoor accounts and modifying system configurations before departure\n\n## Output Format\n\n```\nINSIDER THREAT INVESTIGATION REPORT — IT-2024-0089\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nSubject:      jsmith (Financial Analyst, Finance Dept)\nPeriod:       2024-03-01 to 2024-03-15\nStatus:       Employee resigned 2024-03-15, last day 2024-03-29\n\nKey Findings:\n  [HIGH]  3,847 files downloaded from SharePoint (12.4 GB) — 10x peer average\n  [HIGH]  USB device connected 14 times during notice period (0 times prior month)\n  [HIGH]  187 emails with attachments sent to personal Gmail\n  [MEDIUM] After-hours activity increased 340% during notice period\n  [MEDIUM] Accessed HR salary database 3 times (not authorized for role)\n\nTimeline:\n  Mar 01-14:  Normal activity baseline (avg 150 events\u002Fday)\n  Mar 15:     Resignation submitted (activity spike to 890 events)\n  Mar 16-17:  Weekend access — 2,100 SharePoint downloads\n  Mar 18:     USB device first connected, DLP alert triggered\n\nEvidence Collected:   4 items (SHA-256 verified, chain of custody documented)\nRecommendation:       Immediate access revocation recommended\n                      Evidence package prepared for Legal review\n```\n","# Investigating Insider Threat Indicators\n\n## When to Use\n\nUse this skill when:\n- HR refers a departing employee for monitoring during their notice period\n- DLP alerts indicate bulk data downloads or transfers to personal storage\n- UEBA detects anomalous access patterns deviating significantly from peer baselines\n- Management reports concerns about an employee accessing sensitive data outside their role\n\n**Do not use** without proper legal authorization — insider threat investigations must be coordinated with HR, Legal, and Privacy teams before monitoring begins.\n\n## Prerequisites\n\n- Legal authorization and HR referral documenting investigation justification\n- SIEM with DLP, endpoint, email, proxy, and authentication log sources\n- Data Loss Prevention (DLP) system (Microsoft Purview, Symantec, Forcepoint) with policy alerts\n- Endpoint monitoring capability (EDR with USB\u002Fremovable media logging)\n- HR data feed providing employment status, notice dates, and access entitlements\n- Chain of custody procedures for evidence preservation\n\n## Workflow\n\n### Step 1: Establish Investigation Scope and Legal Authorization\n\nBefore any monitoring, ensure proper authorization:\n\n```\nINSIDER THREAT INVESTIGATION AUTHORIZATION\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nCase ID:           IT-2024-0089\nSubject:           [Employee Name] — [Department]\nAuthorized By:     [CISO \u002F General Counsel]\nReferral Source:   HR — Employee submitted resignation, 2-week notice\nJustification:     Employee has access to trade secrets and customer PII\nScope:             Email, file access, USB, cloud storage, printing\nDuration:          2024-03-15 to 2024-03-29 (notice period)\nPrivacy Review:    Completed — compliant with acceptable use policy\n```\n\n### Step 2: Build Activity Timeline from SIEM\n\nQuery comprehensive activity for the subject:\n\n```spl\nindex=* (user=\"jsmith\" OR src_user=\"jsmith\" OR sender=\"jsmith@company.com\"\n         OR SubjectUserName=\"jsmith\")\nearliest=\"2024-03-01\" latest=now\n| eval event_category = case(\n    sourcetype LIKE \"%dlp%\", \"DLP\",\n    sourcetype LIKE \"%proxy%\", \"Web Access\",\n    sourcetype LIKE \"%email%\", \"Email\",\n    sourcetype LIKE \"%WinEventLog%\", \"Endpoint\",\n    sourcetype LIKE \"%o365%\", \"Cloud\",\n    sourcetype LIKE \"%vpn%\", \"VPN\",\n    sourcetype LIKE \"%badge%\", \"Physical Access\",\n    1=1, sourcetype\n  )\n| stats count by event_category, sourcetype, _time\n| timechart span=1d count by event_category\n```\n\n### Step 3: Detect Data Exfiltration Indicators\n\n**Bulk File Downloads (SharePoint\u002FOneDrive):**\n\n```spl\nindex=o365 sourcetype=\"o365:management:activity\" Operation IN (\"FileDownloaded\", \"FileSynced\")\nUserId=\"jsmith@company.com\" earliest=-30d\n| stats count AS downloads, sum(eval(if(isnotnull(FileSize), FileSize, 0))) AS total_bytes,\n        dc(SourceFileName) AS unique_files\n  by UserId, SiteUrl, _time\n| bin _time span=1d\n| eval total_gb = round(total_bytes \u002F 1073741824, 2)\n| where downloads > 50 OR total_gb > 1\n| sort - total_gb\n```\n\n**USB\u002FRemovable Media Usage:**\n\n```spl\nindex=sysmon EventCode=1 Computer=\"WORKSTATION-JSMITH\"\n(CommandLine=\"*removable*\" OR CommandLine=\"*usb*\"\n OR Image=\"*\\\\xcopy*\" OR Image=\"*\\\\robocopy*\")\n| table _time, Computer, User, Image, CommandLine\n| append [\n    search index=endpoint sourcetype=\"endpoint:device_connect\"\n    user=\"jsmith\" device_type=\"removable\"\n    | table _time, user, device_name, device_serial, action\n  ]\n| sort _time\n```\n\n**Email-Based Exfiltration:**\n\n```spl\nindex=email sourcetype=\"o365:messageTrace\"\nSenderAddress=\"jsmith@company.com\"\n| eval is_external = if(match(RecipientAddress, \"@company\\.com$\"), 0, 1)\n| eval has_attachment = if(isnotnull(AttachmentName), 1, 0)\n| stats count AS total_emails,\n        sum(is_external) AS external_emails,\n        sum(has_attachment) AS with_attachments,\n        sum(eval(if(is_external=1 AND has_attachment=1, 1, 0))) AS external_with_attach,\n        sum(Size) AS total_size_bytes\n  by SenderAddress\n| eval external_attach_pct = round(external_with_attach \u002F total_emails * 100, 1)\n| eval total_size_mb = round(total_size_bytes \u002F 1048576, 1)\n```\n\n**Cloud Storage Upload Detection:**\n\n```spl\nindex=proxy user=\"jsmith\"\n(dest IN (\"*dropbox.com\", \"*drive.google.com\", \"*onedrive.live.com\",\n          \"*box.com\", \"*wetransfer.com\", \"*mega.nz\")\n OR category=\"cloud-storage\")\nhttp_method=POST\n| stats count AS uploads, sum(bytes_out) AS total_uploaded\n  by user, dest, category\n| eval uploaded_mb = round(total_uploaded \u002F 1048576, 1)\n| sort - uploaded_mb\n```\n\n### Step 4: Analyze Access Pattern Anomalies\n\n**Accessing Sensitive Systems Outside Normal Scope:**\n\n```spl\nindex=auth user=\"jsmith\" action=success earliest=-30d\n| stats dc(app) AS unique_apps, values(app) AS apps_accessed by user\n| join user type=left [\n    | inputlookup role_app_mapping.csv\n    | search role=\"Financial Analyst\"\n    | stats values(authorized_app) AS authorized_apps by role\n    | eval user=\"jsmith\"\n  ]\n| eval unauthorized = mvfilter(NOT match(apps_accessed, mvjoin(authorized_apps, \"|\")))\n| where isnotnull(unauthorized)\n| table user, unauthorized, authorized_apps\n```\n\n**After-Hours and Weekend Activity:**\n\n```spl\nindex=* user=\"jsmith\" earliest=-30d\n| eval hour = tonumber(strftime(_time, \"%H\"))\n| eval is_offhours = if(hour \u003C 7 OR hour > 19, 1, 0)\n| eval day = strftime(_time, \"%A\")\n| eval is_weekend = if(day IN (\"Saturday\", \"Sunday\"), 1, 0)\n| stats count AS total, sum(is_offhours) AS offhours, sum(is_weekend) AS weekend by user\n| eval offhours_pct = round(offhours \u002F total * 100, 1)\n| eval weekend_pct = round(weekend \u002F total * 100, 1)\n```\n\n### Step 5: Correlate with HR and Physical Security Data\n\n**Compare activity to resignation timeline:**\n\n```spl\n| makeresults\n| eval user=\"jsmith\",\n       resignation_date=\"2024-03-15\",\n       last_day=\"2024-03-29\",\n       access_revocation=\"2024-03-29 17:00\"\n| join user [\n    search index=* user=\"jsmith\" earliest=-90d\n    | bin _time span=1d\n    | stats count AS daily_events, dc(sourcetype) AS data_sources by user, _time\n  ]\n| eval phase = case(\n    _time \u003C relative_time(now(), \"-30d\"), \"Normal (Pre-Resignation)\",\n    _time >= strptime(resignation_date, \"%Y-%m-%d\") AND _time \u003C= strptime(last_day, \"%Y-%m-%d\"),\n      \"Notice Period\",\n    1=1, \"Transition\"\n  )\n| chart avg(daily_events) AS avg_events by phase\n```\n\n**Badge\u002FPhysical Access Correlation:**\n\n```spl\nindex=badge_access employee_id=\"jsmith\" earliest=-30d\n| stats count AS badge_events, values(door_name) AS doors_accessed,\n        earliest(_time) AS first_badge, latest(_time) AS last_badge by employee_id\n| eval areas = mvcount(doors_accessed)\n```\n\n### Step 6: Preserve Evidence and Document Findings\n\nMaintain chain of custody for all collected evidence:\n\n```python\nimport hashlib\nimport json\nfrom datetime import datetime\n\nevidence_log = {\n    \"case_id\": \"IT-2024-0089\",\n    \"investigator\": \"soc_analyst_tier2\",\n    \"collection_time\": datetime.utcnow().isoformat(),\n    \"items\": [\n        {\n            \"item_id\": \"EV-001\",\n            \"description\": \"Splunk export — all user activity 2024-03-01 to 2024-03-15\",\n            \"file\": \"jsmith_activity_export.csv\",\n            \"sha256\": hashlib.sha256(open(\"jsmith_activity_export.csv\", \"rb\").read()).hexdigest(),\n            \"collected_by\": \"analyst_doe\",\n            \"collection_method\": \"Splunk search export\"\n        },\n        {\n            \"item_id\": \"EV-002\",\n            \"description\": \"DLP alert details — 47 policy violations\",\n            \"file\": \"dlp_alerts_jsmith.json\",\n            \"sha256\": hashlib.sha256(open(\"dlp_alerts_jsmith.json\", \"rb\").read()).hexdigest(),\n            \"collected_by\": \"analyst_doe\",\n            \"collection_method\": \"Microsoft Purview export\"\n        }\n    ]\n}\n\nwith open(f\"evidence_log_{evidence_log['case_id']}.json\", \"w\") as f:\n    json.dump(evidence_log, f, indent=2)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Insider Threat** | Risk posed by individuals with legitimate access who misuse it for unauthorized purposes |\n| **Data Exfiltration** | Unauthorized transfer of data outside the organization via email, USB, cloud, or other channels |\n| **DLP** | Data Loss Prevention — technology monitoring and blocking unauthorized data transfers based on content policies |\n| **Notice Period Monitoring** | Enhanced surveillance of departing employees during their resignation-to-departure window |\n| **Chain of Custody** | Documented evidence handling procedures ensuring forensic integrity for potential legal proceedings |\n| **Need-to-Know Violation** | Accessing information or systems beyond what is required for an employee's role or current tasks |\n\n## Tools & Systems\n\n- **Microsoft Purview (formerly DLP)**: Data classification and loss prevention platform monitoring endpoints, email, and cloud storage\n- **Splunk UBA**: User behavior analytics detecting insider threat patterns through ML-based anomaly detection\n- **Forcepoint Insider Threat**: Dedicated insider threat detection platform with behavioral indicators and risk scoring\n- **DTEX InTERCEPT**: Endpoint-based insider threat detection focusing on user activity metadata collection\n- **Code42 Incydr**: Data risk detection platform specializing in file exfiltration monitoring across endpoints and cloud\n\n## Common Scenarios\n\n- **Departing Employee**: Bulk download of customer lists and product roadmaps during two-week notice period\n- **Disgruntled Employee**: After negative performance review, employee accesses executive salary data outside their role\n- **Contractor Overreach**: External consultant accessing systems beyond contracted scope, downloading source code\n- **Account Misuse**: Employee sharing credentials with unauthorized third party for competitive intelligence\n- **Sabotage Indicator**: IT admin creating backdoor accounts and modifying system configurations before departure\n\n## Output Format\n\n```\nINSIDER THREAT INVESTIGATION REPORT — IT-2024-0089\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nSubject:      jsmith (Financial Analyst, Finance Dept)\nPeriod:       2024-03-01 to 2024-03-15\nStatus:       Employee resigned 2024-03-15, last day 2024-03-29\n\nKey Findings:\n  [HIGH]  3,847 files downloaded from SharePoint (12.4 GB) — 10x peer average\n  [HIGH]  USB device connected 14 times during notice period (0 times prior month)\n  [HIGH]  187 emails with attachments sent to personal Gmail\n  [MEDIUM] After-hours activity increased 340% during notice period\n  [MEDIUM] Accessed HR salary database 3 times (not authorized for role)\n\nTimeline:\n  Mar 01-14:  Normal activity baseline (avg 150 events\u002Fday)\n  Mar 15:     Resignation submitted (activity spike to 890 events)\n  Mar 16-17:  Weekend access — 2,100 SharePoint downloads\n  Mar 18:     USB device first connected, DLP alert triggered\n\nEvidence Collected:   4 items (SHA-256 verified, chain of custody documented)\nRecommendation:       Immediate access revocation recommended\n                      Evidence package prepared for Legal review\n```\n",{"name":5,"tags":57,"author":61,"domain":43,"license":15,"version":62,"nist_csf":63,"subdomain":68,"description":69,"mitre_attack":70},[50,46,48,45,58,59,60],"ueba","investigation","hr-correlation","mahipal","1.0",[64,65,66,67],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations","Investigates insider threat indicators including data exfiltration attempts, unauthorized access patterns, policy violations, and pre-departure behaviors using SIEM analytics, DLP alerts, and HR data correlation. Use when SOC teams receive insider threat referrals from HR, detect anomalous data movement by employees, or need to build investigation timelines for potential insider threats.\n",[71,72,73,74,75],"T1078","T1685.002","T1685.005","T1566","T1048","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Finvestigating-insider-threat-indicators","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":85,"prompt":95,"zipAvailable":96},[86,89,92],{"tool":87,"command":88},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill investigating-insider-threat-indicators",{"tool":90,"command":91},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill investigating-insider-threat-indicators",{"tool":93,"command":94},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill investigating-insider-threat-indicators","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FSKILL.md",true,[98,103,109],{"path":99,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FLICENSE",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fapi-reference.md","REFERENCE","参考文档",2475,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finvestigating-insider-threat-indicators\u002Freferences\u002Fapi-reference.md",{"path":110,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":113,"sourceHtmlUrl":114},"scripts\u002Fagent.py","SCRIPT","脚本",8953,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finvestigating-insider-threat-indicators\u002Fscripts\u002Fagent.py",[116,155,164,173,195,221],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":135,"publishedAt":52},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[123,126,129,132],{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":133,"categoryName":134,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000034","行政与办公人员",[118,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":156,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":163,"publishedAt":52},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[159,160,161,162],{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":133,"categoryName":134,"taxonomyType":26,"taxonomyTypeDesc":27},[118,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],{"skillNo":165,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":52},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[168,169,170,171],{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":133,"categoryName":134,"taxonomyType":26,"taxonomyTypeDesc":27},[118,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":52},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":202,"publishedAt":52},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[201],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[203,204,205,206,207,208,209,210,211,212,213,147,148,214,215,216,217,218,219,220],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":237,"publishedAt":52},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[227,230,233,234],{"categoryNo":228,"categoryName":229,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":231,"categoryName":232,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":235,"categoryName":236,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者",[238,239,240,241,242,243,244,245,144,42,147,148,149,246,247,248,249,250,194,251],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","proposals","Academic","requirements","formatting","journal","chi"]