This usually happens before the data is sent out of the network. It can cover documents, settings files, databases and more.
How it works
Once an attacker is on a system, they look through what is stored there. MITRE lists sources such as file systems, configuration files, local databases, virtual machine files and process memory.
They may use a command interpreter, or the command line on a network device, to browse the file system and gather information. They may also use automated collection to do this on the local system.
The goal is to find files of interest and sensitive data before exfiltration, which is the step where data leaves the organization.
A real example
Procedure examples listed by MITRE ATT&CK:
- Action RAT can collect local data from an infected machine.
- AuTo Stealer can collect PowerPoint, Word, Excel, PDF, text, database and image files from an infected machine.
- BADNEWS crawls the local drives when it first starts and collects documents with extensions such as .doc, .docx, .pdf, .ppt, .pptx and .txt.
- Amadey can collect information from a compromised host.
- AppleSeed can collect data on a compromised host.
Seen in incidents
- Incident Bankshot implant attacks on the Turkish financial sector In March 2018, McAfee Advanced Threat Research reported the Bankshot implant, linked to North Korean Hidden Cobra activity, at five Turkish financial and government-finance organizations. March 2018 · Financial services
- Incident Trivy scanner and GitHub Actions compromise In March 2026 an attacker used stolen credentials to publish a malicious version of the Trivy security scanner and to replace the tags of two of its GitHub Actions with credential-stealing code. March 2026 · Technology and software supply chain
How to detect
-
Look for broad file searching
Watch for scripts or tools that list files across many folders, read selected files, and copy them to temporary locations.
-
Watch scripted access on all platforms
On Windows, Linux and macOS, look for shell or scripting activity that searches user folders, configuration files or key material.
-
Watch device and server configuration reads
On network devices and virtualization hosts, look for commands that read configuration or datastore files, especially when followed by a file transfer.
-
Detection strategy MITRE lists
DET0380, Detection of Local Data Collection Prior to Exfiltration.
How to defend
-
Use data loss prevention
Data loss prevention tools can restrict access to sensitive data and find sensitive data that is stored unencrypted.
Frequently Asked Questions
What is Data from Local System (T1005)?
Data from Local System is a Collection technique where an attacker searches a computer they already control for files and other data worth taking. It usually happens before the data is sent out of the network, which is the step called exfiltration.
What data do attackers look for on a local system?
MITRE lists sources such as file systems, configuration files, local databases, virtual machine files and process memory. Attackers may use a command interpreter, or the command line on a network device, to browse the file system and gather information.
How can I detect Data from Local System?
Watch for scripts or tools that list files across many folders, read selected files and copy them to temporary locations. Look for shell or scripting activity that searches user folders, configuration files or key material, and for configuration reads followed by a file transfer.
How can I defend against Data from Local System?
Use data loss prevention tools, which can restrict access to sensitive data and find sensitive data that is stored unencrypted. Also monitor for broad file searching so collection is noticed before the data leaves the organization.
