7 Offboarding Mistakes That Lead to Data Breaches

Twenty percent of data breaches involve former employee credentials. These aren't sophisticated zero-day exploits or nation-state attacks—they're basic offboarding failures that create vulnerabilities lasting weeks or months after termination.

Here are the seven most common mistakes and the actual breaches they caused.

Mistake #1: Forgetting Service Accounts

What Happens

IT disables the employee's personal account (jsmith@company.com) but forgets about service accounts the employee created:

  • Database admin account: jsmith-admin
  • Application service principal: app-jsmith
  • API keys registered under employee's name
  • Shared team accounts employee had access to

Employee still has access through these accounts for months.

Real-World Example

Healthcare provider breach (2022):

  • Terminated IT administrator
  • Personal account disabled same day
  • Forgot about "sysadmin-jsmith" account created for database maintenance
  • Former employee accessed patient records for 4 months
  • Sold 50,000 patient records on dark web
  • Cost: $2.8 million HIPAA fine, $12 million lawsuit settlement

Prevention

  • Maintain inventory of service accounts linked to each employee
  • Naming convention: service accounts must include employee ID
  • Automated scan for accounts created by terminated employee
  • Disable all accounts matching employee name pattern

Mistake #2: Leaving Shared Passwords Unchanged

What Happens

Team shares passwords for:

  • Social media accounts (company Twitter, LinkedIn)
  • Cloud services (AWS root account, Azure subscription)
  • Third-party tools (analytics, CRM, support systems)
  • Shared email accounts (support@, info@)

When employee leaves, passwords aren't changed. Former employee retains access.

Real-World Example

Marketing agency breach (2021):

  • Terminated social media manager
  • Shared password for client Twitter accounts stored in LastPass team vault
  • IT disabled personal account but didn't remove from LastPass vault
  • Former employee accessed 12 client Twitter accounts
  • Posted inflammatory content, deleted client posts
  • Cost: Lost 8 clients (annual revenue: $480,000), $200,000 lawsuit

Prevention

  • Identify all shared credentials employee had access to
  • Change passwords for all shared accounts within 24 hours
  • Remove from password manager vaults immediately
  • Use individual accounts instead of shared accounts whenever possible
  • Enable MFA on all shared accounts

Mistake #3: Not Revoking API Keys and Personal Access Tokens

What Happens

Developers create personal access tokens (PATs) for:

  • GitHub repository access
  • AWS CLI authentication
  • Azure DevOps pipelines
  • Slack bot integrations
  • Google Cloud service accounts

These tokens aren't tied to SSO and remain valid after account disabled.

Real-World Example

Fintech startup breach (2023):

  • Terminated senior developer
  • Active Directory and Azure AD accounts disabled
  • GitHub personal access token (PAT) still valid
  • Former employee cloned entire codebase including production credentials
  • Accessed production database with embedded connection strings
  • Cost: $3.2 million breach notification costs, regulatory investigation, lost Series B funding

Prevention

  • Audit all PATs and API keys associated with employee
  • Revoke GitHub, GitLab, Bitbucket access tokens
  • Delete AWS access keys
  • Remove Azure service principals and app registrations
  • Rotate any API keys employee had access to
  • Set maximum token lifetime (30-90 days) requiring renewal

Mistake #4: Incomplete VPN Access Removal

What Happens

IT disables Active Directory account but forgets:

  • VPN has separate authentication database
  • Employee configured VPN on personal device
  • VPN uses certificate authentication (not AD)
  • Site-to-site VPN configured for employee's home office

Former employee can still connect to internal network.

Real-World Example

Manufacturing company breach (2021):

  • Terminated network administrator
  • AD account disabled within 1 hour
  • VPN used certificate-based auth, not AD
  • Employee's VPN certificate valid for 2 years
  • Former employee VPNed in 3 months later
  • Exfiltrated CAD designs for proprietary products
  • Sold designs to competitor
  • Cost: $8 million in lost competitive advantage, $2 million lawsuit

Prevention

  • VPN authentication must use centralized directory (AD/Azure AD)
  • If certificate-based auth required, revoke certificates on termination
  • Check VPN logs for employee's last connection
  • Remove from VPN security groups
  • Disable site-to-site VPN connections to employee's home network

Mistake #5: Not Monitoring for Post-Termination Access Attempts

What Happens

IT disables all accounts but doesn't monitor for:

  • Failed login attempts from former employee
  • Successful logins through forgotten accounts
  • VPN connection attempts
  • Password reset attempts
  • Account re-enablement (either accidental or malicious)

Former employee probing for access goes undetected.

Real-World Example

Professional services firm breach (2022):

  • Terminated consultant (voluntary resignation)
  • All accounts disabled properly
  • 2 weeks later: former employee called help desk, impersonated current employee
  • Help desk reset password for similar-sounding username
  • Former employee accessed client files for 6 weeks
  • Sent proposal information to competitor
  • Cost: $600,000 lost contract, $1.2 million lawsuit from client

Prevention

  • Set up alerts for terminated employee usernames (failed logins, password resets)
  • Monitor for 90 days post-termination
  • Train help desk to verify identity before password resets
  • Flag terminated employee accounts with "DO NOT RESET" warning
  • Review audit logs weekly for suspicious activity from former employees

Mistake #6: Ignoring Personal Devices and BYOD

What Happens

Employee enrolled personal phone/laptop for work access:

  • Email configured on personal iPhone
  • Company data synced to personal OneDrive
  • Teams app on personal laptop
  • VPN profile on home computer

IT forgets to issue selective wipe command to personal devices.

Real-World Example

Law firm breach (2023):

  • Terminated paralegal (involuntary for cause)
  • Corporate laptop collected and wiped
  • Personal iPhone still had email configured
  • No MDM selective wipe issued
  • Former employee exported 3,000 client emails to personal Gmail
  • Included attorney-client privileged communications
  • Cost: $4.5 million malpractice settlement, state bar investigation, client loss

Prevention

  • Maintain inventory of all BYOD devices enrolled by each employee
  • Issue selective wipe to all personal devices on termination day
  • Verify wipe completed (check MDM console)
  • Remove device from Azure AD registered devices
  • Revoke app-specific passwords
  • Clear browser passwords (if managed)

Mistake #7: Neglecting Third-Party SaaS Applications

What Happens

IT disables Active Directory and Microsoft 365 but forgets:

  • Salesforce (separate authentication)
  • DocuSign (separate account)
  • Dropbox Business
  • Zoom
  • Adobe Creative Cloud
  • Slack (if not SSO-enforced)

Employee retains access to these applications.

Real-World Example

E-commerce company breach (2022):

  • Terminated sales director
  • AD, M365, VPN access all disabled same day
  • Salesforce used separate authentication (not SSO)
  • Former employee logged into Salesforce for 2 months
  • Exported entire customer database (500,000 records)
  • Started competing business, contacted all customers
  • Cost: $5 million lost revenue, $3 million lawsuit, GDPR investigation

Prevention

  • Maintain inventory of all SaaS applications
  • Note which apps use SSO vs separate auth
  • Disable/delete account in each non-SSO app
  • Implement Cloud Access Security Broker (CASB) to detect shadow IT
  • Require SSO for all applications (no separate passwords)
  • Audit SaaS spending to find forgotten subscriptions

The Common Thread

All seven mistakes share common characteristics:

1. Lack of Comprehensive Inventory

  • IT doesn't know all systems employee had access to
  • No central source of truth
  • Shadow IT and personal devices not tracked

2. Manual Process Failures

  • Checklist items forgotten under time pressure
  • Different admin handling each termination (inconsistent)
  • No verification that all steps completed

3. Missing Post-Termination Monitoring

  • Assume job is done after account disabled
  • No alerts for former employee access attempts
  • Breaches discovered months later

Prevention Framework

Before Termination (Preparation)

  • Maintain up-to-date inventory of all employee access
  • Document service accounts and API keys
  • Track BYOD device enrollments
  • Map all SaaS applications (including shadow IT)

During Termination (Execution)

  • Follow standardized checklist (no deviations)
  • Automated execution where possible
  • Verify each step completed before moving to next
  • Document all actions with timestamps

After Termination (Monitoring)

  • Monitor for 90 days minimum
  • Alert on any access attempts from former employee
  • Weekly audit log reviews
  • Quarterly access rights audit

Cost of Prevention vs Cost of Breach

Prevention Cost (Annual)

  • Offboarding automation tool: $3,000 - $25,000/year
  • Admin time savings: $8,000 - $15,000/year
  • SIEM monitoring: $5,000 - $50,000/year (often already in place)
  • Total investment: $16,000 - $90,000/year

Breach Cost (Average)

  • Average data breach cost: $4.45 million (IBM Security 2023)
  • Breach from former employee: 20% of all breaches
  • Legal fees: $500,000 - $5 million
  • Regulatory fines: $50,000 - $20 million
  • Lost business: 30% of customers after breach
  • Reputational damage: Incalculable

ROI: Prevention costs 1-2% of average breach cost

Prevent These Mistakes with Automation

ADATT addresses all 7 common mistakes with automated offboarding across AD, Azure AD, M365, Intune, and 100+ SaaS applications - with 90-day monitoring included.

Continue Reading

Automate onboarding & offboarding across Active Directory and Microsoft 365