SEC536: Adversarial AI - Penetration Testing AI Systems


Experience SANS training through course previews.
Learn MoreLet us help.
Contact usBecome a member for instant access to our free resources.
Sign UpWe're here to help.
Contact UsKey findings:
The results show a consistent pattern: the simplest LOLBins (touch, cp) can convincingly fake access and modified timestamps but cannot touch creation or change timestamps on Ext3 and Ext4 without specialized tools, and those specialized tools introduce their own detectable inconsistencies between what the raw disk shows and what the live operating system reports. Time-travel is the most complete method for forging all four timestamps at once, but it leaves behind indirect artifacts, such as anomalous journal files and NTP service events, that persist even when the file system itself looks untouched. This means investigators who rely solely on file metadata will miss evidence that a broader, system-level review would catch. The research was conducted using isolated Ubuntu 24.02 virtual machines running VirtualBox, with FAT32, Ext3, and Ext4 file systems created and tested independently for each timestomping method. Direct file system artifacts were analyzed through hex-dump comparison and FTK Imager, while indirect operating system artifacts were identified by hashing and diffing full disk images before and after each timestomping event.
No. Testing across FAT32, Ext3, and Ext4 found that touch can change a file's access and modified timestamps but cannot alter its creation timestamp.
Only debugfs was able to modify a file's creation and change timestamps in this research; the touch and cp --preserve commands could not alter either field on Ext3 or Ext4 file systems.
Yes. Because debugfs modifies the raw file system directly without updating the operating system's kernel cache, investigators will see a mismatch between what a raw disk image shows and what live commands like stat report until the file system is remounted, which is itself a strong indicator of tampering.
Often yes. While time-travel can update all four timestamps on a file, it also creates a new system journal file dated to the spoofed time and records the Network Time Protocol (NTP) service being disabled, both of which are indirect artifacts investigators can look for at the operating system level.
Not quite. FAT32 has no direct equivalent to the debugfs tool, so an adversary needs to combine time-travel with file move and touch operations to fully forge a FAT32 file's creation date, while on Ext3 and Ext4, debugfs alone can directly alter creation and change timestamps.
















