OpenParable
Skip to content
← Back to skills

T1213.006_databases

DevOps & Security

Adversaries may leverage databases to mine valuable information.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/mitre_attack/TA0009_collection/T1213.006_databases/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/t1213-006-databases, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

T1213.006 Databases

Sub-technique of: T1213

High-Level Description

Adversaries may leverage databases to mine valuable information. These databases may be hosted on-premises or in the cloud (both in platform-as-a-service and software-as-a-service environments).

Examples of databases from which information may be collected include MySQL, PostgreSQL, MongoDB, Amazon Relational Database Service, Azure SQL Database, Google Firebase, and Snowflake. Databases may include a variety of information of interest to adversaries, such as usernames, hashed passwords, personally identifiable information, and financial data. Data collected from databases may be used for Lateral Movement, Command and Control, or Exfiltration. Data exfiltrated from databases may also be used to extort victims or may be sold for profit.

Kill Chain Phase

  • Collection (TA0009)

Platforms: Linux, Windows, macOS, IaaS, SaaS

What to Check

  • Identify if Databases technique is applicable to target environment
  • Check Linux systems for indicators of Databases
  • Check Windows systems for indicators of Databases
  • Check macOS systems for indicators of Databases
  • Verify mitigations are bypassed or absent (5 known mitigations)
  • Assess detection coverage (1 detection strategies)

How to Test

Manual Testing

  1. Identify Attack Surface: Determine if the target environment is susceptible to Databases by examining the target platforms (Linux, Windows, macOS).

  2. Assess Existing Defenses: Review whether mitigations for T1213.006 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

  3. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.

Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.

Remediation Guide

M1017 User Training

Develop and publish policies that define acceptable information to be stored in databases and acceptable handling of customer data. Only store information required for business operations.

M1041 Encrypt Sensitive Information

Encrypt data stored at rest in databases.

M1054 Software Configuration

Consider implementing data retention policies to automate periodically archiving and/or deleting data that is no longer needed.

M1018 User Account Management

Enforce the principle of least-privilege. Consider implementing access control mechanisms that include both authentication and authorization.

M1047 Audit

Consider periodic review of accounts and privileges for critical and sensitive databases.

Detection

Suspicious Database Access and Dump Activity Across Environments (T1213.006)

Risk Assessment

FindingSeverityImpact
Databases technique applicableLowCollection

CWE Categories

CWE IDTitle
CWE-200Exposure of Sensitive Information

References