Validate file download information
Use mdls to validate payload download sources and timestamps to guard against sandbox executions.
ORCHARD · Tool
Use mdls to validate payload download sources and timestamps to guard against sandbox executions.
Use mdls to print file paths and sizes when enumerating host resources.
Every file on macOS has a Finder comment field stored as Spotlight metadata under the kMDItemFinderComment attribute. mdls can read this field and pipe its contents to a decoder and executor. Because the payload lives entirely in Spotlight metadata rather than file contents, it is not visible to file-based inspection or integrity monitoring tools. Finder comments can be written remotely via osascript over Remote Apple Events or SSH, making this a covert staging mechanism for lateral movement payloads.