Documentation
¶
Index ¶
Constants ¶
View Source
const ( HasLinkTargetIDList = 1 << 0 HasLinkInfo = 1 << 1 HasName = 1 << 2 HasRelativePath = 1 << 3 HasWorkingDir = 1 << 4 HasArguments = 1 << 5 HasIconLocation = 1 << 6 IsUnicode = 1 << 7 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LnkInfo ¶
type LnkInfo struct {
HeaderTimes [3]time.Time // Creation, Access, Write
TargetPath string
RelativePath string
WorkDir string
IconLocation string
}
LnkInfo 包含 LNK 文件的关键取证信息
type PrefetchInfo ¶
type PrefetchInfo struct {
ExecutableName string
RunCount uint32
LastRunTimes []time.Time
FilesLoaded []string // 依赖的文件列表
Hash uint32
}
PrefetchInfo 包含解析后的 Prefetch 信息
func ParsePrefetch ¶
func ParsePrefetch(path string) (*PrefetchInfo, error)
ParsePrefetch is a stub for non-Windows systems
type ShimCacheEntry ¶
type ShimCacheEntry struct {
Path string
LastModified time.Time
IsExecuted bool // ShimCache 只能证明文件存在,除了 Win10+ 10ts 格式可能暗示执行
InsertPosition int
}
ShimCacheEntry 代表 ShimCache 中的一条记录
func ParseShimCache ¶
func ParseShimCache(data []byte) ([]ShimCacheEntry, error)
ParseShimCache 解析 AppCompatCache 二进制数据 支持 Windows 10 (10ts 签名) 格式
Click to show internal directories.
Click to hide internal directories.