Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse various PE timestamps and export them out #1035

Merged
merged 4 commits into from
Oct 25, 2021

Conversation

HoundThe
Copy link
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.

None yet

2 participants