Skip to content

Commit

Permalink
Fixed VT section MD5 search query string (#8)
Browse files Browse the repository at this point in the history
* Initial commit

* Rekall integration

* Updated README.md

* Fixed VT section MD5 query

Co-authored-by: Tom Bonner <[email protected]>
  • Loading branch information
tombonner and Tom Bonner authored Oct 5, 2020
1 parent 5679cb6 commit 531bc7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.0.29](/../tags/1.0.29) - 2020-10-05

### Fixed

- Fixed section MD5 VT search query

## [1.0.28](/../tags/1.0.28) - 2020-10-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion pe_tree/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__author__ = "Tom Bonner"
__copyright__ = "Copyright © 2020 BlackBerry Limited."
__version__ = "1.0.28"
__version__ = "1.0.29"
__maintainer__ = "Tom Bonner"
__email__ = "[email protected]"
__license__ = "Apache License 2.0"
Expand Down
2 changes: 1 addition & 1 deletion pe_tree/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def run(self):

section_item.appendRow([pe_tree.qstandarditems.PEFileItem(self, name="Entropy"), pe_tree.qstandarditems.EntropyItem(self, section_hashes["entropy"])])
section_item.appendRow([pe_tree.qstandarditems.PEFileItem(self, name="SHA256"), pe_tree.qstandarditems.PEFileItem(self, name=section_hashes["sha256"])])
section_item.appendRow([pe_tree.qstandarditems.PEFileItem(self, name="MD5"), pe_tree.qstandarditems.PEFileItem(self, name=section_hashes["md5"], vt_query="section:\"{}\"")])
section_item.appendRow([pe_tree.qstandarditems.PEFileItem(self, name="MD5"), pe_tree.qstandarditems.PEFileItem(self, name=section_hashes["md5"], vt_query="sectionmd5:\"{}\"")])
section_item.appendRow([pe_tree.qstandarditems.PEFileItem(self, name="Ratio"), pe_tree.qstandarditems.RatioItem(self, size=section.SizeOfRawData, offset=section.PointerToRawData, entropy=section_hashes["entropy"])])

sections_item.appendRow([section_item, pe_tree.qstandarditems.PEFileItem(self, name="", offset=section.VirtualAddress)])
Expand Down

0 comments on commit 531bc7d

Please sign in to comment.