Techniques
Sample rules
AWS Bedrock Knowledge Base or RAG Data Source Tampering
- source: elastic
- technicques:
- T1565
Description
Detects control-plane mutations to AWS Bedrock knowledge bases and their backing RAG data sources via CloudTrail. An adversary with access to Bedrock Agent APIs can poison the corpus that RAG-enabled models treat as authoritative by ingesting attacker-controlled documents (IngestKnowledgeBaseDocuments, StartIngestionJob), deleting legitimate documents (DeleteKnowledgeBaseDocuments), or repointing/altering the data source itself (CreateDataSource, UpdateDataSource, DeleteDataSource, UpdateKnowledgeBase). Because downstream applications and users trust model answers grounded in this stored data, tampering with the corpus is a stored data manipulation that can drive misinformation, fraud, or manipulated decisions at inference time. This is a New Terms rule that looks for the first time a given identity ARN performs one of these knowledge base or data source mutations within the history window.
Detection logic
data_stream.dataset: "aws.cloudtrail" and
event.provider: "bedrock.amazonaws.com" and
event.action: (
"IngestKnowledgeBaseDocuments" or
"DeleteKnowledgeBaseDocuments" or
"UpdateKnowledgeBase" or
"CreateDataSource" or
"UpdateDataSource" or
"DeleteDataSource" or
"StartIngestionJob" or
"DeleteKnowledgeBase"
) and
event.outcome: "success"