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

extract dynamic capabilities #1644

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e3f60ea
initial commit
yelhamer Jul 17, 2023
4af84e5
bugfixes
yelhamer Jul 17, 2023
bc46bf3
add vverbose rendering
yelhamer Jul 18, 2023
e5d7903
add removed tests
yelhamer Jul 18, 2023
4e4b123
mypy.ini: ignore proto issues
yelhamer Jul 18, 2023
c5d08ec
update extractors and tests
yelhamer Jul 19, 2023
7de223f
Update capa/features/extractors/ida/extractor.py: add call to get_inp…
yelhamer Jul 19, 2023
1029b36
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' …
yelhamer Jul 20, 2023
8ac9caf
fix bugs
yelhamer Jul 20, 2023
0a4fe58
fix tests
yelhamer Jul 20, 2023
d99b16e
add copyright and remove old test
yelhamer Jul 20, 2023
482e0d3
use pathlib.Path() in binja and ida extractors
yelhamer Jul 20, 2023
fd7b926
Update capa/features/extractors/base_extractor.py
yelhamer Jul 20, 2023
2b2b2b6
Update capa/features/extractors/base_extractor.py
yelhamer Jul 20, 2023
b4cf50f
fix mypy issues
yelhamer Jul 20, 2023
ab092cb
add sample_hashes attribute to the base extractors
yelhamer Jul 20, 2023
6ee1dfd
address review comments: rename SampleHashes's from_sample() method t…
yelhamer Jul 20, 2023
806bc18
Update mypy.ini: add TODO comment
yelhamer Jul 20, 2023
24b3abd
add get_sample_hashes() to base extractor
yelhamer Jul 21, 2023
6d1a885
update static freeze test
yelhamer Jul 21, 2023
b1e468d
add tests for the get_sample_hashes() method
yelhamer Jul 21, 2023
da4e887
fix comment typo
yelhamer Jul 21, 2023
6f3fb42
update compute_dynamic_layout with the appropriate type
yelhamer Jul 21, 2023
bd83316
update compute_static_layout with the appropriate types
yelhamer Jul 21, 2023
736b2cd
address @mr-tz main.py review comments
yelhamer Jul 21, 2023
3ab3c61
use ida's hash-extraction functions
yelhamer Jul 21, 2023
8085cae
remove the usage of SampleHashes's __iter__() method
yelhamer Jul 21, 2023
6741229
migrate the `get_sample_hashes()` function to each individual extractor
yelhamer Jul 21, 2023
ab585ef
add the `skipif` mark back
yelhamer Jul 21, 2023
4ec39d4
fix linting issues
yelhamer Jul 21, 2023
c4ba5af
replace `: FeatureSet` annotations with a comment type annotation
yelhamer Jul 21, 2023
830bad5
fix bugs
yelhamer Jul 21, 2023
3d1a1fb
add get_sample_hashes() to NullFeatureExtractor
yelhamer Jul 21, 2023
90298fe
Update capa/features/extractors/base_extractor.py
yelhamer Jul 21, 2023
d13114e
remove SampleHashes __iter__method
yelhamer Jul 21, 2023
c32ac19
Update capa/features/extractors/ida/extractor.py
yelhamer Jul 21, 2023
344b3e9
Update capa/features/extractors/base_extractor.py
yelhamer Jul 21, 2023
d8c28e8
add get_sample_hashes() to elf extractor
yelhamer Jul 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- publish via PyPI trusted publishing #1491 @williballenthin
- migrate to pyproject.toml #1301 @williballenthin
- Add ProcessesAddress and ThreadAddress #1612 @yelhamer
- Add dynamic capability extraction @yelhamer

### Breaking Changes
- Update Metadata type in capa main [#1411](https://github.com/mandiant/capa/issues/1411) [@Aayush-Goel-04](https://github.com/aayush-goel-04) @manasghandat
Expand Down
Loading
Loading