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 engineer with access to critical repositories submits a two-week resignation notice. The engineering manager reports that the engineer has been working unusual hours and downloading large amounts of code.
Approach:
- Obtain legal authorization to investigate before taking any action
- Pull Git access logs showing repository clones and downloads for the past 60 days
- Review DLP logs for USB device connections and large file transfers
- Check email gateway for messages with code attachments sent to personal accounts
- Analyze browser history for personal cloud storage uploads
- Image the workstation forensically before the employee's last day
- Present findings to legal and HR for determination of next steps
Pitfalls:
- Investigating without legal counsel authorization (may violate employee privacy rights)
- Alerting the subject to the investigation before evidence is preserved
- Not preserving the workstation before the employee's departure date
- Assuming all after-hours access is malicious without comparing to the employee's historical baseline
- Failing to check personal mobile devices that may have accessed corporate cloud services
Output Format
INSIDER THREAT INVESTIGATION REPORT
=====================================
Case ID: INV-2025-042
Classification: CONFIDENTIAL - Need to Know Only
Subject: [Name Redacted] - Senior Engineer
Investigation Period: 2025-10-01 to 2025-10-28
Investigator: [Name]
Legal Counsel: [Name]
HR Liaison: [Name]
ALLEGATION
Unauthorized exfiltration of proprietary source code and customer
data following resignation submission.
EVIDENCE SUMMARY
1. Git logs: 47 repositories cloned (vs. baseline of 3)
2. USB transfers: 4.6 GB across 3 unique devices over 12 sessions
3. Email: 200+ emails with attachments forwarded to personal Gmail
4. Cloud: Google Drive sync client installed, syncing corporate files
5. Print: 847 pages including customer contact database
6. Physical access: After-hours badge access on 8 of 12 workdays
BEHAVIORAL ANALYSIS
[Baseline vs. anomalous activity comparison]
IMPACT ASSESSMENT
Data Classification: Confidential (source code, customer PII)
Estimated Volume: 7.2 GB exfiltrated
Regulatory Impact: Potential GDPR notification (customer PII)
Business Impact: Competitive advantage at risk
TIMELINE
[Chronological event listing]
RECOMMENDATIONS
1. [Legal/HR decision on employment action]
2. [Evidence preservation actions]
3. [Regulatory notification assessment]
4. [Access control improvements]
1---
2name: performing-insider-threat-investigation
3description: 'Investigates insider threat incidents involving employees, contractors,
4 or trusted partners who misuse authorized access to steal data, sabotage systems,
5 or violate security policies. Combines digital forensics, user behavior analytics,
6 and HR/legal coordination to build an evidence-based case. Activates for requests
7 involving insider threat investigation, employee data theft, privilege misuse, user
8 behavior anomaly, or internal threat detection.
9
10 '
11domain: cybersecurity
12subdomain: incident-response
13tags:
14- insider-threat
15- user-behavior-analytics
16- data-exfiltration
17- privilege-misuse
18- DFIR
19mitre_attack:
20- T1486
21- T1490
22- T1070
23- T1078
24- T1048
25version: 1.0.0
26author: mahipal
27license: Apache-2.0
28nist_csf:
29- RS.MA-01
30- RS.MA-02
31- RS.AN-03
32- RC.RP-01
33source: https://github.com/mukul975/Anthropic-Cybersecurity-Skills
34source_commit: 04450304b12645cb2b974ab96d28c0664758a88d
35metadata:
36 source: https://skillmd.com/skills/yanacuti1121/performing-insider-threat-investigation
37---
38
39# Performing Insider Threat Investigation
40
41## When to Use
42
43- DLP (Data Loss Prevention) alerts on large data transfers to personal cloud storage or USB devices
44- User behavior analytics (UBA) detects anomalous access patterns for a user account
45- HR reports a departing employee suspected of taking proprietary information
46- A privileged user is observed accessing systems outside their job function
47- Whistleblower or coworker report alleges policy violations or data theft
48
49**Do not use** for external attacker investigations where compromised credentials are used without insider collusion; use standard incident response procedures instead.
50
51## Prerequisites
52
53- Legal counsel approval before initiating any monitoring or investigation of an employee
54- HR partnership with defined investigation procedures and employee privacy guidelines
55- DLP platform with content inspection and policy enforcement (Symantec DLP, Microsoft Purview, Digital Guardian)
56- User behavior analytics platform (Microsoft Sentinel UEBA, Exabeam, Securonix)
57- Forensic imaging capability for endpoint examination
58- Chain of custody procedures for evidence that may be used in legal proceedings
59- Clear authority and scope documentation approved by legal and HR
60
61## Workflow
62
63### Step 1: Receive and Validate the Allegation
64
65Document the initial report and validate before proceeding:
66
67- Record the source of the allegation (DLP alert, UBA detection, HR referral, manager report)
68- Confirm with legal counsel that the investigation is authorized
69- Define the investigation scope: what activity is being investigated, time period, systems involved
70- Establish the investigation team: security, legal, HR (never investigate alone)
71- Create a restricted case file accessible only to the investigation team
72
73```
74Investigation Authorization:
75━━━━━━━━━━━━━━━━━━━━━━━━━━━
76Case ID: INV-2025-042
77Subject: [Employee Name] - [Title] - [Department]
78Allegation: Unauthorized transfer of proprietary data to personal cloud storage
79Reported By: DLP system alert + manager concern
80Legal Approval: [Counsel Name] - 2025-11-15
81HR Liaison: [HR Name]
82Scope: File access and transfer activity from 2025-10-01 to present
83Systems in Scope: Workstation, email, cloud storage, VPN, DLP logs
84```
85
86### Step 2: Collect Evidence Covertly
87
88Gather evidence without alerting the subject to the investigation:
89
90**Log-Based Evidence (non-intrusive):**
91- DLP logs: file transfers, policy violations, content matches
92- Cloud access logs: SharePoint, OneDrive, Google Drive activity
93- Email logs: messages to personal accounts, large attachments, forwarding rules
94- VPN and authentication logs: access times, locations, devices
95- Badge access logs: physical access patterns
96- Print logs: large print jobs of sensitive documents
97- USB device connection logs: device type, serial number, connection times
98
99**User Activity Monitoring (requires legal approval):**
100- Screen capture or session recording (only if legally authorized and documented)
101- Keystroke logging (jurisdiction-dependent, requires explicit legal approval)
102- Network traffic capture for the subject's workstation
103
104**Endpoint Forensics (if warranted by evidence):**
105- Create forensic image of the subject's workstation
106- Analyze browser history, download history, and installed applications
107- Examine deleted files and Recycle Bin contents
108- Review cloud sync application logs (Dropbox, Google Drive desktop client)
109
110### Step 3: Analyze User Behavior Patterns
111
112Build a behavioral profile comparing normal vs. anomalous activity:
113
114```
115Behavioral Analysis:
116━━━━━━━━━━━━━━━━━━
117Normal Baseline (6-month average):
118- Login time: 08:30-09:00 weekdays
119- Files accessed: 15-25 per day (marketing department files)
120- Email volume: 45 sent, 80 received per day
121- Data transferred: 50MB per day average
122- USB usage: None
123
124Investigation Period (last 30 days):
125- Login time: 22:00-02:00 (after hours, multiple occasions)
126- Files accessed: 200+ per day (finance, engineering, executive files)
127- Email volume: 120 sent per day (30% to personal gmail)
128- Data transferred: 2.5GB per day average
129- USB usage: 3 unique devices connected (Kingston DataTraveler)
130- Print jobs: 847 pages (competitor analysis, customer lists, source code)
131
132Anomaly Score: 94/100 (Critical)
133```
134
135### Step 4: Reconstruct the Activity Timeline
136
137Build a chronological timeline of the subject's actions:
138
139```
140Timeline of Activity:
1412025-10-15 Subject submits resignation (2-week notice)
1422025-10-16 First after-hours login at 23:15, accessed engineering Git repository
1432025-10-17 USB device (Kingston DT 64GB) first connected at 23:30
1442025-10-18 DLP alert: 450 files copied to USB, including CAD drawings
1452025-10-19 200+ emails forwarded to personal Gmail account
1462025-10-20 Google Drive desktop client installed, syncing corporate SharePoint
1472025-10-22 Accessed executive SharePoint site (not normally accessed)
1482025-10-25 Second USB device connected, 2.1GB transferred
1492025-10-28 Print job: 847 pages including customer contact database
150```
151
152### Step 5: Assess Impact and Determine Response
153
154Evaluate the severity and coordinate the response with HR and legal:
155
156**Impact Assessment:**
157- What data was accessed or exfiltrated (classification level, business impact)
158- Was the data shared externally (competitors, public, personal storage)
159- Regulatory implications (PII, PHI, financial data, export-controlled)
160- Contractual implications (NDA violations, IP assignment agreements)
161- Potential financial damage to the organization
162
163**Response Options (determined by legal and HR):**
164- Confront the subject with evidence during an interview (HR-led)
165- Terminate employment and revoke all access immediately
166- Pursue civil litigation for breach of NDA or trade secret theft
167- Refer to law enforcement for criminal prosecution (theft of trade secrets, CFAA violation)
168- Negotiate a settlement with return/destruction of data
169
170### Step 6: Preserve Evidence for Legal Proceedings
171
172Ensure all evidence meets legal admissibility standards:
173
174- Maintain strict chain of custody for all physical and digital evidence
175- Document all analysis steps in detail (reproducible by another examiner)
176- Hash all evidence files and maintain an integrity log
177- Store evidence in a secure, access-controlled repository with audit logging
178- Retain evidence per legal hold requirements (do not destroy during active investigation or litigation)
179
180## Key Concepts
181
182| Term | Definition |
183|------|------------|
184| **Insider Threat** | Risk posed by individuals with authorized access who intentionally or unintentionally cause harm to the organization |
185| **User Behavior Analytics (UBA)** | Technology that analyzes user activity patterns to detect anomalies indicating potential insider threats |
186| **Data Loss Prevention (DLP)** | Technology that monitors, detects, and blocks unauthorized transfer of sensitive data outside the organization |
187| **Legal Hold** | Directive to preserve all relevant evidence and suspend normal document destruction policies during an investigation |
188| **Need to Know** | Information access principle restricting insider threat investigation details to only authorized team members |
189| **Exfiltration Vector** | Method used to move data outside the organization: USB, email, cloud storage, print, screen capture, photography |
190
191## Tools & Systems
192
193- **Microsoft Purview (formerly Compliance Center)**: Insider risk management, DLP, eDiscovery, and content search
194- **Exabeam / Securonix**: User and entity behavior analytics (UEBA) platforms for anomaly detection
195- **Digital Guardian**: DLP and insider threat detection platform with endpoint agent
196- **Magnet AXIOM**: Digital forensics platform supporting endpoint, cloud, and mobile evidence analysis
197- **Relativity**: eDiscovery platform for legal review of collected evidence in insider threat cases
198
199## Common Scenarios
200
201### Scenario: Departing Engineer Exfiltrating Source Code
202
203**Context**: A senior software engineer with access to critical repositories submits a two-week resignation notice. The engineering manager reports that the engineer has been working unusual hours and downloading large amounts of code.
204
205**Approach**:
2061. Obtain legal authorization to investigate before taking any action
2072. Pull Git access logs showing repository clones and downloads for the past 60 days
2083. Review DLP logs for USB device connections and large file transfers
2094. Check email gateway for messages with code attachments sent to personal accounts
2105. Analyze browser history for personal cloud storage uploads
2116. Image the workstation forensically before the employee's last day
2127. Present findings to legal and HR for determination of next steps
213
214**Pitfalls**:
215- Investigating without legal counsel authorization (may violate employee privacy rights)
216- Alerting the subject to the investigation before evidence is preserved
217- Not preserving the workstation before the employee's departure date
218- Assuming all after-hours access is malicious without comparing to the employee's historical baseline
219- Failing to check personal mobile devices that may have accessed corporate cloud services
220
221## Output Format
222
223```
224INSIDER THREAT INVESTIGATION REPORT
225=====================================
226Case ID: INV-2025-042
227Classification: CONFIDENTIAL - Need to Know Only
228Subject: [Name Redacted] - Senior Engineer
229Investigation Period: 2025-10-01 to 2025-10-28
230Investigator: [Name]
231Legal Counsel: [Name]
232HR Liaison: [Name]
233
234ALLEGATION
235Unauthorized exfiltration of proprietary source code and customer
236data following resignation submission.
237
238EVIDENCE SUMMARY
2391. Git logs: 47 repositories cloned (vs. baseline of 3)
2402. USB transfers: 4.6 GB across 3 unique devices over 12 sessions
2413. Email: 200+ emails with attachments forwarded to personal Gmail
2424. Cloud: Google Drive sync client installed, syncing corporate files
2435. Print: 847 pages including customer contact database
2446. Physical access: After-hours badge access on 8 of 12 workdays
245
246BEHAVIORAL ANALYSIS
247[Baseline vs. anomalous activity comparison]
248
249IMPACT ASSESSMENT
250Data Classification: Confidential (source code, customer PII)
251Estimated Volume: 7.2 GB exfiltrated
252Regulatory Impact: Potential GDPR notification (customer PII)
253Business Impact: Competitive advantage at risk
254
255TIMELINE
256[Chronological event listing]
257
258RECOMMENDATIONS
2591. [Legal/HR decision on employment action]
2602. [Evidence preservation actions]
2613. [Regulatory notification assessment]
2624. [Access control improvements]
263```