performing-insider-threat-investigation
Investigates insider threat incidents involving employees, contractors, or trusted partners who misuse authorized access to steal data, sabotage systems, or violate security policies. Combines digital forensics, user behavior analytics, and HR/legal coordination to build an evidence-based case. Activates for requests involving insider threat investigation, employee data theft, privilege misuse, user behavior anomaly, or internal threat detection.
What this skill does
# Performing Insider Threat Investigation ## When to Use - DLP (Data Loss Prevention) alerts on large data transfers to personal cloud storage or USB devices - User behavior analytics (UBA) detects anomalous access patterns for a user account - HR reports a departing employee suspected of taking proprietary information - A privileged user is observed accessing systems outside their job function - Whistleblower or coworker report alleges policy violations or data theft **Do not use** for external attacker investigations where compromised credentials are used without insider collusion; use standard incident response procedures instead. ## Prerequisites - Legal counsel approval before initiating any monitoring or investigation of an employee - HR partnership with defined investigation procedures and employee privacy guidelines - DLP platform with content inspection and policy enforcement (Symantec DLP, Microsoft Purview, Digital Guardian) - User behavior analytics platform (Microsoft Sentinel UEBA, Exabeam, Securonix) - Forensic imaging capability for endpoint examination - Chain of custody procedures for evidence that may be used in legal proceedings - Clear authority and scope documentation approved by legal and HR ## Workflow ### Step 1: Receive and Validate the Allegation Document the initial report and validate before proceeding: - Record the source of the allegation (DLP alert, UBA detection, HR referral, manager report) - Confirm with legal counsel that the investigation is authorized - Define the investigation scope: what activity is being investigated, time period, systems involved - Establish the investigation team: security, legal, HR (never investigate alone) - Create a restricted case file accessible only to the investigation team ``` Investigation Authorization: ━━━━━━━━━━━━━━━━━━━━━━━━━━━ Case ID: INV-2025-042 Subject: [Employee Name] - [Title] - [Department] Allegation: Unauthorized transfer of proprietary data to personal cloud storage Reported By: DLP system alert + manager concern Legal Approval: [Counsel Name] - 2025-11-15 HR Liaison: [HR Name] Scope: File access and transfer activity from 2025-10-01 to present Systems in Scope: Workstation, email, cloud storage, VPN, DLP logs ``` ### Step 2: Collect Evidence Covertly Gather evidence without alerting the subject to the investigation: **Log-Based Evidence (non-intrusive):** - DLP logs: file transfers, policy violations, content matches - Cloud access logs: SharePoint, OneDrive, Google Drive activity - Email logs: messages to personal accounts, large attachments, forwarding rules - VPN and authentication logs: access times, locations, devices - Badge access logs: physical access patterns - Print logs: large print jobs of sensitive documents - USB device connection logs: device type, serial number, connection times **User Activity Monitoring (requires legal approval):** - Screen capture or session recording (only if legally authorized and documented) - Keystroke logging (jurisdiction-dependent, requires explicit legal approval) - Network traffic capture for the subject's workstation **Endpoint Forensics (if warranted by evidence):** - Create forensic image of the subject's workstation - Analyze browser history, download history, and installed applications - Examine deleted files and Recycle Bin contents - Review cloud sync application logs (Dropbox, Google Drive desktop client) ### Step 3: Analyze User Behavior Patterns Build a behavioral profile comparing normal vs. anomalous activity: ``` Behavioral Analysis: ━━━━━━━━━━━━━━━━━━ Normal Baseline (6-month average): - Login time: 08:30-09:00 weekdays - Files accessed: 15-25 per day (marketing department files) - Email volume: 45 sent, 80 received per day - Data transferred: 50MB per day average - USB usage: None Investigation Period (last 30 days): - Login time: 22:00-02:00 (after hours, multiple occasions) - Files accessed: 200+ per day (finance, engineering, executive files) - Email volume: 120 sent per day (30% to personal gmail) - Data transferred: 2.5GB per day average - USB usage: 3 unique devices connected (Kingston DataTraveler) - Print jobs: 847 pages (competitor analysis, customer lists, source code) Anomaly Score: 94/100 (Critical) ``` ### Step 4: Reconstruct the Activity Timeline Build a chronological timeline of the subject's actions: ``` Timeline of Activity: 2025-10-15 Subject submits resignation (2-week notice) 2025-10-16 First after-hours login at 23:15, accessed engineering Git repository 2025-10-17 USB device (Kingston DT 64GB) first connected at 23:30 2025-10-18 DLP alert: 450 files copied to USB, including CAD drawings 2025-10-19 200+ emails forwarded to personal Gmail account 2025-10-20 Google Drive desktop client installed, syncing corporate SharePoint 2025-10-22 Accessed executive SharePoint site (not normally accessed) 2025-10-25 Second USB device connected, 2.1GB transferred 2025-10-28 Print job: 847 pages including customer contact database ``` ### Step 5: Assess Impact and Determine Response Evaluate the severity and coordinate the response with HR and legal: **Impact Assessment:** - What data was accessed or exfiltrated (classification level, business impact) - Was the data shared externally (competitors, public, personal storage) - Regulatory implications (PII, PHI, financial data, export-controlled) - Contractual implications (NDA violations, IP assignment agreements) - Potential financial damage to the organization **Response Options (determined by legal and HR):** - Confront the subject with evidence during an interview (HR-led) - Terminate employment and revoke all access immediately - Pursue civil litigation for breach of NDA or trade secret theft - Refer to law enforcement for criminal prosecution (theft of trade secrets, CFAA violation) - Negotiate a settlement with return/destruction of data ### Step 6: Preserve Evidence for Legal Proceedings Ensure all evidence meets legal admissibility standards: - Maintain strict chain of custody for all physical and digital evidence - Document all analysis steps in detail (reproducible by another examiner) - Hash all evidence files and maintain an integrity log - Store evidence in a secure, access-controlled repository with audit logging - Retain evidence per legal hold requirements (do not destroy during active investigation or litigation) ## Key Concepts | Term | Definition | |------|------------| | **Insider Threat** | Risk posed by individuals with authorized access who intentionally or unintentionally cause harm to the organization | | **User Behavior Analytics (UBA)** | Technology that analyzes user activity patterns to detect anomalies indicating potential insider threats | | **Data Loss Prevention (DLP)** | Technology that monitors, detects, and blocks unauthorized transfer of sensitive data outside the organization | | **Legal Hold** | Directive to preserve all relevant evidence and suspend normal document destruction policies during an investigation | | **Need to Know** | Information access principle restricting insider threat investigation details to only authorized team members | | **Exfiltration Vector** | Method used to move data outside the organization: USB, email, cloud storage, print, screen capture, photography | ## Tools & Systems - **Microsoft Purview (formerly Compliance Center)**: Insider risk management, DLP, eDiscovery, and content search - **Exabeam / Securonix**: User and entity behavior analytics (UEBA) platforms for anomaly detection - **Digital Guardian**: DLP and insider threat detection platform with endpoint agent - **Magnet AXIOM**: Digital forensics platform supporting endpoint, cloud, and mobile evidence analysis - **Relativity**: eDiscovery platform for legal review of collected evidence in insider threat cases ## Common Scenarios ### Scenario: Departing Engineer Exfiltrating Source Code **Context**: A senior software engine
Related in Security
mac-ops
IncludedComprehensive macOS workstation operations — diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.