File System Logical Offsets

From ATT&CK
Jump to: navigation, search
File System Logical Offsets
Technique
ID T1006
Tactic Defense Evasion
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
Permissions Required Administrator
Data Sources API monitoring
Defense Bypassed File monitoring, File system access controls

Windows allows programs to have direct access to logical volumes. Programs with direct access may read and write files directly from the drive by analyzing file system data structures. This technique bypasses Windows file access controls as well as file system monitoring tools.1

Utilities, such as NinjaCopy, exist to perform these actions in PowerShell.2

Mitigation

Identify potentially malicious software that may be used to access logical drives in this manner, and audit and/or block it by using whitelisting3 tools, like AppLocker,45 or Software Restriction Policies6 where appropriate.7

Detection

Monitor handle opens on drive volumes that are made by processes to determine when they may directly access logical drives.2

Monitor processes and command-line arguments for actions that could be taken to copy files from the logical drive and evade common file system protections. Since this technique may also be used through PowerShell, additional logging of PowerShell scripts is recommended.