Skip to content

Parse various PE timestamps and export them out#1035

Merged
PeterMatula merged 4 commits intoavast:masterfrom
HoundThe:timestamps
Oct 25, 2021
Merged

Parse various PE timestamps and export them out#1035
PeterMatula merged 4 commits intoavast:masterfrom
HoundThe:timestamps

Conversation

@HoundThe
Copy link
Copy Markdown
Member

@HoundThe HoundThe commented Oct 11, 2021

Inspired by Waleedassar blog - http://waleedassar.blogspot.com/2014/02/pe-timedatestamp-viewer.html

Added parsing and export of various timestamps stored in the PE file:

  • COFF header timestamp
  • LoadConfigDirectory timestamp
  • Export Directory timestamp
  • Timestamps of all CODEVIEW Debug Directory entries
  • Timestamp of PDB 2.0 structures (Pointed to by some Debug Directory entries)
  • TImestamps of Resource Directory tables

Because most of them are often empty, I only export non-zero timestamps to output, because it can clutter the output significantly (Especially Resource timestamps).

I will find/create some binaries to create test cases for this PR.

@PeterMatula PeterMatula merged commit 9c74e61 into avast:master Oct 25, 2021
PeterMatula added a commit that referenced this pull request Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants