TAM-H-STG-034 · Human · Stage: Getting ready
Planting a Bot to Stay
A technical insider creates or hijacks bots and integrations that keep access and visibility after they leave.
Chat, ticketing and workflow tools let people build bots and webhooks with their own service credentials. An insider can create one that looks like a harmless productivity helper, or modify an existing one.
The bot then reads channels, pulls files, forwards messages or polls sensitive endpoints around the clock. It does not depend on the person's own account, so it survives a lockout or offboarding.
Automation accounts rarely get the same review as human ones. Owners change, nobody is sure what a bot does, and its activity is hard to tell from normal automation. Inventory every integration, tie it to a named owner and watch for changes to scopes, tokens and webhook targets.
What it looks like
- An admin installs a Slack app with read-all scopes and forwards messages to a private endpoint.
- A Jira automation is edited to email ticket attachments to an outside address.
- A Teams bot stays active with a token owned by an employee who has since left.
Detections (11)
- DET-005Audit Logs as Insider EvidenceSystem and app audit logs record who did what and when.Confidence HighAWSAzureGCP
- DET-010Baselining People and MachinesExtend behavior analytics beyond staff to service accounts, servers, and devices, so abuse of non-human access also stands out.Confidence MediumAWSAzureGCP
- DET-028Data Loss Prevention AlertsDLP policies catch sensitive data being copied, uploaded, printed, or sent out.Confidence MediumWindowsmacOSMicrosoft 365
- DET-031Decoy Service Account Ticket RequestsCreate a fake service account that nobody should ever request, then alert when a Kerberos ticket is requested for it.Confidence HighWindowsIdentity
- DET-038EDR Telemetry for Insider CasesEDR records process, file, and network activity on endpoints and lets responders pull data.Confidence HighWindowsmacOSLinux
- DET-039Employee Activity Monitoring AgentA UAM agent on workstations records user actions for review of insider activity.Confidence MediumWindowsmacOS
- DET-068Leaver Account WatchlistKeep a live list of departed staff and alert on any activity from their accounts.Confidence HighIdentityMicrosoft 365Google Workspace
- DET-096Person-Level Behavior BaselinesUse analytics that learn each person's normal activity and alert when they depart from it.Confidence MediumIdentitySaaSMicrosoft 365
- DET-145Small Violation Trend TrackingCollect minor rule breaks in one place and look for people whose violations are growing in number or seriousness.Confidence LowIdentitySaaS
- DET-160Unapproved Asset SweepRun regular audits that compare what is on the network and in the cloud with what the organization says it owns.Confidence MediumNetworkAWSAzure
- DET-168User Behavior BaselinesUBA compares what a user does now with their own and peers' normal.Confidence MediumWindowsmacOSIdentity
Controls (6)
- CTL-025Closing Out Departing Staff CleanlyA fixed exit routine returns devices and ends all access on the last day.ProcessEffort MediumEffect High
- CTL-032Controlling Powerful AccountsPrivileged access tools issue admin rights only when needed, with recording and approval.TechnicalEffort HighEffect High
- CTL-046Giving People a Proper Way to AskClear request channels reduce the urge to bypass rules.ProcessEffort MediumEffect Medium
- CTL-083Regular Checks on Who Has AccessPeriodic access reviews find permissions that are too wide or no longer needed.ProcessEffort MediumEffect High
- CTL-092Scanning Code Before It ShipsAutomated code review in CI/CD catches hidden logic before deployment.TechnicalEffort MediumEffect High
- CTL-116Written Rules for Using Company SystemsA clear acceptable use policy sets expectations, removes excuses and gives you a basis for discipline.ProcessEffort LowEffect Medium