performing-insider-threat-investigation
What it does
This tool helps investigate when someone inside the company, like an employee or partner, misuses their access to steal data, damage systems, or break security rules. It combines digital clues, analyzes the person's behavior, and coordinates with HR and legal to build a case with evidence.
When to use it
- βWhen an alert shows many files were copied to a USB drive or personal cloud.
- βWhen the system notices a user account is acting strangely.
- βWhen HR suspects a departing employee stole important information.
Skill link
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-insider-threat-investigation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βInvestigate an employee suspected of copying confidential data to a USB drive.β
5 new skills a week. 1 minute to read.
How it works
The tool collects activity logs, analyzes behavior patterns, and compares them to normal activity. It then builds a timeline of suspicious actions to help understand what happened.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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:
β¦
FAQ
What is an 'insider threat'?
It's a security threat originating from within the organization, from people who have legitimate access but misuse it.
Do I need permission to use this tool?
Yes, it's essential to have approval from legal counsel and HR before starting any investigation.
Can I use this to investigate external hackers?
No, this tool is specific to insider threats. For external hackers, use standard incident response procedures.
Details
Original description by the author
Investigates insider threat incidents involving employees, contractors, or trusted partners who misuse authorized access to steal data, sabotage systems, or violate security policies, combining digital forensics, user behavior analytics, and HR/legal coordination to build an evidence-based case. Use when DLP alerts flag large data transfers to personal cloud storage or USB devices, when UBA detect
Popularity
- GitHub stars
- 35k
- Ranking position
- #8245
- License
- Apache-2.0
- Updated
- 8/31/2026
Comments
- β¦
More skills from this repository
abusing-dpapi-for-credential-access
35kGives your AI agent ready-made instructions for a specific task, so it does it better and faster.
abusing-shadow-credentials-for-privesc
35kTeaches your AI agent to write clear, well-structured text.
achieving-cmmc-level-2-compliance
35kHelps your agent prepare an environment for CMMC Level 2 compliance. It implements security requirements and manages necessary documentation.
acquiring-disk-image-with-dd-and-dcfldd
35kHelps your agent create exact copies of hard drives. This is useful for ensuring no information is lost or altered during investigations.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.