Adversaries may deliver payloads to remote systems by adding content to shared storage locations, such as network drives or internal code repositories. Content stored on network drives or in other shared locations may be tainted by adding malicious programs, scripts, or exploit code to otherwise valid files. Once a user opens the shared tainted content, the malicious portion can be executed to run the adversary's code on a remote system. Adversaries may use tainted shared content to move laterally.
A directory share pivot is a variation on this technique that uses several other techniques to propagate malware when users access a shared network directory. It uses Shortcut Modification of directory .LNK files that use Masquerading to look like the real directories, which are hidden through Hidden Files and Directories. The malicious .LNK-based directories have an embedded command that executes the hidden malware file in the directory and then opens the real intended directory so that the user's expected action still occurs. When used with frequently used network directories, the technique may result in frequent reinfections and broad access to systems and potentially to new and higher privileged accounts. (Citation: Retwin Directory Share Pivot)
Adversaries may also compromise shared network directories through binary infections by appending or prepending its code to the healthy binary on the shared network directory. The malware may modify the original entry point (OEP) of the healthy binary to ensure that it is executed before the legitimate code. The infection could continue to spread via the newly infected file when it is executed by a remote system. These infections may target both binary and non-binary formats that end with extensions including, but not limited to, .EXE, .DLL, .SCR, .BAT, and/or .VBS.
View in MITRE ATT&CK®Capability ID | Capability Description | Mapping Type | ATT&CK ID | ATT&CK Name | Notes |
---|---|---|---|---|---|
CA-07 | Continuous Monitoring | mitigates | T1080 | Taint Shared Content | |
SC-04 | Information in Shared System Resources | mitigates | T1080 | Taint Shared Content | |
SI-10 | Information Input Validation | mitigates | T1080 | Taint Shared Content | |
SI-03 | Malicious Code Protection | mitigates | T1080 | Taint Shared Content | |
SI-07 | Software, Firmware, and Information Integrity | mitigates | T1080 | Taint Shared Content | |
CM-02 | Baseline Configuration | mitigates | T1080 | Taint Shared Content | |
CM-07 | Least Functionality | mitigates | T1080 | Taint Shared Content | |
SI-04 | System Monitoring | mitigates | T1080 | Taint Shared Content | |
AC-03 | Access Enforcement | mitigates | T1080 | Taint Shared Content | |
SC-07 | Boundary Protection | mitigates | T1080 | Taint Shared Content |
Capability ID | Capability Description | Mapping Type | ATT&CK ID | ATT&CK Name | Notes |
---|---|---|---|---|---|
action.malware.variety.Other | Other | related-to | T1080 | Taint Shared Content | |
action.malware.variety.Worm | Worm (propagate to other systems or devices) | related-to | T1080 | Taint Shared Content | |
attribute.integrity.variety.Software installation | Software installation or code modification | related-to | T1080 | Taint Shared Content |
Capability ID | Capability Description | Mapping Type | ATT&CK ID | ATT&CK Name | Notes |
---|---|---|---|---|---|
defender_for_storage | Microsoft Defender for Cloud: Defender for Storage | technique_scores | T1080 | Taint Shared Content |
Comments
When a file is suspected to contain malware, Security Center displays an alert and can optionally email the storage owner for approval to delete the suspicious file. This delete response capability leads to a Response type of Eradication although it is specific to Azure Blob, Azure Files and Azure Data Lake Storage storage types resulting in an overall score of Partial.
References
|
defender_for_storage | Microsoft Defender for Cloud: Defender for Storage | technique_scores | T1080 | Taint Shared Content |
Comments
This control may alert on upload of possible malware or executable and Azure Cloud Services Package files. These alerts are dependent on Microsoft threat intelligence and may not alert on novel or modified malware.
References
|
ai_security_recommendations | Microsoft Defender for Cloud: AI Security Recommendations | technique_scores | T1080 | Taint Shared Content |
Comments
This control's "Immutable (read-only) root filesystem should be enforced for containers" and "Usage of pod HostPath volume mounts should be restricted to a known list to restrict node access from compromised containers" recommendations can mitigate this technique. Due to it being a recommendation, its score is capped at Partial.
References
|