[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A8WTN10THDZDNQC0SZSTA8":3,"skill-same:01M7A8WTN10THDZDNQC0SZSTA8":86},{"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":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M7A8WTN10THDZDNQC0SZSTA8","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.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":42,"mitre_attack":43},[26,27,28,29,30,31,32],"soc","insider-threat","data-exfiltration","dlp","ueba","investigation","hr-correlation","mahipal","cybersecurity","1.0",[37,38,39,40],"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",[44,45,46,47,48],"T1078","T1685.002","T1685.005","T1566","T1048","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Finvestigating-insider-threat-indicators","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add NeelakshSaxena\u002FVayu --skill investigating-insider-threat-indicators",{"tool":62,"command":63},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill investigating-insider-threat-indicators",{"tool":65,"command":66},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill investigating-insider-threat-indicators","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finvestigating-insider-threat-indicators\u002FSKILL.md",true,[70,74,80],{"path":71,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",2475,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finvestigating-insider-threat-indicators\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",8953,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finvestigating-insider-threat-indicators\u002Fscripts\u002Fagent.py",[87,94,101,108,115,122],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\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":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\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":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\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":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\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":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]