Collection - TA0009

Collection - TA0009

Objective:

Gather data of interest for exfiltration or operational use. Collection consists of techniques adversaries may use to gather information. Frequently, the next goal after collecting data is to either steal (exfiltrate) the data or to use the data to gain more information about the target environment. Common target sources include various drive types, browsers, audio, video, and email. Common collection methods include capturing screenshots and keyboard input.

  • ID: TA0009:

    • https://attack.mitre.org/tactics/TA0009/


Linux Context:

  • Collection targets sensitive files like /etc/passwd, /var/www/html, or application configs using cat, find, or grep. Attackers compress data with tar -czf or zip for efficiency, while memory dumps via LiME or /proc/kcore capture volatile secrets. Databases (e.g., MySQL’s mysqldump) are prime targets, as are cloud storage mounts (e.g., S3 buckets). In containerized environments, attackers scrape secrets from /var/run/secrets/.


Key Techniques:

  • Archive Collected Data (T1560): Creating tarballs for exfiltration.

  • Data from Local System (T1005): Copying config files.

  • Data from Information Repositories (T1213): Dumping Git repos.


Linux Example:

  • Running tar -czf secrets.tar.gz /etc/* or mysqldump -u root db > dump.sql.


Defender Strategies:

  • Monitor file access with EDR or inotify, encrypt sensitive data, and restrict database exports. Use DLP to detect archiving.

EDRmetry Linux Matrix For Download / Self-Hosted - Comprehensive Hands-On Attack TTPs Catalog

Buy nowLearn more

1. EDRmetry Overview

  • Introduction
  • What you will get?
  • Goals / What to expect
  • EDRmetry Matrix
  • Virtual Machines / C2
  • EDRmetry Generic Flow
  • Contextual Execution
  • Changelog / Updates

2. EDRmetry Deployment

  • Deploy your EDRmetry Matrix Docker Container
  • Download EDRmetry Matrix JSON Database
  • Import your EDRmetry Matrix JSON Database
  • Provision your TARGET_X VM
  • Provision your KALI_X or C2_X VM
  • Request for HTTPS Hosted Access to EDRmetry Matrix

3. Research and emulation of Linux threats

  • MITRE ATT&CK TACTICS in the Linux Ecosystem
  • Linux Threat Landscape
  • Initial Access - TA0001
  • Discovery - TA0007
  • Execution - TA0002
  • Defense Evasion - TA0005
  • Persistence - TA0003
  • Privilege Escalation - TA0004
  • Exfiltration - TA0010
  • Command and Control - TA0011
  • Lateral Movement - TA0008
  • Credentials Access - TA0006
  • Impact - TA0040
  • Collection - TA0009