Taint Shared Content

From enterprise
Jump to: navigation, search
Taint Shared Content
Technique
ID T1080
Tactic Lateral Movement
Platform Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP, Windows 7, Windows 8, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012 R2, Windows Vista, Windows 8.1, Windows 10
System Requirements Access to shared folders and content with write permissions
Data Sources File monitoring, Process monitoring
CAPEC ID CAPEC-562

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.

Examples

  • Darkhotel uses a virus that propagates by infecting executables stored on shared drives.1
  • H1N1 has functionality to copy itself to network shares.2
  • Miner-C copies itself into the public folder of Network Attached Storage (NAS) devices and infects new victims who open the file.3

Mitigation

Protect shared folders by minimizing users who have write access. Use utilities that detect or mitigate common features used in exploitation, such as the Microsoft Enhanced Mitigation Experience Toolkit (EMET).

Identify potentially malicious software that may be used to taint content or may result from it and audit and/or block the unknown programs by using whitelisting4 tools, like AppLocker,56 or Software Restriction Policies7 where appropriate.8

Detection

Processes that write or overwrite many files to a network shared directory may be suspicious. Monitor processes that are executed from removable media for malicious or abnormal activity such as network connections due to Command and Control and possible network Discovery techniques.