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

Calculate Rich header hash #945

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Conversation

HoundThe
Copy link
Member

@HoundThe HoundThe commented Apr 14, 2021

I've added a calculation of decrypted (XORed) rich header hashes (crc32, md5, sha256) as mentioned in issue #621 . Not sure if all of them are wanted, probably MD5 only would be ok as used by VirusTotal: https://www.virustotal.com/gui/file/0ee196bb23f0eafe4f61d30bf6c676fd7365cb12ae66a6bde278851e91901ac1/details

Copy link
Collaborator

@PeterMatula PeterMatula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meergin this, but @HoundThe please also add regression tests checking all three values - on some sample where the results is the same as in Virus Total.

@PeterMatula PeterMatula merged commit b2c271e into avast:master Apr 20, 2021
PeterMatula added a commit that referenced this pull request Apr 20, 2021
@PeterMatula
Copy link
Collaborator

@HoundThe I will add the regression test myself, it will take just a minute and we can consider this done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants