Skip to content

Comments

Calculate Rich header hash#945

Merged
PeterMatula merged 1 commit intoavast:masterfrom
HoundThe:rich_header_hash
Apr 20, 2021
Merged

Calculate Rich header hash#945
PeterMatula merged 1 commit intoavast:masterfrom
HoundThe:rich_header_hash

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

@HoundThe HoundThe requested a review from PeterMatula April 14, 2021 16:43
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.

2 participants