Mike Hunhoff
fa5d9a9302
v9.2.1 ( #2685 )
2025-06-06 14:16:25 -06:00
Mike Hunhoff
30fb4751f6
fix build issues discovered during and after v9.2.0 release ( #2684 )
...
* ci: downgrade Ubuntu version to accommodate older GLIBC versions
* ci: upgrade Windows version to avoid deprecation
* ci: exclude pkg_resources from PyInstaller build
* update CHANGELOG
* update spec file
* ci: check if build runs without warnings or errors
* update CHANGELOG
* update build commands
* update build commands
* update build commands
* update build commands
* update build commands
2025-06-06 12:02:06 -06:00
Mike Hunhoff
a8eab7ddf0
update "publish package" worflow to 1.12.4 ( #2680 )
2025-06-05 13:44:30 -06:00
Mike Hunhoff
5ad1dda918
v9.2.0 ( #2677 )
2025-06-05 09:03:56 -06:00
Capa Bot
eabb2cc809
Sync capa rules submodule
2025-06-02 19:16:57 +00:00
Capa Bot
a34c3ecc57
Sync capa rules submodule
2025-06-02 18:47:17 +00:00
dependabot[bot]
d22de5cf7f
build(deps): bump rich from 13.9.2 to 14.0.0 ( #2675 )
...
Bumps [rich](https://github.com/Textualize/rich ) from 13.9.2 to 14.0.0.
- [Release notes](https://github.com/Textualize/rich/releases )
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Textualize/rich/compare/v13.9.2...v14.0.0 )
---
updated-dependencies:
- dependency-name: rich
dependency-version: 14.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 12:39:31 -06:00
dependabot[bot]
8f78834cae
build(deps): bump setuptools from 78.1.1 to 80.9.0 ( #2674 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 78.1.1 to 80.9.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v78.1.1...v80.9.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 80.9.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 12:39:08 -06:00
dependabot[bot]
08dbb0e02d
build(deps): bump flake8-simplify from 0.21.0 to 0.22.0 ( #2673 )
...
Bumps [flake8-simplify](https://github.com/MartinThoma/flake8-simplify ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/MartinThoma/flake8-simplify/releases )
- [Changelog](https://github.com/MartinThoma/flake8-simplify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MartinThoma/flake8-simplify/commits )
---
updated-dependencies:
- dependency-name: flake8-simplify
dependency-version: 0.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 12:38:41 -06:00
Mike Hunhoff
98725c52dc
vmray: do not restrict analysis to PE and ELF files, e.g. docx ( #2672 )
...
* vmray: do not restrict analysis to PE and ELF files, e.g. docx
* update CHANGELOG
2025-05-30 13:53:12 -06:00
dependabot[bot]
eb87153064
build(deps): bump setuptools from 76.0.0 to 78.1.1 ( #2667 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 76.0.0 to 78.1.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v76.0.0...v78.1.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 78.1.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-05-30 12:35:35 -06:00
dependabot[bot]
56aa7176b0
build(deps): bump pip from 25.0 to 25.1.1 ( #2666 )
...
Bumps [pip](https://github.com/pypa/pip ) from 25.0 to 25.1.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/25.0...25.1.1 )
---
updated-dependencies:
- dependency-name: pip
dependency-version: 25.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-05-30 12:35:15 -06:00
dependabot[bot]
8b41671409
build(deps): bump flake8 from 7.1.1 to 7.2.0 ( #2648 )
...
* build(deps): bump flake8 from 7.1.1 to 7.2.0
Bumps [flake8](https://github.com/pycqa/flake8 ) from 7.1.1 to 7.2.0.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.2.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix lints (#2671 )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-05-30 12:09:16 -06:00
dependabot[bot]
5dbbc2b468
build(deps): bump pre-commit from 4.1.0 to 4.2.0 ( #2646 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.1.0...v4.2.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-05-30 11:28:19 -06:00
Mike Hunhoff
96d1eb64c3
update binja core version ( #2670 )
...
* update binja core version
* update CHANGELOG
2025-05-30 10:52:56 -06:00
Capa Bot
9234b33051
Sync capa rules submodule
2025-05-28 20:44:44 +00:00
Capa Bot
51f5114ad7
Sync capa rules submodule
2025-05-22 18:53:54 +00:00
Capa Bot
4b72f8a872
Sync capa-testfiles submodule
2025-05-22 17:48:58 +00:00
Moritz
8206a97b0f
Merge pull request #2659 from mandiant/dependabot/npm_and_yarn/web/explorer/vite-6.3.4
...
build(deps-dev): bump vite from 6.2.3 to 6.3.4 in /web/explorer
2025-05-20 16:47:50 +02:00
Capa Bot
5a33b4b2a8
Sync capa rules submodule
2025-05-19 18:21:38 +00:00
Capa Bot
fcfdeec377
Sync capa rules submodule
2025-05-19 18:21:13 +00:00
Capa Bot
37a63a751c
Sync capa-testfiles submodule
2025-05-19 18:12:00 +00:00
zdw@
3a9f2136bb
lint: log the failed example+rule ( #2661 )
...
* lint: log the failed example+rule
* Update scripts/lint.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* fix lint
---------
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-05-12 15:11:22 -06:00
Capa Bot
390e2a6315
Sync capa-testfiles submodule
2025-05-12 16:17:27 +00:00
Capa Bot
6a43084915
Sync capa-testfiles submodule
2025-05-12 16:06:51 +00:00
dependabot[bot]
6d7ca57fa9
build(deps): bump pydantic from 2.10.1 to 2.11.4 ( #2660 )
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.10.1 to 2.11.4.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.10.1...v2.11.4 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-version: 2.11.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 09:48:46 -06:00
Ana María Martínez Gómez
d1090e8391
ci: Update Ubuntu version in actions ( #2656 )
...
ubuntu-20.04 has been deprecated causing several GH actions to fail:
https://github.com/actions/runner-images/issues/11101
2025-05-09 15:40:59 -06:00
dependabot[bot]
b07efe773b
build(deps-dev): bump vite from 6.2.3 to 6.3.4 in /web/explorer
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.3 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.4
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-30 18:53:28 +00:00
Moritz
9d3d3be21d
Merge pull request #2644 from mandiant/dependabot/npm_and_yarn/web/explorer/vite-6.2.3
2025-03-25 22:06:15 +01:00
dependabot[bot]
8251a4c16f
build(deps-dev): bump vite from 6.2.2 to 6.2.3 in /web/explorer
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 15:30:15 +00:00
Mike Hunhoff
7407cb39ca
add lint for registry control set regex that is not complete ( #2643 )
...
* add lint for registry control set regex that is not complete
* update CHANGELOG
2025-03-24 12:17:12 -06:00
Capa Bot
0162e447fd
Sync capa rules submodule
2025-03-24 16:38:44 +00:00
Capa Bot
829dae388f
Sync capa rules submodule
2025-03-21 16:15:53 +00:00
Capa Bot
2a4d0ae080
Sync capa rules submodule
2025-03-21 14:40:08 +00:00
Capa Bot
d9a754730c
Sync capa rules submodule
2025-03-20 15:06:54 +00:00
Capa Bot
4acacba9d6
Sync capa rules submodule
2025-03-20 15:00:54 +00:00
Capa Bot
d00f172973
Sync capa rules submodule
2025-03-19 17:29:32 +00:00
Mike Hunhoff
1572dd87ed
lint: add WARN for regex features that contain unescaped dot ( #2635 )
...
* lint: add WARN for regex features that contain unescaped dot
* refactor comments
* update CHANGELOG
* address PR feedback
* Update scripts/lint.py
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
* Update scripts/lint.py
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
---------
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-03-18 15:05:57 -06:00
Capa Bot
23a88fae70
Sync capa rules submodule
2025-03-18 21:02:03 +00:00
dependabot[bot]
474e64cd32
build(deps): bump esbuild, @vitejs/plugin-vue, vite, vite-plugin-singlefile and vitest
...
Bumps [esbuild](https://github.com/evanw/esbuild ) to 0.25.1 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild ), [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue ), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ), [vite-plugin-singlefile](https://github.com/richardtallent/vite-plugin-singlefile ) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ). These dependencies need to be updated together.
Updates `esbuild` from 0.21.5 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.1 )
Updates `@vitejs/plugin-vue` from 5.0.5 to 5.2.3
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@5.2.3/packages/plugin-vue )
Updates `vite` from 5.4.14 to 6.2.2
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.2/packages/vite )
Updates `vite-plugin-singlefile` from 2.0.2 to 2.2.0
- [Release notes](https://github.com/richardtallent/vite-plugin-singlefile/releases )
- [Changelog](https://github.com/richardtallent/vite-plugin-singlefile/blob/main/CHANGELOG.md )
- [Commits](https://github.com/richardtallent/vite-plugin-singlefile/commits )
Updates `vitest` from 1.6.1 to 3.0.9
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.0.9/packages/vitest )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: indirect
- dependency-name: "@vitejs/plugin-vue"
dependency-type: direct:development
- dependency-name: vite
dependency-type: direct:development
- dependency-name: vite-plugin-singlefile
dependency-type: direct:development
- dependency-name: vitest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-18 09:53:20 -06:00
Willi Ballenthin
c664dc662f
changelog
2025-03-18 08:21:51 -06:00
Willi Ballenthin
c1c71613a9
cape: make some pe fields optional
...
closes #2632
but, pe.imagebase is required, so keeping that (so test field will
continue to fail).
2025-03-18 08:21:51 -06:00
Willi Ballenthin
fa90aae3dc
cape: make behavior.summary optional
...
closes #2631
2025-03-18 08:21:51 -06:00
Capa Bot
7ba02c424e
Sync capa rules submodule
2025-03-18 14:02:02 +00:00
dependabot[bot]
f238708ab8
build(deps): bump ruff from 0.9.2 to 0.11.0 ( #2629 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.2 to 0.11.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.2...0.11.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 16:05:18 -06:00
dependabot[bot]
9c639005ee
build(deps): bump protobuf from 5.29.3 to 6.30.1 ( #2630 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.29.3 to 6.30.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.29.3...v6.30.1 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 16:05:05 -06:00
Capa Bot
c37b04fa5f
Sync capa rules submodule
2025-03-16 15:15:38 +00:00
Capa Bot
dadd536498
Sync capa rules submodule
2025-03-15 13:04:10 +00:00
Capa Bot
f3b07dba14
Sync capa rules submodule
2025-03-14 17:46:00 +00:00
Capa Bot
66158db197
Sync capa rules submodule
2025-03-14 17:41:46 +00:00
Capa Bot
a4285c013e
Sync capa-testfiles submodule
2025-03-11 16:13:03 +00:00
Capa Bot
6924974b6b
Sync capa rules submodule
2025-03-11 15:56:55 +00:00
Capa Bot
dc153c4763
Sync capa rules submodule
2025-03-10 20:39:14 +00:00
dependabot[bot]
71a28e4482
build(deps): bump types-psutil from 6.1.0.20241102 to 7.0.0.20250218 ( #2617 )
...
Bumps [types-psutil](https://github.com/python/typeshed ) from 6.1.0.20241102 to 7.0.0.20250218.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-psutil
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-03-10 14:27:28 -06:00
dependabot[bot]
f6ed36fa0f
build(deps): bump pyelftools from 0.31 to 0.32 ( #2616 )
...
Bumps [pyelftools](https://github.com/eliben/pyelftools ) from 0.31 to 0.32.
- [Changelog](https://github.com/eliben/pyelftools/blob/main/CHANGES )
- [Commits](https://github.com/eliben/pyelftools/compare/v0.31...v0.32 )
---
updated-dependencies:
- dependency-name: pyelftools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-03-10 14:26:54 -06:00
Capa Bot
6e68034d57
Sync capa rules submodule
2025-03-10 20:19:50 +00:00
Capa Bot
0df50f5d54
Sync capa-testfiles submodule
2025-03-10 19:51:07 +00:00
Capa Bot
f1131750cc
Sync capa rules submodule
2025-03-10 19:48:37 +00:00
dependabot[bot]
077082a376
build(deps): bump humanize from 4.10.0 to 4.12.0 ( #2606 )
...
Bumps [humanize](https://github.com/python-humanize/humanize ) from 4.10.0 to 4.12.0.
- [Release notes](https://github.com/python-humanize/humanize/releases )
- [Commits](https://github.com/python-humanize/humanize/compare/4.10.0...4.12.0 )
---
updated-dependencies:
- dependency-name: humanize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-03-10 13:03:59 -06:00
dependabot[bot]
86318093da
build(deps-dev): bump vitest from 1.6.0 to 1.6.1 in /web/explorer ( #2608 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.1/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-03-10 12:45:16 -06:00
dependabot[bot]
4ee8a7c6b1
build(deps): bump setuptools from 75.8.0 to 76.0.0 ( #2621 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.8.0 to 76.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v76.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 12:44:49 -06:00
Capa Bot
151d30bec6
Sync capa rules submodule
2025-03-05 20:56:46 +00:00
Willi Ballenthin
3bd339522e
v9.1.0 ( #2614 )
...
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-03-04 13:24:03 -07:00
Mike Hunhoff
7ecf292095
render: don't assume prior matches exist within thread ( #2612 )
...
* render: don't assume prior matches exist within thread
* update CHANGELOG
* update comments
2025-03-03 17:49:03 -07:00
Capa Bot
45ea683d19
Sync capa-testfiles submodule
2025-02-26 08:56:48 +00:00
Capa Bot
2b95fa089d
Sync capa rules submodule
2025-02-25 15:59:41 +00:00
Mike Hunhoff
d3d71f97c8
vmray: only verify process OS and monitor ID match ( #2613 )
2025-02-24 14:14:05 -07:00
Willi Ballenthin
4c9d81072a
main: don't require rules to render result document directly ( #2611 )
2025-02-24 17:47:00 +01:00
Capa Bot
a94c68377a
Sync capa rules submodule
2025-02-22 19:41:30 +00:00
Capa Bot
14e076864c
Sync capa-testfiles submodule
2025-02-22 19:13:14 +00:00
Capa Bot
6684f9f890
Sync capa rules submodule
2025-02-21 19:37:24 +00:00
dependabot[bot]
e622989eeb
build(deps): bump psutil from 6.1.0 to 7.0.0 ( #2605 )
...
Bumps [psutil](https://github.com/giampaolo/psutil ) from 6.1.0 to 7.0.0.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-6.1.0...release-7.0.0 )
---
updated-dependencies:
- dependency-name: psutil
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-02-21 10:26:04 -07:00
Capa Bot
9c9dd15bf9
Sync capa rules submodule
2025-02-21 16:29:46 +00:00
Capa Bot
06fad4a89e
Sync capa-testfiles submodule
2025-02-21 12:17:50 +00:00
Capa Bot
e06a0ab75f
Sync capa rules submodule
2025-02-21 12:16:25 +00:00
Capa Bot
0371ade358
Sync capa rules submodule
2025-02-20 22:18:12 +00:00
dependabot[bot]
80b5a116a5
build(deps): bump pygithub from 2.5.0 to 2.6.0 ( #2604 )
...
Bumps [pygithub](https://github.com/pygithub/pygithub ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/pygithub/pygithub/releases )
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst )
- [Commits](https://github.com/pygithub/pygithub/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: pygithub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 12:50:10 -07:00
dependabot[bot]
9a270e6bdd
build(deps): bump pyinstaller from 6.11.1 to 6.12.0 ( #2602 )
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.11.1 to 6.12.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.11.1...v6.12.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-02-19 20:35:07 +01:00
dependabot[bot]
8773bc77ab
build(deps): bump mypy from 1.14.1 to 1.15.0 ( #2601 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2025-02-19 20:34:51 +01:00
Mike Hunhoff
a278bf593a
cape: models: parse minimum fields required for analysis ( #2607 )
...
* cape: models: parse minimum fields required for analysis
* update CHANGELOG
2025-02-19 08:55:12 -07:00
Capa Bot
f85cd80d90
Sync capa rules submodule
2025-02-11 09:25:04 +00:00
Willi Ballenthin
736ad1cbc8
version v9 ( #2590 )
...
* v9.0.0
* changelog: remove testing rule file
* changelog: v9
* changelog: v9
* update homepage with v9 release
2025-02-05 09:41:32 +01:00
Capa Bot
bc4cfb8111
Sync capa rules submodule
2025-02-04 20:50:02 +00:00
Capa Bot
93ec5425f7
Sync capa rules submodule
2025-02-04 20:49:39 +00:00
Capa Bot
245d8dd6ed
Sync capa rules submodule
2025-02-04 20:48:27 +00:00
Willi Ballenthin
40203a0f83
Fix/tests in master ( #2592 )
2025-02-04 21:48:13 +01:00
Willi Ballenthin
5467fac1a5
Fix/lints in master ( #2589 )
...
* requirements: fix yanked protobuf version
* binja: insn: fix lints
2025-02-04 12:08:24 +01:00
Capa Bot
ced9516bb4
Sync capa rules submodule
2025-02-04 09:23:30 +00:00
vibhatsu
a8e8935212
Replace binascii and struct with native Python methods ( #2582 )
...
* refactor: replace binascii with bytes for hex conversions
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor: replace struct unpacking with bytes conversion
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* simplify byte extraction for ELF header
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* Revert "refactor: replace struct unpacking with bytes conversion"
This reverts commit 483f8c9a85 .
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
---------
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-02-04 09:53:36 +01:00
dependabot[bot]
96f9e7cffc
build(deps): bump black from 24.10.0 to 25.1.0 ( #2586 )
...
Bumps [black](https://github.com/psf/black ) from 24.10.0 to 25.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.10.0...25.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-02-04 09:52:14 +01:00
dependabot[bot]
ef6bff3267
build(deps): bump isort from 5.13.2 to 6.0.0 ( #2585 )
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.13.2 to 6.0.0.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.13.2...6.0.0 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-02-04 09:51:27 +01:00
Capa Bot
b6171cf96b
Sync capa rules submodule
2025-02-04 08:32:52 +00:00
Capa Bot
38c813e063
Sync capa rules submodule
2025-02-03 18:55:40 +00:00
Willi Ballenthin
6d19226ee9
rules: scopes can now have subscope blocks with same scope ( #2584 )
2025-02-03 19:54:05 +01:00
Dhruva Kumar Kaushal
923e5e1130
use _yield from []_ to create empty generator when needed #2572 ( #2581 )
...
* use _yield from []_ to create empty generator when needed #2572
* Update PR with fixes
* solved CI code style error
* Fixed formatting with black
* Fixed formatting with black
* code styles error
* code styles error
* code styles error
* code style error
* Update capa-rules submodule to master
* Similar changes to other files
---------
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-02-03 16:25:59 +01:00
vibhatsu
cff8a6ac87
Feat/warn for dynamic dotnet ( #2568 )
...
* add warning for dynamic dotnet samples
* format passing
* update CHANGELOG
* minor bug fix
* refactor: add static and dynamic limitation checks to capabilites
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor: rename file limitation checks to static limitation checks
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* reformatting
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor: separate static and dynamic limitation rule checks, remove comments
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* enhance capability handling with new Capabilities dataclass and update related functions
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor: reorganize limitation rule functions
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
---------
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-02-03 11:48:02 +01:00
vibhatsu
2798d605bc
add lint for duplicate feature under a statement ( #2573 )
...
* add lint for duplicate feature under a statement
* add support for more scopes
* fix format for duplicate feature lint
* fix false positives for duplicate features lint
* remove unused code and comments
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor duplicate feature lint to use yaml parser
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* clarify for using rule definition
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* update CHANGELOG
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
* refactor duplicate feature lint to improve key generation and tracking of line numbers
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
---------
Signed-off-by: vibhatsu <maulikbarot2915@gmail.com >
2025-01-31 10:05:53 +01:00
Capa Bot
91d0d8c212
Sync capa rules submodule
2025-01-29 17:55:01 +00:00
Willi Ballenthin
618a5fa2e5
pyproject: remove pytest-cov
...
closes #2491
2025-01-29 18:54:42 +01:00
Willi Ballenthin
712e35c6f7
feat: add lint to validate rule dependency scope compatibility
...
closes #2124
2025-01-29 18:53:30 +01:00
Capa Bot
83ec75c49d
Sync capa rules submodule
2025-01-29 09:41:14 +00:00
Willi Ballenthin
990fd20757
update submodules
2025-01-29 02:25:06 -07:00
Willi Ballenthin
caae77dab6
vverbose: don't render full ppid/pid/tid in nested blocks, only callid
2025-01-29 02:25:06 -07:00
Willi Ballenthin
4f844533c5
vverbose: don't use plural "calls" when there's a single call
2025-01-29 02:25:06 -07:00
Willi Ballenthin
9a0c4f712d
vverbose: fix rendering of span-of-calls summaries
...
https://github.com/mandiant/capa/pull/2532#discussion_r1920711965
vverbose: fix collection of span-of-calls call match locations
2025-01-29 02:25:06 -07:00
Willi Ballenthin
cdc1cb7afd
rename "sequence" scope to "span of calls" scope
...
pep8
fix ref
update submodules
update testfiles submodule
duplicate variable
2025-01-29 02:25:06 -07:00
Willi Ballenthin
277504c7b7
changelog: add sequence scope
2025-01-29 02:25:06 -07:00
Willi Ballenthin
a1d46bc3c0
sequence: don't update feature locations in place
...
pep8
2025-01-29 02:25:06 -07:00
Willi Ballenthin
e6bdcff5d9
sequence: better collect sequence-related addresses from Range statements
2025-01-29 02:25:06 -07:00
Willi Ballenthin
f55086c212
sequence: refactor into SequenceMatcher
...
contains the call ids for all the calls within the sequence, so we know
where to look for related matched.
sequence: refactor SequenceMatcher
sequence: don't use sequence addresses
sequence: remove sequence address
2025-01-29 02:25:06 -07:00
Willi Ballenthin
39319c57a4
sequence: documentation and tests
...
sequence: add more tests
2025-01-29 02:25:06 -07:00
Willi Ballenthin
86908c9025
sequence scope: optimize matching
2025-01-29 02:25:06 -07:00
Willi Ballenthin
294ff34a30
sequence: only match first overlapping sequence
...
also, for repeating behavior, match only the first instance.
2025-01-29 02:25:06 -07:00
Willi Ballenthin
b06fea130c
dynamic: add sequence scope
...
addresses discussion in
https://github.com/mandiant/capa-rules/discussions/951
pep8
sequence: add test showing multiple sequences overlapping a single event
2025-01-29 02:25:06 -07:00
Willi Ballenthin
8d17319128
capabilities: use dataclasses to represent complicated return types
...
foo
2025-01-29 02:25:06 -07:00
Willi Ballenthin
4896ff01d8
result: make copy of locations
...
to ensure its not modified by reference after we expect it to be
2025-01-29 02:25:06 -07:00
Willi Ballenthin
8329abd3c8
rd: debugging helper formatting
2025-01-29 02:25:06 -07:00
Capa Bot
6eb55d2f39
Sync capa rules submodule
2025-01-28 11:54:46 +00:00
dependabot[bot]
c43e10cd25
build(deps-dev): bump vite from 5.4.6 to 5.4.14 in /web/explorer ( #2569 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.6 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2025-01-28 10:11:42 +01:00
dependabot[bot]
6d336e962f
build(deps): bump pip from 24.3.1 to 25.0 ( #2576 )
...
Bumps [pip](https://github.com/pypa/pip ) from 24.3.1 to 25.0.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/24.3.1...25.0 )
---
updated-dependencies:
- dependency-name: pip
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 10:11:17 +01:00
dependabot[bot]
18d87b70d3
build(deps): bump deptry from 0.22.0 to 0.23.0 ( #2575 )
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.22.0...0.23.0 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 10:10:48 +01:00
dependabot[bot]
5b53f5b6c5
build(deps): bump pre-commit from 4.0.1 to 4.1.0 ( #2574 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.0.1...v4.1.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 10:10:26 +01:00
Mike Hunhoff
160ce73a35
vmray: loosen file checks to enable processing of additional file types ( #2571 )
...
* vmray: loosen file checks to enable addtional file types
* additional refactor to loosen file checks
* update CHANGELOG
* cleanup comments and small code refactor
* fix lints
* use NO_ADDRESS for submissions that don't have a base address
* update comments
* add test for ps1 trace
2025-01-23 12:47:36 -07:00
Capa Bot
3702baf9a9
Sync capa-testfiles submodule
2025-01-23 18:36:54 +00:00
Colton Gabertan
de0a324117
Ghidra - Fix Security Cookie Check - #2071 ( #2561 )
...
* fix nzxor security cookie check, fix imports for ghidra
* lint ghidra insn
* fix if statement
* re-organize logic for performance
2025-01-22 13:35:26 -07:00
Capa Bot
1742b754c2
Sync capa rules submodule
2025-01-21 18:36:28 +00:00
Capa Bot
23cf2799ca
Sync capa-testfiles submodule
2025-01-21 16:47:14 +00:00
dependabot[bot]
25d82a2a62
build(deps): bump setuptools from 75.6.0 to 75.8.0 ( #2562 )
2025-01-20 08:27:57 -07:00
dependabot[bot]
079a9e30b1
build(deps): bump deptry from 0.21.1 to 0.22.0 ( #2563 )
2025-01-20 08:27:37 -07:00
dependabot[bot]
127c217b5d
build(deps): bump pygments from 2.18.0 to 2.19.1 ( #2564 )
2025-01-20 08:26:56 -07:00
dependabot[bot]
8c8d67c939
build(deps): bump viv-utils from 0.7.11 to 0.8.0 ( #2565 )
2025-01-20 08:26:37 -07:00
dependabot[bot]
c061ec5e2b
build(deps): bump ruff from 0.8.0 to 0.9.2 ( #2566 )
2025-01-20 08:26:20 -07:00
Capa Bot
726c89794f
Sync capa-testfiles submodule
2025-01-17 12:59:22 +00:00
dependabot[bot]
0a547cf0f0
build(deps): bump types-protobuf from 5.28.0.20240924 to 5.29.1.20241207 ( #2534 )
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 5.28.0.20240924 to 5.29.1.20241207.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 02:02:08 -07:00
dependabot[bot]
e00672006f
build(deps): bump six from 1.16.0 to 1.17.0 ( #2533 )
...
Bumps [six](https://github.com/benjaminp/six ) from 1.16.0 to 1.17.0.
- [Changelog](https://github.com/benjaminp/six/blob/main/CHANGES )
- [Commits](https://github.com/benjaminp/six/compare/1.16.0...1.17.0 )
---
updated-dependencies:
- dependency-name: six
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 02:01:00 -07:00
dependabot[bot]
8f8db7b023
build(deps): bump msgspec from 0.18.6 to 0.19.0 ( #2547 )
...
Bumps [msgspec](https://github.com/jcrist/msgspec ) from 0.18.6 to 0.19.0.
- [Release notes](https://github.com/jcrist/msgspec/releases )
- [Commits](https://github.com/jcrist/msgspec/compare/0.18.6...0.19.0 )
---
updated-dependencies:
- dependency-name: msgspec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 02:00:00 -07:00
dependabot[bot]
4411170869
build(deps): bump mypy from 1.13.0 to 1.14.1 ( #2550 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.13.0 to 1.14.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.13.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 01:59:45 -07:00
Willi Ballenthin
72fe291742
strings: fix type hints and uncovered bugs ( #2555 )
...
* strings: fix type hints and uncovered bugs
changelog
add strings tests
strings: fix buf_filled_with
fix strings tests
refactor: optimize and document buf_filled_with function in strings.py
docs: add docstring to buf_filled_with function
doc
strings: add typing
* strings: more validation and testing
thanks @fariss
* copyright
2025-01-16 01:59:16 -07:00
Capa Bot
3eef829410
Sync capa rules submodule
2025-01-15 21:25:53 +00:00
Willi Ballenthin
8c412f361a
elffile: fix handling of symbols without a name
...
closes #2553
elffile: fix key error
2025-01-15 13:45:38 -07:00
Ana Maria Martinez Gomez
df7697db84
[copyright + license] Add missing headers
...
Add copyright and license information headers to the source code files
inside the `web` directory and the `capa/render/proto/capa.proto` file.
I have used addlicense to add the headers.
2025-01-15 08:52:42 -07:00
Ana Maria Martinez Gomez
3cd97ae9f2
[copyright + license] Fix headers
...
Replace the header from source code files using the following script:
```Python
for dir_path, dir_names, file_names in os.walk("capa"):
for file_name in file_names:
# header are only in `.py` and `.toml` files
if file_name[-3:] not in (".py", "oml"):
continue
file_path = f"{dir_path}/{file_name}"
f = open(file_path, "rb+")
content = f.read()
m = re.search(OLD_HEADER, content)
if not m:
continue
print(f"{file_path}: {m.group('year')}")
content = content.replace(m.group(0), NEW_HEADER % m.group("year"))
f.seek(0)
f.write(content)
```
Some files had the copyright headers inside a `"""` comment and needed
manual changes before applying the script. `hook-vivisect.py` and
`pyinstaller.spec` didn't include the license in the header and also
needed manual changes.
The old header had the confusing sentence `All rights reserved`, which
does not make sense for an open source license. Replace the header by
the default Google header that corrects this issue and keep capa
consistent with other Google projects.
Adapt the linter to work with the new header.
Replace also the copyright text in the `web/public/index.html` file for
consistency.
2025-01-15 08:52:42 -07:00
Ana Maria Martinez Gomez
b4aa65daa1
[CONTRIBUTING] Use Google's Code of Conduct
...
Use Google's default Code of Conduct for consistency with other Google's
projects.
2025-01-15 08:52:42 -07:00
Ana Maria Martinez Gomez
bf9753ef93
[CONTRIBUTING] Improve CLA information
...
Improve CLA information to adhere to Google policies.
2025-01-15 08:52:42 -07:00
Ana Maria Martinez Gomez
f768f684b5
[LICENSE] Correct LICENSE file
...
Replace LICENSE text file with the official Apache one:
https://www.apache.org/licenses/LICENSE-2.0.txt
This changes `Copyright (C) 2021 Mandiant, Inc.` by the following
template language that had been incorrectly replaced:
`Copyright [yyyy] [name of copyright owner]`
2025-01-15 08:52:42 -07:00
Mike Hunhoff
c3c93685e2
vmray: skip non-printable strings ( #2551 )
2025-01-08 08:40:32 -07:00
Capa Bot
462e11443e
Sync capa rules submodule
2025-01-07 20:03:05 +00:00
Moritz
32d6181f02
Merge pull request #2541 from mandiant/dependabot/npm_and_yarn/web/explorer/nanoid-3.3.8
...
build(deps): bump nanoid from 3.3.7 to 3.3.8 in /web/explorer
2024-12-17 14:29:32 +01:00
Moritz
6cf944b321
Merge pull request #2542 from mandiant/dependabot/pip/flake8-bugbear-24.12.12
...
build(deps): bump flake8-bugbear from 24.10.31 to 24.12.12
2024-12-17 14:29:19 +01:00
Moritz
369fbc713e
Merge pull request #2538 from mandiant/williballenthin-patch-1
...
readme: avoid scroll on github homepage
2024-12-17 14:28:24 +01:00
Moritz
e3a1dbfac2
Merge pull request #2537 from mandiant/fix/vmray-improvements
...
VMRay and dynamic improvements
2024-12-17 14:27:52 +01:00
dependabot[bot]
e5fe935a8e
build(deps): bump flake8-bugbear from 24.10.31 to 24.12.12
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 24.10.31 to 24.12.12.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.10.31...24.12.12 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 14:12:27 +00:00
dependabot[bot]
233f8dcf9f
build(deps): bump nanoid from 3.3.7 to 3.3.8 in /web/explorer
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 03:58:18 +00:00
mr-tz
51d606bc0d
use default emptry list for ElfFileSection
2024-12-13 11:51:47 +00:00
Willi Ballenthin
2b46796d08
Update README.md
...
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2024-12-12 18:49:39 +01:00
Willi Ballenthin
81f7f43b5b
readme: avoid scroll on github homepage
2024-12-12 14:17:46 +01:00
mr-tz
1f34795fce
vmray and dynamic updates
2024-12-12 10:12:14 +00:00
mr-tz
06f0012183
only check file limitations for static file formats
2024-12-12 10:10:35 +00:00
mr-tz
55720ddbfd
make more fields optional for more flexible model
...
tmp
2024-12-12 10:10:32 +00:00
mr-tz
893378c10e
record origin_monitor_id for more reliable process association
...
tmp
2024-12-12 09:51:08 +00:00
Moritz
1a82b9d0c5
Merge pull request #2536 from mandiant/release/v801
...
update to v8.0.1
2024-12-09 18:11:38 +01:00
mr-tz
3cbc184020
update to v8.0.1
2024-12-09 16:19:30 +00:00
Moritz
347601a112
Merge pull request #2535 from mandiant/fix/ida-find_byte_sequence
...
handle IDA 8.3/8.4 vs. 9.0 API change
2024-12-09 17:11:33 +01:00
mr-tz
8a02b0773d
handle IDA 8.3/8.4 vs. 9.0 API change
2024-12-09 15:06:38 +00:00
Moritz
f11661f8f2
release v8.0.0 ( #2529 )
...
* update to v8.0.0
* update website v8.0.0
2024-12-09 14:15:46 +01:00
Capa Bot
518dc3381c
Sync capa rules submodule
2024-12-09 10:30:27 +00:00
Willi Ballenthin
5c60adaf96
BinExport2: better handle weird Ghidra expressions
...
analogous to the inspect-binexport2 issues reported in #2528 and #2530 ,
but this fixes the feature extractor.
2024-12-09 11:27:11 +01:00
Willi Ballenthin
4ab8d75629
changelog
2024-12-09 11:27:11 +01:00
Willi Ballenthin
51d852d1b3
inspect-binexport: better handle MSRs exported by Ghidra
...
closes #2530
2024-12-09 11:27:11 +01:00
Willi Ballenthin
aa8e4603d1
inspect-binexport2: render aarch64 vector element sizes
...
closes #2528
2024-12-09 11:27:11 +01:00
Willi Ballenthin
6c61a91778
main: use two lines when warning about stack trace
2024-12-09 11:27:11 +01:00
Capa Bot
e633e34517
Sync capa rules submodule
2024-12-09 09:52:22 +00:00
Willi Ballenthin
9c72c9067b
binexport2: better pruning of comma expressions with a single child
2024-12-06 07:19:39 +01:00
Willi Ballenthin
168435cf75
changelog
2024-12-06 07:19:39 +01:00
Willi Ballenthin
5fdf7e61e2
inspect-binexport2: better render ARM lsl/lsr and pruned expressions
2024-12-06 07:19:39 +01:00
Willi Ballenthin
95fc747e6f
binexport2: prune operands more precisely
2024-12-06 07:19:39 +01:00
Willi Ballenthin
1f374e4986
binexport2: fix handling of incorrect thunks ( #2526 )
...
* binexport2: fix handling of incorrect thunks
closes #2524
* changelog
2024-12-05 14:36:09 +01:00
Harshit Wadhwani
28c0234339
Fix: Issue #2307 ( #2439 )
...
* fix #2307
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-12-05 09:53:15 +01:00
Moritz
f57f909e68
Merge pull request #2523 from xusheng6/master
...
binja: move the stack string detection to the function level
2024-12-04 17:43:16 +01:00
Xusheng
02c359f79f
binja: move the stack string detection to the function level. Fix https://github.com/mandiant/capa/issues/2516
2024-12-04 17:00:22 +08:00
Xusheng
4448d612f1
binja: fix up the analysis for the al-khaser_x64.exe_ file. Fix https://github.com/mandiant/capa/issues/2507
2024-12-04 09:36:08 +01:00
Xusheng
d7cf8d1251
Revert "skip test where BN misses the function"
...
This reverts commit 9ad3f06e1d .
2024-12-04 09:36:08 +01:00
Moritz
d1f3e43325
vmray: record command line info ( #2515 )
...
* vmray: record command line info
2024-12-03 19:56:30 +01:00
Capa Bot
83a46265df
Sync capa rules submodule
2024-12-03 16:26:33 +00:00
Moritz
0c64bd4985
Merge pull request #2521 from mandiant/fix/2466-cape-model
...
make Process model flexible and procmemory optional
2024-12-03 14:28:29 +01:00
Capa Bot
ed86e5fb1b
Sync capa rules submodule
2024-12-03 13:12:36 +00:00
Moritz
e1c786466a
Merge pull request #2518 from mandiant/bn/skip-test
...
skip test where BN misses the function
2024-12-03 14:05:24 +01:00
mr-tz
959a234f0e
make Process model flexible and procmemory optional
2024-12-03 13:02:19 +00:00
Moritz
e57de2beb4
Merge pull request #2513 from mandiant/dependabot/pip/protobuf-5.29.0
...
build(deps): bump protobuf from 5.28.2 to 5.29.0
2024-12-03 13:33:59 +01:00
Moritz
9c9b3711c0
Merge pull request #2519 from mandiant/ci/pre-commit
...
upgrade pre-commit config
2024-12-03 13:32:54 +01:00
mr-tz
65e2dac4c4
upgrade pre-commit config
2024-12-03 12:09:38 +00:00
mr-tz
9ad3f06e1d
skip test where BN misses the function
2024-12-03 11:09:38 +00:00
Capa Bot
201ec07b58
Sync capa-testfiles submodule
2024-12-03 08:34:05 +00:00
Capa Bot
c85be8dc72
Sync capa-testfiles submodule
2024-12-03 08:26:34 +00:00
Moritz
54952feb07
Merge pull request #2501 from xusheng6/binja_database_support
...
Binja database support
2024-12-02 17:32:24 +01:00
dependabot[bot]
379d6ef313
build(deps): bump protobuf from 5.28.2 to 5.29.0
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.28.2 to 5.29.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.28.2...v5.29.0 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 15:42:28 +00:00
Xusheng
28fcd10d2e
Add a unit test for Binary Ninja database
2024-12-02 23:34:07 +08:00
Xusheng
a6481df6c4
Add support for loading and analyzing Binary Ninja database
2024-12-02 23:34:07 +08:00
Moritz
abe80842cb
Merge pull request #2511 from xusheng6/fix_llil_access
...
binja: retrieve the LLIL instruction itself without requesting the entire IL function
2024-12-02 14:01:11 +01:00
Xusheng
b6763ac5fe
binja: retrieve the LLIL instruction itself without requesting the entire IL function
2024-12-02 17:11:24 +08:00
Capa Bot
5a284de438
Sync capa rules submodule
2024-11-28 10:34:29 +00:00
Capa Bot
8cfccbcb44
Sync capa-testfiles submodule
2024-11-28 10:25:40 +00:00
Moritz
01772d0de0
Merge pull request #2510 from mandiant/release/web-v1.0.0
...
explorer web: add release v1.0.0
2024-11-27 14:07:59 +01:00
Capa Bot
f0042157ab
🤖 explorer web: add release capa-explorer-web-v1.0.0-6a2330c
2024-11-27 13:03:18 +00:00
Moritz
6a2330c11a
Merge pull request #2508 from fariss/update-web-release-workflow
...
ci: explorer web: modify web-release to open a PR
2024-11-27 14:01:47 +01:00
fariss
02b5e11380
ci: pin Github Actions version in web-release.yml
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-27 14:00:30 +01:00
Soufiane Fariss
32c428b989
ci: explorer web: modify web-release to open a PR
2024-11-26 19:49:10 +01:00
dependabot[bot]
20909c1d95
build(deps): bump python-flirt from 0.8.10 to 0.9.2
...
Bumps [python-flirt](https://github.com/williballenthin/lancelot ) from 0.8.10 to 0.9.2.
- [Release notes](https://github.com/williballenthin/lancelot/releases )
- [Commits](https://github.com/williballenthin/lancelot/compare/v0.8.10...v0.9.2 )
---
updated-dependencies:
- dependency-name: python-flirt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-26 09:53:26 +01:00
dependabot[bot]
035b4f6ae6
build(deps): bump pydantic from 2.9.2 to 2.10.1
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.9.2 to 2.10.1.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.1 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-26 09:53:14 +01:00
dependabot[bot]
cb002567c4
build(deps): bump deptry from 0.20.0 to 0.21.1
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.20.0 to 0.21.1.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.20.0...0.21.1 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-26 09:52:23 +01:00
dependabot[bot]
46c513c0a9
build(deps): bump ruff from 0.7.1 to 0.8.0
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.1...0.8.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-26 09:51:25 +01:00
dependabot[bot]
0f0523d2ba
build(deps): bump setuptools from 75.3.0 to 75.6.0
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.3.0 to 75.6.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.3.0...v75.6.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-26 09:51:12 +01:00
Xusheng
688841fd3b
binja: fix crash when the IL of certain functions are not available. #2249
2024-11-25 21:50:53 +01:00
Xusheng
2a6ba62379
binja: support analyzing x86/x86_64 shellcode with binja backend ( #2489 )
2024-11-25 21:50:53 +01:00
Xusheng
ca7580d417
Update Binary Ninja version to 4.2 ( #2499 )
2024-11-25 21:50:53 +01:00
Capa Bot
7c01712843
Sync capa rules submodule
2024-11-25 08:22:20 +00:00
Capa Bot
ef02e4fe83
Sync capa rules submodule
2024-11-19 16:42:55 +00:00
Moritz
d51074385b
Merge pull request #2490 from mandiant/call-subscope
...
allow call as valid subscope for call scoped rules
2024-11-19 17:34:57 +01:00
Capa Bot
d9ea57d29d
Sync capa rules submodule
2024-11-19 15:51:56 +00:00
Moritz
8b7ec049f4
Merge pull request #2495 from mandiant/dependabot/pip/pygithub-2.5.0
...
build(deps): bump pygithub from 2.4.0 to 2.5.0
2024-11-19 12:29:14 +01:00
Moritz
c05e01cc3a
Merge pull request #2494 from mandiant/dependabot/pip/flake8-comprehensions-3.16.0
...
build(deps): bump flake8-comprehensions from 3.15.0 to 3.16.0
2024-11-19 12:28:57 +01:00
Moritz
11bb0c3fbd
Merge pull request #2493 from mandiant/dependabot/pip/pip-24.3.1
...
build(deps): bump pip from 24.2 to 24.3.1
2024-11-19 12:28:34 +01:00
Moritz
93da346f32
Merge pull request #2492 from mandiant/dependabot/pip/flake8-bugbear-24.10.31
...
build(deps): bump flake8-bugbear from 24.8.19 to 24.10.31
2024-11-19 12:28:13 +01:00
dependabot[bot]
3a2056b701
build(deps): bump setuptools from 75.2.0 to 75.3.0 ( #2485 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.2.0 to 75.3.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.2.0...v75.3.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-19 10:47:04 +01:00
dependabot[bot]
915f3b0511
build(deps): bump pygithub from 2.4.0 to 2.5.0
...
Bumps [pygithub](https://github.com/pygithub/pygithub ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/pygithub/pygithub/releases )
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst )
- [Commits](https://github.com/pygithub/pygithub/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: pygithub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 14:44:53 +00:00
dependabot[bot]
cd61983e43
build(deps): bump flake8-comprehensions from 3.15.0 to 3.16.0
...
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions ) from 3.15.0 to 3.16.0.
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.15.0...3.16.0 )
---
updated-dependencies:
- dependency-name: flake8-comprehensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 14:44:49 +00:00
dependabot[bot]
9627f7e5c3
build(deps): bump pip from 24.2 to 24.3.1
...
Bumps [pip](https://github.com/pypa/pip ) from 24.2 to 24.3.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/24.2...24.3.1 )
---
updated-dependencies:
- dependency-name: pip
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 14:44:44 +00:00
dependabot[bot]
3ebec9ec2b
build(deps): bump flake8-bugbear from 24.8.19 to 24.10.31
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 24.8.19 to 24.10.31.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.8.19...24.10.31 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 14:44:40 +00:00
Capa Bot
295cd413bb
Sync capa rules submodule
2024-11-15 10:12:32 +00:00
mr-tz
03e4778620
allow call as valid subscope for call scoped rules
2024-11-14 11:55:07 +00:00
dependabot[bot]
e8ad207245
build(deps): bump types-psutil from 6.0.0.20240901 to 6.1.0.20241102 ( #2486 )
...
Bumps [types-psutil](https://github.com/python/typeshed ) from 6.0.0.20240901 to 6.1.0.20241102.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-psutil
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-12 12:37:25 +01:00
dependabot[bot]
a31bd2cd15
build(deps): bump pytest-cov from 5.0.0 to 6.0.0 ( #2484 )
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-12 12:35:59 +01:00
dependabot[bot]
9118946ecb
build(deps): bump pyinstaller from 6.10.0 to 6.11.1 ( #2487 )
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.10.0 to 6.11.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.10.0...v6.11.1 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-12 12:35:19 +01:00
dependabot[bot]
7b32706bd4
build(deps): bump psutil from 6.0.0 to 6.1.0 ( #2478 )
...
Bumps [psutil](https://github.com/giampaolo/psutil ) from 6.0.0 to 6.1.0.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-6.0.0...release-6.1.0 )
---
updated-dependencies:
- dependency-name: psutil
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-11-11 16:42:57 +01:00
Moritz
c632d594a6
Use macOS 13 ( #2488 )
...
* update to macos-13
2024-11-11 16:42:26 +01:00
Capa Bot
4398b8ac31
Sync capa-testfiles submodule
2024-11-11 15:21:56 +00:00
dependabot[bot]
ec697c01f9
build(deps): bump mypy from 1.12.1 to 1.13.0 ( #2476 )
2024-10-30 17:03:41 +01:00
dependabot[bot]
097ed73ccd
build(deps): bump ruff from 0.6.4 to 0.7.1 ( #2475 )
2024-10-30 17:03:29 +01:00
Capa Bot
4e121ae24f
Sync capa rules submodule
2024-10-30 15:19:51 +00:00
Capa Bot
322e7a934e
Sync capa rules submodule
2024-10-28 10:24:05 +00:00
dependabot[bot]
7d983af907
build(deps): bump xmltodict from 0.13.0 to 0.14.2 ( #2470 )
...
Bumps [xmltodict](https://github.com/martinblech/xmltodict ) from 0.13.0 to 0.14.2.
- [Changelog](https://github.com/martinblech/xmltodict/blob/master/CHANGELOG.md )
- [Commits](https://github.com/martinblech/xmltodict/compare/v0.13.0...v0.14.2 )
---
updated-dependencies:
- dependency-name: xmltodict
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-23 09:07:05 +02:00
dependabot[bot]
77758e8922
build(deps): bump mypy from 1.11.2 to 1.12.1 ( #2469 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.11.2 to 1.12.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.12.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-23 09:06:28 +02:00
dependabot[bot]
296255f581
build(deps): bump setuptools from 75.1.0 to 75.2.0 ( #2468 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.1.0 to 75.2.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.1.0...v75.2.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-23 09:05:50 +02:00
dependabot[bot]
0237059cbd
build(deps): bump black from 24.8.0 to 24.10.0 ( #2462 )
...
* build(deps): bump black from 24.8.0 to 24.10.0
Bumps [black](https://github.com/psf/black ) from 24.8.0 to 24.10.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.8.0...24.10.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-23 09:04:34 +02:00
Moritz
3241ee599f
Merge pull request #2472 from s-ff/skip-changelog-for-dependabot
...
ci: skip changelog.yml when PR author is `dependabot`
2024-10-23 08:59:05 +02:00
Soufiane Fariss
24236dda0e
ci: skip changelog.yml when PR author is dependabot
2024-10-23 00:05:52 +02:00
dependabot[bot]
d4d856767d
build(deps): bump pre-commit from 3.5.0 to 4.0.1 ( #2464 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.5.0 to 4.0.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.5.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-22 20:13:49 +02:00
Capa Bot
35767e6c6a
Sync capa-testfiles submodule
2024-10-22 15:29:01 +00:00
Fariss
7d8ee6aaac
Merge pull request #2455 from s-ff/web-add-releases-workflow
2024-10-22 15:23:37 +02:00
Capa Bot
23709c9d6a
Sync capa rules submodule
2024-10-22 13:10:23 +00:00
Moritz
bc72b6d14e
Merge pull request #2467 from mandiant/remove-py38-support
...
update minimum Python to 3.10
2024-10-22 15:09:34 +02:00
Fariss
13b1e533f5
Merge branch 'master' into web-add-releases-workflow
2024-10-22 14:51:02 +02:00
mr-tz
7cc3ddd4ea
remove typing_extensions Annotated import
2024-10-22 09:38:33 +00:00
mr-tz
20ae098cda
update Python >= 3.10 and ubuntu
2024-10-22 09:38:32 +00:00
mr-tz
2987eeb0ac
update type annotations
...
tmp
2024-10-22 09:38:25 +00:00
mr-tz
cebf8e7274
update minimum Python to 3.10
2024-10-21 15:25:21 +00:00
Capa Bot
d74225b5e0
Sync capa rules submodule
2024-10-18 19:09:29 +00:00
Capa Bot
70610cd1c5
Sync capa rules submodule
2024-10-16 16:11:44 +00:00
Capa Bot
338107cf9e
Sync capa rules submodule
2024-10-15 15:04:23 +00:00
Moritz
6b88eed1e4
Merge pull request #2461 from mandiant/fix/idabasesave
...
fix save base address
2024-10-14 15:49:58 +02:00
Soufiane Fariss
54badc323d
ci: add CHANGELOG.md for web releases
2024-10-14 12:55:56 +02:00
Fariss
2e2e1bc277
Merge branch 'master' into web-add-releases-workflow
2024-10-14 12:51:25 +02:00
mr-tz
84c9da09e0
fix save base address
2024-10-14 05:28:48 +00:00
Moritz
b2f89695b5
Merge pull request #2460 from mandiant/fix/idaexplorersave
...
fix bug preventing save of capa results
2024-10-14 07:24:00 +02:00
mr-tz
bc91171c65
fix bug preventing save of capa results
2024-10-11 15:13:05 +00:00
Moritz
69190dfa82
Merge pull request #2459 from mandiant/mr-tz-patch-2
...
add v7.4.0 info
2024-10-11 13:03:32 +02:00
Moritz
688afab087
add v7.4.0 info
2024-10-11 12:34:18 +02:00
Fariss
6447319cc7
explorer web: wrap long function calls ( #2447 )
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-10 13:40:04 +02:00
Soufiane Fariss
7be6fe6ae1
changelog: add web releases workflow
2024-10-09 18:15:56 +02:00
Soufiane Fariss
ca7073ce87
ci: add web releases workflow
2024-10-09 18:07:48 +02:00
Moritz
1f7f24c467
Merge pull request #2454 from mandiant/fix/ida9idalib
...
Fix IDA 9.0 / idalib
2024-10-09 18:04:23 +02:00
mr-tz
f2c329b768
rename ida to idapro module for IDA 9.0
2024-10-09 12:20:38 +00:00
mr-tz
22368fbe6f
rename bin_search function
2024-10-09 12:13:11 +00:00
Moritz
6a12ab8598
Merge pull request #2450 from mandiant/dependabot/pip/rich-13.9.2
...
build(deps): bump rich from 13.8.0 to 13.9.2
2024-10-08 10:57:04 +02:00
dependabot[bot]
a4fdb0a3ef
build(deps): bump rich from 13.8.0 to 13.9.2
...
Bumps [rich](https://github.com/Textualize/rich ) from 13.8.0 to 13.9.2.
- [Release notes](https://github.com/Textualize/rich/releases )
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Textualize/rich/compare/v13.8.0...v13.9.2 )
---
updated-dependencies:
- dependency-name: rich
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-07 14:07:10 +00:00
Moritz
c7bb8b8e67
Update Node checkout Actions ( #2446 )
...
* Update setup Node Actions
2024-10-07 11:46:37 +02:00
Tamir K.
41c5194693
Fix/corrupted file architecture key error ( #2444 )
...
* Add try except clause
2024-10-06 08:46:16 +02:00
Moritz
8c8b67a6ea
Merge pull request #2438 from mandiant/mr-tz-patch-2
...
Update build.yml
2024-10-04 14:22:45 +02:00
Moritz
f0cc0fb2b8
Update build.yml
2024-10-04 14:02:53 +02:00
Moritz
fc8089c248
Merge pull request #2426 from mandiant/release/v740
...
Release v7.4.0
2024-10-04 13:51:37 +02:00
mr-tz
d795db9017
include capa explorer web entry
2024-10-04 09:22:11 +00:00
mr-tz
544e3eee5b
bump version to 7.4.0
...
tmp2
tmp2
2024-10-04 09:22:08 +00:00
mr-tz
dfc304d9f6
add Python 3.8 and 3.9 deprecation warning
...
tmp
2024-10-04 09:19:56 +00:00
Capa Bot
54688517c4
Sync capa rules submodule
2024-10-04 09:18:47 +00:00
Moritz
21fc77ea28
Merge pull request #2431 from s-ff/add-provide-feedback-button
...
capa Explorer Web: add provide feedback button
2024-10-03 12:28:17 +02:00
Capa Bot
2976974009
Sync capa rules submodule
2024-10-03 09:39:09 +00:00
Moritz
030954d556
Merge pull request #2433 from mandiant/fix/vmray-string-call-args
...
fix backslash handling in string call arguments
2024-10-03 11:28:34 +02:00
Capa Bot
389a5eb84f
Sync capa-testfiles submodule
2024-10-02 16:56:11 +00:00
mr-tz
6d3b96f0b0
fix backslash handling in string call arguments
2024-10-02 16:54:38 +00:00
Soufiane Fariss
2a13bf6c0b
capa Explorer Web: fix lint
2024-10-02 16:10:23 +02:00
Fariss
e9f4f5bc31
capa Explorer Web: remove unneeded attribute
2024-10-02 16:05:38 +02:00
Soufiane Fariss
e7400be99a
capa Explorer Web: add provide feedback buttom
2024-10-02 15:54:07 +02:00
Moritz
591a1e8fbb
Merge pull request #2430 from s-ff/web-fix-import-features
...
capa Explorer Web: fix import features
2024-10-02 15:29:35 +02:00
Soufiane Fariss
2f5a227fb0
capa Explorer Web: fix import features
2024-10-02 14:49:58 +02:00
Moritz
931ff62421
Merge pull request #2423 from mandiant/dependabot/pip/types-protobuf-5.28.0.20240924
...
build(deps): bump types-protobuf from 5.27.0.20240920 to 5.28.0.20240924
2024-10-02 11:21:12 +02:00
dependabot[bot]
3037307ee8
build(deps): bump pydantic from 2.9.1 to 2.9.2 ( #2389 )
...
* build(deps): bump pydantic from 2.9.1 to 2.9.2
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.1...v2.9.2 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update requirements.txt
* remove pinned sub-dependency
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-10-02 11:20:54 +02:00
Capa Bot
d6c1725d7e
Sync capa rules submodule
2024-10-02 08:41:23 +00:00
Fariss
16eae70c17
capa Explorer Web: improve url navigation ( #2425 )
...
* explorer web: improve url navigation
This commit enhances the navigation guard for the /analysis route to
provide a better user experience when loading data from a URL:
Previously: users browsing to /analysis were always redirected to
the homepage (/).
With this commit:
- If a user accesses /analysis without an rdoc parameter, they are still
redirected to the homepage.
- If a user accesses /analysis with an rdoc parameter, the following
occurs:
The user is redirected to the homepage (/) and the rdoc parameter is
preserved in the URL, capa Explorer Web then loads the rdoc from URL.
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-10-01 19:25:20 +02:00
dependabot[bot]
9e7e6be374
build(deps): bump types-protobuf from 5.27.0.20240920 to 5.28.0.20240924
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 5.27.0.20240920 to 5.28.0.20240924.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-01 11:44:19 +00:00
Moritz
3e8bed1db2
Merge pull request #2421 from mandiant/ci/dependabot-ignore-patch
...
Update dependabot.yml to ignore patch versions
2024-10-01 13:40:34 +02:00
Moritz
e4ac02a968
Update dependabot.yml
2024-10-01 13:32:31 +02:00
dependabot[bot]
eff358980a
build(deps): bump pefile from 2023.2.7 to 2024.8.26 ( #2413 )
2024-09-30 20:24:09 +00:00
Capa Bot
108bd7f224
Sync capa-testfiles submodule
2024-09-30 12:08:25 +00:00
Willi Ballenthin
ab43c8c0c2
loader: fix unhandled name error ( #2411 )
2024-09-30 14:06:14 +02:00
Capa Bot
585dff8b48
Sync capa rules submodule
2024-09-30 12:06:04 +00:00
Capa Bot
cb09041387
Sync capa rules submodule
2024-09-30 12:05:43 +00:00
Capa Bot
80899f3f70
Sync capa-testfiles submodule
2024-09-27 09:53:30 +00:00
Moritz
00d2bb06fd
Merge pull request #2409 from mandiant/fix/2408
...
dynamic: emit complete features for A/W APIs
2024-09-27 11:26:39 +02:00
Moritz
ff1043e976
Merge branch 'master' into fix/2408
2024-09-27 09:35:24 +02:00
Fariss
51a4eb46b8
replace tqdm, termcolor, tabulate with rich ( #2374 )
...
* logging: use rich handler for logging
* tqdm: remove unneeded redirecting_print_to_tqdm function
* tqdm: introduce `CapaProgressBar` rich `Progress` bar
* tqdm: replace tqdm with rich Progress bar
* tqdm: remove tqdm dependency
* termcolor: replace termcolor and update `scripts/`
* tests: update `test_render.py` to use rich.console.Console
* termcolor: remove termcolor dependency
* capa.render.utils: add `write` & `writeln` methods to subclass `Console`
* update markup util functions to use fmt strings
* tests: update `test_render.py` to use `capa.render.utils.Console`
* replace kwarg `end=""` with `write` and `writeln` methods
* tabulate: replace tabulate with `rich.table`
* tabulate: remove `tabulate` and its dependency `wcwidth`
* logging: handle logging in `capa.main`
* logging: set up logging in `capa.main`
this commit sets up logging in `capa.main` and uses a shared
`log_console` in `capa.helpers` for logging purposes
* changelog: replace packages with rich
* remove entry from pyinstaller and unneeded progress.update call
* update requirements.txt
* scripts: use `capa.helpers.log_console` in `CapaProgressBar`
* logging: configure root logger to use `RichHandler`
* remove unused import `inspect`
2024-09-27 09:34:21 +02:00
dependabot[bot]
558bf0fbf2
build(deps): bump protobuf from 5.27.3 to 5.28.2 ( #2390 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.27.3 to 5.28.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.3...v5.28.2 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 09:32:58 +02:00
dependabot[bot]
76aff57467
build(deps): bump setuptools from 70.0.0 to 75.1.0 ( #2392 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 70.0.0 to 75.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v70.0.0...v75.1.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 09:32:18 +02:00
dependabot[bot]
f82fc1902c
build(deps): bump types-protobuf from 5.27.0.20240907 to 5.27.0.20240920 ( #2393 )
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 5.27.0.20240907 to 5.27.0.20240920.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 09:32:08 +02:00
Capa Bot
e9e8fe42ed
Sync capa rules submodule
2024-09-27 07:31:51 +00:00
Mike Hunhoff
80e007787c
dynamic: update CHANGELOG
2024-09-26 14:43:20 -06:00
Mike Hunhoff
bfcc705117
dynamic: vmray: remove redundant test
2024-09-26 14:42:08 -06:00
Mike Hunhoff
834150ad1d
dynamic: drakvuf: fix A/W API detection
2024-09-26 14:36:16 -06:00
Mike Hunhoff
31ec208a9b
dynamic: cape: fix A/W API detection
2024-09-26 14:27:45 -06:00
Mike Hunhoff
a5d9459c42
dynamic: vmray: fix A/W API detection
2024-09-26 14:15:21 -06:00
Moritz
06271a88d4
Fix VMRay missing process data ( #2396 )
...
* get all processes, see #2394
* add tests for process recording
* rename symbols for clarification
* handle single and list entries
* update changelog
* dynamic: vmray: use monitor IDs to track processes and threads
* dynamic: vmray: code refactor
* dynamic: vmray: add sanity checks when processing monitor processes
* dynamic: vmray: remove unnecessary keys() access
* dynamic: vmray: clarify comments
* Update CHANGELOG.md
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
* dynamic: vmray: update CHANGELOG
---------
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-09-26 13:57:30 -06:00
Capa Bot
c48bccf623
Sync capa rules submodule
2024-09-26 17:38:34 +00:00
Capa Bot
9975f769f9
Sync capa-testfiles submodule
2024-09-26 17:34:51 +00:00
Capa Bot
c5d8f99d6f
Sync capa rules submodule
2024-09-26 12:25:36 +00:00
Willi Ballenthin
bcd57a9af1
detect and use third-party analysis backends when possible ( #2380 )
...
* introduce script to detect 3P backends
ref #2376
* add idalib backend
* binary ninja: search for API using XDG desktop entry
ref #2376
* binja: search more XDG locations for desktop entry
* binary ninja: optimize embedded PE scanning
closes #2397
* add script for comparing the performance of analysis backends
2024-09-26 13:21:55 +02:00
Capa Bot
12337be2b7
Sync capa-testfiles submodule
2024-09-25 09:17:50 +00:00
Moritz
25c4902c21
Merge pull request #2400 from mandiant/web/filesize
...
bump upload size limit to 100MB from 10MB
2024-09-24 14:14:42 +02:00
mr-tz
f024e1d54c
bump upload size limit to 100MB from 10MB
2024-09-24 12:09:38 +00:00
Moritz
bab7ed9188
Merge pull request #2395 from mandiant/dependabot/npm_and_yarn/web/explorer/rollup-4.22.4
...
build(deps): bump rollup from 4.21.3 to 4.22.4 in /web/explorer
2024-09-24 13:49:10 +02:00
Capa Bot
6eda8c9713
Sync capa-testfiles submodule
2024-09-24 11:29:53 +00:00
Capa Bot
22e88c860f
Sync capa-testfiles submodule
2024-09-24 11:25:28 +00:00
Capa Bot
7884248022
Sync capa rules submodule
2024-09-24 11:25:18 +00:00
dependabot[bot]
4891fd750f
build(deps): bump rollup from 4.21.3 to 4.22.4 in /web/explorer
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.21.3 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.3...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-24 04:55:36 +00:00
Willi Ballenthin
783e14b949
pyinstaller: use Python 3.12 for standalone build ( #2385 )
...
* pyinstaller: use Python 3.12 for standalone build
closes #2383
* changelog
* ci: build: fix test filename
2024-09-23 22:33:23 +02:00
Willi Ballenthin
74777ad23e
changelog
2024-09-23 20:21:50 +00:00
Willi Ballenthin
01b35e7582
pyproject.toml: bump min python version to 3.8.1
...
fixed #2387
2024-09-23 20:21:50 +00:00
Capa Bot
e29288cc8d
Sync capa rules submodule
2024-09-22 12:09:30 +00:00
Moritz
c4c35ca6e9
Merge pull request #2379 from mandiant/weg/update-homepage
...
update release v7.3.0 info and formatting
2024-09-20 14:46:42 +02:00
Moritz
3b1e0284c0
Merge pull request #2378 from mandiant/doc/update-homepage
...
add update homepage entry
2024-09-20 14:46:27 +02:00
Moritz
7b61d28dd2
Merge pull request #2375 from mandiant/dependabot/npm_and_yarn/web/explorer/vite-5.4.6
...
build(deps-dev): bump vite from 5.3.2 to 5.4.6 in /web/explorer
2024-09-20 12:02:31 +02:00
mr-tz
e3267df5b1
update release v7.3.0 info and formatting
2024-09-20 09:57:01 +00:00
Moritz
9076e5475d
add update homepage entry
2024-09-20 11:14:16 +02:00
Moritz
d1d8badc2e
Merge pull request #2370 from mandiant/release/v730
...
bump to v7.3.0
2024-09-20 10:41:27 +02:00
dependabot[bot]
84d2a18b52
build(deps-dev): bump vite from 5.3.2 to 5.4.6 in /web/explorer
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.3.2 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-17 19:16:36 +00:00
mr-tz
954aeb0ce4
bump to v7.3.0
2024-09-17 15:04:00 +00:00
Moritz
882a68bbd4
Merge pull request #2373 from mandiant/fix/ida75compat
...
fix byte search IDA Pro 7.5 compatability
2024-09-17 16:36:11 +02:00
Moritz
3d2d436d92
Merge branch 'master' into fix/ida75compat
2024-09-17 16:31:48 +02:00
mr-tz
1c64001ed8
fix byte search IDA Pro 7.5 compatability
2024-09-17 12:53:27 +00:00
Moritz
ab20366e2d
Merge pull request #2372 from mandiant/dependabot/pip/pydantic-2.9.1
...
build(deps): bump pydantic from 2.7.3 to 2.9.1
2024-09-17 12:57:12 +02:00
Moritz
ce3ba8ec3c
bump pydantic-core to 2.23.3
2024-09-17 11:54:47 +02:00
dependabot[bot]
fe6995a687
build(deps): bump pydantic from 2.7.3 to 2.9.1
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.7.3 to 2.9.1.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.7.3...v2.9.1 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-17 09:52:46 +00:00
Moritz
4d812f085f
Merge pull request #2366 from mandiant/dependabot/pip/types-protobuf-5.27.0.20240907
...
build(deps): bump types-protobuf from 5.27.0.20240626 to 5.27.0.20240907
2024-09-17 11:45:16 +02:00
Moritz
6c8791a541
Merge pull request #2369 from mandiant/dependabot/pip/build-1.2.2
...
build(deps): bump build from 1.2.1 to 1.2.2
2024-09-17 11:45:06 +02:00
Capa Bot
25111f8a95
Sync capa rules submodule
2024-09-16 15:49:25 +00:00
dependabot[bot]
38fa7f0b80
build(deps): bump build from 1.2.1 to 1.2.2
...
Bumps [build](https://github.com/pypa/build ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/pypa/build/releases )
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/build/compare/1.2.1...1.2.2 )
---
updated-dependencies:
- dependency-name: build
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-16 15:00:39 +00:00
dependabot[bot]
6ebbd1db89
build(deps): bump types-protobuf from 5.27.0.20240626 to 5.27.0.20240907
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 5.27.0.20240626 to 5.27.0.20240907.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-16 15:00:28 +00:00
Capa Bot
93fbdbb51f
Sync capa rules submodule
2024-09-16 12:45:49 +00:00
Capa Bot
adb339419d
Sync capa rules submodule
2024-09-16 12:43:59 +00:00
Capa Bot
25ca29573c
Sync capa-testfiles submodule
2024-09-16 12:18:40 +00:00
Yacine
f4f0347473
Add msgspec to requirements.txt ( #2360 )
...
* add msgspec to requirements.txt
2024-09-13 17:24:25 +02:00
Capa Bot
dc97f5abb5
Sync capa rules submodule
2024-09-13 13:05:30 +00:00
Capa Bot
8b22a7fca2
Sync capa-testfiles submodule
2024-09-13 12:59:45 +00:00
Willi Ballenthin
ee17d75be9
implement BinExport2 backend ( #1950 )
...
* elf: os: detect Android via clang compiler .ident note
* elf: os: detect Android via dependency on liblog.so
* main: split main into a bunch of "main routines"
[wip] since there are a few references to BinExport2
that are in progress elsewhre. Next commit will remove them.
* features: add BinExport2 declarations
* BinExport2: initial skeleton of feature extraction
* main: remove references to wip BinExport2 code
* changelog
* main: rename first position argument "input_file"
closes #1946
* main: linters
* main: move rule-related routines to capa.rules
ref #1821
* main: extract routines to capa.loader module
closes #1821
* add loader module
* loader: learn to load freeze format
* freeze: use new cli arg handling
* Update capa/loader.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* main: remove duplicate documentation
* main: add doc about where some functions live
* scripts: migrate to new main wrapper helper functions
* scripts: port to main routines
* main: better handle auto-detection of backend
* scripts: migrate bulk-process to main wrappers
* scripts: migrate scripts to main wrappers
* main: rename *_from_args to *_from_cli
* changelog
* cache-ruleset: remove duplication
* main: fix tag handling
* cache-ruleset: fix cli args
* cache-ruleset: fix special rule cli handling
* scripts: fix type bytes
* main: nicely format debug messages
* helpers: ensure log messages aren't very long
* flake8 config
* binexport2: formatting
* loader: learn to load BinExport2 files
* main: debug log the format and backend
* elf: add more arch constants
* binexport: parse global features
* binexport: extract file features
* binexport2: begin to enumerate function/bb/insns
* binexport: pass context to function/bb/insn extractors
* binexport: linters
* binexport: linters
* scripts: add script to inspect binexport2 file
* inspect-binexport: fix xref symbols
* inspect-binexport: factor out the index building
* binexport: move index to binexport extractor module
* binexport: implement ELF/aarch64 GOT/thunk analyzer
* binexport: implement API features
* binexport: record the full vertex for a thunk
* binexport: learn to extract numbers
* binexport: number: skipped mapped numbers
* binexport: fix basic block address indexing
* binexport: rename function
* binexport: extract operand numbers
* binexport: learn to extract calls from characteristics
* binexport: learn to extract mnemonics
* pre-commit: skip protobuf file
* binexport: better search for sample file
* loader: add file extractors for BinExport2
* binexport: remove extra parameter
* new black config
* binexport: index string xrefs
* binexport: learn to extract bytes and strings
* binexport: cache parsed PE/ELF
* binexport: handle Ghidra SYMBOL numbers
* binexport2: handle binexport#78 (Ghidra only uses SYMBOL expresssions)
* main: write error output to stderr, not stdout
* scripts: add example detect-binexport2-capabilities.py
* detect-binexport2-capabilities: more documentation/examples
* elffile: recognize more architectures
* binexport: handle read_memory errors
* binexport: index flow graphs by address
* binexport: cleanup logging
* binexport: learn to extract function names
* binexport: learn to extract all function features
* binexport: learn to extract bb tight loops
* elf: don't require vivisect just for type annotations
* main: remove unused imports
* rules: don't eagerly import ruamel until needed
* loader: avoid eager imports of some backend-related code
* changelog
* fmt
* binexport: better render optional fields
* fix merge conflicts
* fix formatting
* remove Ghidra data reference madness
* handle PermissionError when searching sample file for BinExport2 file
* handle PermissionError when searching sample file for BinExport2 file
* add Android as valid OS
* inspect-binexport: strip strings
* inspect-binexport: render operands
* fix lints
* ruff: update config layout
* inspect-binexport: better align comments/xrefs
* use explicit search paths to get sample for BinExport file
* add initial BinExport tests
* add/update BinExport tests and minor fixes
* inspect-binexport: add perf tracking
* inspect-binexport: cache rendered operands
* lints
* do not extract number features for ret instructions
* Fix BinExport's "tight loop" feature extraction.
`idx.target_edges_by_basic_block_index[basic_block_index]` is of type
`List[Edges]`. The index `basic_block_index` was definitely not an
element.
* inspect-binexport: better render data section
* linters
* main: accept --format=binexport2
* binexport: insn: add support for parsing bare immediate int operands
* binexport2: bb: fix tight loop detection
ref #2050
* binexport: api: generate variations of Win32 APIs
* lints
* binexport: index: don't assume instruction index is 1:1 with address
* be2: index instruction addresses
* be2: temp remove bytes feature processing
* binexport: read memory from an address space extracted from PE/ELF
closes #2061
* be2: resolve thunks to imported functions
* be2: check for be2 string reference before bytes/string extraction overhead
* be2: remove unneeded check
* be2: do not process thunks
* be2: insn: polish thunk handling a bit
* be2: pre-compute thunk targets
* parse negative numbers
* update tests to use Ghidra-generated BinExport file
* remove unused import
* black reformat
* run tests always (for now)
* binexport: tests: fix test case
* binexport: extractor: fix insn lint
* binexport: addressspace: use base address recovered from binexport file
* Add nzxor charecteristic in BinExport extractor.
by referencing vivisect implementation.
* add tests, fix stack cookie detection
* test BinExport feature PRs
* reformat and fix
* complete TODO descriptions
* wip tests
* binexport: add typing where applicable (#2106 )
* binexport2: revert import names from BinExport2 proto
binexport2_pb.BinExport2 isnt a package so we can't import it like:
from ...binexport2_pb.BinExport2 import CallGraph
* fix stack offset numbers and disable offset tests
* xfail OperandOffset
* generate symbol variants
* wip: read negative numbers
* update tight loop tests
* binexport: fix function loop feature detection
* binexport: update binexport function loop tests
* binexport: fix lints and imports
* binexport: add back assert statement to thunk calculation
* binexport: update tests to use Ghidra binexport file
* binexport: add additional debug info to thunk calculation assert
* binexport: update unit tests to focus on Ghidra
* binexport: fix lints
* binexport: remove Ghidra symbol madness and fix x86/amd64 stack offset number tests
* binexport: use masking for Number features
* binexport: ignore call/jmp immediates for intel architecture
* binexport: check if immediate is a mapped address
* binexport: emit offset features for immediates likely structure offsets
* binexport: add twos complement wrapper insn.py
* binexport: add support for x86 offset features
* binexport: code refactor
* binexport: init refactor for multi-arch instruction feature parsing
* binexport: intel: emit indirect call characteristic
* binexport: use helper method for instruction mnemonic
* binexport: arm: emit offset features from stp instruction
* binexport: arm: emit indirect call characteristic
* binexport: arm: improve offset feature extraction
* binexport: add workaroud for Ghidra bug that results in empty operands (no expressions)
* binexport: skip x86 stack string tests
* binexport: update mimikatz.exe_ feature count tests for Ghidra
* core: loader: update binja import
* core: loader: update binja imports
* binexport: arm: ignore number features for add instruction manipulating stack
* binexport: update unit tests
* binexport: arm: ignore number features for sub instruction manipulating stack
* binexport: arm: emit offset features for add instructions
* binexport: remove TODO from tests workflow
* binexport: update CHANGELOG
* binexport: remove outdated TODOs
* binexport: re-enable support for data references in inspect-binexport2.py
* binexport: skip data references to code
* binexport: remove outdated TODOs
* Update scripts/inspect-binexport2.py
* Update CHANGELOG.md
* Update capa/helpers.py
* Update capa/features/extractors/common.py
* Update capa/features/extractors/binexport2/extractor.py
* Update capa/features/extractors/binexport2/arch/arm/insn.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* initial add
* test binexport scripts
* add tests using small ARM ELF
* add method to get instruction by address
* index instructions by address
* adjust and extend tests
* handle operator with no children bug
* binexport: use instruction address index
ref: https://github.com/mandiant/capa/pull/1950/files#r1728570811
* inspect binexport: handle lsl with no children
add pruning phase to expression tree building
to remove known-bad branches. This might address
some of the data we're seeing due to:
https://github.com/NationalSecurityAgency/ghidra/issues/6821
Also introduces a --instruction optional argument
to dump the details of a specific instruction.
* binexport: consolidate expression tree logic into helpers
* binexport: index instruction indices by address
* binexport: introduce instruction pattern matching
Introduce intruction pattern matching to declaratively
describe the instructions and operands that we want to
extract. While there's a bit more code, its much more
thoroughly tested, and is less brittle than the prior
if/else/if/else/if/else implementation.
* binexport: helpers: fix missing comment words
* binexport: update tests to reflect updated test files
* remove testing of feature branch
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
Co-authored-by: mr-tz <moritz.raabe@mandiant.com >
Co-authored-by: Lin Chen <larch.lin.chen@gmail.com >
2024-09-12 10:09:05 -06:00
Capa Bot
2fc0783faa
Sync capa-testfiles submodule
2024-09-12 14:56:13 +00:00
Moritz
e07ff1c76c
Update web pages ( #2354 )
...
* extend descriptions and improve styling
* s/capa explorer web/capa Explorer Web
* set htmlWhitespaceSensitivity to ignore and reformat
2024-09-11 20:28:04 +02:00
Capa Bot
f236afe2a6
Sync capa rules submodule
2024-09-11 15:42:34 +00:00
Capa Bot
9b64afab60
Sync capa rules submodule
2024-09-11 15:39:57 +00:00
Moritz
c9f5188c01
Merge pull request #2356 from williballenthin/push-muzpypqtrssq
...
cache: use path to code, not hardcoded relative path
2024-09-11 14:58:51 +02:00
Willi Ballenthin
51d2ea147b
cache: use path to code, not hardcoded relative path
...
closes #2350
2024-09-11 11:37:39 +00:00
dependabot[bot]
7b101b33dc
build(deps): bump vivisect from 1.1.1 to 1.2.1 ( #2345 )
...
* build(deps): bump vivisect from 1.1.1 to 1.2.1
Bumps [vivisect](https://github.com/vivisect/vivisect ) from 1.1.1 to 1.2.1.
- [Changelog](https://github.com/vivisect/vivisect/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/vivisect/vivisect/compare/v1.1.1...v1.2.1 )
---
updated-dependencies:
- dependency-name: vivisect
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump pyasn1 versions
* Bump cxxfilt version
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-09-11 11:18:02 +02:00
Fariss
e70d5b3e27
webui: show capabilities by function - make function count reactive ( #2352 )
...
* web explorer: make function count reflective when show-lib-func is
toggled on/off
* introduce match-count class to mute and minimize match count text labels
* fix typo
2024-09-10 16:46:42 +02:00
dependabot[bot]
529a5de534
build(deps): bump deptry from 0.19.1 to 0.20.0 ( #2344 )
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.19.1...0.20.0 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-09-10 12:56:04 +02:00
Moritz
9459251e12
use new IDAPython 9.0 APIs ( #2339 )
...
* use new IDAPython 9.0 APIs
* add IDAPython compatibility wrappers
2024-09-10 12:55:42 +02:00
Moritz
113b2593fa
Merge pull request #2351 from mandiant/dependabot/pip/ruff-0.6.4
...
build(deps): bump ruff from 0.6.2 to 0.6.4
2024-09-10 12:11:19 +02:00
Moritz
80cae197d1
Merge pull request #2347 from mandiant/dependabot/pip/types-psutil-6.0.0.20240901
...
build(deps): bump types-psutil from 6.0.0.20240621 to 6.0.0.20240901
2024-09-10 12:10:48 +02:00
dependabot[bot]
923132b9b7
build(deps): bump rich from 13.7.1 to 13.8.0 ( #2343 )
...
Bumps [rich](https://github.com/Textualize/rich ) from 13.7.1 to 13.8.0.
- [Release notes](https://github.com/Textualize/rich/releases )
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Textualize/rich/compare/v13.7.1...v13.8.0 )
---
updated-dependencies:
- dependency-name: rich
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-09-10 11:30:16 +02:00
dependabot[bot]
363e70f523
build(deps): bump ruff from 0.6.2 to 0.6.4
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.6.2 to 0.6.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.2...0.6.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 14:04:36 +00:00
Capa Bot
eab3ff8726
Sync capa-testfiles submodule
2024-09-09 13:45:30 +00:00
Capa Bot
f1453eac59
Sync capa-testfiles submodule
2024-09-09 08:57:36 +00:00
Capa Bot
44e6594a1c
Sync capa-testfiles submodule
2024-09-09 08:31:06 +00:00
dependabot[bot]
a4e81540d1
build(deps): bump types-psutil from 6.0.0.20240621 to 6.0.0.20240901
...
Bumps [types-psutil](https://github.com/python/typeshed ) from 6.0.0.20240621 to 6.0.0.20240901.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-psutil
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-02 14:49:59 +00:00
Fariss
68e07fbb9a
web: omit unneeded function param in createCapaRulesUrl ( #2342 )
2024-08-29 10:42:23 -06:00
Willi Ballenthin
729a1a85b7
cli: link to rule names to capa rules website ( #2338 )
...
* web: rules: redirect from various rule names to canonical rule URL
closes #2319
Update index.html
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* cli: link to rule names to capa rules website
* just: make `just lint` run all steps, not fail on first error
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-29 16:56:14 +02:00
Moritz
db4798aaf6
Merge pull request #2335 from mandiant/dependabot/pip/pygithub-2.4.0
...
build(deps): bump pygithub from 2.3.0 to 2.4.0
2024-08-27 12:13:26 +02:00
Moritz
ce62fecbea
Merge pull request #2336 from mandiant/dependabot/pip/flake8-bugbear-24.8.19
...
build(deps): bump flake8-bugbear from 24.4.26 to 24.8.19
2024-08-27 12:13:11 +02:00
Moritz
138c7014e5
Merge pull request #2334 from mandiant/dependabot/pip/ruff-0.6.2
...
build(deps): bump ruff from 0.5.6 to 0.6.2
2024-08-27 12:12:51 +02:00
Moritz
9d8401a9a7
Merge pull request #2333 from mandiant/dependabot/pip/mypy-1.11.2
...
build(deps): bump mypy from 1.11.1 to 1.11.2
2024-08-27 12:12:44 +02:00
Moritz
0db53e5086
Merge pull request #2332 from mandiant/dependabot/pip/pyyaml-6.0.2
...
build(deps): bump pyyaml from 6.0.1 to 6.0.2
2024-08-27 12:12:35 +02:00
Moritz
3223d3f24f
Merge pull request #2208 from mandiant/vmray-extractor
...
dynamic: add extractor for VMRay dynamic sandbox traces
2024-08-27 12:11:36 +02:00
dependabot[bot]
b1a79fba9d
build(deps): bump flake8-bugbear from 24.4.26 to 24.8.19
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 24.4.26 to 24.8.19.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.4.26...24.8.19 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 14:48:38 +00:00
dependabot[bot]
770fefbba8
build(deps): bump pygithub from 2.3.0 to 2.4.0
...
Bumps [pygithub](https://github.com/pygithub/pygithub ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/pygithub/pygithub/releases )
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst )
- [Commits](https://github.com/pygithub/pygithub/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: pygithub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 14:48:34 +00:00
dependabot[bot]
3108ac0928
build(deps): bump ruff from 0.5.6 to 0.6.2
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.5.6 to 0.6.2.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.6...0.6.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 14:48:29 +00:00
dependabot[bot]
7e7d511201
build(deps): bump mypy from 1.11.1 to 1.11.2
...
Bumps [mypy](https://github.com/python/mypy ) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 14:48:15 +00:00
dependabot[bot]
6d6c245241
build(deps): bump pyyaml from 6.0.1 to 6.0.2
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 14:48:08 +00:00
Moritz
fa92cfd43d
Merge branch 'master' into vmray-extractor
2024-08-26 16:18:34 +02:00
Fariss
ed5dd38e7e
feat: auto-generate ruleset cache on source change ( #2133 )
...
* feat: auto-generate ruleset cache on source change
---------
Co-authored-by: mr-tz <moritz.raabe@mandiant.com >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-08-26 14:01:10 +02:00
Fariss
b4f60eca64
web: fix class feature type ( #2331 )
2024-08-26 05:12:55 -06:00
mr-tz
e46811685d
Merge branch 'vmray-extractor' of github.com:mandiant/capa into vmray-extractor
2024-08-26 10:54:36 +00:00
Moritz
6ce130e6da
Merge branch 'master' into vmray-extractor
2024-08-26 12:34:03 +02:00
Capa Bot
a380609514
Sync capa-testfiles submodule
2024-08-26 10:30:55 +00:00
Moritz
e71f90c618
dos2unix ( #2330 )
2024-08-26 12:22:06 +02:00
mr-tz
9eab7eb143
update names
2024-08-26 10:11:51 +00:00
mr-tz
e8550f242c
rename using dashes for consistency
2024-08-26 09:55:00 +00:00
Moritz
d98c315eb4
Merge branch 'master' into vmray-extractor
2024-08-26 11:31:18 +02:00
Fariss
a779cf2a28
cli: add note about capa explorer web to CLI help text ( #2329 )
...
* cli: add note about capa explorer web to CLI help text
---------
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-08-26 09:22:55 +02:00
Moritz
a5c14c32b8
Merge pull request #2312 from s-ff/edit-explorer-landing-page
...
Edit explorer landing page
2024-08-23 17:30:38 +02:00
Fariss
88a632c2d4
Update web/explorer/README.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-23 17:21:12 +02:00
Fariss
89443742cd
Update web/explorer/README.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-23 17:21:06 +02:00
Soufiane Fariss
1ffee81cea
introduce getting started step to explorer landing page
2024-08-23 17:13:43 +02:00
Willi Ballenthin
6c883f37a8
add .justfile ( #2325 )
2024-08-22 13:25:53 +02:00
Moritz
dcc74eb07a
Merge pull request #2326 from mandiant/williballenthin-patch-1
...
readme: add quick links to header
2024-08-22 13:25:06 +02:00
Moritz
0a6bc20eed
Merge pull request #2324 from williballenthin/fix/2323
...
rules: deduplicate API features with stripped DLL
2024-08-22 13:22:05 +02:00
dependabot[bot]
df3c265bd5
build(deps): bump deptry from 0.17.0 to 0.19.1 ( #2303 )
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.17.0 to 0.19.1.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.17.0...0.19.1 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-08-22 13:18:19 +02:00
dependabot[bot]
73120a5c0b
build(deps): bump humanize from 4.9.0 to 4.10.0 ( #2304 )
...
Bumps [humanize](https://github.com/python-humanize/humanize ) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/python-humanize/humanize/releases )
- [Commits](https://github.com/python-humanize/humanize/compare/4.9.0...4.10.0 )
---
updated-dependencies:
- dependency-name: humanize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 13:16:45 +02:00
dependabot[bot]
a0ed2127f9
build(deps): bump flake8 from 7.1.0 to 7.1.1 ( #2306 )
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 7.1.0 to 7.1.1.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 13:16:36 +02:00
Willi Ballenthin
4df8b2b7ed
readme: add quick links to header
...
closes #2321
2024-08-22 13:11:07 +02:00
Willi Ballenthin
68a38b6e6f
rules: deduplicate API features with stripped DLL
...
closes #2323
2024-08-22 10:34:53 +00:00
Willi Ballenthin
a33f67b48e
add landing page and rules website ( #2310 )
...
* web: index: add gif of capa running
* index: add screencast of running capa
produced via:
```
asciinema capa.cast
./capa Practical\ Malware\ Analysis\ Lab\ 01-01.dll_
<ctrl-d>
agg --no-loop --theme solarized-light capa.cast capa.gif
```
* web: index: start to sketch out style
* web: landing page
* web: merge rules website
* web: rules: update bootstrap and integrate rules
* web: rules: use pygments to syntax highlight rules
Use the Pygments syntax-highlighting library to parse
and render the YAML rule content. This way we don't have
to manually traverse the rule nodes and emit lists; instead,
we rely on the fact that YAML is pretty easy for humans
to read and let them consume it directly, with some text
formatting to help hint at the types/structure.
* web: rules: use capa to load rule content
capa (the library) has routines for deserializing the YAML
content into structured objects, which means we can use tools
like mypy to find bugs. So, prefer to use those routines instead
of parsing YAML ourselves.
* web: rules: linters
Run and fix the issues identified by the following linters:
- isort
- black
- ruff
- mypy
* web: rules: add some links to rule page
Add links to the following external resources:
- GitHub rule source in capa-rules repo
- VirusTotal search for matching samples
* web: rules: accept ?q= parameter for initial search
Update the rules landing page to accept a HTTP
query parameter named "q" that specifies an initial
search term to to pass to pagefind. This enables
external pages link to rule searches.
* web: rules: add link to namespace search
* web: rules: use consistent header
Import header from root capa landing page.
* web: rules: add umami script
* web: add initial whats new section, TODOs
* web: rules: remove old images
* changelog
* CI: remove temporary branch push event triggers
* Delete web/rules/public/css/bootstrap-4.5.2.min.css
* Delete web/rules/public/js/bootstrap-4.5.2.min.js
* Delete web/public/img/capa.cast
* Rename readme.md to README.md
* web: rules: add scripts to pre-commit configs
* web: rules: add scripts to pre-commit configs
* lints
* ci: add temporary branch push trigger to get incremental builds
* web: rules: assert start_dir must exist
* ci: web: rules: deep checkout so we can get rule history
* web: rules: check output of subprocess
* web: rules: factor out common CSS
* web: rules: fix header links
* web: rules: only index rule content, not surrounding text
* ci: web: remote temporary branch push trigger
2024-08-22 09:42:40 +02:00
Soufiane Fariss
f2ed09861e
web: modify theming and add info to landing page
2024-08-21 18:49:26 +02:00
Soufiane Fariss
5b583bdf35
edit main README.md
2024-08-21 18:36:25 +02:00
Soufiane Fariss
9959eb6bae
web: edit explorer README
2024-08-21 18:33:58 +02:00
Fariss
c3f24c2f48
Merge pull request #2301 from s-ff/use-gzipped-preview
...
web: don't bundle preview data in build and release
2024-08-21 18:06:28 +02:00
Fariss
2c41d3ce89
Merge branch 'master' into use-gzipped-preview
2024-08-21 18:05:05 +02:00
Fariss
980814f7df
update code comment
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-21 16:24:58 +02:00
Soufiane Fariss
6049062173
fix: typo Preview Dynamic
2024-08-21 11:05:21 +02:00
Soufiane Fariss
05083cfb6e
refactor and optimize parseRules routine
2024-08-21 11:05:21 +02:00
Soufiane Fariss
0bdfb37287
use monospace font for match location nodes
2024-08-21 11:05:21 +02:00
Soufiane Fariss
5f5393af69
dynamic: disable process column and collapse pid into process
2024-08-21 11:05:21 +02:00
Soufiane Fariss
5c1c1b0ba9
remove default option scrollable and minify text
2024-08-21 11:05:21 +02:00
Soufiane Fariss
8fd90883b4
web: refactor and add support for laoding remote .gz using rdoc query param
2024-08-21 11:05:21 +02:00
Willi Ballenthin
22d20ed2b8
web: add umami script for collecting metrics ( #2308 )
2024-08-20 22:53:01 +02:00
Moritz
b3dd76adff
Merge branch 'master' into use-gzipped-preview
2024-08-20 20:25:29 +02:00
Yacine
f6b7582606
bump to v7.2.0 ( #2297 )
...
* update CHANGELOG.md and version.py
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-20 20:12:46 +02:00
Yacine
791f5e2359
Add the ability to select which functions or processes you which to extract capabilities from ( #2156 )
2024-08-20 14:09:46 +02:00
Soufiane Fariss
c4c35e914d
fix lint
2024-08-19 17:19:57 +02:00
Soufiane Fariss
1593779d6b
use preview buttons as redirect to static URLs
2024-08-19 17:17:07 +02:00
Soufiane Fariss
5c6faaefff
relax version down to 6.1.0
2024-08-19 17:17:07 +02:00
Soufiane Fariss
864cd77f9f
remove loading function for preview data
2024-08-19 17:17:07 +02:00
Soufiane Fariss
164e075ca9
fix preview data placeholders
2024-08-19 15:51:06 +02:00
Soufiane Fariss
7592cfe268
don't include preview files in bundle mode
2024-08-19 15:22:12 +02:00
Soufiane Fariss
6a2039e7a6
bump max matches in dynamic mode to 25 matches per rule
2024-08-19 15:21:38 +02:00
Soufiane Fariss
0e4872507d
process gzipped files
2024-08-19 15:20:27 +02:00
Soufiane Fariss
dd6cb4acc3
declare gzip files as static assets in vite.config.js
2024-08-19 15:19:30 +02:00
Soufiane Fariss
7e766048fa
remove preview buttons in release mode
2024-08-19 15:13:02 +02:00
Soufiane Fariss
7c26490caa
remove download button in release mode
2024-08-19 15:12:33 +02:00
Moritz
c409b2b7ed
Merge pull request #2300 from s-ff/add-file-scope-rules
2024-08-17 09:09:08 +02:00
Yacine
6ff08aeeaf
Merge branch 'master' into vmray-extractor
2024-08-17 02:15:01 +01:00
Soufiane Fariss
4501955728
remove octal repr for hex values
2024-08-16 23:37:30 +02:00
Capa Bot
6b4591de14
Sync capa rules submodule
2024-08-16 18:57:36 +00:00
Soufiane Fariss
00cce585d6
remove sorting from columns
2024-08-16 18:52:53 +02:00
Soufiane Fariss
19e2097f79
change placeholder text
2024-08-16 18:52:02 +02:00
Soufiane Fariss
b67bd4d084
add file-level rules to capabilities by function
2024-08-16 18:23:44 +02:00
Soufiane Fariss
854759cb43
add tooltip to show decimal/octal rep
2024-08-16 18:17:34 +02:00
Moritz
348e0b3203
Merge pull request #2299 from s-ff/issue/2236
...
web: add copy rule name and description to VT to right click menu
2024-08-16 17:21:31 +02:00
Soufiane Fariss
03e2195582
add copy rule name and description to VT
2024-08-16 16:49:51 +02:00
Capa Bot
076bb13e2d
Sync capa rules submodule
2024-08-16 14:05:19 +00:00
Moritz
76bd1460ba
Merge pull request #2298 from s-ff/fixes-2288-2289-2290
...
web: fix global search and add UI tweaks
2024-08-16 15:02:59 +02:00
Capa Bot
14a7bab890
Sync capa rules submodule
2024-08-16 12:18:34 +00:00
Soufiane Fariss
8ca88d94d5
disable show lib rules button if none
2024-08-16 14:14:29 +02:00
Capa Bot
9d3f732b33
Sync capa rules submodule
2024-08-16 11:25:22 +00:00
Soufiane Fariss
d3e3c966d6
web: introduce column filters and UI tweaks
2024-08-16 12:57:44 +02:00
Capa Bot
e402aab41d
Sync capa-testfiles submodule
2024-08-15 20:03:31 +00:00
Soufiane Fariss
c73abb8855
add 'distinct' keyword to clarify count is distinct
2024-08-15 17:05:47 +02:00
Soufiane Fariss
04071606cd
fix global search in shhow capabilities by function
2024-08-15 17:03:02 +02:00
Moritz
19698b1ba1
Merge pull request #2296 from s-ff/rearrange-navbar-icons
...
rearrange navbar icons
2024-08-15 16:58:31 +02:00
Soufiane Fariss
25e9e18097
rearrange navbar icons
...
moves FLARE logo to the right left side, and make a link to /
2024-08-15 16:48:54 +02:00
Moritz
3a21648e78
Merge pull request #2294 from s-ff/render-results-in-analysis
...
web: diplay results in new /analysis route
2024-08-15 16:28:20 +02:00
Soufiane Fariss
8dcb7a473e
web: diplay results in new /analysis route
2024-08-15 16:10:41 +02:00
Capa Bot
cf91503dc3
Sync capa rules submodule
2024-08-15 12:33:40 +00:00
Moritz
d8691edd15
Merge pull request #2282 from mandiant/dependabot/pip/types-psutil-6.0.0.20240621
...
build(deps): bump types-psutil from 5.8.23 to 6.0.0.20240621
2024-08-15 14:30:57 +02:00
Moritz
56a6f9c83e
Merge pull request #2281 from mandiant/dependabot/pip/pip-24.2
...
build(deps): bump pip from 24.1.2 to 24.2
2024-08-15 11:40:59 +02:00
Moritz
e25e68e169
Merge pull request #2280 from mandiant/dependabot/pip/black-24.8.0
...
build(deps): bump black from 24.4.2 to 24.8.0
2024-08-15 11:40:41 +02:00
dependabot[bot]
728742a1ad
build(deps): bump types-psutil from 5.8.23 to 6.0.0.20240621
...
Bumps [types-psutil](https://github.com/python/typeshed ) from 5.8.23 to 6.0.0.20240621.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-psutil
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-15 09:31:06 +00:00
Moritz
da273824d1
Merge pull request #2279 from mandiant/dependabot/pip/pyinstaller-6.10.0
...
build(deps): bump pyinstaller from 6.9.0 to 6.10.0
2024-08-15 11:30:05 +02:00
Moritz
7a6f63cf2b
Merge pull request #2278 from mandiant/dependabot/pip/types-requests-2.32.0.20240712
...
build(deps): bump types-requests from 2.32.0.20240602 to 2.32.0.20240712
2024-08-15 11:29:52 +02:00
Capa Bot
d62734ecc2
Sync capa-testfiles submodule
2024-08-14 12:20:36 +00:00
Capa Bot
5ccb642929
Sync capa rules submodule
2024-08-14 08:48:33 +00:00
Moritz
8d5fcdf287
Merge pull request #2201 from Ana06/ida_apis
...
ida extractor: extract APIs from renamed globals
2024-08-13 17:59:11 +02:00
Ana Maria Martinez Gomez
be8499238c
ida extractor: extract APIs from renamed globals
...
Add support to extract dynamically resolved APIs stored in global
variables that have been renamed (for example using the `renimp.idc`
script included with IDA Pro).
2024-08-13 17:15:14 +02:00
Capa Bot
40c7714c48
Sync capa-testfiles submodule
2024-08-13 14:59:22 +00:00
Capa Bot
460590cec0
Sync capa-testfiles submodule
2024-08-13 14:59:00 +00:00
Capa Bot
25d2ef30e7
Sync capa-testfiles submodule
2024-08-13 14:58:53 +00:00
Moritz
71ae51ef69
Merge pull request #2284 from s-ff/move-release-to-public
...
use relative path for zip release asset
2024-08-12 17:45:51 +02:00
Soufiane Fariss
216bfb968d
fix typo, and move release asset to public dir
...
This commit -
- fixes a a typo in package.json (outDir)
- sets the href of the zip file to ./
- moves the zip asset to the public dir.
Note: public dir is a special dir which hosts files that would be served
as is, so it makes sense to put the release for download there.
2024-08-12 17:26:50 +02:00
dependabot[bot]
32cb0365f8
build(deps): bump pip from 24.1.2 to 24.2
...
Bumps [pip](https://github.com/pypa/pip ) from 24.1.2 to 24.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/24.1.2...24.2 )
---
updated-dependencies:
- dependency-name: pip
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 14:33:31 +00:00
dependabot[bot]
b299e4bc1f
build(deps): bump black from 24.4.2 to 24.8.0
...
Bumps [black](https://github.com/psf/black ) from 24.4.2 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 14:33:26 +00:00
dependabot[bot]
bc2802fd72
build(deps): bump pyinstaller from 6.9.0 to 6.10.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.9.0...v6.10.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 14:33:21 +00:00
dependabot[bot]
81a14838bd
build(deps): bump types-requests from 2.32.0.20240602 to 2.32.0.20240712
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.32.0.20240602 to 2.32.0.20240712.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 14:33:17 +00:00
Fariss
1c9a86ca20
Merge pull request #2275 from s-ff/add-download-button
...
web: add button to download release
2024-08-12 16:03:47 +02:00
Fariss
32fefa60cc
Merge branch 'master' into add-download-button
2024-08-12 15:25:41 +02:00
Soufiane Fariss
09bbe80dfb
add download button to download release
2024-08-12 14:52:14 +02:00
Moritz
239ad4a17e
reorganize and extend readme ( #2258 )
...
* reorganize and extend readme
2024-08-12 12:50:19 +02:00
Fariss
ab3b074c6a
Skip build checks on documentation updates ( #2271 )
...
* skip build checks on documentation updates
2024-08-12 12:26:14 +02:00
Fariss
e863ce5ff3
web: fix build warnings ( #2268 )
...
* web: remove unneeded import
* web: fix code comments style
2024-08-12 10:39:33 +02:00
Willi Ballenthin
8e4c0e3040
web: separate build and deploy, incorporate landing page ( #2264 )
2024-08-10 11:57:50 +02:00
Fariss
401a0ee0ff
web: change base url for capa Explorer Web ( #2267 )
2024-08-09 22:02:21 +02:00
Fariss
f69fabc2b0
add path exclusions to python tests.yml workflow ( #2263 )
...
* add path exclusions to tests.yml
* changelog: ci: add exclusions to tests.yml
* changelog: update entry
* update exclusion list in tests.yml
2024-08-09 16:12:08 +02:00
Moritz
c0a7f765c5
Merge branch 'master' into vmray-extractor
2024-08-09 13:58:45 +02:00
lakshay
87f691677c
#2119 issue: use bytes.fromhex instead of binascii ( #2235 )
...
* #2119 issue: use bytes.fromhex instead of binascii
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-08-09 12:25:25 +02:00
Moritz
ea9853e667
Merge pull request #2224 from s-ff/webui
...
initial release of Capa Explorer Web
2024-08-09 10:06:26 +02:00
Willi Ballenthin
312dd0d40f
Merge branch 'master' into webui
2024-08-08 13:49:35 +02:00
Willi Ballenthin
44cbe664e4
Update web/explorer/README.md
2024-08-08 13:06:04 +02:00
Willi Ballenthin
6b8e2b3e81
Update web/explorer/README.md
2024-08-08 13:05:57 +02:00
Willi Ballenthin
ba9ab7c876
Update web/explorer/DEVELOPMENT.md
2024-08-08 13:05:48 +02:00
Soufiane Fariss
1af97f6681
update web workflow Format steps to use npm run format:check
2024-08-08 10:33:07 +02:00
Soufiane Fariss
05575e1e92
encore rdoc query paramter URL
2024-08-08 09:10:47 +02:00
Soufiane Fariss
9d137a207f
replace path traversal with @ path shortcut
2024-08-08 08:57:37 +02:00
Soufiane Fariss
850ae5a916
tests: update unit tests after refactoring parseFunctionCapabilities
2024-08-08 08:42:45 +02:00
Soufiane Fariss
e8054c277d
add deploy and tests workflows
2024-08-08 08:14:47 +02:00
Soufiane Fariss
e8ea461456
fix formatting
2024-08-08 08:12:50 +02:00
Soufiane Fariss
bb8991af8e
fix formatting
2024-08-08 08:10:32 +02:00
Soufiane Fariss
368f635387
minor fixes: NamespaceChart and ProcessCapabilities
2024-08-08 07:18:56 +02:00
Soufiane Fariss
287e4282a9
set web-app version to 1.0.0
2024-08-08 07:18:16 +02:00
Soufiane Fariss
1f6ce48e40
refactor RuleMatchesTable
...
This commit:
- add two new base CSS utility classes
- stores the results of parsing in sessionStorage for reuse
- add a new settings option `Show column filters`
- replaces ../../../ with a path shortcut
2024-08-08 07:13:42 +02:00
Soufiane Fariss
7cb31cf23c
refactor: add new URL creation helper functions for VT and capa-rules
2024-08-08 07:11:31 +02:00
Soufiane Fariss
01e6619182
update Import Analysis url
2024-08-08 07:10:49 +02:00
Soufiane Fariss
20d7bf1402
gitignore: update gitignore
2024-08-08 07:09:24 +02:00
Soufiane Fariss
6b8983c0c4
simplify function capabilities
2024-08-08 07:08:46 +02:00
Soufiane Fariss
97bd4992b1
add path resolving shortcuts "@"
2024-08-08 07:06:41 +02:00
Soufiane Fariss
843fd34737
changelog: update entry
2024-08-08 07:05:24 +02:00
Soufiane Fariss
dfc19d8cb2
Update docuemntation
2024-08-08 07:04:17 +02:00
Capa Bot
1564f24330
Sync capa rules submodule
2024-08-07 09:31:59 +00:00
Capa Bot
0d87bb0504
Sync capa-testfiles submodule
2024-08-07 08:51:38 +00:00
Soufiane Fariss
db423d9b0a
add comments to rule column components
2024-08-06 18:11:41 +02:00
Soufiane Fariss
ebfba543e6
fix Metadata panel on smaller screens
2024-08-06 17:11:43 +02:00
dependabot[bot]
46c464282e
build(deps): bump ruff from 0.5.2 to 0.5.6 ( #2253 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.5.2 to 0.5.6.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.2...0.5.6 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 09:38:52 +02:00
dependabot[bot]
aa225dac5c
build(deps): bump mypy from 1.10.0 to 1.11.1 ( #2254 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.10.0 to 1.11.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 09:38:31 +02:00
dependabot[bot]
c2376eaf7b
build(deps): bump tqdm from 4.66.4 to 4.66.5 ( #2252 )
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.4 to 4.66.5.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.4...v4.66.5 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 09:38:10 +02:00
dependabot[bot]
6451fa433b
build(deps): bump protobuf from 5.27.1 to 5.27.3 ( #2255 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.27.1 to 5.27.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.1...v5.27.3 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 09:38:01 +02:00
Soufiane Fariss
765c7cb792
add on pull_request trigger to deploy-webui.yml
2024-08-05 19:51:55 +02:00
Soufiane Fariss
b675c9a77c
change target branch to master in deploy-webui.yml
2024-08-05 19:37:32 +02:00
Fariss
ac081336ba
Merge branch 'master' into webui
2024-08-05 16:01:41 +02:00
Soufiane Fariss
a15eb835f4
format code
2024-08-05 15:50:48 +02:00
Soufiane Fariss
fcdaabf34e
update development links
2024-08-05 15:49:00 +02:00
Soufiane Fariss
283aa27152
add DEVELOPMENT.md
2024-08-05 15:47:03 +02:00
Soufiane Fariss
f856ea7454
modify deploy-webui.yml workflow to user web/explorer
2024-08-05 15:33:22 +02:00
nocontribute
ebb778ae0d
delete webui/package-lock.json
2024-08-05 15:21:51 +02:00
Soufiane Fariss
e9e5d2bb12
delete webui
2024-08-05 15:20:40 +02:00
nocontribute
bb1ef6ca56
move package-lock.json to web/explorer
2024-08-05 15:17:47 +02:00
Soufiane Fariss
7e64306f1c
move webui to web/explorer
2024-08-05 15:17:04 +02:00
Soufiane Fariss
6b19e7b372
add README.md for Capa Explorer WebUI
2024-08-05 15:10:38 +02:00
Soufiane Fariss
bb60099ab6
rename window title to 'Capa Explorer'
2024-08-05 14:43:07 +02:00
Soufiane Fariss
d609203fcd
add 404 page
2024-08-05 14:16:06 +02:00
Soufiane Fariss
fcf200f13f
fix metadata panel on small screens
2024-08-05 14:05:46 +02:00
Soufiane Fariss
7cb93c8ebd
update .prettierrc.json, and reformat code
2024-08-05 13:31:45 +02:00
Soufiane Fariss
eb69b383a4
move url creation function to util/urlHelpers.js
2024-08-05 13:19:48 +02:00
Capa Bot
04d127f69f
Sync capa rules submodule
2024-08-05 09:37:13 +00:00
Capa Bot
9dd39926d7
Sync capa-testfiles submodule
2024-08-05 09:36:34 +00:00
Capa Bot
13d14f6cb6
Sync capa rules submodule
2024-08-02 13:05:03 +00:00
Capa Bot
260da8ed2c
Sync capa rules submodule
2024-08-02 13:02:28 +00:00
Soufiane Fariss
a6884db1d3
fix: add lint and test steps to deploy workflow
2024-08-02 02:01:38 +02:00
Soufiane Fariss
67d3916c41
add lint and test steps to deploy workflow
2024-08-02 01:57:58 +02:00
Soufiane Fariss
b0ffc86399
fix lint error
2024-08-02 01:48:51 +02:00
Soufiane Fariss
07b4e1f8a2
implement unit test
2024-08-02 01:26:36 +02:00
Soufiane Fariss
4137923c2e
dynamic: revert to showing 1 match per rule
2024-08-01 21:53:08 +02:00
Soufiane Fariss
33be4d1f8e
dynamic: only show first 20 matches per rule
2024-08-01 21:45:59 +02:00
Soufiane Fariss
8e9eadf98a
feature: support gzipped rdoc
...
For dynamic mode, even if the rdoc is gzipped, parsing it can result in
a big performance hit. For example if a user load a 1MB gzipped archive,
which then decompresses into a >70MB JSON object, this can result in
slower parsing. We need to think about how to streamline large rdocs.
This commit adds a restriction on the number of matches to show in
dynamic mode (maxMatches = 1)
2024-08-01 21:31:38 +02:00
Soufiane Fariss
9107819cf1
fix: force reload page on import analysis
2024-08-01 19:13:23 +02:00
Soufiane Fariss
b74738adcf
feature: show namespace chart
2024-08-01 18:56:41 +02:00
Soufiane Fariss
b229048b51
feature: show namespace chart
2024-08-01 18:45:22 +02:00
Moritz
afb72867f4
assert sample analysis data is present
2024-08-01 07:58:29 +02:00
Soufiane Fariss
4fe7f784e9
edit code comments
2024-08-01 00:50:14 +02:00
Soufiane Fariss
b7b8792f70
Force reload the page on Import Analysis
2024-07-31 21:24:38 +02:00
mr-tz
e47635455e
add dynamic vmray feature tests
2024-07-31 13:30:30 +00:00
mr-tz
e83f289c8e
add script to minimize vmray archive to only relevant files
2024-07-31 13:28:41 +00:00
mr-tz
3982356945
load gzipped rd, see capa-testfiles#245
2024-07-31 12:59:16 +00:00
lakshay
e637e5a09e
#2244 Issue: Update deprecated ruff linter settings ( #2248 )
2024-07-31 10:28:52 +02:00
Soufiane Fariss
0ea6f1e270
fix: do not toggle/on feature and statements
2024-07-31 00:55:18 +02:00
Soufiane Fariss
f6bc42540c
if node already expanded, toggle it off
2024-07-31 00:07:40 +02:00
Mike Hunhoff
a8d849e872
vmray: improve comments models.py
2024-07-30 11:43:53 -06:00
Soufiane Fariss
62701a2837
use Hash-Based routing (#)
2024-07-30 17:38:40 +02:00
Soufiane Fariss
f60e3fc531
lints
2024-07-30 17:38:08 +02:00
Soufiane Fariss
b6f0ee539b
wip: only include process name in api call details
2024-07-30 17:03:30 +02:00
Soufiane Fariss
e70e1b0641
feature: add call information to api feature in dynamic mode (-vv)
2024-07-30 16:24:05 +02:00
Mike Hunhoff
71c515d4d7
vmray: improve comments __init__.py
2024-07-29 12:19:53 -06:00
Mike Hunhoff
139dcc430c
vmray: improve logging
2024-07-29 12:16:05 -06:00
Mike Hunhoff
7bf0b396ee
core: improve error message for vmray
2024-07-29 12:02:14 -06:00
Mike Hunhoff
87dfa50996
scripts: remove old code from show-features.py
2024-07-29 12:00:29 -06:00
Mike Hunhoff
8cba23bbce
vmray: improve extract_import_names
2024-07-29 11:49:04 -06:00
Mike Hunhoff
1a3cf4aa8e
vmray: update extractor.py format_params
2024-07-29 11:41:31 -06:00
Mike Hunhoff
51b853de59
vmray: remove bad print statements
2024-07-29 11:39:03 -06:00
Mike Hunhoff
3043fd6ac8
vmray: merge upstream
2024-07-29 11:37:37 -06:00
Moritz
b9c4cc681b
Merge pull request #2238 from s-ff/scripts-fix-caps-by-function
...
scripts/show-capabilities-by-function.py: fix incorrect function address
2024-07-29 17:42:30 +02:00
Soufiane Fariss
13261d0c41
include basic block matches in capabilities by function table
2024-07-29 17:02:54 +02:00
Soufiane Fariss
8476aeee35
scripts/show-capabilities-by-function.py: fix incorrect function address
2024-07-29 14:17:40 +02:00
Soufiane Fariss
38cf1f1041
feature: show regex captures
2024-07-29 03:56:13 +02:00
Soufiane Fariss
d81b123e97
feature: add right click links context menu
2024-07-28 23:25:47 +02:00
Soufiane Fariss
029259b8ed
make rule names and matches click event expand the node
2024-07-28 19:56:33 +02:00
Soufiane Fariss
e3f695b947
bump upload size limit to 100MB
2024-07-26 11:46:31 +02:00
Soufiane Fariss
d25c86c08b
reformat function capabilities into a rowspan table instead of tree table
2024-07-26 03:21:15 +02:00
Mike Hunhoff
b967213302
vmray: improve comments __init__.py
2024-07-25 12:30:20 -06:00
Mike Hunhoff
05fb8f658f
vmray: fix flake8 lints
2024-07-25 12:19:22 -06:00
Mike Hunhoff
7b3812ae19
vmray: improve error reporting
2024-07-25 12:12:49 -06:00
Mike Hunhoff
5b7a2be652
vmray: remove outdated comments __init__.py
2024-07-25 09:33:17 -06:00
Soufiane Fariss
4aad53c5b3
feature: implement parent-child process tree
2024-07-24 19:24:39 +02:00
Mike Hunhoff
b8d3d77829
vmray: document vmray support in README
2024-07-24 10:35:34 -06:00
Mike Hunhoff
9a1364c21c
vmray: document vmray support in README
2024-07-24 10:32:22 -06:00
Mike Hunhoff
6e146bb126
vmray: fix lints
2024-07-24 10:12:21 -06:00
Mike Hunhoff
85373a7ddb
cape: add explicit check for CAPE report format file extension
2024-07-24 10:09:22 -06:00
Mike Hunhoff
f6d12bcb41
vmray: fix lints
2024-07-24 10:03:57 -06:00
Mike Hunhoff
f471386456
vmray: merge upstream and fix conflicts
2024-07-24 10:02:07 -06:00
Soufiane Fariss
0028da5270
implement text truncation for process names
2024-07-24 14:30:35 +02:00
Yacine
cf3494d427
Add a Feature Extractor for the Drakvuf Sandbox ( #2143 )
...
* initial commit
* update changelog
* Update CHANGELOG.md
* Update pyproject.toml
* Apply suggestions from code review: Typos
Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com >
* capa/helpers.py: update if/else statement
Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com >
* loader.py: replace print() statement with log.info()
* Update capa/features/extractors/drakvuf/models.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* extractors/drakvuf/call.py: yield arguments right to left
* extractors/drakvuf/file.py: add a TODO comment for extracting more file features
* extractors/drakvuf/global_.py: add arch extraction
* extractors/drakvuf/helpers.py: ignore null pids
* capa/helpers.py: mention msgspec.json explicitely
* capa/helpers.py: generalize empty sandbox reports error logging
* capa/loader.py: log jsonl garbage collection into debug
* features/extractors/drakvuf/models.py: add documentation for SystemCall class
* capa/main.py: fix erroneous imports
* drakvuf extractor: fixed faulty type annotations
* fix black formatting
* fix flake8 issues
* drakvuf file extraction: add link to tracking issue
* drakvuf reports: add the ability to read gzip-compressed report files
* capa/helpers.py: fix mypy issues
* apply review comments
* drakvuf/helpers.py: add more information about null pid
* drakvuf/file.py: remove discovered_dlls file strings extraction
* capa/helpers.py: add comments for the dynamic extensions
* capa/helpers.py: log bad lines
* capa/helpers.py: add gzip support for reading one jsonl line
* drakvuf/helpers.py: add comment for sort_calls()
* tests/fixtures.py: add TODO for unifying CAPE and Drakvuf tests
* drakvuf/models.py: add TODO comment for supporting more drakvuf plugins
* tests/fixtures.py: remove obsolete file strings tests
* Update capa/main.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update capa/features/extractors/drakvuf/models.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update capa/features/extractors/drakvuf/models.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update capa/features/extractors/drakvuf/call.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update CHANGELOG.md
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update capa/features/extractors/drakvuf/helpers.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* review comments
* Update capa/features/extractors/drakvuf/extractor.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* Update capa/features/extractors/drakvuf/models.py
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* styling
* drakvuf/extractor.py: black linting
* drakvuf/models.py: remove need to empty report checking
* tests: add drakvuf models test
* Update capa/features/extractors/drakvuf/global_.py
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
* Update tests/test_cape_features.py
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
* Update capa/features/extractors/drakvuf/models.py
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
* Apply suggestions from code review: rename Drakvuf to DRAKVUF
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
* drakvuf/call.py: use int(..., 0) instead of str_to_number()
* remove str_to_number
* drakvuf/call.py: yield argument memory address value as well
* Update call.py: remove verbosity in yield statement
* Update call.py: yield missing address as well
* drakvuf/call.py: yield entire argument string only
* update readme.md
* Update README.md: typo
* Update CHANGELOG.md
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
---------
Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
Co-authored-by: msm-cert <156842376+msm-cert@users.noreply.github.com >
2024-07-24 14:22:21 +02:00
Soufiane Fariss
3f33b82ace
changelog: add webui
2024-07-24 12:49:26 +02:00
Soufiane Fariss
12f1851ba5
deploy-webui.yml: include submodule capa-rules checkout
2024-07-24 12:41:45 +02:00
Soufiane Fariss
6da0e5d985
highlight links, use monospace for feature values
2024-07-24 11:31:39 +02:00
Willi Ballenthin
e2e84f7f50
ELF: better handle corrupt files ( #2227 )
...
such as when there's a missing symbol table and invalid relocation table.
and then handle when Viv fails to load a workspace.
closes #2226
2024-07-24 09:22:30 +02:00
Soufiane Fariss
106c31735e
link sha256 to VT external link
2024-07-23 23:30:06 +02:00
Soufiane Fariss
277e9d1551
remove Toolset dropdown menu
2024-07-23 23:16:13 +02:00
Soufiane Fariss
9db01e340c
add href links to MBC, and refactor into helpers functions
...
Create href for both MBC and ATT&CK using helper functions
`createMBCHref` and `createATTACKHref`
2024-07-23 23:01:12 +02:00
Soufiane Fariss
626ea51c20
use existings tests/data/rd rdocs for Preview
...
Instead of duplicating JSON files used for preview by including
them in src/assets/<rdoc>.json, let's re-use the existing
tests/data/rd from submodule capa-testfiles.
2024-07-23 22:57:00 +02:00
Mike Hunhoff
31e53fab20
vmray: improve models.py comments
2024-07-23 09:52:36 -06:00
Mike Hunhoff
cbdc7446aa
vmray: merge upstream
2024-07-23 09:49:40 -06:00
Mike Hunhoff
46b68d11b7
vmray: improve models.py comments
2024-07-23 09:48:52 -06:00
dependabot[bot]
fd686ac591
build(deps): bump types-protobuf from 5.26.0.20240422 to 5.27.0.20240626 ( #2185 )
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 5.26.0.20240422 to 5.27.0.20240626.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:17:45 +02:00
dependabot[bot]
17aab2c4fc
build(deps): bump pip from 24.0 to 24.1.2 ( #2199 )
...
Bumps [pip](https://github.com/pypa/pip ) from 24.0 to 24.1.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/commits )
---
updated-dependencies:
- dependency-name: pip
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:16:40 +02:00
dependabot[bot]
216ac8dd96
build(deps): bump deptry from 0.16.1 to 0.17.0 ( #2222 )
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.16.1...0.17.0 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:16:22 +02:00
dependabot[bot]
d68e057439
build(deps): bump pyinstaller from 6.8.0 to 6.9.0 ( #2220 )
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.8.0...v6.9.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:16:05 +02:00
Soufiane Fariss
3c2749734c
Remove demo rdoc json files (static and dynamic)
2024-07-23 01:14:31 +02:00
Soufiane Fariss
5c60efa81f
add Github Pages deployment workflow
2024-07-23 00:26:24 +02:00
nocontribute
09d86245e5
add package-lock.json cache
2024-07-23 00:26:24 +02:00
Soufiane Fariss
2862cb35c2
remove Github Pages workflow from webui branch
2024-07-23 00:26:24 +02:00
Soufiane Fariss
c3aa306d6c
add Github Pages deployement workflow
2024-07-23 00:26:24 +02:00
Soufiane Fariss
6bec5d40bd
webui: initial release
2024-07-23 00:26:24 +02:00
Mike Hunhoff
3b94961133
vmray: complete pefile model tests
2024-07-19 15:50:07 -06:00
Mike Hunhoff
6ef485f67b
vmray: refactor model tests
2024-07-19 15:44:53 -06:00
Mike Hunhoff
4dfc53a58f
vmray: refactor model tests
2024-07-19 15:42:04 -06:00
Mike Hunhoff
98939f8a8f
vmray: improve FunctionCall model
2024-07-19 15:38:26 -06:00
Mike Hunhoff
4490097e11
vmray: add summary_v2.json model tests
2024-07-19 15:28:47 -06:00
Mike Hunhoff
2ba2a2b013
vmray: remove unneeded json.loads from __init__.py
2024-07-19 15:05:21 -06:00
Mike Hunhoff
28792ec6a6
vmray: add model tests for FunctionCall
2024-07-19 13:56:46 -06:00
Mike Hunhoff
658927c103
vmray: refactor models.py
2024-07-19 11:58:48 -06:00
Mike Hunhoff
673f7cccfc
vmray: refactor models.py
2024-07-19 11:57:07 -06:00
Mike Hunhoff
6e0dc83451
vmray: refactor global_.py
2024-07-19 11:51:16 -06:00
xusheng
da6c6cfb48
Update Binary Ninja version to 4.1 and use Python 3.9 to test it ( #2212 )
2024-07-19 02:28:10 +02:00
Mike Hunhoff
8bf0d16fd8
vmray: add init support for ELF files
2024-07-18 17:52:33 -06:00
Mike Hunhoff
24a31a8bc3
vmray: add comments to __init__.py
2024-07-18 14:23:20 -06:00
Mike Hunhoff
6f7cc7cdb0
vmray: improve detections for unsupported input files
2024-07-18 11:33:42 -06:00
Mike Hunhoff
64a09d3146
vmray: remove broken assert for unique OS PIDs
2024-07-18 11:20:03 -06:00
Mike Hunhoff
998537ddf8
vmray: remove outdated comments
2024-07-18 09:10:50 -06:00
Mike Hunhoff
5afea29473
vmray: update CHANGELOG release notes with VMRay integration
2024-07-18 09:06:58 -06:00
Mike Hunhoff
fd7bd94b48
vmray: remove outdated comments
2024-07-18 08:50:20 -06:00
Mike Hunhoff
330c77a32a
vmray: implement get_call_name
2024-07-17 15:04:00 -06:00
Mike Hunhoff
19a6f3ad49
vmray: improve supported file type validation
2024-07-17 12:37:51 -06:00
Mike Hunhoff
100df45cc0
vmray: add logging for skipped deref param types
2024-07-17 12:27:14 -06:00
Mike Hunhoff
cc87ef39d5
vmray: remove and document extract_call_features comments
2024-07-17 12:18:01 -06:00
Mike Hunhoff
ec7e43193e
vmray: update comment for extract_process_features
2024-07-17 12:10:18 -06:00
Mike Hunhoff
b68a91e10b
vmray: validate supported flog version
2024-07-17 12:06:23 -06:00
Mike Hunhoff
15889749c0
vmray: merge upstream
2024-07-17 11:54:58 -06:00
dependabot[bot]
9353e46615
build(deps): bump ruff from 0.5.0 to 0.5.2 ( #2209 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.5.0 to 0.5.2.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 02:23:19 +02:00
Mike Hunhoff
af26bef611
vmray: fix lints
2024-07-12 20:21:57 -06:00
Mike Hunhoff
42fddfbf31
vmray: improve comments
2024-07-12 20:19:06 -06:00
Mike Hunhoff
5214675eeb
vmray: update tests.yml
2024-07-12 19:55:06 -06:00
Mike Hunhoff
4f2467cae0
vmray: update CHANGELOG
2024-07-12 19:53:33 -06:00
Mike Hunhoff
28c278b9e6
vmray: improve comments
2024-07-12 19:09:10 -06:00
Mike Hunhoff
26b5870ef4
vmray: improve comments
2024-07-12 19:06:06 -06:00
Mike Hunhoff
1f5b6ec52c
vmray: improve comments
2024-07-12 19:00:48 -06:00
Mike Hunhoff
307b0cc327
vmray: add comments
2024-07-12 18:51:21 -06:00
Mike Hunhoff
253d70efac
vmray: add comments
2024-07-12 18:49:08 -06:00
Mike Hunhoff
85632f698f
vmray: clean up models
2024-07-12 18:45:53 -06:00
Mike Hunhoff
931a9b9421
vmray: clean up models
2024-07-12 18:44:29 -06:00
Mike Hunhoff
06631fc39d
vmray: remove call feature extraction for out parameters
2024-07-12 18:42:42 -06:00
Mike Hunhoff
4bbe9e1ce9
vmray: emit number and string call features for pointer dereference
2024-07-12 18:35:50 -06:00
Mike Hunhoff
e2f5eb7d30
vmray: clean up models
2024-07-12 16:43:48 -06:00
Mike Hunhoff
5b7a0cad5f
vmray: emit number call features for output parameters
2024-07-12 16:36:28 -06:00
Mike Hunhoff
da0545780b
vmray: emit number call features for input parameters
2024-07-12 16:25:56 -06:00
Mike Hunhoff
bcdaa80dfa
vmray: emit file import features
2024-07-12 13:34:30 -06:00
Mike Hunhoff
aad4854a61
vmray: use process OS PID instead of monitor ID
2024-07-12 11:33:13 -06:00
Mike Hunhoff
cbf6ecbd4d
Merge branch 'vmray-extractor' of github.com:mandiant/capa into vmray-extractor
2024-07-12 10:15:40 -06:00
Mike Hunhoff
81581fe85e
vmray: emit string file featureS
2024-07-12 10:15:28 -06:00
Mike Hunhoff
194017bce3
vmray: merge upstream
2024-07-12 09:27:49 -06:00
Maxime Berthault
76913af20b
Binary Ninja update and fix ( #2205 )
...
* Fix binja warning (use of a deprecated API method)
* Update binja plugin
> Fix json openning and parsing
> Fix base address
* Fix code_style
* lint black update
2024-07-12 12:25:19 +02:00
mr-tz
d1f6bb3a44
Merge branch 'master' into vmray-extractor
2024-07-03 06:49:43 +00:00
Moritz
bb86d1485c
Merge pull request #2187 from mandiant/dependabot/pip/flake8-comprehensions-3.15.0
...
build(deps): bump flake8-comprehensions from 3.14.0 to 3.15.0
2024-07-02 11:14:26 +02:00
Moritz
cd3086cfa4
Merge pull request #2184 from mandiant/dependabot/pip/ruff-0.5.0
...
build(deps): bump ruff from 0.4.8 to 0.5.0
2024-07-02 11:14:11 +02:00
Capa Bot
120f34e8ef
Sync capa-testfiles submodule
2024-07-02 07:56:15 +00:00
Ilyas Osman
5495a8555c
Fix incomplete f-strings ( #2188 )
...
* Fix incomplete f-strings
* Fix incomplete f-strings
* Apply black formatting to fix linting errors
* Apply black formatting to fix linting errors
2024-07-02 09:53:41 +02:00
Moritz
1a447013bd
Merge pull request #2182 from yelhamer/process-name-interface-show-features
...
scripts/show-features.py: use extractor.get_process_name() interface …
2024-07-02 09:48:17 +02:00
Yacine Elhamer
fccb533841
test/scripts.py: bugfix
2024-07-01 21:59:28 +01:00
Yacine Elhamer
3b165c3d8e
test:scripts.py: add tests for show-features.py process filtering
2024-07-01 21:41:46 +01:00
dependabot[bot]
cd5199f873
build(deps): bump flake8-comprehensions from 3.14.0 to 3.15.0
...
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions ) from 3.14.0 to 3.15.0.
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.14.0...3.15.0 )
---
updated-dependencies:
- dependency-name: flake8-comprehensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 14:48:28 +00:00
dependabot[bot]
202b5ddae7
build(deps): bump ruff from 0.4.8 to 0.5.0
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.8 to 0.5.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.8...0.5.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 14:48:15 +00:00
Yacine Elhamer
0b70abca93
show-features.py: add other usage of get_process_name()
2024-07-01 12:03:12 +01:00
Yacine Elhamer
6de22a0264
show-features.py: fix process filtering bug
2024-07-01 10:34:19 +01:00
Yacine Elhamer
fd811d1387
scripts/show-features.py: use extractor.get_process_name() interface for getting process name
2024-07-01 09:55:24 +01:00
Moritz
b617179525
Merge pull request #2165 from mandiant/dependabot/pip/flake8-7.1.0
...
build(deps): bump flake8 from 7.0.0 to 7.1.0
2024-06-26 17:07:49 +02:00
Moritz
28fc671ad5
Merge pull request #2166 from mandiant/dependabot/pip/requests-2.32.3
...
build(deps): bump requests from 2.31.0 to 2.32.3
2024-06-26 17:07:28 +02:00
Moritz
e1b750f1e9
Merge pull request #2167 from mandiant/dependabot/pip/psutil-6.0.0
...
build(deps): bump psutil from 5.9.2 to 6.0.0
2024-06-26 17:07:05 +02:00
dependabot[bot]
1ec680856d
build(deps): bump requests from 2.31.0 to 2.32.3
...
Bumps [requests](https://github.com/psf/requests ) from 2.31.0 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.3 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-26 14:24:17 +00:00
dependabot[bot]
d79ea074f2
build(deps): bump flake8 from 7.0.0 to 7.1.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 7.0.0 to 7.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-26 14:23:05 +00:00
dependabot[bot]
e68bcddfe0
build(deps): bump psutil from 5.9.2 to 6.0.0
...
Bumps [psutil](https://github.com/giampaolo/psutil ) from 5.9.2 to 6.0.0.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.2...release-6.0.0 )
---
updated-dependencies:
- dependency-name: psutil
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-26 14:05:14 +00:00
Moritz
4929d5936e
Update macos 12 ( #2174 )
...
* update CI to use macos-12 instead of macos-11
2024-06-26 16:03:45 +02:00
Mike Hunhoff
9be35f9a8d
vmray: remove unneeded unpacking
2024-06-20 15:19:55 -06:00
Mike Hunhoff
ec6c9c93bd
vmray: remove unused fields from summary_v2 pydantic models
2024-06-20 14:42:42 -06:00
Mike Hunhoff
9df611ff13
vmray: add comments
2024-06-20 14:41:50 -06:00
Mike Hunhoff
29fa3153b1
vmray: fix deptry lints
2024-06-20 14:17:42 -06:00
Mike Hunhoff
4b08e62750
vmray: fix flake8 lints
2024-06-20 14:12:34 -06:00
Mike Hunhoff
544899a04e
vmray: add os v. monitor id comment
2024-06-20 14:06:04 -06:00
Mike Hunhoff
9ef705a9ac
vmray: remove old comments
2024-06-20 14:04:31 -06:00
Mike Hunhoff
19502efff3
vmray: connect process, thread, and call
2024-06-20 13:05:32 -06:00
Mike Hunhoff
ec21f3b3fc
vmray: use xmltodict instead of pydantic_xml to improve performance
2024-06-20 10:08:27 -06:00
Mike Hunhoff
5be68d0751
vmray: remove debug code and update call features entry point
2024-06-20 08:20:00 -06:00
Moritz
8757dad054
Merge pull request #2155 from r-sm2024/vmray_extractor
...
Add VMRayAnalysis model and call parser
2024-06-19 17:30:46 +02:00
mr-tz
0c9d3d09af
fix ruff
2024-06-19 15:13:11 +00:00
mr-tz
740c739356
remove file
2024-06-19 15:09:34 +00:00
mr-tz
d256cc867f
update model and re-add summary_v2.json models
2024-06-19 14:57:05 +00:00
mr-tz
fbdfea1edc
add testing code
2024-06-19 14:56:12 +00:00
mr-tz
453a640de9
formatting
2024-06-19 14:55:43 +00:00
mr-tz
d10b396300
add pydantic-xml dependency
2024-06-19 14:50:46 +00:00
mr-tz
a544aed552
add vmray-extractor branch for tests
2024-06-19 14:49:12 +00:00
Moritz
a1a171221f
Merge branch 'vmray-extractor' into vmray_extractor
2024-06-19 10:56:40 +02:00
Mike Hunhoff
21887d1ec6
vmray: merge upstream
2024-06-18 15:43:19 -06:00
r-sm2024
789332ec88
Merge branch 'vmray-extractor' into vmray_extractor
2024-06-18 16:41:36 -05:00
Mike Hunhoff
85a85e99bf
vmray: emit recorded artifacts as strings
2024-06-18 15:38:44 -06:00
r-sm2024
574d61ad8f
Add VMRayanalysis model and call parser
2024-06-18 21:33:50 +00:00
r-sm2024
3cca80860d
Add VMRayanalysis model and call parser
2024-06-18 21:32:40 +00:00
r-sm2024
2b70086467
Add VMRayanalysis model and call parser
2024-06-18 21:32:40 +00:00
Mike Hunhoff
d26a806647
vmray: update scripts/show-features.py to emit process name from extractor
2024-06-18 14:59:29 -06:00
Mike Hunhoff
e5fa800ffb
vmray: emit empty thread features
2024-06-18 14:45:08 -06:00
r-sm2024
be274d1d65
Merge branch 'mandiant:master' into vmray_extractor
2024-06-18 15:42:52 -05:00
Mike Hunhoff
b3ebf80d9b
vmray: emit process name
2024-06-18 14:41:47 -06:00
Mike Hunhoff
8f32b7fc65
vmray: emit process handles
2024-06-18 14:32:11 -06:00
Mike Hunhoff
f3d69529b0
vmray: invoke VMRay feature extractor from capa.main
2024-06-18 13:27:40 -06:00
ygasparis
1975b6455c
extract import / export symbols from stripped elf binaries ( #2142 )
2024-06-18 12:38:02 -06:00
Mike Hunhoff
51656fe825
vmray: merge upstream
2024-06-18 10:53:32 -06:00
Capa Bot
1360e08389
Sync capa-testfiles submodule
2024-06-18 11:00:26 +00:00
dependabot[bot]
40061b3c42
build(deps): bump viv-utils from 0.7.9 to 0.7.11 ( #2150 )
2024-06-18 06:36:10 +02:00
dependabot[bot]
45fca7adea
build(deps): bump python-flirt from 0.8.6 to 0.8.10 ( #2151 )
2024-06-18 06:35:50 +02:00
Mike Hunhoff
654804878f
vmray: clean up global_.py debug output
2024-06-14 09:34:59 -06:00
Mike Hunhoff
8b913e0544
vmray: extract global features for PE files
2024-06-14 09:32:02 -06:00
Moritz
482686ab81
Merge pull request #2147 from mandiant/release/v710
...
bump to v7.1.0
2024-06-14 12:56:46 +02:00
mr-tz
67f8c4d28c
bump to v7.1.0
2024-06-14 09:06:04 +00:00
Capa Bot
3f151a342b
Sync capa rules submodule
2024-06-14 09:02:02 +00:00
Mike Hunhoff
00cb7924e1
vmray: clean up pydantic models and add sample hash extraction
2024-06-13 17:02:50 -06:00
Mike Hunhoff
7e079d4d35
vmray: restrict analysis to PE files
2024-06-13 16:52:25 -06:00
Mike Hunhoff
346a0693ad
vmray: clean up VMRayAnalysis
2024-06-13 16:48:12 -06:00
Mike Hunhoff
8d3f032434
vmray: clean up pydantic models and implement base address extraction
2024-06-13 16:43:23 -06:00
Mike Hunhoff
7d0ac71353
vmray: cleanup pydantic models and implement file section extraction
2024-06-13 16:31:12 -06:00
Mike Hunhoff
970b184651
vmray: add stubs for file imports
2024-06-13 14:20:11 -06:00
Mike Hunhoff
ca02b4ac7c
vmray: expand extractor to emit file export features
2024-06-13 14:12:41 -06:00
Mike Hunhoff
a797405648
vmray: add example models for summary_v2.json
2024-06-13 12:54:59 -06:00
mr-tz
a9dafe283c
example using pydantic-xml to parse flog.xml
2024-06-13 16:37:45 +00:00
dependabot[bot]
e87e8484b6
build(deps): bump ruff from 0.4.7 to 0.4.8 ( #2139 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.7...v0.4.8 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-06-13 13:24:33 +02:00
Willi Ballenthin
8726de0d65
ELF: Detect OS from Go binaries ( #1987 )
...
* elf: read segment memory size
* elf: add routine to read mapped memory
* elf: better detect OS for binaries compiled by Go
* elf: guess OS from Go source filenames
* changelog
* elf: mypy
* merge
* elf: add OS detection based on vDSO strings
* elf: document VTGrep searches
* elf: describe further technique to identify Go binaries
* elf: search for `.go.buildinfo` section via @yelhamer
* black
* elf: detect Alpine Linux ident
* elf: log interest symtab entries
* tests: add test for OS detection by Go buildinfo
* loader: handle missing viv modules
* pre-commit: run deptry before tests (which are slow)
* loader: describe removing viv symbolic switch solver
* pyproject: add PyGithub for deptry
* black
2024-06-13 13:23:47 +02:00
Moritz
7d1512a3de
Merge pull request #2146 from mandiant/fix/2145
...
fix black and mypy
2024-06-13 11:49:18 +02:00
Capa Bot
73d76d7aba
Sync capa-testfiles submodule
2024-06-13 09:30:44 +00:00
mr-tz
1febb224d1
add scripts dependency group
2024-06-13 07:50:58 +00:00
Moritz
e3ea60d354
Apply suggestions from code review
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-06-13 09:36:12 +02:00
mr-tz
93cd1dcedd
add scripts to install step
2024-06-12 15:24:10 +00:00
mr-tz
7b0270980d
add capa2sarif dependencies
2024-06-12 15:19:24 +00:00
mr-tz
cce7774705
add scripts section
2024-06-12 15:17:31 +00:00
mr-tz
9ec9a6f439
fix mypy issues
2024-06-12 09:32:03 +00:00
mr-tz
97a3fba2c9
fix black
2024-06-12 09:24:16 +00:00
Capa Bot
893352756f
Sync capa rules submodule
2024-06-11 18:11:24 +00:00
malwarefrank
0cc06aa83d
dnfile 0.15.0 changed API ( #2037 )
...
* dnfile 0.15.0 changed API
* deduplicate str() calls and isort fixes
* revert accidental change to imports ordering
* add table variable annotation
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: mr-tz <moritz.raabe@mandiant.com >
2024-06-11 11:46:09 -06:00
r-sm2024
bdc94c13ac
Merge branch 'master' into vmray_extractor
2024-06-11 08:35:48 -05:00
dependabot[bot]
1888d0e7e3
build(deps): bump setuptools from 69.5.1 to 70.0.0 ( #2135 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.5.1 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.5.1...v70.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 15:03:56 +02:00
ReWithMe
52e24e560b
FEAT(capa2sarif) Add SARIF conversion script from json output ( #2093 )
...
* feat(capa2sarif): add new sarif conversion script converting json output to sarif schema, update dependencies, and update changelog
* fix(capa2sarif): removing copy and paste transcription errors
* fix(capa2sarif): remove dependencies from pyproject toml to guarded import statements
* chore(capa2sarif): adding node in readme specifying dependency and applied auto formatter for styling
* style(capa2sarif): applied import sorting and fixed typo in invocations function
* test(capa2sarif): adding simple test for capa to sarif conversion script using existing result document
* style(capa2sarif): fixing typo in version string in usage
* style(capa2sarif): isort failing due to reordering of typehint imports
* style(capa2sarif): fixing import order as isort on local machine was not updating code
---------
Co-authored-by: ReversingWithMe <ryanv@rewith.me >
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-06-11 15:01:26 +02:00
dependabot[bot]
c97d2d7244
build(deps): bump pyinstaller from 6.7.0 to 6.8.0 ( #2138 )
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.7.0...v6.8.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 14:36:58 +02:00
Willi Ballenthin
833ec47170
relax pyproject dependency versions and introduce requirements.txt ( #2132 )
...
* relax pyproject dependency versions and introduce requirements.txt
closes #2053
closes #2079
* pyproject: document dev/build profile dependency policies
* changelog
* doc: installation: describe requirements.txt usage
* pyproject: don't use dnfile 0.15 yet
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-06-11 14:29:34 +02:00
Willi Ballenthin
07ae30875c
features: add aarch64 arch ( #2144 )
...
* features: add aarch64 arch
2024-06-11 09:36:04 +02:00
r-sm2024
3141e940de
Add vmray text to JSON parser.
2024-06-10 21:13:16 +00:00
Willi Ballenthin
76a4a5899f
test_scripts: avoid unsupported logic combinations
2024-06-07 05:54:49 +02:00
Willi Ballenthin
4d81b7ab98
rules: add references to existing issues
2024-06-07 05:54:49 +02:00
Willi Ballenthin
b068890fa6
rules: match: optimize rule matching by better indexing rule by features
...
Implement the "tighten rule pre-selection" algorithm described here:
https://github.com/mandiant/capa/issues/2063#issuecomment-2100498720
In summary:
> Rather than indexing all features from all rules,
> we should pick and index the minimal set (ideally, one) of
> features from each rule that must be present for the rule to match.
> When we have multiple candidates, pick the feature that is
> probably most uncommon and therefore "selective".
This seems to work pretty well. Total evaluations when running against
mimikatz drop from 19M to 1.1M (wow!) and capa seems to match around
3x more functions per second (wow wow).
When doing large scale runs, capa is about 25% faster when using the
vivisect backend (analysis heavy) or 3x faster when using the
upcoming BinExport2 backend (minimal analysis).
2024-06-07 05:54:49 +02:00
dependabot[bot]
d10d2820b2
build(deps): bump types-requests from 2.32.0.20240523 to 2.32.0.20240602
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.32.0.20240523 to 2.32.0.20240602.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-06 10:43:08 +02:00
Capa Bot
5239e40beb
Sync capa-testfiles submodule
2024-06-05 12:15:41 +00:00
Capa Bot
bce8f7b5e5
Sync capa rules submodule
2024-06-05 09:40:58 +00:00
Capa Bot
0cf9365816
Sync capa-testfiles submodule
2024-06-05 08:49:12 +00:00
Fariss
30d23c4d97
render maec/* fields ( #2087 )
...
* Render maec/* fields
* add test for render_maec
---------
Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-06-05 10:31:13 +02:00
Capa Bot
b3ed42f5f9
Sync capa-testfiles submodule
2024-06-04 21:25:58 +00:00
Fariss
508a09ef25
include rule caching in PyInstaller build process ( #2097 )
...
* include rule caching in PyInstaller build process
The following commit introduces a new function that caches the capa
rule set, so that users don't have to manually run ./scripts/cache-
ruleset.py, before running pyinstaller.
* ci: omit Cache rule set step from build.yml workflow
* refactor: move cache generation to cache.py
* mkdir cache directory when it does not exist
---------
Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-06-04 18:47:41 +02:00
Capa Bot
e517d7dd77
Sync capa rules submodule
2024-06-04 10:35:46 +00:00
Moritz
142b84f9c5
Merge pull request #2118 from mandiant/dependabot/pip/deptry-0.16.1
...
build(deps): bump deptry from 0.14 to 0.16.1
2024-06-04 12:33:51 +02:00
dependabot[bot]
72607c6ae5
build(deps): bump ruff from 0.4.5 to 0.4.7
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.5 to 0.4.7.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.5...v0.4.7 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 17:56:43 +02:00
dependabot[bot]
2fd01835dc
build(deps): bump rich from 13.4.2 to 13.7.1
...
Bumps [rich](https://github.com/Textualize/rich ) from 13.4.2 to 13.7.1.
- [Release notes](https://github.com/Textualize/rich/releases )
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Textualize/rich/compare/v13.4.2...v13.7.1 )
---
updated-dependencies:
- dependency-name: rich
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 17:55:55 +02:00
dependabot[bot]
80600f59c7
build(deps): bump deptry from 0.14 to 0.16.1
...
Bumps [deptry](https://github.com/fpgmaas/deptry ) from 0.14 to 0.16.1.
- [Release notes](https://github.com/fpgmaas/deptry/releases )
- [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fpgmaas/deptry/compare/0.14.0...0.16.1 )
---
updated-dependencies:
- dependency-name: deptry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 14:07:40 +00:00
Capa Bot
1ec1185850
Sync capa-testfiles submodule
2024-06-02 14:32:18 +00:00
Moritz
22e12928a6
Merge pull request #2114 from RainRat/master
...
fix typos
2024-06-02 16:23:29 +02:00
RainRat
8ad74ddbb6
fix typos
2024-06-01 11:48:19 -07:00
Capa Bot
2c1d5592ca
Sync capa rules submodule
2024-06-01 10:23:18 +00:00
Capa Bot
267f5e99b7
Sync capa-testfiles submodule
2024-06-01 10:19:40 +00:00
Capa Bot
6b77c50ae8
Sync capa rules submodule
2024-05-31 20:25:51 +00:00
Capa Bot
8a0a24f269
Sync capa rules submodule
2024-05-31 17:24:45 +00:00
Capa Bot
4f2494dc59
Sync capa-testfiles submodule
2024-05-31 09:35:22 +00:00
Fariss
2e5da3e2bd
Add deptry support ( #2085 )
...
* Add deptry support
This commit resolves #1497 .
Note: known_first_party refers to modules that are supposed to be
local, i.e. idaapi, ghidra, java, binaryninja, ... etc.
* adjust running stages for deptry hook
* adjust deptry exclusions, and humanize dependency
---------
Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma >
2024-05-31 09:43:10 +02:00
Moritz
0ac21f036c
update to Ubuntu 22.04 for Binary Ninja tests
2024-05-29 14:21:02 +02:00
Moritz
4ecf3a1793
Merge pull request #2090 from mandiant/dependabot/pip/protobuf-5.27.0
...
build(deps): bump protobuf from 5.26.1 to 5.27.0
2024-05-29 10:21:38 +02:00
Moritz
b14db68819
Merge pull request #2091 from mandiant/dependabot/pip/types-requests-2.32.0.20240523
...
build(deps): bump types-requests from 2.31.0.20240406 to 2.32.0.20240523
2024-05-29 10:21:25 +02:00
Moritz
54106d60ae
Merge pull request #2092 from mandiant/dependabot/pip/pyinstaller-6.7.0
...
build(deps): bump pyinstaller from 6.6.0 to 6.7.0
2024-05-29 10:21:14 +02:00
Capa Bot
0622f45208
Sync capa-testfiles submodule
2024-05-28 13:44:27 +00:00
Moritz
adb9de8d4b
Merge pull request #2089 from mandiant/dependabot/pip/ruff-0.4.5
...
build(deps): bump ruff from 0.4.4 to 0.4.5
2024-05-28 13:18:33 +02:00
dependabot[bot]
48dd64beba
build(deps): bump protobuf from 5.26.1 to 5.27.0
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.26.1 to 5.27.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.26.1...v5.27.0 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 07:59:24 +00:00
Fariss
abaabae164
Replace halo spinner with rich ( #2086 )
...
* Replace halo spinner with rich
* remove Halo dependency
* Omit halo from mypy.ini
---------
Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma >
2024-05-28 09:58:32 +02:00
dependabot[bot]
8316a74ca2
build(deps): bump pyinstaller from 6.6.0 to 6.7.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.6.0...v6.7.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-27 14:33:10 +00:00
dependabot[bot]
1dd2af7048
build(deps): bump types-requests from 2.31.0.20240406 to 2.32.0.20240523
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.20240406 to 2.32.0.20240523.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-27 14:32:57 +00:00
dependabot[bot]
bbc4e5cd97
build(deps): bump ruff from 0.4.4 to 0.4.5
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-27 14:32:37 +00:00
Capa Bot
7da3ef89ca
Sync capa rules submodule
2024-05-23 11:37:39 +00:00
Moritz
44e319a604
Merge pull request #2081 from mandiant/dependabot/pip/mypy-protobuf-3.6.0
...
build(deps): bump mypy-protobuf from 3.5.0 to 3.6.0
2024-05-22 14:09:26 +02:00
Moritz
21c346d0c2
Merge pull request #2082 from mandiant/dependabot/pip/types-requests-2.31.0.20240406
...
build(deps): bump types-requests from 2.31.0.20240311 to 2.31.0.20240406
2024-05-22 14:09:17 +02:00
Capa Bot
f9953d1e99
Sync capa rules submodule
2024-05-21 07:58:30 +00:00
dependabot[bot]
9bce98b0ae
build(deps): bump types-requests from 2.31.0.20240311 to 2.31.0.20240406
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.20240311 to 2.31.0.20240406.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-20 14:14:50 +00:00
dependabot[bot]
7f39a5b1d6
build(deps): bump mypy-protobuf from 3.5.0 to 3.6.0
...
Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf ) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nipunn1313/mypy-protobuf/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: mypy-protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-20 14:14:47 +00:00
Moritz
e9cc193dd4
Merge pull request #2077 from mandiant/dependabot/pip/tqdm-4.66.4
...
build(deps): bump tqdm from 4.66.3 to 4.66.4
2024-05-16 14:15:15 +02:00
Moritz
5482021c75
Merge pull request #2076 from mandiant/dependabot/pip/flake8-bugbear-24.4.26
...
build(deps): bump flake8-bugbear from 24.2.6 to 24.4.26
2024-05-16 14:14:58 +02:00
Moritz
5507991575
Merge pull request #2078 from mandiant/dependabot/pip/ruff-0.4.4
...
build(deps): bump ruff from 0.3.5 to 0.4.4
2024-05-16 14:13:01 +02:00
dependabot[bot]
65114ec2d7
build(deps): bump ruff from 0.3.5 to 0.4.4
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.3.5 to 0.4.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.3.5...v0.4.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 14:54:11 +00:00
dependabot[bot]
e4ae052f48
build(deps): bump tqdm from 4.66.3 to 4.66.4
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.3 to 4.66.4.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.3...v4.66.4 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 14:53:54 +00:00
dependabot[bot]
3ae8183a4a
build(deps): bump flake8-bugbear from 24.2.6 to 24.4.26
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 24.2.6 to 24.4.26.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.2.6...24.4.26 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 14:53:49 +00:00
Willi Ballenthin
b59df659c9
pep8
2024-05-08 16:20:10 +02:00
Willi Ballenthin
519cfb842e
profile-time: more result reporting, and learn to specify other backends
2024-05-08 16:20:10 +02:00
Capa Bot
ee98548bf9
Sync capa-testfiles submodule
2024-05-07 22:20:48 +00:00
mr-tz
8298347c19
support more report formats
2024-05-07 15:24:21 +02:00
dependabot[bot]
54d749e845
build(deps): bump types-protobuf from 4.23.0.3 to 5.26.0.20240422
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.23.0.3 to 5.26.0.20240422.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-07 15:21:57 +02:00
dependabot[bot]
25b9c88198
build(deps): bump black from 24.4.0 to 24.4.2
...
Bumps [black](https://github.com/psf/black ) from 24.4.0 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.4.0...24.4.2 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-07 15:21:45 +02:00
dependabot[bot]
11ae44541b
build(deps): bump mypy from 1.9.0 to 1.10.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-07 15:21:29 +02:00
Willi Ballenthin
f26a109b4d
pep8
2024-05-07 15:21:14 +02:00
Willi Ballenthin
d26897afca
capabilities: don't show progress bar when stderr is redirected to a file
2024-05-07 15:21:14 +02:00
Willi Ballenthin
6869ef6520
engine, common: use FeatureSet type annotation for evaluate signature
...
It was used in some places already, but now used everywhere consistently.
This should make it easier to refactor the FeatureSet type, if necessary,
because its easier to see all the places its used.
2024-05-07 15:20:50 +02:00
Willi Ballenthin
4fbd2ba2b8
capabilities: fix duplicate name
2024-05-07 15:20:16 +02:00
Willi Ballenthin
283ce41a5e
capabilities: only log "real" matched rules, not derived count
2024-05-07 15:20:16 +02:00
dependabot[bot]
4b1a5003df
build(deps-dev): bump protobuf from 4.23.4 to 5.26.1
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 4.23.4 to 5.26.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v4.23.4...v5.26.1 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-06 12:49:25 +02:00
dependabot[bot]
1cd0f44115
build(deps): bump tqdm from 4.66.2 to 4.66.3
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.2 to 4.66.3.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.3 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-06 12:44:02 +02:00
Moritz
824e852184
Merge pull request #2059 from mandiant/mr-tz-patch-1
...
Update pydantic to 2.7.1
2024-05-03 10:45:08 +02:00
Capa Bot
4be0c40fe6
Sync capa rules submodule
2024-05-03 08:42:32 +00:00
RainRat
4f4adc04c8
fix typos
2024-05-02 21:24:59 +02:00
Moritz
60d400cf08
Update pydantic to 2.7.1
2024-04-30 12:07:02 +02:00
Moritz
2f4d8e1d90
Merge pull request #2057 from mandiant/dependabot/pip/ruamel-yaml-0.18.6
...
build(deps): bump ruamel-yaml from 0.18.5 to 0.18.6
2024-04-30 12:01:44 +02:00
Moritz
fdfa838a15
Merge pull request #2055 from mandiant/dependabot/pip/pyelftools-0.31
...
build(deps): bump pyelftools from 0.30 to 0.31
2024-04-30 12:01:33 +02:00
Moritz
baef70d588
Merge pull request #2054 from mandiant/dependabot/pip/pyinstaller-6.6.0
...
build(deps): bump pyinstaller from 6.4.0 to 6.6.0
2024-04-30 12:01:19 +02:00
Moritz
e24773436e
Merge pull request #2058 from RainRat/master
...
fix typos
2024-04-30 11:57:46 +02:00
RainRat
a4a4016463
fix typos
2024-04-29 23:31:15 -07:00
dependabot[bot]
30535cb623
build(deps): bump ruamel-yaml from 0.18.5 to 0.18.6
...
Bumps [ruamel-yaml]() from 0.18.5 to 0.18.6.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-29 14:43:49 +00:00
dependabot[bot]
2355603340
build(deps): bump pyelftools from 0.30 to 0.31
...
Bumps [pyelftools](https://github.com/eliben/pyelftools ) from 0.30 to 0.31.
- [Changelog](https://github.com/eliben/pyelftools/blob/main/CHANGES )
- [Commits](https://github.com/eliben/pyelftools/compare/v0.30...v0.31 )
---
updated-dependencies:
- dependency-name: pyelftools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-29 14:43:33 +00:00
dependabot[bot]
9a23e6837d
build(deps): bump pyinstaller from 6.4.0 to 6.6.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.4.0 to 6.6.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.4.0...v6.6.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-29 14:43:29 +00:00
Capa Bot
0488c86bc7
Sync capa rules submodule
2024-04-29 09:49:01 +00:00
Moritz
b4092980e3
Merge pull request #2052 from mandiant/dependabot/pip/build-1.2.1
...
build(deps): bump build from 1.0.3 to 1.2.1
2024-04-26 13:27:31 +02:00
Moritz
18bdf23f03
Merge pull request #2051 from mandiant/dependabot/pip/mypy-1.9.0
...
build(deps): bump mypy from 1.8.0 to 1.9.0
2024-04-26 13:27:21 +02:00
Moritz
ac6e9f8aae
Merge pull request #2040 from mandiant/dependabot/pip/pytest-cov-5.0.0
...
build(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0
2024-04-26 13:27:09 +02:00
Capa Bot
abb6d01c1d
Sync capa rules submodule
2024-04-24 11:38:35 +00:00
Capa Bot
984c1b2d39
Sync capa-testfiles submodule
2024-04-23 16:47:43 +00:00
Capa Bot
e3dcbbb386
Sync capa rules submodule
2024-04-23 15:04:54 +00:00
Capa Bot
a8f382ebe8
Sync capa rules submodule
2024-04-23 12:21:09 +00:00
dependabot[bot]
4fb10780ec
build(deps): bump build from 1.0.3 to 1.2.1
...
Bumps [build](https://github.com/pypa/build ) from 1.0.3 to 1.2.1.
- [Release notes](https://github.com/pypa/build/releases )
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/build/compare/1.0.3...1.2.1 )
---
updated-dependencies:
- dependency-name: build
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-22 14:31:16 +00:00
dependabot[bot]
efc7540aa6
build(deps): bump mypy from 1.8.0 to 1.9.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.8.0 to 1.9.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.8.0...1.9.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-22 14:31:12 +00:00
Capa Bot
f1c4ff8e17
Sync capa rules submodule
2024-04-22 08:33:05 +00:00
Capa Bot
f44b4ebebd
Sync capa-testfiles submodule
2024-04-19 12:32:37 +00:00
Moritz
19000409df
Merge pull request #2048 from mandiant/dependabot/pip/setuptools-69.5.1
...
build(deps): bump setuptools from 69.0.3 to 69.5.1
2024-04-16 10:59:06 +02:00
Moritz
42849573b3
Merge pull request #2047 from mandiant/dependabot/pip/black-24.4.0
...
build(deps): bump black from 24.3.0 to 24.4.0
2024-04-16 10:58:55 +02:00
dependabot[bot]
c02440f4b7
build(deps): bump setuptools from 69.0.3 to 69.5.1
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.0.3 to 69.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.0.3...v69.5.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-15 14:54:55 +00:00
dependabot[bot]
676f98acc8
build(deps): bump black from 24.3.0 to 24.4.0
...
Bumps [black](https://github.com/psf/black ) from 24.3.0 to 24.4.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.3.0...24.4.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-15 14:53:33 +00:00
Capa Bot
e3a9c75316
Sync capa-testfiles submodule
2024-04-09 10:47:12 +00:00
Capa Bot
2a54689cc6
Sync capa-testfiles submodule
2024-04-09 08:33:18 +00:00
dependabot[bot]
cd11787bd8
build(deps-dev): bump ruff from 0.2.1 to 0.3.5
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.2.1 to 0.3.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.2.1...v0.3.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 16:29:12 +02:00
Moritz
9171dc2dad
Merge pull request #2044 from acelynnzhang/dynamic-signature-fix
...
Restrict signature debug logging to vivisect backend
2024-04-03 07:20:29 +02:00
Acelynn Zhang
c695b37b0e
Restrict signature debug logging to vivisect backend
...
Closes #1875
2024-04-02 09:49:04 -05:00
dependabot[bot]
e1d0ba22c7
build(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 14:03:56 +00:00
Capa Bot
7debc54dbd
Sync capa-testfiles submodule
2024-03-24 08:31:37 +00:00
Moritz
7b50065fea
Merge pull request #2026 from mandiant/dependabot/pip/types-requests-2.31.0.20240311
...
build(deps-dev): bump types-requests from 2.31.0.20240125 to 2.31.0.20240311
2024-03-22 11:13:18 +01:00
Moritz
37306af37a
Merge pull request #2030 from mandiant/dependabot/pip/black-24.3.0
...
build(deps-dev): bump black from 24.1.1 to 24.3.0
2024-03-22 11:12:58 +01:00
Moritz
c03405c29f
Merge pull request #1996 from mandiant/dependabot/pip/flake8-todos-0.3.1
...
build(deps-dev): bump flake8-todos from 0.3.0 to 0.3.1
2024-03-22 11:06:05 +01:00
Moritz
8fe8981570
Update scorecard.yml ( #2033 )
...
* Update scorecard.yml
2024-03-22 08:57:29 +01:00
Moritz
463f2f1d62
Merge pull request #2017 from xusheng6/test_binja_4_0
...
Test binja 4 0
2024-03-21 13:19:26 +01:00
Moritz
9a5f4562b8
Merge branch 'master' into test_binja_4_0
2024-03-21 12:13:41 +01:00
Abdul Samad Siddiqui
7bc298de1a
Emit "dotnet" as format to ResultDocument when processing .NET files ( #2024 )
...
* Refactor format in `capa/features/extractors/dotnetfile.py`
Signed-off-by: samadpls <abdulsamadsid1@gmail.com >
* updated chanalog.md with the changes
Signed-off-by: samadpls <abdulsamadsid1@gmail.com >
* Refractor CHANGELOG.md
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
---------
Signed-off-by: samadpls <abdulsamadsid1@gmail.com >
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2024-03-20 11:07:05 -06:00
Moritz
cbadab8521
Add faq ( #2032 )
...
* Create faq.md
---------
Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com >
2024-03-20 14:59:02 +01:00
dependabot[bot]
0eaf055a46
build(deps-dev): bump black from 24.1.1 to 24.3.0
...
Bumps [black](https://github.com/psf/black ) from 24.1.1 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.1.1...24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-18 14:38:51 +00:00
N0stalgikow
0eb4291b25
Updating copyright across all files based on when it was first introduced. ( #2027 )
...
* updating copyright, back to the date of origin of file
* updating regex to account for linter violation
2024-03-13 14:04:53 +01:00
Fariss
9d1f110d24
ida-explorer: replace deprecated IDA API find_binary with bin_search ( #2011 )
...
* ida-explorer: replace deprecated IDA API find_binary with bin_search
* Fix packages import sort order
* Modify code style: return on error in find_byte_sequence
* Declare global variables for find_byte_sequence
* Declare global variables for find_byte_sequence
* Declare global variables for find_byte_sequence
* remove IDA_BYTES_PATTERNS, because ida_bytes.parse_bin_pat_str modifies first param
2024-03-11 13:04:16 -06:00
dependabot[bot]
0f0a23946b
build(deps-dev): bump types-requests
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.20240125 to 2.31.0.20240311.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 14:39:04 +00:00
Mike Hunhoff
5b2122a3c6
Update capa + Ghidra README.md ( #2023 )
2024-03-06 11:01:39 -07:00
Aayush Goel
49231366f1
Handles circular dependencies while getting rules and dependencies ( #2014 )
...
* Remove test for scope "unspecified"
* raise error on circular dependency
* test for circular dependency
2024-03-06 11:39:21 +01:00
Capa Bot
10a4381ad5
Sync capa-testfiles submodule
2024-03-05 15:45:40 +00:00
Moritz
7707984237
Merge branch 'master' into test_binja_4_0
2024-03-04 16:21:11 +01:00
N0stalgikow
f6b0673b0f
Adding a citation file to capa ( #2018 )
...
* Adding a citation file to capa
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-03-04 10:56:58 +01:00
Capa Bot
1c1e5c02b0
Sync capa rules submodule
2024-03-04 09:27:58 +00:00
Willi Ballenthin
fe13f9ce76
Merge branch 'master' into test_binja_4_0
2024-03-03 07:20:56 +01:00
P.Sahithi Reddy
04e3f268f3
Update github ci workflow to reflect new ghidrathon installation ( #2020 )
...
* Update github ci workflow to reflect new ghidrathon release installation
* Update CHANGELOG
2024-03-01 16:24:02 -07:00
Xusheng
12234c3572
Update changelog
2024-02-29 17:07:37 +08:00
Xusheng
92cfc0caa7
binja: add support for forwarded export and enable the related unit tests
2024-02-29 17:07:37 +08:00
Xusheng
58e4a30156
binja: fix stack string detection and always use builtin function outlining
2024-02-29 17:07:37 +08:00
Xusheng
bf4695c6bf
binja: update binja version check after 4.0 release
2024-02-29 16:54:54 +08:00
Ana María Martínez Gómez
d63c6f1f9e
Merge pull request #2003 from Ana06/update-actions
...
[CI] Update GitHub actions to versions using Node 20
2024-02-27 13:21:38 -05:00
Capa Bot
08b3ae60d7
Sync capa rules submodule
2024-02-27 11:56:47 +00:00
Ana Maria Martinez Gomez
f5893d7bd3
[changelog] Add actions update
2024-02-27 12:49:28 +01:00
Ana Maria Martinez Gomez
3a90247e5b
[CI] Update github/codeql-action/upload-sarif
...
The old version was using a deprecated version of Node.
2024-02-27 12:46:41 +01:00
Ana Maria Martinez Gomez
bb0dff0610
[CI] Update gradle/gradle-build-action
...
Replace gradle/gradle-build-action by gradle/gradle-build-action, which
supersedes it since v3. The previous version used a deprecated version
of Node.
2024-02-27 12:46:41 +01:00
Ana Maria Martinez Gomez
610a86e5e2
[CI] Update ad-m/github-push-action
...
The old version was using a deprecated version of Node.
2024-02-27 12:46:40 +01:00
Ana Maria Martinez Gomez
cabb9c0975
[CI] Update Ana06/get-changed-files
...
Update Ana06/get-changed-files to the latest version that I released
yesterday using Node 20. The old version was using a deprecated version
of Node.
2024-02-27 12:46:40 +01:00
Ana María Martínez Gómez
c28f4fc890
Merge pull request #2004 from Ana06/changelog-review
...
Fix CHANGELOG PR review & update Ana06/automatic-pull-request-review
2024-02-26 17:49:28 +01:00
Rohit Konakalla
9a449b6bd9
Load .json.gz files directly ( #1990 )
...
* Load .json.gz files directly
* Add helper function to load .json and replace json.load references
* add test and update change log
* add .json.gz in EXTENSIONS_DYNAMIC
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-02-25 16:01:36 +01:00
Ana Maria Martinez Gomez
65b5c46029
[changelog] Add gist badge
...
I didn't originally add the gist badge to the CHANGELOG in #2001 , but I
am thinking now that it may be a good idea to track it.
2024-02-23 20:22:44 +01:00
Ana Maria Martinez Gomez
8857511e55
[CI] Fix CHANGELOG PR review
...
Sending a PR review with a message about the CHANGELOG needing to be
updated has been broken since July, where the permissions were changed.
2024-02-23 16:25:49 +01:00
Ana Maria Martinez Gomez
ffcabf1e0b
[CI] Update Ana06/automatic-pull-request-review
...
The old version was using a deprecated version of Node.
2024-02-23 15:49:28 +01:00
Ana María Martínez Gómez
c6b43d7492
Merge pull request #2001 from Ana06/gist_badge
...
[CI] Use badge in gist for rules number in README
2024-02-23 14:55:44 +01:00
Moritz
8af3a19d61
Merge pull request #2000 from sjha2048/chore/updateGithubActions
...
update github workflows to use latest versions
2024-02-23 13:41:06 +01:00
Ana Maria Martinez Gomez
2252e69eed
[CI] Use badge in gist for rules number in README
...
Since mandiant/capa-rules#882 , the README badge in capa is not updated
anymore via commits anymore, but in a gist.
2024-02-23 08:40:05 +01:00
Sahil
5e85fc9ede
update github workflows to use latest version for depricated actions (checkout, setup-python, upload-artifact, download-artifact)
2024-02-23 02:57:07 +05:30
dependabot[bot]
4e529d5c1f
build(deps-dev): bump flake8-todos from 0.3.0 to 0.3.1
...
Bumps [flake8-todos](https://github.com/orsinium-labs/flake8-todos ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/orsinium-labs/flake8-todos/releases )
- [Commits](https://github.com/orsinium-labs/flake8-todos/compare/0.3.0...0.3.1 )
---
updated-dependencies:
- dependency-name: flake8-todos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-19 14:52:42 +00:00
Willi Ballenthin
0f9dd9095b
fmt
2024-02-14 15:57:24 +01:00
Willi Ballenthin
b163f82a71
changelog
2024-02-14 15:57:24 +01:00
Willi Ballenthin
bd3cc18a25
loader: avoid eager imports of some backend-related code
2024-02-14 15:57:24 +01:00
Willi Ballenthin
4e2f175b9f
rules: don't eagerly import ruamel until needed
2024-02-14 15:57:24 +01:00
Willi Ballenthin
fdd097a141
main: remove unused imports
2024-02-14 15:57:24 +01:00
Willi Ballenthin
1b4e5258f8
elf: don't require vivisect just for type annotations
2024-02-14 15:57:24 +01:00
Capa Bot
1d78900862
Sync capa rules submodule
2024-02-14 13:57:16 +00:00
Moritz
8807d6844d
Merge pull request #1984 from mandiant/dependabot/pip/tqdm-4.66.2
...
build(deps-dev): bump tqdm from 4.66.1 to 4.66.2
2024-02-14 11:04:31 +01:00
Moritz
318a3d1610
Merge pull request #1985 from mandiant/dependabot/pip/flake8-bugbear-24.2.6
...
build(deps-dev): bump flake8-bugbear from 24.1.17 to 24.2.6
2024-02-14 11:04:17 +01:00
Moritz
b86b66a29c
Merge pull request #1986 from mandiant/dependabot/pip/ruff-0.2.1
...
build(deps-dev): bump ruff from 0.1.14 to 0.2.1
2024-02-14 11:04:02 +01:00
Moritz
c263670a21
Merge pull request #1983 from mandiant/dependabot/pip/pyinstaller-6.4.0
...
build(deps-dev): bump pyinstaller from 6.3.0 to 6.4.0
2024-02-14 11:03:43 +01:00
Moritz
fc840d8e7d
Merge pull request #1974 from mandiant/dependabot/pip/pytest-sugar-1.0.0
...
build(deps-dev): bump pytest-sugar from 0.9.7 to 1.0.0
2024-02-14 11:03:22 +01:00
dependabot[bot]
b751a7bba3
build(deps-dev): bump ruff from 0.1.14 to 0.2.1
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.14 to 0.2.1.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.14...v0.2.1 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 14:47:30 +00:00
dependabot[bot]
c8765a4116
build(deps-dev): bump flake8-bugbear from 24.1.17 to 24.2.6
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 24.1.17 to 24.2.6.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.1.17...24.2.6 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 14:47:14 +00:00
dependabot[bot]
4955a23c52
build(deps-dev): bump tqdm from 4.66.1 to 4.66.2
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.1 to 4.66.2.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.2 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 14:47:09 +00:00
dependabot[bot]
16814c376f
build(deps-dev): bump pyinstaller from 6.3.0 to 6.4.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.3.0...v6.4.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 14:47:00 +00:00
Mike Hunhoff
05fb1a5c00
Update Ghidra README ( #1979 )
2024-02-09 08:58:47 -07:00
dependabot[bot]
df8056f415
build(deps-dev): bump pytest-sugar from 0.9.7 to 1.0.0
...
Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar ) from 0.9.7 to 1.0.0.
- [Release notes](https://github.com/Teemu/pytest-sugar/releases )
- [Changelog](https://github.com/Teemu/pytest-sugar/blob/main/CHANGES.rst )
- [Commits](https://github.com/Teemu/pytest-sugar/compare/v0.9.7...v1.0.0 )
---
updated-dependencies:
- dependency-name: pytest-sugar
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 14:45:41 +00:00
Capa Bot
fde1de3250
Sync capa rules submodule
2024-02-05 09:34:46 +00:00
Capa Bot
7ab8dbbd4e
Sync capa-testfiles submodule
2024-02-05 09:31:34 +00:00
Moritz
2ddb6b0773
update to v7.0.1 ( #1972 )
2024-02-02 11:21:50 +01:00
Moritz
5fd532845c
Update .gitmodules
2024-02-02 10:13:36 +01:00
Willi Ballenthin
2a59284621
freeze: remove unused import ( #1969 )
...
* freeze: remove unused import
potentially causing circular import errors
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-02-01 19:41:44 +01:00
Moritz
9adb669921
Merge pull request #1968 from mandiant/doc/blog-links
...
Update blog links
2024-02-01 18:37:21 +01:00
Moritz
034894330b
Update blog links
2024-02-01 15:51:49 +01:00
Moritz
a3a8e36911
Release capa version 7.0.0 ( #1958 )
...
* bump version to 7.0.0
---------
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-02-01 15:21:20 +01:00
Moritz
2c93c5fc83
lint: get backend from format ( #1964 )
...
* get backend from format
* add lint.py script test
* create FakeArgs object
* adjust EOL handling in lints
---------
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2024-02-01 11:33:16 +01:00
Willi Ballenthin
9929967634
changelog
2024-01-31 14:16:23 +01:00
Willi Ballenthin
3436aab3fd
proto: regenerate pyi with same protoc
2024-01-31 14:16:23 +01:00
Lin Chen
9a76558fdf
Add package name for CAPA proto
...
Having a package name is recommended in protobuf's style guide, to avoid
naming conflicts.
2024-01-31 14:16:23 +01:00
Moritz
2e5761a414
Merge pull request #1940 from mandiant/dependabot/pip/flake8-bugbear-24.1.17
...
build(deps-dev): bump flake8-bugbear from 23.12.2 to 24.1.17
2024-01-31 13:49:52 +01:00
Moritz
2f2d4a1d6b
Merge branch 'master' into dependabot/pip/flake8-bugbear-24.1.17
2024-01-31 11:41:05 +01:00
Jensen Coonradt
1a4f2559fa
Change log update to show the removal of the scripts/vivisect-py2-vs-py3.sh file ( #1952 )
...
* remove scripts/vivisect-py2-vs-py3.sh
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-01-31 11:37:46 +01:00
mr-tz
66c2f07ca8
remove BaseException usage
2024-01-31 11:32:00 +01:00
dependabot[bot]
75800b9d2e
build(deps-dev): bump flake8-bugbear from 23.12.2 to 24.1.17
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 23.12.2 to 24.1.17.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.17 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-31 11:32:00 +01:00
dependabot[bot]
bae4091661
build(deps-dev): bump types-requests ( #1954 )
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.20240106 to 2.31.0.20240125.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 11:19:12 +01:00
dependabot[bot]
ba044a980f
build(deps-dev): bump black from 23.12.1 to 24.1.1 ( #1955 )
...
* build(deps-dev): bump black from 23.12.1 to 24.1.1
Bumps [black](https://github.com/psf/black ) from 23.12.1 to 24.1.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.12.1...24.1.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* black 24.1.1 formatting
* update flake config to match black 24.1.1 format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: mr-tz <moritz.raabe@mandiant.com >
2024-01-31 11:18:54 +01:00
Mike Hunhoff
2e7642ef8a
update Ghidra integration ( #1959 )
2024-01-31 00:03:34 -07:00
Colton Gabertan
3e4479e3bb
ghidra: UI integration ( #1786 )
2024-01-30 22:58:35 -07:00
Moritz
437732174b
Merge pull request #1957 from mandiant/fix/explorer-bugs
...
fix rule display and save functionality
2024-01-30 17:16:43 +01:00
mr-tz
f845382471
fix rule display and save functionality
2024-01-30 15:20:16 +01:00
Moritz
06aa3f6528
Merge pull request #1956 from mandiant/dependabot/pip/pytest-8.0.0
...
build(deps-dev): bump pytest from 7.4.4 to 8.0.0
2024-01-30 14:12:49 +01:00
dependabot[bot]
45ebc3e3d6
build(deps-dev): bump pytest from 7.4.4 to 8.0.0
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.4 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-29 14:50:29 +00:00
Willi Ballenthin
c3301d3b3f
refactor main to for ease of integration ( #1948 )
...
* main: split main into a bunch of "main routines"
[wip] since there are a few references to BinExport2
that are in progress elsewhre. Next commit will remove them.
* main: remove references to wip BinExport2 code
* changelog
* main: rename first position argument "input_file"
closes #1946
* main: linters
* main: move rule-related routines to capa.rules
ref #1821
* main: extract routines to capa.loader module
closes #1821
* add loader module
* loader: learn to load freeze format
* freeze: use new cli arg handling
* Update capa/loader.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* main: remove duplicate documentation
* main: add doc about where some functions live
* scripts: migrate to new main wrapper helper functions
* scripts: port to main routines
* main: better handle auto-detection of backend
* scripts: migrate bulk-process to main wrappers
* scripts: migrate scripts to main wrappers
* main: rename *_from_args to *_from_cli
* changelog
* cache-ruleset: remove duplication
* main: fix tag handling
* cache-ruleset: fix cli args
* cache-ruleset: fix special rule cli handling
* scripts: fix type bytes
* main: remove old TODO message
* loader: fix references to binja extractor
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-01-29 13:59:05 +01:00
Willi Ballenthin
d2e1a47192
more ELF OS detection techniques ( #1947 )
...
* elf: os: deprioritize .ident strategy due to potential for FPs
* elf: os: same as parent, fix .ident FP
* elf: os: detect Android via clang compiler .ident note
* elf: os: detect Android via dependency on liblog.so
* changelog
2024-01-25 16:26:31 +01:00
Moritz
85e1495fed
update to v7-beta ( #1942 )
...
* update to v7-beta
2024-01-24 14:55:54 +01:00
Moritz
35ec5511e4
Update capa explorer scopes in rule template ( #1943 )
...
* Update capa explorer scopes in rule template
* Update capa/ida/plugin/view.py
2024-01-23 09:20:16 -07:00
Capa Bot
009cf0c854
Sync capa rules submodule
2024-01-23 09:56:05 +00:00
Capa Bot
96f68620ca
Sync capa rules submodule
2024-01-23 09:55:33 +00:00
Capa Bot
0676e80c20
Sync capa rules submodule
2024-01-23 09:42:16 +00:00
Capa Bot
1c89d01982
Sync capa rules submodule
2024-01-22 19:21:43 +00:00
Moritz
692aba1b1d
Merge pull request #1939 from aaronatp/master
...
Enable tracebacks on PR build attempts
2024-01-22 20:20:25 +01:00
Moritz
7e0cd565fd
Merge pull request #1941 from mandiant/dependabot/pip/ruff-0.1.14
...
build(deps-dev): bump ruff from 0.1.13 to 0.1.14
2024-01-22 20:04:21 +01:00
dependabot[bot]
be97d68182
build(deps-dev): bump ruff from 0.1.13 to 0.1.14
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.13...v0.1.14 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 15:02:43 +00:00
aaronatp
f9bceaa3d7
Enable tracebacks on PR build attempts
2024-01-22 04:42:39 -06:00
Moritz
597f449bfa
Merge pull request #1935 from mandiant/fix/1886
...
fix setuptools package discovery
2024-01-22 10:51:40 +01:00
Moritz
b032eec993
Merge pull request #1934 from mandiant/fix/1880
...
verify target file type and warn user
2024-01-19 09:54:23 +01:00
mr-tz
1a44e899cb
verify target file type and warn user
2024-01-18 12:33:28 +01:00
mr-tz
734bfd4ad2
fix setuptools package discovery
2024-01-18 11:56:00 +01:00
Moritz
12b628318d
Merge pull request #1930 from mandiant/dependabot/pip/pytest-7.4.4
...
build(deps-dev): bump pytest from 7.4.3 to 7.4.4
2024-01-18 10:17:21 +01:00
Moritz
be30117030
Merge pull request #1931 from mandiant/dependabot/pip/ruff-0.1.13
...
build(deps-dev): bump ruff from 0.1.9 to 0.1.13
2024-01-18 10:17:05 +01:00
Capa Bot
6b41e02d63
Sync capa rules submodule
2024-01-17 08:22:01 +00:00
Capa Bot
d2ca130060
Sync capa rules submodule
2024-01-17 08:10:13 +00:00
Moritz
50dcf7ca20
Merge pull request #1932 from mandiant/update-lint-data-20241
...
update lint data
2024-01-17 09:07:48 +01:00
mr-tz
9bc04ec612
update data via script
2024-01-16 15:29:25 +01:00
dependabot[bot]
966976d97c
build(deps-dev): bump ruff from 0.1.9 to 0.1.13
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.9 to 0.1.13.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.9...v0.1.13 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 14:08:54 +00:00
dependabot[bot]
05d7083890
build(deps-dev): bump pytest from 7.4.3 to 7.4.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 14:08:38 +00:00
Willi Ballenthin
1dc72a3183
elf: detect linux via GCC .ident directives ( #1928 )
...
* elf: detect linux via GCC .ident directives
* changelog
* pep8
2024-01-11 16:15:26 +01:00
Capa Bot
efc26be196
Sync capa rules submodule
2024-01-11 14:20:33 +00:00
Willi Ballenthin
f3bc132565
render: show human readable flavor name ( #1925 )
2024-01-11 14:06:39 +01:00
Willi Ballenthin
ad46b33bb7
com: move database into python files ( #1924 )
...
* com: move database into python files
* com: pep8 and lints
* com: fix generated string feature type
* pyinstaller: remove reference to old assets directory
2024-01-11 14:06:24 +01:00
dependabot[bot]
9e5cc07a48
build(deps-dev): bump types-tabulate from 0.9.0.3 to 0.9.0.20240106 ( #1923 )
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.9.0.3 to 0.9.0.20240106.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 12:51:03 -07:00
Moritz
f4fecf43bf
Merge pull request #1922 from mandiant/dependabot/pip/types-requests-2.31.0.20240106
...
build(deps-dev): bump types-requests from 2.31.0.10 to 2.31.0.20240106
2024-01-09 16:20:10 +01:00
Moritz
7426574741
Merge pull request #1921 from mandiant/dependabot/pip/flake8-7.0.0
...
build(deps-dev): bump flake8 from 6.1.0 to 7.0.0
2024-01-09 16:19:57 +01:00
Moritz
9ab7a24153
Merge pull request #1920 from mandiant/dependabot/pip/wcwidth-0.2.13
...
build(deps-dev): bump wcwidth from 0.2.12 to 0.2.13
2024-01-09 16:19:42 +01:00
Mike Hunhoff
f37b598010
fix: do not trim api names that include :: ( #1897 )
2024-01-08 10:59:24 -07:00
dependabot[bot]
5ca59634f3
build(deps-dev): bump types-requests from 2.31.0.10 to 2.31.0.20240106
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.10 to 2.31.0.20240106.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:29 +00:00
dependabot[bot]
42c1a307f3
build(deps-dev): bump flake8 from 6.1.0 to 7.0.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 6.1.0 to 7.0.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:23 +00:00
dependabot[bot]
ef5063171b
build(deps-dev): bump wcwidth from 0.2.12 to 0.2.13
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.12...0.2.13 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:19 +00:00
Blas
7584e4a5e6
dotnet: emit enclosing class information for nested classes ( #1913 )
...
* Update helpers.py
* Update helpers.py
* TypeRef correction in helpers.py
* Fixed TypeRef to proper functionality
* Accounts for TypeRef updated tuple
* Corrected TypeDef tuple creation in helpers.py
* Update types.py
* Update types.py
* Create helpers_draft.py
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update helper functions, variables, and draft further implementations
* Update helpers.py
* Update types.py
* Directly access TypeDef and TypeRef tables
* Update helpers.py
* Update helpers.py
* Delete capa/features/extractors/dnfile/helpers_draft.py
* Update types.py
* Update dotnetfile.py
* Update types.py comment
* Clean extract_file_class_features in dotnetfile.py
* Cleaned up callers, var names, and other small items
* Update dotnetfile.py
* Clean up caller logic in dotnetfile.py
* Clean up callers and update helper logic in helpers.py
* Linter corrections for types.py
* Linter corrections for dotnetfile.py
* Linter corrections and caller functions cleanup for helpers.py
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update helpers.py
* Update dotnetfile.py
* Update tuple type in types.py
* Update dotnetfile.py
* Update return value annotations in helpers.py
* Linting update types.py
* Linting update dotnetfile.py
* Added unit tests to fixtures.py
* Update types.py
* Linting fix for types.py
* Update CHANGELOG.md
* Small changes to return types in helpers.py
---------
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2024-01-05 10:09:38 -07:00
Capa Bot
62474c764a
Sync capa-testfiles submodule
2024-01-05 14:24:40 +00:00
Capa Bot
1fc26b4f27
Sync capa rules submodule
2024-01-04 13:07:27 +00:00
Capa Bot
037a97381c
Sync capa-testfiles submodule
2024-01-04 08:16:43 +00:00
Capa Bot
ef65f14260
Sync capa-testfiles submodule
2024-01-03 16:36:36 +00:00
Capa Bot
3214ecf0ee
Sync capa rules submodule
2024-01-03 16:32:40 +00:00
dependabot[bot]
23c5e6797f
build(deps-dev): bump ruff from 0.1.7 to 0.1.9 ( #1915 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.7...v0.1.9 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 10:31:29 -07:00
dependabot[bot]
e940890c29
build(deps-dev): bump mypy from 1.7.1 to 1.8.0 ( #1916 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.7.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 09:05:49 -07:00
dependabot[bot]
21b76fc91e
build(deps-dev): bump setuptools from 69.0.2 to 69.0.3 ( #1917 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.0.2 to 69.0.3.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.0.2...v69.0.3 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 09:05:27 -07:00
dependabot[bot]
05ef952129
build(deps-dev): bump black from 23.12.0 to 23.12.1 ( #1918 )
...
Bumps [black](https://github.com/psf/black ) from 23.12.0 to 23.12.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.12.0...23.12.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 09:05:09 -07:00
Mike Hunhoff
22f4251ad6
ghidra: improve instruction string and bytes feature extraction ( #1885 )
...
* ghidra: improve instruction string and bytes feature extraction
* focus on data references only
* remove unneeded check
2023-12-24 18:24:54 -08:00
dependabot[bot]
92478d2469
build(deps-dev): bump black from 23.11.0 to 23.12.0 ( #1911 )
...
Bumps [black](https://github.com/psf/black ) from 23.11.0 to 23.12.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.11.0...23.12.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:29:40 -07:00
dependabot[bot]
2aaba6ef16
build(deps-dev): bump isort from 5.13.0 to 5.13.2 ( #1910 )
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.13.0 to 5.13.2.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.13.0...5.13.2 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:04:49 -07:00
dependabot[bot]
8120fb796e
build(deps-dev): bump flake8-bugbear from 23.11.26 to 23.12.2 ( #1892 )
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 23.11.26 to 23.12.2.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.11.26...23.12.2 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:03:51 -07:00
dependabot[bot]
f3c38ae300
build(deps-dev): bump termcolor from 2.3.0 to 2.4.0 ( #1891 )
...
Bumps [termcolor](https://github.com/termcolor/termcolor ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/termcolor/termcolor/releases )
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md )
- [Commits](https://github.com/termcolor/termcolor/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: termcolor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:03:39 -07:00
Capa Bot
bf56ee0311
Sync capa rules submodule
2023-12-18 06:54:41 +00:00
Capa Bot
4a84660e76
Sync capa rules submodule
2023-12-18 06:54:07 +00:00
Mike Hunhoff
382c20cd58
ghidra: fix UnboundLocalError exception ( #1881 )
2023-12-15 17:03:43 -08:00
Mike Hunhoff
2dbac05716
ghidra: fix IndexError exception ( #1879 )
...
* ghidra: fix IndexError exception
2023-12-15 16:23:19 -08:00
dependabot[bot]
3f449f3c0f
build(deps-dev): bump isort from 5.11.4 to 5.13.0 ( #1900 )
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.11.4 to 5.13.0.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.11.4...5.13.0 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:56:24 +01:00
dependabot[bot]
51b63b465b
build(deps-dev): bump ruff from 0.1.6 to 0.1.7 ( #1902 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.6...v0.1.7 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:56:16 +01:00
dependabot[bot]
afb3426e96
build(deps-dev): bump pyinstaller from 6.2.0 to 6.3.0 ( #1901 )
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.2.0...v6.3.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:56:04 +01:00
Arnim Rupp
1d3ae1f216
Update capa2yara.py ( #1904 )
...
Extend unhandled strings to allow capa2yara to run through
2023-12-13 15:51:56 +01:00
Capa Bot
f229c8ecb8
Sync capa rules submodule
2023-12-13 11:04:32 +00:00
Capa Bot
e3da2d88d0
Sync capa rules submodule
2023-12-11 16:07:10 +00:00
Capa Bot
e4eb4340b1
Sync capa rules submodule
2023-12-09 06:53:06 +00:00
Capa Bot
a8e7611252
Sync capa rules submodule
2023-12-08 21:41:12 +00:00
aaronatp
8531acd7c5
Only show stack trace in debug mode ( #1860 )
...
* Only show stack trace in dev mode
* Update custom exception handler to handle KeyboardInterrupts
2023-12-08 22:07:16 +01:00
Mike Hunhoff
d6f7d2180f
dotnet: combine dnfile_.py and dotnetfile.py ( #1895 )
2023-12-07 14:06:54 -07:00
Moritz
d1b213aaac
Merge pull request #1890 from mandiant/fix-dlls
...
fix symbol generation, ordinals
2023-12-03 21:05:01 +01:00
mr-tz
51ddadbc87
fix symbol generation, ordinals
2023-12-03 17:49:54 +02:00
Moritz
cd52b1937b
Merge pull request #1887 from mandiant/fix/dynamic/1882
...
dynamic: fix UnboundLocalError exception
2023-12-01 14:52:55 +01:00
Mike Hunhoff
ca14dab804
dynamic: fix UnboundLocalError exception
2023-11-30 14:52:18 -07:00
Moritz
fbe0440361
add build for Python 3.11 for linux ( #1877 )
...
* add build for Python 3.11 for linux
2023-11-29 22:42:56 +01:00
Moritz
4c3586b5e9
Merge pull request #1697 from mandiant/dynamic-feature-extraction
...
add dynamic analysis
2023-11-29 17:45:24 +01:00
mr-tz
47019e4d7c
Merge branch 'master' into dynamic-feature-extraction
2023-11-29 16:28:12 +01:00
Capa Bot
a236a952bc
Sync capa rules submodule
2023-11-29 15:24:54 +00:00
mr-tz
73ea822123
Merge branch 'master' into dynamic-feature-extraction
2023-11-29 16:17:09 +01:00
Willi Ballenthin
3c159a1f52
ci: revert temporary CI event subscription
2023-11-29 14:26:53 +00:00
Capa Bot
7db40c3af8
Sync capa rules submodule
2023-11-29 13:53:18 +00:00
Willi Ballenthin
9a996d07c7
Merge branch 'dynamic-feature-extraction' of public.github.com:mandiant/capa into dynamic-feature-extraction
2023-11-29 13:46:47 +00:00
Willi Ballenthin
93cfb6ef8c
sync testfiles submodule
2023-11-29 13:46:29 +00:00
Capa Bot
a29c320f95
Sync capa-testfiles submodule
2023-11-29 13:45:44 +00:00
Capa Bot
277d7e0687
Sync capa rules submodule
2023-11-29 13:33:01 +00:00
Yacine
e66c2efcf5
add documentation for dynamic capa capabilties ( #1837 )
...
* README: adapt for dynamic capa
* README.md: fix duplication error
* Update README.md
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* documentation: add review suggestions
* documentation: newline fix
* Update README.md
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* Update README.md
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* Update README.md
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-11-29 14:26:29 +01:00
Willi Ballenthin
583f8b5688
Merge branch 'dynamic-feature-extraction' of public.github.com:mandiant/capa into dynamic-feature-extraction
2023-11-29 13:13:04 +00:00
Willi Ballenthin
b4c6bf859e
changelog
2023-11-29 13:12:30 +00:00
Moritz
ba9da0dd82
Merge pull request #1876 from mandiant/fix/1867
...
set os, arch, format in meta table
2023-11-29 13:44:43 +01:00
mr-tz
92770dd5c7
set os, arch, format in meta table
2023-11-28 17:09:14 +01:00
Moritz
8946cb633e
Merge pull request #1874 from mandiant/fix/global-features
...
only check and display file limitation once
2023-11-28 15:19:10 +01:00
mr-tz
8f0eb5676e
only check and display file limitation once
2023-11-28 15:00:47 +01:00
Willi Ballenthin
cb1a037502
Merge pull request #1869 from mandiant/dependabot/pip/flake8-encodings-0.5.1
...
build(deps-dev): bump flake8-encodings from 0.5.0.post1 to 0.5.1
2023-11-28 12:38:19 +00:00
dependabot[bot]
c8d0071443
build(deps-dev): bump flake8-encodings from 0.5.0.post1 to 0.5.1
...
Bumps [flake8-encodings](https://github.com/python-formate/flake8-encodings ) from 0.5.0.post1 to 0.5.1.
- [Release notes](https://github.com/python-formate/flake8-encodings/releases )
- [Commits](https://github.com/python-formate/flake8-encodings/compare/v0.5.0.post1...v0.5.1 )
---
updated-dependencies:
- dependency-name: flake8-encodings
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 12:37:42 +00:00
Willi Ballenthin
e6b8a3e505
Merge pull request #1870 from mandiant/dependabot/pip/wcwidth-0.2.12
...
build(deps-dev): bump wcwidth from 0.2.10 to 0.2.12
2023-11-28 12:37:16 +00:00
Willi Ballenthin
f328df1bc4
Merge pull request #1871 from mandiant/dependabot/pip/setuptools-69.0.2
...
build(deps-dev): bump setuptools from 68.0.0 to 69.0.2
2023-11-28 12:37:06 +00:00
Willi Ballenthin
d1aa1557b2
Merge pull request #1872 from mandiant/dependabot/pip/flake8-bugbear-23.11.26
...
build(deps-dev): bump flake8-bugbear from 23.9.16 to 23.11.26
2023-11-28 12:36:58 +00:00
Willi Ballenthin
a0929124ec
Merge pull request #1873 from mandiant/dependabot/pip/mypy-1.7.1
...
build(deps-dev): bump mypy from 1.7.0 to 1.7.1
2023-11-28 12:36:47 +00:00
dependabot[bot]
84ed6c8d24
build(deps-dev): bump mypy from 1.7.0 to 1.7.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-27 14:56:45 +00:00
dependabot[bot]
61c8e30f65
build(deps-dev): bump flake8-bugbear from 23.9.16 to 23.11.26
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 23.9.16 to 23.11.26.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-27 14:56:29 +00:00
dependabot[bot]
6a4994f1ef
build(deps-dev): bump setuptools from 68.0.0 to 69.0.2
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 68.0.0 to 69.0.2.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v68.0.0...v69.0.2 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-27 14:56:01 +00:00
dependabot[bot]
fce105060d
build(deps-dev): bump wcwidth from 0.2.10 to 0.2.12
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.10 to 0.2.12.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.10...0.2.12 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-27 14:55:45 +00:00
Moritz
d84457eac7
Merge pull request #1868 from mandiant/fix/global-features
...
Fix global features and display
2023-11-27 14:06:01 +01:00
mr-tz
890c879e7c
only check and display file limitation once
2023-11-27 13:28:36 +01:00
mr-tz
f201ef1d22
actually get global feature values
2023-11-27 13:28:06 +01:00
Moritz
f763d14266
Merge pull request #1862 from mandiant/dependabot/pip/wcwidth-0.2.10
...
build(deps-dev): bump wcwidth from 0.2.9 to 0.2.10
2023-11-23 12:28:16 +01:00
Moritz
6f0be06f86
Merge pull request #1861 from mandiant/dependabot/pip/ruff-0.1.6
...
build(deps-dev): bump ruff from 0.1.5 to 0.1.6
2023-11-23 12:28:05 +01:00
Capa Bot
347687579c
Sync capa rules submodule
2023-11-22 18:05:52 +00:00
Capa Bot
d61d1dc591
Sync capa rules submodule
2023-11-22 13:10:44 +00:00
Capa Bot
235a3bede0
Sync capa rules submodule
2023-11-21 10:52:38 +00:00
dependabot[bot]
cf35d2c497
build(deps-dev): bump wcwidth from 0.2.9 to 0.2.10
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.9...0.2.10 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-20 14:20:59 +00:00
dependabot[bot]
f6048b9e99
build(deps-dev): bump ruff from 0.1.5 to 0.1.6
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.5...v0.1.6 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-20 14:20:47 +00:00
Capa Bot
9d1e60d4a2
Sync capa-testfiles submodule
2023-11-20 11:40:22 +00:00
Capa Bot
fb1235d26f
Sync capa rules submodule
2023-11-20 10:27:11 +00:00
Capa Bot
3fe2328bd2
Sync capa rules submodule
2023-11-17 23:27:52 +00:00
Willi Ballenthin
647abb669f
Merge pull request #1858 from doomedraven/patch-1
2023-11-16 14:16:16 +01:00
doomedraven
a5e1eca8cc
Create pip-audit.yml
2023-11-16 13:27:25 +01:00
Willi Ballenthin
fdb96709ae
Merge pull request #1856 from doomedraven/patch-1
...
fix pydantic vuln (ReDoS)
2023-11-16 13:20:01 +01:00
doomedraven
490271e50b
fix pydantic vuln (ReDoS)
...
Regular Expression Denial of Service (ReDoS)
MEDIUM SEVERITY
Package Manager: pip
Vulnerable module: pydantic
Remediation
Upgrade pydantic to version 1.10.13, 2.4.0 or higher.
2023-11-16 10:54:59 +01:00
Willi Ballenthin
a870c92a2f
sync submodule rules
2023-11-15 11:00:51 +00:00
Willi Ballenthin
de5f08871e
sync submodule rules
2023-11-15 10:57:16 +00:00
Capa Bot
2f60ec03af
Sync capa rules submodule
2023-11-15 09:25:02 +00:00
Willi Ballenthin
987eb2d358
sync rules submodule
2023-11-14 14:34:08 +00:00
Willi Ballenthin
6e3fff4bae
use latest rules migration
2023-11-14 14:29:34 +00:00
Willi Ballenthin
a705bf9eab
Merge pull request #1825 from mandiant/fix/issue-1816
...
verbose: show process name and other human-level details
2023-11-14 12:33:41 +01:00
Willi Ballenthin
c68c68d5cb
Merge branch 'dynamic-feature-extraction' into fix/issue-1816
2023-11-14 11:36:24 +01:00
Willi Ballenthin
82013f0e24
submodule: tests: data: sync
2023-11-14 10:35:18 +00:00
Willi Ballenthin
210a13d94e
Merge pull request #1850 from mandiant/dependabot/pip/mypy-1.7.0
...
build(deps-dev): bump mypy from 1.6.1 to 1.7.0
2023-11-14 11:29:59 +01:00
dependabot[bot]
0d5ff45c76
build(deps-dev): bump mypy from 1.6.1 to 1.7.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.6.1 to 1.7.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-14 10:29:20 +00:00
Willi Ballenthin
11b98cb0b1
Merge pull request #1849 from mandiant/dependabot/pip/black-23.11.0
...
build(deps-dev): bump black from 23.10.1 to 23.11.0
2023-11-14 11:29:12 +01:00
dependabot[bot]
3c9ab63521
build(deps-dev): bump black from 23.10.1 to 23.11.0
...
Bumps [black](https://github.com/psf/black ) from 23.10.1 to 23.11.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.10.1...23.11.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-14 10:29:05 +00:00
Willi Ballenthin
a2fde921aa
Merge pull request #1848 from mandiant/dependabot/pip/ruff-0.1.5
...
build(deps-dev): bump ruff from 0.1.4 to 0.1.5
2023-11-14 11:28:25 +01:00
Willi Ballenthin
d4f7c77be8
Merge pull request #1847 from mandiant/dependabot/pip/pyinstaller-6.2.0
...
build(deps-dev): bump pyinstaller from 6.1.0 to 6.2.0
2023-11-14 11:28:08 +01:00
dependabot[bot]
f0f95824ac
build(deps-dev): bump ruff from 0.1.4 to 0.1.5
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.4...v0.1.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-13 14:21:13 +00:00
dependabot[bot]
0ba5c23847
build(deps-dev): bump pyinstaller from 6.1.0 to 6.2.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.1.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-13 14:20:52 +00:00
Moritz
dee0aa73eb
Merge pull request #1844 from mandiant/mr-tz-patch-1
...
fix whitespace removal in format check
2023-11-11 19:53:44 +01:00
Moritz
41a397661f
fix whitespace removal in format check
2023-11-10 11:40:55 +01:00
Moritz
52997e70a0
fix imports according to ruff
2023-11-08 16:58:40 +01:00
Moritz
1acc2d1959
Merge branch 'dynamic-feature-extraction' into fix/issue-1816
2023-11-08 16:56:05 +01:00
Moritz
74f70856a6
Merge pull request #1840 from mandiant/dependabot/pip/wcwidth-0.2.9
...
build(deps-dev): bump wcwidth from 0.2.8 to 0.2.9
2023-11-08 15:38:27 +01:00
Moritz
e5b7ee96fc
Merge pull request #1839 from mandiant/dependabot/pip/black-23.10.1
...
build(deps-dev): bump black from 23.10.0 to 23.10.1
2023-11-08 15:38:02 +01:00
Moritz
92d43f5327
Merge pull request #1838 from mandiant/dependabot/pip/ruamel-yaml-0.18.5
...
build(deps-dev): bump ruamel-yaml from 0.18.3 to 0.18.5
2023-11-08 15:37:31 +01:00
dependabot[bot]
48abd297a8
build(deps-dev): bump black from 23.10.0 to 23.10.1
...
Bumps [black](https://github.com/psf/black ) from 23.10.0 to 23.10.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-07 13:16:09 +00:00
Willi Ballenthin
d64a10a287
Merge pull request #1841 from mandiant/dependabot/pip/ruff-0.1.4
...
build(deps-dev): bump ruff from 0.0.291 to 0.1.4
2023-11-07 14:15:24 +01:00
dependabot[bot]
abf83fe8cf
build(deps-dev): bump ruff from 0.0.291 to 0.1.4
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.291 to 0.1.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.291...v0.1.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 14:42:18 +00:00
dependabot[bot]
6380d936ae
build(deps-dev): bump wcwidth from 0.2.8 to 0.2.9
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.8...0.2.9 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 14:42:06 +00:00
dependabot[bot]
18ab8d28d9
build(deps-dev): bump ruamel-yaml from 0.18.3 to 0.18.5
...
Bumps [ruamel-yaml]() from 0.18.3 to 0.18.5.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 14:41:55 +00:00
Willi Ballenthin
a52af3895a
verbose: remove TODOs
2023-11-06 10:37:22 +00:00
Willi Ballenthin
5d31bc462b
verbose: render dynamic match locations
2023-11-06 10:34:26 +00:00
Willi Ballenthin
7678897334
tests: fix render tests
2023-11-06 10:32:44 +00:00
Willi Ballenthin
75ff58edaa
vverbose: better render pid/tid/call index
2023-11-06 10:09:23 +00:00
Willi Ballenthin
eb12ec43f0
mypy
2023-11-06 09:52:00 +00:00
Willi Ballenthin
f7c72cd1c3
vverbose: don't repeat rendered calls when in call scope
2023-11-06 09:52:00 +00:00
Willi Ballenthin
0da614aa4f
vverbose: dynamic: show rendered matching API call
2023-11-06 09:52:00 +00:00
Willi Ballenthin
9c81ccf88a
vverbose: make missing names an error
2023-11-06 09:52:00 +00:00
Willi Ballenthin
c141f7ec6e
verbose: better render scopes
2023-11-06 09:52:00 +00:00
Willi Ballenthin
274a710bb1
report: better compute dynamic layout
2023-11-06 09:52:00 +00:00
Willi Ballenthin
4a7e488e4c
Update capa/render/vverbose.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-11-01 12:19:13 +01:00
Willi Ballenthin
348120dea9
Merge pull request #1835 from mandiant/dependabot/pip/ruamel-yaml-0.18.3
...
build(deps-dev): bump ruamel-yaml from 0.17.35 to 0.18.3
2023-11-01 12:17:22 +01:00
Willi Ballenthin
435eea1b80
Merge pull request #1834 from mandiant/dependabot/pip/pytest-7.4.3
...
build(deps-dev): bump pytest from 7.4.2 to 7.4.3
2023-11-01 12:17:12 +01:00
Willi Ballenthin
621d42a093
Merge pull request #1831 from mandiant/dependabot/pip/flake8-no-implicit-concat-0.3.5
...
build(deps-dev): bump flake8-no-implicit-concat from 0.3.4 to 0.3.5
2023-11-01 12:17:04 +01:00
Willi Ballenthin
15701c6d12
Merge pull request #1829 from mandiant/dependabot/pip/mypy-1.6.1
...
build(deps-dev): bump mypy from 1.6.0 to 1.6.1
2023-11-01 12:16:55 +01:00
Willi Ballenthin
ec7fc86dc5
Merge pull request #1828 from mandiant/dependabot/pip/types-requests-2.31.0.10
...
build(deps-dev): bump types-requests from 2.31.0.2 to 2.31.0.10
2023-11-01 12:16:46 +01:00
dependabot[bot]
8d55c2f249
build(deps-dev): bump ruamel-yaml from 0.17.35 to 0.18.3
...
Bumps [ruamel-yaml]() from 0.17.35 to 0.18.3.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-30 14:11:50 +00:00
dependabot[bot]
66607f1412
build(deps-dev): bump pytest from 7.4.2 to 7.4.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-30 14:11:00 +00:00
Yacine
0097822e51
Merge pull request #1820 from yelhamer/capabilities-module
...
add a capabilities module
2023-10-27 13:39:49 +02:00
Yacine Elhamer
e559cc27d5
capa.rules: remove redundant ceng.MatchResults import
2023-10-26 19:43:26 +02:00
Yacine Elhamer
a0cec3f07d
capa.rules: remove redundant is_internal_rule() and has_file_limitations() from capa source code
2023-10-26 19:41:09 +02:00
dependabot[bot]
874faf0901
build(deps-dev): bump mypy from 1.6.0 to 1.6.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.6.0 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 19:48:35 +00:00
Moritz
4750913fad
Merge pull request #1827 from mandiant/dependabot/pip/black-23.10.0
...
build(deps-dev): bump black from 23.9.1 to 23.10.0
2023-10-24 21:47:52 +02:00
dependabot[bot]
e7198b2aaf
build(deps-dev): bump flake8-no-implicit-concat from 0.3.4 to 0.3.5
...
Bumps [flake8-no-implicit-concat](https://github.com/10sr/flake8-no-implicit-concat ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/10sr/flake8-no-implicit-concat/releases )
- [Changelog](https://github.com/10sr/flake8-no-implicit-concat/blob/master/CHANGELOG.md )
- [Commits](https://github.com/10sr/flake8-no-implicit-concat/compare/v0.3.4...v0.3.5 )
---
updated-dependencies:
- dependency-name: flake8-no-implicit-concat
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:47:26 +00:00
dependabot[bot]
426931c392
build(deps-dev): bump types-requests from 2.31.0.2 to 2.31.0.10
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.2 to 2.31.0.10.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:47:03 +00:00
dependabot[bot]
fec1e6a947
build(deps-dev): bump black from 23.9.1 to 23.10.0
...
Bumps [black](https://github.com/psf/black ) from 23.9.1 to 23.10.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:46:59 +00:00
Moritz
db53424548
Merge pull request #1826 from mandiant/fix-model-hexint
...
fix parsing base 10/16
2023-10-23 09:02:21 +02:00
Yacine Elhamer
8029fed31c
Merge branch 'capabilities-module' of https://github.com/yelhamer/capa into capabilities-module
2023-10-20 20:11:28 +02:00
Yacine Elhamer
3572b512d9
test_capabilities.py: add missing test_com_feature_matching() test
2023-10-20 20:11:08 +02:00
Yacine Elhamer
ab06c94d80
capa/main.py: move has_rule_with_namespace() to capa.rules.RuleSet
2023-10-20 20:10:29 +02:00
Willi Ballenthin
9e6919f33c
layout: capture call names
...
so that they can be rendered to output
2023-10-20 14:21:13 +00:00
mr-tz
99042f232d
fix parsing base 10/16
2023-10-20 15:26:11 +02:00
Willi Ballenthin
393b0e63f0
layout: capture process name
2023-10-20 12:39:28 +00:00
Willi Ballenthin
ee4f02908c
layout: capture process name
2023-10-20 12:38:35 +00:00
Moritz
c9df78252a
Ignore DLL names for API features ( #1824 )
...
* ignore DLL name for api features
* keep DLL name for import features
* fix tests
2023-10-20 13:39:15 +02:00
Willi Ballenthin
788251ba2b
vverbose: render scope for humans
2023-10-20 11:37:42 +00:00
Willi Ballenthin
62d4b008c5
Merge pull request #1822 from mandiant/fix/dynamic-freeze
...
update freeze for dynamic
2023-10-20 13:16:48 +02:00
Capa Bot
be6f87318e
Sync capa rules submodule
2023-10-20 09:50:07 +00:00
Yacine Elhamer
aae72667a3
Merge branch 'capabilities-module' of https://github.com/yelhamer/capa into capabilities-module
2023-10-20 10:16:41 +02:00
Yacine Elhamer
d6c5d98b0d
move is_file_limitation_rule() to the rules module (Rule class)
2023-10-20 10:16:09 +02:00
Yacine Elhamer
d5ae2ffd91
capa.capabilities: move has_file_limitations() from capa.main to the capabilities module
2023-10-20 10:15:20 +02:00
Yacine Elhamer
96fb204d9d
move capa.features.capabilities to capa.capabilities, and update scripts
2023-10-20 09:54:24 +02:00
Yacine
20604c4b41
Update capa/capabilities/static.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-10-20 09:28:13 +02:00
Yacine
423d942bd0
Update capa/capabilities/dynamic.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-10-20 09:28:05 +02:00
Yacine
f9b87417e6
Update capa/capabilities/common.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-10-20 09:27:58 +02:00
Willi Ballenthin
fc4618e234
Merge branch 'dynamic-feature-extraction' into fix/dynamic-freeze
2023-10-20 09:16:07 +02:00
Willi Ballenthin
1143f2ba56
changelog
2023-10-20 07:11:42 +00:00
Willi Ballenthin
10dc4b92b1
freeze: update freeze format v3
2023-10-20 06:59:53 +00:00
Willi Ballenthin
bfecf414fb
freeze: add dynamic tests
2023-10-20 06:59:34 +00:00
Willi Ballenthin
0231ceef87
null extractor: fix typings
2023-10-20 06:59:16 +00:00
Yacine
0ae8f34aff
Merge branch 'dynamic-feature-extraction' into capabilities-module
2023-10-20 08:55:49 +02:00
Moritz
b8b55f4e19
identify potential JSON object data start ( #1819 )
...
* identify potential JSON object data start
2023-10-19 17:17:57 +02:00
Willi Ballenthin
d42829d7e7
Merge pull request #1765 from mandiant/fix/dynamic-proto
...
protobuf: add dynamic support
2023-10-19 13:37:45 +02:00
Willi Ballenthin
c724a4b311
ci: only run BN and Ghidra tests after others complete
...
these are much less likely to fail because they're
changed less often, so don't run them until we know
other tests also pass.
2023-10-19 11:35:42 +00:00
Willi Ballenthin
84e22b187d
doc
2023-10-19 11:29:30 +00:00
Willi Ballenthin
b6a0d6e1f3
pre-commit: fix stages
2023-10-19 11:26:22 +00:00
Willi Ballenthin
1cb3ca61cd
pre-commit: only run fast checks during commit
2023-10-19 10:35:57 +00:00
Willi Ballenthin
288313a300
changelog
2023-10-19 10:28:37 +00:00
Willi Ballenthin
2cc6a37713
ci: run fast tests before the full suite
2023-10-19 10:23:03 +00:00
Willi Ballenthin
fbeb33a91f
Merge branch 'dynamic-feature-extraction' into fix/dynamic-proto
2023-10-19 10:05:26 +00:00
Willi Ballenthin
3519125e03
tests: fix COM tests with dynamic scope
2023-10-19 10:04:26 +00:00
Willi Ballenthin
98360328f9
proto: fix serialization of call address
2023-10-19 09:59:18 +00:00
Willi Ballenthin
3d4facd9a3
Merge branch 'dynamic-feature-extraction' into fix/dynamic-proto
2023-10-19 09:24:37 +00:00
Willi Ballenthin
8b0ba1e656
tests: rename freeze tests
2023-10-19 09:24:18 +00:00
Willi Ballenthin
7bc3fba7b0
Merge branch 'dynamic-feature-extraction' into fix/dynamic-proto
2023-10-19 09:20:15 +00:00
Willi Ballenthin
d5e187bc70
Merge branch 'master' into dynamic-feature-extraction
2023-10-19 09:15:57 +00:00
Yacine Elhamer
85610a82c5
changelog fix
2023-10-19 10:59:45 +02:00
Yacine Elhamer
f2011c162c
fix styling issues
2023-10-19 10:58:30 +02:00
Yacine Elhamer
37caeb2736
capabilities: add a test file for the new capabilities module, and move the corresponding tests from main to there
2023-10-19 10:54:53 +02:00
Yacine Elhamer
5c48f38208
capa/main.py: add a capabilities module and move all of the capability extraction there
2023-10-19 10:39:14 +02:00
Moritz
8687c740d5
Merge pull request #1817 from mandiant/improve-vv-render
...
improve vverbose rendering
2023-10-19 09:41:31 +02:00
Yacine
9609d63f8a
Update tests/test_main.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-10-19 08:10:29 +02:00
Capa Bot
772f806eb6
Sync capa rules submodule
2023-10-18 15:01:37 +00:00
Willi Ballenthin
5eaba611d1
Merge pull request #1738 from Aayush-Goel-04/Aayush-Goel-04/Issue#322
...
add com class/interface features
2023-10-18 17:00:39 +02:00
mr-tz
b6f13f3489
improve vverbose rendering
2023-10-18 13:37:56 +02:00
Aayush Goel
178cfce456
Merge branch 'Aayush-Goel-04/Issue#322' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#322
2023-10-18 16:33:37 +05:30
Aayush Goel
94cf53a1e3
Update __init__.py
2023-10-18 16:33:31 +05:30
Moritz
2cfd45022a
improve and fix various dynamic parts ( #1809 )
...
* improve and fix various dynamic parts
2023-10-18 10:59:41 +02:00
Aayush Goel
26a2d1b4d1
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#322
2023-10-17 21:09:07 +05:30
Aayush Goel
6dbd3768ce
Update __init__.py
2023-10-17 21:04:21 +05:30
Willi Ballenthin
21f9e0736d
isort
2023-10-17 15:07:34 +00:00
Aayush Goel
7cd5aa1c40
Added Enum for comType
2023-10-17 20:28:49 +05:30
Willi Ballenthin
55e4fddc51
mypy
2023-10-17 14:46:33 +00:00
Willi Ballenthin
1aac4a1a69
mypy
2023-10-17 14:42:58 +00:00
Willi Ballenthin
92daf3a530
elffile: fix property access
2023-10-17 14:28:52 +00:00
Willi Ballenthin
547502051f
dynamic: fix tests
2023-10-17 14:27:36 +00:00
Aayush Goel
884b714be2
loading com db only once
...
avoid loading db multiple times by caching it.
2023-10-17 19:48:06 +05:30
Willi Ballenthin
7205bc26ef
submodule: rules: update
2023-10-17 12:28:45 +00:00
Willi Ballenthin
e1b3a3f6b4
rules: fix rendering of yaml
2023-10-17 12:22:32 +00:00
Willi Ballenthin
cb5fa36fc8
flake8
2023-10-17 11:44:48 +00:00
Willi Ballenthin
8ee97acf2a
dynamic: fix some tests
2023-10-17 11:43:09 +00:00
Willi Ballenthin
44d05f9498
dynamic: fix some tests
2023-10-17 11:41:40 +00:00
Willi Ballenthin
bf233c1c7a
integrate Ghidra backend with dynamic analysis
2023-10-17 10:56:35 +00:00
Willi Ballenthin
182a9868ca
merge master
2023-10-17 10:32:25 +00:00
Willi Ballenthin
40d9587fa4
Merge pull request #1808 from mandiant/dependabot/pip/ruamel-yaml-0.17.35
...
build(deps-dev): bump ruamel-yaml from 0.17.32 to 0.17.35
2023-10-17 09:59:41 +02:00
Willi Ballenthin
430fdb074b
Merge pull request #1807 from mandiant/dependabot/pip/pre-commit-3.5.0
...
build(deps-dev): bump pre-commit from 3.4.0 to 3.5.0
2023-10-17 09:59:30 +02:00
Willi Ballenthin
0324d24490
Merge pull request #1806 from mandiant/dependabot/pip/flake8-simplify-0.21.0
...
build(deps-dev): bump flake8-simplify from 0.20.0 to 0.21.0
2023-10-17 09:59:21 +02:00
Willi Ballenthin
41c286d1a3
Merge pull request #1805 from mandiant/dependabot/pip/pyinstaller-6.1.0
...
build(deps-dev): bump pyinstaller from 6.0.0 to 6.1.0
2023-10-17 09:59:13 +02:00
Willi Ballenthin
187cf40d6f
Merge pull request #1804 from mandiant/dependabot/pip/mypy-1.6.0
...
build(deps-dev): bump mypy from 1.5.1 to 1.6.0
2023-10-17 09:58:44 +02:00
Capa Bot
c37a0e525c
Sync capa rules submodule
2023-10-16 14:53:14 +00:00
dependabot[bot]
de0c35b6ad
build(deps-dev): bump ruamel-yaml from 0.17.32 to 0.17.35
...
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree ) from 0.17.32 to 0.17.35.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 14:18:33 +00:00
dependabot[bot]
d99b454c0e
build(deps-dev): bump pre-commit from 3.4.0 to 3.5.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 14:18:11 +00:00
dependabot[bot]
44f156925a
build(deps-dev): bump flake8-simplify from 0.20.0 to 0.21.0
...
Bumps [flake8-simplify](https://github.com/MartinThoma/flake8-simplify ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/MartinThoma/flake8-simplify/releases )
- [Changelog](https://github.com/MartinThoma/flake8-simplify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MartinThoma/flake8-simplify/commits/0.21.0 )
---
updated-dependencies:
- dependency-name: flake8-simplify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 14:17:47 +00:00
dependabot[bot]
599c115767
build(deps-dev): bump pyinstaller from 6.0.0 to 6.1.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.0.0...v6.1.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 14:17:36 +00:00
dependabot[bot]
6ecc9b77b9
build(deps-dev): bump mypy from 1.5.1 to 1.6.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.5.1 to 1.6.0.
- [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 14:17:01 +00:00
Aayush Goel
412d296d6b
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#322
2023-10-16 16:38:18 +05:30
Aayush Goel
db32d90480
tests updated
2023-10-16 16:35:30 +05:30
Yacine Elhamer
9a66c265db
cape/file.py: fix flake8 issue of using '+' for logging
2023-10-16 12:11:07 +02:00
Yacine Elhamer
a1aca3aeb3
Merge branch 'dynamic-feature-extraction' of https://github.com/mandiant/capa into dynamic-feature-extraction
2023-10-16 12:04:47 +02:00
Yacine Elhamer
ffe6ab6842
main.py: load signatures only for the static context
2023-10-16 12:04:38 +02:00
Yacine
d1b7afbe13
Update capa/render/verbose.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-10-14 09:36:55 +02:00
Capa Bot
77de088ac9
Sync capa rules submodule
2023-10-12 09:01:30 +00:00
Capa Bot
40ba6679f0
Sync capa-testfiles submodule
2023-10-11 14:36:05 +00:00
Moritz
8b6fa35e9f
Merge pull request #1794 from mandiant/dependabot/pip/pyinstaller-6.0.0
...
build(deps-dev): bump pyinstaller from 5.10.1 to 6.0.0
2023-10-11 13:58:48 +02:00
Moritz
f85ea915bf
Update pyinstaller.spec
2023-10-11 12:29:18 +02:00
Moritz
312ad48041
Merge pull request #1801 from mandiant/dependabot/pip/dnfile-0.14.1
...
build(deps-dev): bump dnfile from 0.13.0 to 0.14.1
2023-10-11 12:20:07 +02:00
Moritz
65b80d4d13
Merge pull request #1800 from mandiant/dependabot/pip/flake8-bugbear-23.9.16
...
build(deps-dev): bump flake8-bugbear from 23.7.10 to 23.9.16
2023-10-11 12:19:51 +02:00
Moritz
fb098fde5f
Merge pull request #1799 from mandiant/dependabot/pip/black-23.9.1
...
build(deps-dev): bump black from 23.7.0 to 23.9.1
2023-10-11 12:19:36 +02:00
Moritz
eedec933c2
Merge pull request #1798 from mandiant/dependabot/pip/wcwidth-0.2.8
...
build(deps-dev): bump wcwidth from 0.2.6 to 0.2.8
2023-10-11 12:19:20 +02:00
Yacine Elhamer
559f2fd162
cape/file.py: flake8 fixes
2023-10-11 11:56:49 +02:00
Yacine Elhamer
953b2e82d2
rendering: several fixes and added types/classes
2023-10-11 11:52:16 +02:00
Capa Bot
cd268d6327
Sync capa rules submodule
2023-10-10 13:34:52 +00:00
Aayush Goel
23ecb248a5
Update __init__.py
2023-10-10 18:08:07 +05:30
Aayush Goel
bc165331db
Update __init__.py
2023-10-10 17:56:18 +05:30
Capa Bot
5d66a389d3
Sync capa rules submodule
2023-10-10 10:09:36 +00:00
Capa Bot
248a51c15f
Sync capa rules submodule
2023-10-10 09:55:31 +00:00
Aayush Goel
8a0628f357
Update CHANGELOG.md
2023-10-10 04:16:38 +05:30
Aayush Goel
2ec87f717a
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#322
2023-10-10 04:06:28 +05:30
Capa Bot
4430fce314
Sync capa rules submodule
2023-10-09 18:13:48 +00:00
Capa Bot
174c8121ca
Sync capa rules submodule
2023-10-09 18:01:23 +00:00
Capa Bot
fa1371cfa8
Sync capa rules submodule
2023-10-09 18:00:29 +00:00
Capa Bot
a0a2b07b85
Sync capa rules submodule
2023-10-09 16:35:56 +00:00
Moritz
a9daa92c9a
Merge branch 'master' into Aayush-Goel-04/Issue#322
2023-10-09 18:22:46 +02:00
Capa Bot
b315aacd73
Sync capa rules submodule
2023-10-09 16:22:26 +00:00
Capa Bot
3dd051582a
Sync capa rules submodule
2023-10-09 16:01:44 +00:00
Capa Bot
5f7b4fbf74
Sync capa rules submodule
2023-10-06 15:20:18 +00:00
Yacine Elhamer
8b287c1704
scripts/profile_time.py: revert restriction that sample extractors can only be static ones
2023-10-04 10:51:53 +02:00
Yacine Elhamer
28a722d4c3
scripts/profile_time.py: revert restriction that frozen extractors can only be static ones
2023-10-04 10:51:02 +02:00
Yacine Elhamer
35f64f37bb
cape/global_.py: throw exceptions for unrecognized OSes, formats, and architectures
2023-10-04 10:36:08 +02:00
Yacine Elhamer
7d9ae57692
check for pid and ppid reuse
2023-10-04 10:28:10 +02:00
Mike Hunhoff
b1175ab16a
adding capa quickstart reference ( #1802 )
2023-10-03 12:05:55 -06:00
dependabot[bot]
838205b375
build(deps-dev): bump dnfile from 0.13.0 to 0.14.1
...
Bumps [dnfile](https://github.com/malwarefrank/dnfile ) from 0.13.0 to 0.14.1.
- [Changelog](https://github.com/malwarefrank/dnfile/blob/master/HISTORY.rst )
- [Commits](https://github.com/malwarefrank/dnfile/compare/v0.13.0...v0.14.1 )
---
updated-dependencies:
- dependency-name: dnfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 14:42:47 +00:00
dependabot[bot]
0fbec49708
build(deps-dev): bump flake8-bugbear from 23.7.10 to 23.9.16
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 23.7.10 to 23.9.16.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 14:42:40 +00:00
dependabot[bot]
0bdc727dce
build(deps-dev): bump black from 23.7.0 to 23.9.1
...
Bumps [black](https://github.com/psf/black ) from 23.7.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.7.0...23.9.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 14:42:28 +00:00
dependabot[bot]
8ea7708a38
build(deps-dev): bump wcwidth from 0.2.6 to 0.2.8
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.6 to 0.2.8.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.6...0.2.8 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 14:42:16 +00:00
Capa Bot
9b5c906c2a
Sync capa rules submodule
2023-09-27 20:40:53 +00:00
Willi Ballenthin
240376153a
Merge pull request #1791 from xusheng6/test_binja_forwarded_export
...
binja: add support for forwarded exports
2023-09-27 11:35:00 +02:00
Willi Ballenthin
321ef100c5
Update capa/features/extractors/binja/helpers.py
2023-09-27 08:56:42 +02:00
Willi Ballenthin
d8eebf524e
Update capa/features/extractors/binja/helpers.py
2023-09-27 08:51:12 +02:00
dependabot[bot]
c6c54c316f
build(deps-dev): bump pyinstaller from 5.10.1 to 6.0.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.10.1 to 6.0.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.10.1...v6.0.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-27 06:50:58 +00:00
Willi Ballenthin
b1e00150f4
Merge pull request #1783 from mandiant/dependabot/pip/pytest-7.4.2
...
build(deps-dev): bump pytest from 7.4.0 to 7.4.2
2023-09-27 08:50:24 +02:00
Willi Ballenthin
83a7ce0b82
Merge pull request #1784 from mandiant/dependabot/pip/build-1.0.3
...
build(deps-dev): bump build from 0.10.0 to 1.0.3
2023-09-27 08:49:54 +02:00
Willi Ballenthin
303170f45d
Merge pull request #1785 from mandiant/dependabot/pip/pyelftools-0.30
...
build(deps-dev): bump pyelftools from 0.29 to 0.30
2023-09-27 08:48:59 +02:00
Willi Ballenthin
8a019aa360
Merge branch 'master' into test_binja_forwarded_export
2023-09-27 08:48:21 +02:00
Willi Ballenthin
3dffa8145f
Update capa/features/extractors/binja/helpers.py
2023-09-27 08:47:52 +02:00
Willi Ballenthin
782a5b3aa7
Merge pull request #1793 from mandiant/dependabot/pip/ruff-0.0.291
...
build(deps-dev): bump ruff from 0.0.290 to 0.0.291
2023-09-25 20:26:02 +02:00
dependabot[bot]
b0af78569c
build(deps-dev): bump ruff from 0.0.290 to 0.0.291
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.290 to 0.0.291.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-25 14:16:40 +00:00
Capa Bot
79cef0e783
Sync capa-testfiles submodule
2023-09-22 10:33:01 +00:00
Willi Ballenthin
09b54a86f0
Merge branch 'master' into test_binja_forwarded_export
2023-09-21 12:10:13 +02:00
Willi Ballenthin
57106701c4
Merge pull request #1792 from xusheng6/binja_symtab
...
binja: add support for symtab names. Fix #1504
2023-09-21 12:06:13 +02:00
Xusheng
55af6f052f
binja: add support for symtab names. Fix #1504
2023-09-21 17:24:42 +08:00
Xusheng
d2d32f88ef
binja: add support for forwarded exports
2023-09-21 15:32:55 +08:00
Willi Ballenthin
7abcf3de9a
Merge pull request #1790 from xusheng6/test_update_bn_35
2023-09-21 07:13:51 +02:00
Xusheng
b3dccb3841
binja: improve function call site detection
2023-09-21 09:51:01 +08:00
Xusheng
bc71c94171
binja: use binaryninja.load to open a binary
2023-09-21 09:51:01 +08:00
Xusheng
59d03b3ba3
binja: bump Binary Ninja version to 3.5
2023-09-20 21:00:04 +08:00
Willi Ballenthin
3a5c8ec3b8
Merge pull request #1788 from mandiant/dependabot/pip/ruff-0.0.290
...
build(deps-dev): bump ruff from 0.0.286 to 0.0.290
2023-09-19 14:17:33 +02:00
dependabot[bot]
fd3678904a
build(deps-dev): bump ruff from 0.0.286 to 0.0.290
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.286 to 0.0.290.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.290 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-18 14:36:44 +00:00
Capa Bot
d04ae5294e
Sync capa-testfiles submodule
2023-09-13 14:50:29 +00:00
Capa Bot
6bae9d757d
Sync capa rules submodule
2023-09-13 14:46:47 +00:00
dependabot[bot]
b9c05cf44a
build(deps-dev): bump pyelftools from 0.29 to 0.30
...
Bumps [pyelftools](https://github.com/eliben/pyelftools ) from 0.29 to 0.30.
- [Changelog](https://github.com/eliben/pyelftools/blob/master/CHANGES )
- [Commits](https://github.com/eliben/pyelftools/compare/v0.29...v0.30 )
---
updated-dependencies:
- dependency-name: pyelftools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 14:14:27 +00:00
dependabot[bot]
dc32289aab
build(deps-dev): bump build from 0.10.0 to 1.0.3
...
Bumps [build](https://github.com/pypa/build ) from 0.10.0 to 1.0.3.
- [Release notes](https://github.com/pypa/build/releases )
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.0.3 )
---
updated-dependencies:
- dependency-name: build
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 14:14:20 +00:00
dependabot[bot]
3c1a8f4461
build(deps-dev): bump pytest from 7.4.0 to 7.4.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 14:14:11 +00:00
Aayush Goel
8331ed6ea0
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#322
2023-09-06 16:35:29 +05:30
Mike Hunhoff
b0d55143a4
ghidra: update CI to use /Ghidra/Extensions ( #1782 )
2023-09-05 13:21:52 -06:00
Capa Bot
e006702245
Sync capa rules submodule
2023-09-05 13:02:13 +00:00
Willi Ballenthin
72e836166f
proto: better convert to/from proto
2023-09-05 10:24:53 +00:00
Willi Ballenthin
d64ab41dfd
tests: proto: add more dynamic proto tests
2023-09-05 10:23:55 +00:00
Willi Ballenthin
5b4c167489
proto: add additional types
2023-09-05 10:23:30 +00:00
Willi Ballenthin
2a757b0cbb
submodule: test data: update
2023-09-05 10:22:59 +00:00
Willi Ballenthin
69836a0f13
proto: add dynamic test
2023-09-05 10:22:33 +00:00
Willi Ballenthin
866c7c5ce4
proto: deprecate metadata.analysis
2023-09-05 08:39:37 +00:00
Willi Ballenthin
3725618d50
render: proto: use Static/Dynamic analysis types
2023-09-05 08:37:11 +00:00
Willi Ballenthin
766b05e5c3
Merge branch 'dynamic-feature-extraction' into fix/dynamic-proto
2023-09-05 08:18:51 +00:00
Willi Ballenthin
1224b7e514
Merge pull request #1776 from mandiant/dependabot/pip/pre-commit-3.4.0
...
build(deps-dev): bump pre-commit from 3.3.3 to 3.4.0
2023-09-04 21:45:08 +02:00
dependabot[bot]
46e3ed1100
build(deps-dev): bump pre-commit from 3.3.3 to 3.4.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 14:45:22 +00:00
Yacine Elhamer
dd0eadb438
freeze/__init__.py: bump freeze version to 3
2023-09-04 11:51:22 +02:00
Yacine Elhamer
f905ed611b
Merge branch 'dynamic-feature-extraction' of https://github.com/mandiant/capa into dynamic-feature-extraction
2023-09-04 11:04:38 +02:00
Yacine Elhamer
cfa703eaae
remove type comment
2023-09-04 11:04:09 +02:00
Yacine Elhamer
9ec1bf3e42
point rules towards dynamic-syntax
2023-09-04 10:38:01 +02:00
Yacine Elhamer
d83c0e70de
main.py: remove comment type annotations
2023-09-04 09:59:29 +02:00
Yacine Elhamer
1d8e650d7b
freeze/__init__.py: bump freeze version to 3
2023-09-04 09:50:29 +02:00
Yacine
99caa87a3d
Update capa/main.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-09-04 09:46:41 +02:00
Mike Hunhoff
7b08f2d55a
Merge pull request #1770 from mandiant/backend-ghidra
...
ghidra: add Ghidra feature extractor and supporting code
2023-08-30 10:41:01 -06:00
Mike Hunhoff
d17db614b9
Update README.md
2023-08-30 10:33:38 -06:00
Aayush Goel
6317153ef0
Update tests/test_rules.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-30 21:48:55 +05:30
Aayush Goel
24dad6bcc4
Update capa/rules/__init__.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-30 21:48:48 +05:30
Yacine Elhamer
73c158ad68
point submodules towards the right branch
2023-08-30 11:42:43 +02:00
Yacine Elhamer
47330e69d4
verbose.py render_dynamic_meta(): s/doc: rd.ResultDocument/meta: rd.MetaData/g
2023-08-29 22:42:18 +02:00
Yacine Elhamer
0987673bf3
verbose.py: temporarily add a mypy-related assert to render_static_meta()
2023-08-29 22:38:14 +02:00
Yacine Elhamer
2c75f786c3
main.py rdoc.Metadata creation: revert to usage of as_posix() within the call to rdoc.Sample()
2023-08-29 22:35:49 +02:00
Yacine Elhamer
09afcfbac1
render/verbose.py: remove frz.AddressType.FREEZE
2023-08-29 22:31:16 +02:00
Aayush Goel
ab3747e448
added com prefix CLSID, IID
2023-08-30 01:00:07 +05:30
colton-gabertan
72ed4d1165
push shellcode example
2023-08-29 18:05:03 +00:00
colton-gabertan
0ec682a464
add shellcode documentation & update Headless Analyzer example
2023-08-29 18:01:11 +00:00
colton-gabertan
37917b6181
update ghidra feat extractor docs
2023-08-29 17:28:49 +00:00
Mike Hunhoff
a6e61ed6f1
Update capa/ghidra/README.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-29 09:03:26 -06:00
Mike Hunhoff
1fddf800c6
Update capa/ghidra/README.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-29 09:02:46 -06:00
Mike Hunhoff
0ffd631606
Update .github/workflows/tests.yml
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-29 09:00:14 -06:00
Mike Hunhoff
7cc10401d5
fix #1772
2023-08-28 15:15:47 -06:00
Mike Hunhoff
3929164fc2
Merge branch 'backend-ghidra' of github.com:mandiant/capa into backend-ghidra
2023-08-28 13:24:23 -06:00
Mike Hunhoff
f3a2a5958d
fix Ghidra detection
2023-08-28 13:24:14 -06:00
Colton Gabertan
6d3f649a0c
remove backend-ghidra from CI
2023-08-28 12:21:30 -07:00
Colton Gabertan
e00608e298
ghidra hotfix: fix ghidrathon download ( #1771 )
...
* hotfix: fix ghidrathon download
2023-08-28 12:19:45 -07:00
Mike Hunhoff
995014afc2
merge upstream
2023-08-28 12:40:49 -06:00
Mike Hunhoff
a522ae20f1
update CHANGELOG
2023-08-28 12:40:02 -06:00
Mike Hunhoff
203fc36865
cleanup CHANGELOG merge
2023-08-28 12:33:07 -06:00
Mike Hunhoff
7bd2467074
remove backend-ghidra from workflows
2023-08-28 12:32:52 -06:00
Willi Ballenthin
f339bbf68c
Merge pull request #1769 from mandiant/dependabot/pip/ruff-0.0.286
...
build(deps-dev): bump ruff from 0.0.285 to 0.0.286
2023-08-28 20:26:11 +02:00
Mike Hunhoff
8ed4062cf1
sync rules submodule with upstream
2023-08-28 12:13:10 -06:00
dependabot[bot]
807792f879
build(deps-dev): bump ruff from 0.0.285 to 0.0.286
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.285 to 0.0.286.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-28 14:48:55 +00:00
Yacine
9dc457e61e
Update capa/features/freeze/__init__.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-28 15:40:31 +02:00
Yacine Elhamer
9eb88e6ca7
Merge branch 'dynamic-feature-extraction' of https://github.com/mandiant/capa into dynamic-feature-extraction
2023-08-28 13:24:58 +02:00
Yacine Elhamer
214a355b9c
binja extractor: remove unused pathlib.Path import
2023-08-28 13:24:54 +02:00
Colton Gabertan
9cea7346b2
ghidra: documentation ( #1759 )
...
* Implement ghidra documentation
2023-08-27 19:21:36 -07:00
Yacine
4d538b939e
Update scripts/import-to-ida.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-27 14:59:10 +02:00
Yacine Elhamer
8c9e676868
binja: use binja api's methods to get the file hash
2023-08-27 14:31:43 +02:00
Yacine Elhamer
b0133f0aa1
various fixes
2023-08-26 19:28:07 +02:00
Yacine Elhamer
49adecb25c
add yaml representer for the Scope class, as well as other bugfixes
2023-08-26 18:11:35 +02:00
Yacine Elhamer
e9a9b3a6b6
point the data file to the latest PR
2023-08-26 13:04:45 +02:00
colton-gabertan
d7c9ae26bc
Merge branch 'master' into backend-ghidra
2023-08-26 02:08:22 +00:00
Colton Gabertan
fddec33d04
ghidra: fix api info caching ( #1766 )
...
* cache and retrive imports, externs, and fakes in FunctionHandle objects
* reduce cache retreival calls
* cache in GhidraFeatureExtractor, point fh.ctx to cache
* move caching routine to __init__
2023-08-25 19:03:38 -07:00
Mike Hunhoff
65179805a7
add a Ghidra entry script users can invoke to run capa against a loaded Ghidra database ( #1767 )
...
* enable use of Ghidra with show-features.py
* fix bug in is_supported_file_type
* fix bug in GhidraFeatureExtractor.get_function
* refactor get_insn_in_range
* add Ghidra entry script for users to more easily run capa against a loaded Ghidra database
* update CHANGELOG
* fixing lint
* fix fixtures import issue
* fix bug in is_supported_arch_type
* add check for supported arch type
* fix extract_embedded_pe performance
2023-08-25 18:35:59 -07:00
Yacine
d5daa79547
Merge pull request #1764 from mandiant/fix/scope-enum-usage
...
rules: use Scope enum instead of constants
2023-08-25 20:58:34 +03:00
Aayush Goel
90df85b332
test for com_feature
...
matching a file as expected
generating the bytes/strings
if an unknown COM class/interface is provided?
2023-08-25 20:59:58 +05:30
Willi Ballenthin
88ee6e661e
wip: proto: add Metadata.[static, dynamic]_analysis
2023-08-25 14:40:50 +00:00
Willi Ballenthin
08c9bbcc91
proto: deprecate RuleMetadata.scope
2023-08-25 13:22:48 +00:00
Willi Ballenthin
f96b9e6a6e
proto: add RuleMetadata.scopes
2023-08-25 13:20:46 +00:00
Willi Ballenthin
9bbd3184b0
rules: handle unsupported scopes again
2023-08-25 13:15:55 +00:00
Willi Ballenthin
e4c1361d42
Merge branch 'fix/scope-enum-usage' into fix/dynamic-proto
2023-08-25 13:01:49 +00:00
Willi Ballenthin
17e4765728
changelog
2023-08-25 13:00:34 +00:00
Willi Ballenthin
7e258a91ec
Merge branch 'dynamic-feature-extraction' into fix/scope-enum-usage
2023-08-25 14:59:18 +02:00
Willi Ballenthin
b88853f327
changelog
2023-08-25 14:59:03 +02:00
Willi Ballenthin
a60401fc7e
Merge branch 'master' into dynamic-feature-extraction
2023-08-25 14:58:35 +02:00
Willi Ballenthin
a734358377
rules: use Scope enum instead of constants
2023-08-25 12:54:57 +00:00
Willi Ballenthin
ebcbad3ae3
proto: add new scopes
2023-08-25 12:21:37 +00:00
Willi Ballenthin
8ff74d4a04
proto: regenerate using 3.21 protoc
2023-08-25 12:20:51 +00:00
Aayush Goel
bd0d8eb403
Update __init__.py
...
added parse_description for com feature
Update CHANGELOG.md
added comments, dealt with errors
2023-08-25 16:04:25 +05:30
Aayush Goel
9b79aa1983
Merge branch 'Aayush-Goel-04/Issue#322' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#322
2023-08-25 15:42:17 +05:30
Aayush Goel
172968c77e
Update CHANGELOG.md
2023-08-25 15:42:02 +05:30
Aayush Goel
f1a7049ab5
Merge branch 'master' into Aayush-Goel-04/Issue#322
2023-08-25 15:39:03 +05:30
Aayush Goel
155a2904fb
Update CHANGELOG.md
2023-08-25 15:38:00 +05:30
Aayush Goel
4c2e8fd718
Merge branch 'Aayush-Goel-04/Issue#322' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#322
2023-08-25 15:33:52 +05:30
Aayush Goel
95e279a03b
update com db
...
moved code to rules/init.py , create db for coms
2023-08-25 15:32:40 +05:30
Willi Ballenthin
f2909c82f3
proto: reenable tests and linters
2023-08-25 09:41:25 +00:00
Willi Ballenthin
164b08276c
extractor: tweak hashes to fix mypy
2023-08-25 09:38:23 +00:00
Willi Ballenthin
b930523d44
freeze: add TODO issue link
2023-08-25 11:32:56 +02:00
Willi Ballenthin
9d21addc6b
Merge pull request #1763 from mandiant/v6.1.0
...
version: v6.1.0
2023-08-25 11:11:59 +02:00
Willi Ballenthin
9accb60eff
changelog
2023-08-25 09:11:04 +00:00
Willi Ballenthin
61202913a6
changelog
2023-08-25 09:07:09 +00:00
Willi Ballenthin
2b59fef1b2
changelog
2023-08-25 09:05:57 +00:00
Willi Ballenthin
ddff8634de
changelog
2023-08-25 09:04:26 +00:00
Willi Ballenthin
1905f1bfbd
changelog
2023-08-25 09:02:03 +00:00
Yacine Elhamer
f34b0355e7
test_result_document.py: re-enable result-document related tests
2023-08-25 10:56:12 +02:00
Willi Ballenthin
7a70bc9b2a
version: v6.1.0
2023-08-25 08:47:11 +00:00
Yacine
3ee56e3bee
Merge pull request #1762 from yelhamer/modify-sample-hashes
...
Modify sample hashes
2023-08-25 10:29:38 +03:00
Yacine Elhamer
49bf2eb6d4
base_extractor.py: replace dunder with single underscore for sample_hashes attribute
2023-08-25 10:14:25 +02:00
Yacine Elhamer
707dee4c3f
base_Extractor.py: make sample_hashes attribute private
2023-08-25 09:53:08 +02:00
Yacine Elhamer
0ded827290
modify null extractor
2023-08-25 08:50:34 +02:00
Yacine Elhamer
f74107d960
initial commit
2023-08-25 08:37:57 +02:00
Mike Hunhoff
448b122ef0
fix ints_to_bytes performance ( #1761 )
...
* fix ints_to_bytes performance
2023-08-24 16:01:41 -07:00
colton-gabertan
bd2f7bc1f4
hotfix: fix indirect address dereference handling
2023-08-24 22:09:08 +00:00
Yacine
acd3a30d27
Merge pull request #1758 from yelhamer/fix-cape2fmt
...
Add dynamic scopes to capa2fmt
2023-08-24 15:43:34 +03:00
Yacine Elhamer
b636f23e3c
Merge branch 'fix-cape2fmt' of https://github.com/yelhamer/capa into fix-cape2fmt
2023-08-24 15:01:00 +02:00
Yacine Elhamer
70eae1a6f0
freeze/__init__.py: fix missing space
2023-08-24 15:00:34 +02:00
Yacine Elhamer
3574bd49bd
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into fix-cape2fmt
2023-08-24 14:48:07 +02:00
Yacine Elhamer
46217a3acb
test_main.py: remove unused pytest
2023-08-24 14:47:40 +02:00
Yacine Elhamer
9eb1255b29
cape2yara.py: update for use of scopes, and fix bug
2023-08-24 14:32:49 +02:00
Yacine
d66f834e54
Update tests/test_scripts.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-24 13:48:32 +02:00
Yacine Elhamer
7c101f01e5
test_binja.py: revert ruleset-related xfails
2023-08-24 13:36:53 +02:00
Yacine Elhamer
42689ef1da
test_main.py: revert ruleset-related xfails
2023-08-24 13:30:22 +02:00
Colton Gabertan
70d36ab640
properly set bounds for find_byte_sequence ( #1757 )
2023-08-23 15:40:15 -06:00
Colton Gabertan
19b8000c00
Ghidra: Fixes & Enhancements ( #1733 )
...
* restore from corrupted .git
* lint repo
* temp: remove lint failing rule
* implement dereferencing, clean up extractors
* implement proper dereferencing routines as applicable
* fix nzxor implementation, remediate ghidra analysis issues
* lint repo
* Assert typing, lint repo
* avoid extracting pointers in bytes extraction
* attempt to recover submodule
* implement GhidraFeatureExtractor & ghidra_main()
* lint repo
* document examples, clean-up & testing
* lint repo
* properly map import dict
* properly map fake addresses
* fix fake addr mapping
* properly map externs
* re-align consistency with other backends
* lint repo
* fix dereferencing routine
* clean up helpers
* fix format string
* disable progress bar to exit gracefully
* enable pbar in headless runtime mode
* implement fixture test script
* implement ghidra unit test script
* refactor repo for breaking Ghidrathon change
* bump ghidrathon CI version, run unit test in CI
* change CI config
* fix wget line for ghidrathon
* fix unzip paths
* fix ghidra import issue
* disable pytest faulthandler module
* fix dereference function
* fix ghidra state variables
* implement dereferencing for string extraction
* use toAddr
* restructure for consistency
* Bump Ghidrathon version for CI, fix pytest ghidra runtime detection
* fix number & offset extractors
* yield both signed & unsgned values for offset extraction
* add LEA insn handling to number & offset extraction
* fix indirect call extraction
* implement thunk function checking for dereferences
* revise ghidra feature count tests, pass unit testing
* fix feature test format
* implement additional support for dereferencing thunked functions
* integrate external locations into find_file_imports
* change api yield string for .elf samples to match other extractors
* fix potential NoneType errors during dereferencing
* user helper in global_
* fix GHIDRAIO class, implement in global_
* comment on getOriginalByte
* simplify get_file_imports
* implement explicit thunk chain handling
* simplify LEA number extraction
* simplify thunk handling
* temp: demonstrate CI failure & output
* fix log path
* run new test against mimikatz
2023-08-23 14:35:18 -06:00
colton-gabertan
06f48063d0
Merge branch 'master' into backend-ghidra
2023-08-23 18:05:58 +00:00
Yacine
5ba7325646
Merge pull request #1753 from yelhamer/update-linter
...
Update the rules linter
2023-08-23 11:50:51 +03:00
Yacine
86effec1a2
capa/rules/__init__.py: merge features from small scopes into larger ones
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-23 08:49:36 +03:00
Yacine
cdb469eca0
capa/features/freeze/__init__.py: remove comment
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-23 08:45:21 +03:00
Yacine
39c8fd8286
Update capa/features/freeze/__init__.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-23 08:43:36 +03:00
Yacine Elhamer
5730e5515f
lint.py: update recommendation messages
2023-08-23 01:42:22 +02:00
Yacine Elhamer
901ba551bc
lint.py: fix boolean statement
2023-08-23 01:41:44 +02:00
Yacine Elhamer
77b3fadf79
lint.py: add 'unsupported' keyword
2023-08-23 01:39:14 +02:00
Yacine Elhamer
44fc3357d1
initial commit
2023-08-23 01:32:01 +02:00
Willi Ballenthin
25414044ef
Merge pull request #1748 from mandiant/feat/issue-1744
...
rules: add scope terms "unsupported" and "unspecified"
2023-08-22 15:59:57 +02:00
Yacine Elhamer
d1068991e3
test_rules_insn_scope.py: update rules missing the dynamic scope
2023-08-22 16:26:54 +02:00
Willi Ballenthin
4ab240e990
rules: add scope terms "unsupported" and "unspecified"
...
closes #1744
2023-08-22 12:58:06 +00:00
Willi Ballenthin
9489927bed
Merge pull request #1746 from mandiant/fix/issue-1745
...
fix detection of CAPE reports
2023-08-22 14:34:23 +02:00
Willi Ballenthin
c160f45849
main: fix rendering of logging message
2023-08-22 12:32:53 +00:00
Willi Ballenthin
5b585c0e39
cape: better detect CAPE reports
...
fixes #1745
2023-08-22 12:32:30 +00:00
Aayush Goel
c6ee919619
Update capa/features/common.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-22 15:52:04 +05:30
Willi Ballenthin
675ad364ac
point submodule rules to branch dynamic-syntax
2023-08-22 08:50:18 +00:00
Willi Ballenthin
21cefa0932
Merge branch 'master' into dynamic-feature-extraction
2023-08-22 09:53:42 +02:00
Willi Ballenthin
934d0f969b
Merge pull request #1740 from mandiant/dependabot/pip/mypy-1.5.1
...
build(deps-dev): bump mypy from 1.5.0 to 1.5.1
2023-08-22 09:53:15 +02:00
dependabot[bot]
b7b79b565b
build(deps-dev): bump mypy from 1.5.0 to 1.5.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.5.0 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-22 07:48:33 +00:00
Moritz
979aab3098
Merge pull request #1741 from mandiant/dependabot/pip/ruff-0.0.285
...
build(deps-dev): bump ruff from 0.0.284 to 0.0.285
2023-08-22 09:47:50 +02:00
Willi Ballenthin
89c8c6d212
Update capa/rules/__init__.py
2023-08-22 09:38:41 +02:00
Willi Ballenthin
e5af7165ea
Update capa/features/freeze/__init__.py
2023-08-22 09:31:35 +02:00
Willi Ballenthin
ee936f9257
Merge pull request #1729 from mandiant/feat/cape-pydantic
...
add Pydantic models for CAPE sandbox
2023-08-22 09:25:02 +02:00
Colton Gabertan
058c1fefd2
ghidra: unit tests ( #1727 )
...
* restore from corrupted .git
* lint repo
* temp: remove lint failing rule
* implement dereferencing, clean up extractors
* implement proper dereferencing routines as applicable
* fix nzxor implementation, remediate ghidra analysis issues
* lint repo
* Assert typing, lint repo
* avoid extracting pointers in bytes extraction
* attempt to recover submodule
* implement GhidraFeatureExtractor & ghidra_main()
* lint repo
* document examples, clean-up & testing
* lint repo
* properly map import dict
* properly map fake addresses
* fix fake addr mapping
* properly map externs
* re-align consistency with other backends
* lint repo
* fix dereferencing routine
* clean up helpers
* fix format string
* disable progress bar to exit gracefully
* enable pbar in headless runtime mode
* implement fixture test script
* implement ghidra unit test script
* refactor repo for breaking Ghidrathon change
* bump ghidrathon CI version, run unit test in CI
* change CI config
* fix wget line for ghidrathon
* fix unzip paths
* fix ghidra import issue
* disable pytest faulthandler module
* fix ghidra state variables
* use toAddr
* restructure for consistency
* Bump Ghidrathon version for CI, fix pytest ghidra runtime detection
2023-08-21 12:16:13 -06:00
dependabot[bot]
8ed00a2847
build(deps-dev): bump ruff from 0.0.284 to 0.0.285
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.284 to 0.0.285.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.284...v0.0.285 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-21 14:50:50 +00:00
Aayush Goel
6482848fa4
Merge branch 'Aayush-Goel-04/Issue#322' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#322
2023-08-20 00:39:50 +05:30
Aayush Goel
7c2a736c4b
Update CHANGELOG.md
2023-08-20 00:38:35 +05:30
Aayush Goel
918ec22667
Merge branch 'master' into Aayush-Goel-04/Issue#322
2023-08-20 00:38:26 +05:30
Aayush Goel
1027da9be0
add new feature for com
2023-08-20 00:36:37 +05:30
Capa Bot
5787e41dd2
Sync capa rules submodule
2023-08-19 18:14:15 +00:00
Capa Bot
0265657937
Sync capa rules submodule
2023-08-19 09:36:35 +00:00
Capa Bot
73477b6495
Sync capa rules submodule
2023-08-19 09:34:30 +00:00
Yacine Elhamer
521bd25d31
remove file-limitations checks for dynamic extractors
2023-08-18 15:23:19 +02:00
Yacine Elhamer
e7c0bea6e5
Match.from_capa(): remove reliance on the meta field to get the scope
2023-08-18 15:05:15 +02:00
Yacine Elhamer
a8bd5b1119
disable packed-sample warning for dynamic feature extractors
2023-08-18 14:31:32 +02:00
Yacine Elhamer
9144d12e51
add error message for invalid report files
2023-08-18 14:28:02 +02:00
Yacine Elhamer
d741544514
result_document.py: use the scopes attribute instead of meta["scope"]
2023-08-18 14:15:36 +02:00
Willi Ballenthin
5e31f0df23
cape: models: more fixes thanks to avast
2023-08-18 10:19:07 +00:00
Willi Ballenthin
18dff9d664
cape: models: more fixes thanks to avast
2023-08-18 10:15:12 +00:00
Yacine Elhamer
350094759a
main.py: look up rules scope with scopes attribute, not their meta field
2023-08-18 12:37:42 +02:00
Willi Ballenthin
b10275e851
black
2023-08-18 08:23:21 +00:00
Willi Ballenthin
05cf7201ad
Merge branch 'dynamic-feature-extraction' into feat/cape-pydantic
2023-08-18 10:22:55 +02:00
Willi Ballenthin
8cd5e03e87
ci: pre-commit: show-diff-on-failure
2023-08-18 08:19:27 +00:00
Willi Ballenthin
120917e0b5
cape: models: tweaks from Avast dataset
2023-08-18 08:10:55 +00:00
colton-gabertan
a2a2949675
Merge branch 'master' into backend-ghidra
2023-08-17 16:06:17 +00:00
Colton Gabertan
b3cf1129e3
Ghidra: Implement GhidraFeatureExtractor ( #1681 )
...
* Implement GhidraFeatureExtractor & repo changes
2023-08-16 15:58:47 -07:00
Yacine
264958ebfe
Update capa/features/common.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-16 16:12:26 +02:00
Willi Ballenthin
3614ce1409
cape: fix test failures
2023-08-16 11:43:45 +00:00
Willi Ballenthin
c80542ded3
cape: call: fix argument type switch
2023-08-16 11:37:41 +00:00
Willi Ballenthin
3350a936b7
ida: use ida_nalt not idaapi
...
closes #1730
2023-08-16 13:33:01 +02:00
Willi Ballenthin
724db83920
cape: require PE analysis
2023-08-16 13:23:00 +02:00
Willi Ballenthin
8788a40d12
Merge branch 'dynamic-feature-extraction' into feat/cape-pydantic
2023-08-16 13:13:29 +02:00
Willi Ballenthin
6f7bf96776
cape: use pydantic model
2023-08-16 11:12:05 +00:00
Willi Ballenthin
e943a71dff
cape: models: relax deserializing FlexibleModels
2023-08-16 10:04:20 +00:00
Willi Ballenthin
4be1c89c5b
cape: models: more data shapes
2023-08-16 09:50:13 +00:00
Willi Ballenthin
2eda053c79
cape: models: more data shapes
2023-08-16 09:41:36 +00:00
Willi Ballenthin
26539e68d9
cape: models: add tests
2023-08-16 08:57:54 +00:00
Willi Ballenthin
046427cf55
cape: model: document the data we'll use in cape
2023-08-16 08:57:17 +00:00
Willi Ballenthin
25aabcd7e4
cape: models: more shapes
2023-08-16 07:48:59 +00:00
Willi Ballenthin
d8bea816dd
cape: models: add more fields
2023-08-15 14:36:49 +00:00
Willi Ballenthin
bb2b1824a9
Merge branch 'master' into dynamic-feature-extraction
2023-08-15 14:01:30 +02:00
Willi Ballenthin
7e78133925
Merge pull request #1728 from mandiant/fix/issue-1719
...
fix deprecation warnings
2023-08-15 14:00:15 +02:00
Willi Ballenthin
59a129d6d6
cape: add pydantic model for v2.2
2023-08-15 11:54:15 +00:00
Willi Ballenthin
db40d9bc7a
wip: add initial CAPE model
2023-08-15 11:41:11 +00:00
Yacine
d71ecc7a79
Update tests/test_ida_features.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-15 12:26:19 +02:00
Yacine
a5a1a0bfee
Update CHANGELOG.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-15 12:26:02 +02:00
Willi Ballenthin
827b4b29b4
test_rules: fix rule scoping logic
2023-08-15 09:21:49 +00:00
Willi Ballenthin
2a31b16567
merge
2023-08-15 08:56:41 +00:00
Willi Ballenthin
8118a3f353
changelog
2023-08-15 08:46:18 +00:00
Willi Ballenthin
e6d64ef561
pydantic: remove use of deprecated routines
...
closes #1718
2023-08-15 08:41:56 +00:00
Willi Ballenthin
408c5076c6
tests: ida: don't collect tests as pytest tests
...
closes #1719
2023-08-15 08:26:59 +00:00
Willi Ballenthin
c001c883f7
Merge pull request #1714 from mandiant/fix/issue-1697-1
...
rule scoping tweaks
2023-08-15 10:16:01 +02:00
Willi Ballenthin
476c7ff749
main: provide encoding to open
...
fixes flake8 warning
2023-08-15 08:13:22 +00:00
Willi Ballenthin
4978aa74e7
tests: temporarily xfail script test
...
closes #1717
2023-08-15 08:13:14 +00:00
Yacine Elhamer
4411911664
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into fix/issue-1697-1
2023-08-15 09:57:13 +02:00
Yacine
0e1ce21488
Merge pull request #1715 from mandiant/fix/issue-1710
...
fix rendering of scope in vverbose mode
2023-08-15 09:51:53 +02:00
Yacine
88aa17fa7b
Merge pull request #1716 from mandiant/fix/issue-1697-2
...
remove dynamic return address concept
2023-08-15 08:55:12 +02:00
Willi Ballenthin
3169ee28e9
Merge pull request #1721 from mandiant/fix/issue-1704
...
elf: fix parsing of symtab from viv data
2023-08-14 17:13:50 +02:00
Willi Ballenthin
d648fdf6c0
Merge pull request #1713 from mandiant/fix/issue-1711
...
record and show the analysis flavor
2023-08-14 16:44:42 +02:00
Willi Ballenthin
3b9f5114ce
Merge pull request #1722 from mandiant/dependabot/pip/mypy-1.5.0
...
build(deps-dev): bump mypy from 1.4.1 to 1.5.0
2023-08-14 16:43:57 +02:00
dependabot[bot]
623fc270c1
build(deps-dev): bump mypy from 1.4.1 to 1.5.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.4.1 to 1.5.0.
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 14:43:40 +00:00
Willi Ballenthin
1199fb94d4
Merge pull request #1723 from mandiant/dependabot/pip/tqdm-4.66.1
...
build(deps-dev): bump tqdm from 4.65.0 to 4.66.1
2023-08-14 16:43:18 +02:00
Willi Ballenthin
26fdbbd442
Merge pull request #1725 from mandiant/dependabot/pip/ruff-0.0.284
...
build(deps-dev): bump ruff from 0.0.282 to 0.0.284
2023-08-14 16:42:26 +02:00
Willi Ballenthin
737fab7969
elf: use equality not bit masking
2023-08-14 16:40:45 +02:00
dependabot[bot]
f6ee465a0a
build(deps-dev): bump ruff from 0.0.282 to 0.0.284
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.282 to 0.0.284.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.284 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 14:16:45 +00:00
dependabot[bot]
82f352f719
build(deps-dev): bump tqdm from 4.65.0 to 4.66.1
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.65.0 to 4.66.1.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.65.0...v4.66.1 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 14:16:16 +00:00
Yacine Elhamer
846bd62817
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into fix/issue-1711
2023-08-14 16:05:20 +02:00
Yacine
84cddc70fd
Merge pull request #1709 from mandiant/fix/issue-1702
...
fix rendering of call and return addresses
2023-08-14 16:00:16 +03:00
Willi Ballenthin
2dc5295c0c
Merge branch 'master' into fix/issue-1704
2023-08-14 13:15:23 +02:00
Willi Ballenthin
8479bc2f1f
Merge pull request #1720 from mandiant/fix/issue-1705
...
elf: detect Android OS via note and dependencies
2023-08-14 13:11:23 +02:00
Capa Bot
7c1522d84d
Sync capa-testfiles submodule
2023-08-14 11:11:05 +00:00
Willi Ballenthin
9afe19a096
changelog
2023-08-14 11:10:06 +00:00
Willi Ballenthin
bd5c65d22c
elf: fix parsing of symtab from viv
...
closes #1704
2023-08-14 11:08:19 +00:00
Willi Ballenthin
e6cb3d3b3b
os: detect Android via dependencies, too
2023-08-14 10:27:19 +00:00
Willi Ballenthin
18058beb0a
changelog
2023-08-14 10:20:30 +00:00
Willi Ballenthin
8003547414
elf: detect Android OS via note
...
closes #1705
2023-08-14 10:13:42 +00:00
Yacine
2a83f1fc23
Merge pull request #1708 from mandiant/fix/issue-1707
...
tests: create workspaces only during tests, not import
2023-08-14 12:24:02 +03:00
Yacine Elhamer
751231b730
fixtures.py: fix the path of '0000a567' in get_data_path_by_name() method
2023-08-14 12:37:15 +03:00
Willi Ballenthin
c6d400bcf3
address: remove dynamic return address concept, as its unused today
2023-08-11 11:18:54 +00:00
Willi Ballenthin
fd1cd05b99
vverbose: render relevant scope at top of match tree
...
closes #1710
2023-08-11 10:59:44 +00:00
Willi Ballenthin
8202e9e921
main: don't use analysis flavor to filter rules
...
im worried this will interact poorly with our rule cache,
unless we add more handling there, which needs more testing.
so, since the filtering likely has only a small impact on performance,
revert the rule filtering changes for simplicity.
2023-08-11 10:36:59 +00:00
Willi Ballenthin
3c069a6784
rules: don't change passed-in argument
...
make a local copy of the scopes dict
2023-08-11 10:35:40 +00:00
Willi Ballenthin
e100a63cc8
rules: use set instead of tuple, add doc
...
since the primary operation is `contain()`,
set is more appropriate than tuple.
2023-08-11 10:34:41 +00:00
Willi Ballenthin
3057b5fb9d
render: show analysis flavor
...
closes #1711
2023-08-11 09:49:13 +00:00
Willi Ballenthin
c91dc71e75
result document: wire analysis flavor through metadata
...
ref #1711
2023-08-11 09:33:30 +00:00
Willi Ballenthin
f48e4a8ad8
render: verbose: render dynamic call return address
2023-08-11 09:07:11 +00:00
Willi Ballenthin
dafbefb325
render: verbose: render call address
...
closes #1702
2023-08-11 09:02:29 +00:00
Willi Ballenthin
6de23a9748
tests: main: demonstrate CAPE analysis (and bug #1702 )
2023-08-11 08:56:06 +00:00
Willi Ballenthin
1cf33e4343
tests: create workspaces only during tests, not import
...
closes #1707
2023-08-11 08:38:06 +00:00
Willi Ballenthin
34db63171f
sync submodule testfiles
2023-08-11 08:36:29 +00:00
Capa Bot
ec93ca5b21
Sync capa rules submodule
2023-08-11 07:07:57 +00:00
colton-gabertan
2de6dc7cb8
Merge branch 'master' into backend-ghidra
2023-08-10 12:14:44 -07:00
Willi Ballenthin
19495f69d7
freeze: pydantic v2 fixes
2023-08-10 13:29:52 +00:00
Willi Ballenthin
c1fbb27d73
Merge branch 'master' into dynamic-feature-extraction
2023-08-10 13:21:49 +00:00
Willi Ballenthin
3cf748a135
vverbose: render both scopes nicely
2023-08-10 11:39:56 +02:00
Willi Ballenthin
85b58d041b
process: simplify string enumeration loop
2023-08-10 11:38:43 +02:00
Willi Ballenthin
ae9d773e04
add TODO for typing.TypeAlias
2023-08-10 11:37:50 +02:00
Willi Ballenthin
582bb7c897
docstrings: improve wording
2023-08-10 11:36:51 +02:00
Capa Bot
e5efc158b7
Sync capa-testfiles submodule
2023-08-10 07:26:08 +00:00
Willi Ballenthin
9f436763f7
Merge pull request #1683 from Aayush-Goel-04/Aayush-Goel-04/Issue#331
2023-08-09 12:44:48 +02:00
Aayush Goel
a383022cff
Update show-unused-features.py
2023-08-09 15:37:38 +05:30
Aayush Goel
57486733e7
Update scripts/show-unused-features.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-09 15:33:03 +05:30
Aayush Goel
df9828dd7f
Update capa/rules/__init__.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-09 15:32:12 +05:30
Aayush Goel
d81f3a461e
Update show-unused-features.py
2023-08-09 14:20:53 +05:30
Willi Ballenthin
f1e737ac92
Merge branch 'master' into Aayush-Goel-04/Issue#331
2023-08-09 08:53:02 +02:00
Mike Hunhoff
448aa9cd21
explorer: fix unhandled exception when resolving rule path ( #1693 )
2023-08-08 14:04:46 -06:00
colton-gabertan
f2c0509f81
Merge branch 'master' into backend-ghidra
2023-08-08 11:00:10 -07:00
Colton Gabertan
6287fbb958
Ghidra insn features ( #1670 )
...
* Implement Ghidra Instruction Feature Extraction
2023-08-08 10:45:14 -07:00
Aayush Goel
c497ad8253
Update show-unused-features.py
2023-08-08 18:36:25 +05:30
Aayush Goel
9c1aa2fc5d
Update show-unused-features.py
2023-08-08 18:35:04 +05:30
Aayush Goel
f5a254f21f
Merge branch 'master' into Aayush-Goel-04/Issue#331
2023-08-08 17:05:03 +05:30
Aayush Goel
fb3ae0267e
Update scripts/show-unused-features.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-08 17:04:23 +05:30
Willi Ballenthin
5400576d4e
Merge pull request #1689 from mandiant/dependabot/pip/ruff-0.0.282
...
build(deps-dev): bump ruff from 0.0.280 to 0.0.282
2023-08-08 11:02:54 +02:00
Willi Ballenthin
dabd9d0810
Merge pull request #1690 from mandiant/dependabot/pip/flake8-6.1.0
...
build(deps-dev): bump flake8 from 6.0.0 to 6.1.0
2023-08-08 11:02:24 +02:00
Willi Ballenthin
2bd777dbe4
Merge pull request #1691 from mandiant/dependabot/pip/types-protobuf-4.23.0.3
...
build(deps-dev): bump types-protobuf from 4.23.0.2 to 4.23.0.3
2023-08-08 11:02:12 +02:00
Willi Ballenthin
959c64b484
Merge pull request #1692 from mandiant/dependabot/pip/mypy-protobuf-3.5.0
...
build(deps-dev): bump mypy-protobuf from 3.4.0 to 3.5.0
2023-08-08 11:01:58 +02:00
Aayush Goel
232c9ce35c
Add test for script & output rendered
2023-08-07 22:43:25 +05:30
Aayush Goel
b3a9763a32
Merge branch 'master' into Aayush-Goel-04/Issue#331
2023-08-07 21:02:42 +05:30
Aayush Goel
0fdc1dd3f5
Type Hints done , get_all_feature to Rule class
2023-08-07 21:00:29 +05:30
dependabot[bot]
80e224ec7c
build(deps-dev): bump mypy-protobuf from 3.4.0 to 3.5.0
...
Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf ) from 3.4.0 to 3.5.0.
- [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nipunn1313/mypy-protobuf/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: mypy-protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 14:42:44 +00:00
dependabot[bot]
75a4f309b4
build(deps-dev): bump types-protobuf from 4.23.0.2 to 4.23.0.3
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.23.0.2 to 4.23.0.3.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 14:42:39 +00:00
dependabot[bot]
358888178a
build(deps-dev): bump flake8 from 6.0.0 to 6.1.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 6.0.0 to 6.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.0.0...6.1.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 14:42:32 +00:00
dependabot[bot]
57e393bf7a
build(deps-dev): bump ruff from 0.0.280 to 0.0.282
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.280 to 0.0.282.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.280...v0.0.282 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 14:42:21 +00:00
Capa Bot
eb7aa63be6
Sync capa rules submodule
2023-08-07 13:54:49 +00:00
Capa Bot
298a07dc07
Sync capa rules submodule
2023-08-07 13:31:25 +00:00
Capa Bot
f50a5e8efc
Sync capa rules submodule
2023-08-07 13:28:05 +00:00
Yacine
d06b33e7ea
Merge pull request #1687 from mandiant/fix-lint
...
lint.py: add default backend
2023-08-07 14:16:11 +01:00
mr-tz
9660f1e5ab
add default backend
2023-08-07 14:00:30 +02:00
Willi Ballenthin
74d9b06835
Merge pull request #1679 from Aayush-Goel-04/Aayush-Goel-04/Issue#1582
...
bump pydantic to 2.1.1
2023-08-07 12:02:53 +02:00
Willi Ballenthin
681d4fb007
Merge pull request #1678 from yelhamer/call-scope
...
Add a call scope
2023-08-07 11:31:29 +02:00
Yacine Elhamer
a185341a4d
features/address.py: rename CallAddress DynamicCallAddress
2023-08-07 09:48:11 +01:00
Yacine Elhamer
aacd9f51b3
delete empty files
2023-08-07 09:48:11 +01:00
Yacine
95148d445a
test_rules.py: update rules' formatting
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-08-07 09:47:57 +01:00
Yacine
65ac422e36
test_rules.py: update rules' fomratting
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-08-07 09:47:37 +01:00
Willi Ballenthin
5ffb6ca0cd
Merge branch 'dynamic-feature-extraction' into call-scope
2023-08-07 10:40:53 +02:00
Willi Ballenthin
85f151303a
merge
2023-08-07 08:40:03 +00:00
Willi Ballenthin
216cd01b3c
sync test data submodule
2023-08-07 08:37:23 +00:00
Yacine
23bd2e7cd4
cape/call.py: remove use of the description keyword for features
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-08-07 09:13:07 +01:00
Willi Ballenthin
5de055e2af
Merge pull request #1677 from mandiant/fix/add-devcontainer-pre-commit
...
devcontainer: install pre-commit hooks
2023-08-07 10:01:20 +02:00
Willi Ballenthin
dd870a5cbd
Merge pull request #1676 from mandiant/fix/issue-1675
...
linter: skip native API check for NtProtectVirtualMemory
2023-08-07 10:00:59 +02:00
Aayush Goel
a2254852b0
Update CHANGELOG.md
2023-08-06 22:55:54 +05:30
Aayush Goel
17aad56800
Script to get unused features
...
Used show_features.py script
2023-08-06 22:53:50 +05:30
Yacine Elhamer
f461f65a86
move thread-scope features into the call-scope
2023-08-06 18:12:29 +01:00
Capa Bot
2c8f99143a
Sync capa-testfiles submodule
2023-08-05 16:40:13 +00:00
Capa Bot
ee68031d19
Sync capa-testfiles submodule
2023-08-05 16:37:46 +00:00
Yacine Elhamer
8dc4adbb5e
fix test_rules.py yaml identation bug
2023-08-04 16:20:37 +01:00
Yacine Elhamer
8b36cd1e35
add call-scope tests
2023-08-04 16:20:37 +01:00
Aayush Goel
851da25560
Update bulk-process.py
2023-08-04 10:43:34 +05:30
Aayush Goel
a4b00b9064
remove exclude_none = True to not drop none fields
2023-08-04 10:26:56 +05:30
Aayush Goel
fd61456164
Update capa/features/freeze/__init__.py
...
Co-authored-by: Willi Ballenthin <wballenthin@google.com >
2023-08-04 09:07:13 +05:30
Aayush Goel
261baca683
updated deperecated functions
2023-08-04 01:35:41 +05:30
Aayush Goel
c7dde262ed
remove initial instantiation for fields.
2023-08-03 22:40:01 +05:30
Yacine
cd700a1782
Merge branch 'dynamic-feature-extraction' into call-scope
2023-08-03 15:27:44 +01:00
Yacine
60e94adeb1
base_extractor.py: fix ProcessHandle documentation comment
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-08-03 14:39:53 +01:00
Yacine
eafed0f1d4
build_statements(): fix call-scope InvalidRule message typo
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-08-03 14:38:38 +01:00
Yacine Elhamer
7c14c51012
cape/call.py: update extract_call_features() comment
2023-08-03 14:20:18 +01:00
Aayush Goel
2bed3468f6
bump pydantic to 2.1.1
2023-08-03 17:21:46 +05:30
Yacine Elhamer
4f9d24598f
bugfix
2023-08-03 11:24:24 +01:00
Yacine Elhamer
4277b4bef8
include an address' parent in comparisons
2023-08-03 11:21:58 +01:00
colton-gabertan
bab6c978fb
Merge branch 'master' into backend-ghidra
2023-08-02 16:17:19 -07:00
Yacine Elhamer
3c3205adf1
add call address to show-features.py script
2023-08-02 23:10:27 +01:00
Yacine Elhamer
4e1527df95
update changelog
2023-08-02 22:48:38 +01:00
Yacine Elhamer
ca2760fb46
Initial commit
2023-08-02 22:46:54 +01:00
Willi Ballenthin
6647ecb6d4
Merge branch 'master' into fix/add-devcontainer-pre-commit
2023-08-02 15:02:15 +02:00
Willi Ballenthin
13533074ea
devcontainer: install pre-commit hooks
2023-08-02 13:01:15 +00:00
Willi Ballenthin
a538a7bbab
linter: skip native API check for more UEFI routines
2023-08-02 12:55:22 +00:00
Willi Ballenthin
b2789f0df6
Merge branch 'master' into fix/issue-1675
2023-08-02 14:49:32 +02:00
Willi Ballenthin
ab5c8b1129
linter: skip native API check for NtEnumerateSystemEnvironmentValuesEx
2023-08-02 12:49:17 +00:00
Capa Bot
149983dced
Sync capa rules submodule
2023-08-02 12:42:03 +00:00
Willi Ballenthin
04fbcbbbd3
linter: skip native API check for NtProtectVirtualMemory
...
closes #1675
2023-08-02 12:36:42 +00:00
Willi Ballenthin
727ece499a
Merge pull request #1662 from Aayush-Goel-04/Aayush-Goel-04/Issue#1607
...
ELF: Implement file import and export name extractor
2023-08-02 13:15:32 +02:00
Aayush Goel
62f50265bc
Resolved Import address
2023-08-02 16:41:24 +05:30
Capa Bot
95ffdf19ff
Sync capa rules submodule
2023-08-02 11:03:52 +00:00
Capa Bot
d18224eac6
Sync capa-testfiles submodule
2023-08-02 11:03:16 +00:00
Aayush Goel
26935ee6e6
Update test_elffile_features.py
2023-08-02 13:51:51 +05:30
Aayush Goel
f8c499fb43
Added test for elf import/export handling
2023-08-02 11:52:27 +05:30
Willi Ballenthin
61924672e2
Merge pull request #1671 from yelhamer/rule-statement-building
2023-08-01 22:15:03 +02:00
Yacine Elhamer
7fdd988e4f
remove redundant imports
2023-08-01 20:12:15 +01:00
Yacine Elhamer
a85e0523f8
remove Scopes LRU caching
2023-08-01 20:09:42 +01:00
Aayush Goel
3bb5754b66
Update elffile.py
2023-08-01 22:41:11 +05:30
Aayush Goel
dd2eef52c3
Update elffile.py
...
remove enumerate
2023-08-01 22:21:00 +05:30
Willi Ballenthin
da45fb4bea
Merge branch 'master' into Aayush-Goel-04/Issue#1607
2023-08-01 16:34:42 +02:00
Willi Ballenthin
7ed517a8f3
Merge pull request #1668 from mandiant/dependabot/pip/types-tabulate-0.9.0.3
...
build(deps-dev): bump types-tabulate from 0.9.0.1 to 0.9.0.3
2023-08-01 16:33:42 +02:00
Willi Ballenthin
f00e7426c5
Merge pull request #1667 from mandiant/dependabot/pip/types-requests-2.31.0.2
...
build(deps-dev): bump types-requests from 2.31.0.1 to 2.31.0.2
2023-08-01 16:33:12 +02:00
Willi Ballenthin
3f29c61038
Merge branch 'master' into dependabot/pip/types-requests-2.31.0.2
2023-08-01 16:33:04 +02:00
Willi Ballenthin
647ce67f7e
Merge pull request #1666 from mandiant/dependabot/pip/types-protobuf-4.23.0.2
...
build(deps-dev): bump types-protobuf from 4.23.0.1 to 4.23.0.2
2023-08-01 16:32:29 +02:00
Willi Ballenthin
224923b8bd
Merge pull request #1665 from mandiant/dependabot/pip/pyyaml-6.0.1
...
build(deps-dev): bump pyyaml from 6.0 to 6.0.1
2023-08-01 16:31:41 +02:00
Willi Ballenthin
8a08a93b1c
Merge branch 'master' into dependabot/pip/pyyaml-6.0.1
2023-08-01 16:29:15 +02:00
Capa Bot
ed98bb3a57
Sync capa rules submodule
2023-08-01 11:21:32 +00:00
Capa Bot
d12185d851
Sync capa-testfiles submodule
2023-08-01 11:21:02 +00:00
Capa Bot
5f8280eb09
Sync capa rules submodule
2023-08-01 11:16:09 +00:00
Yacine Elhamer
462024ad03
update tests to explicitely specify scopes
2023-08-01 07:41:47 +01:00
Yacine Elhamer
f0d09899a1
rules/__init__.py: invalidate rules with no scopes field
2023-08-01 07:19:11 +01:00
Aayush Goel
30abe40999
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1607
2023-07-28 17:50:20 +05:30
Yacine Elhamer
b8212b3da7
main.py: replace | operator with Optional
2023-07-27 16:00:52 +01:00
Yacine Elhamer
3d812edc4d
use weakrefs for Scopes instantiation; fix test_rules()
2023-07-27 15:52:39 +01:00
Yacine Elhamer
2efb7f2975
fix flake8 issues
2023-07-27 15:10:01 +01:00
Yacine Elhamer
44c5e96cf0
RuleSet: remove irrelevant rules after dependecies have been checked
2023-07-27 12:44:07 +01:00
Yacine Elhamer
97c878db22
update CHANGELOG
2023-07-27 10:33:34 +01:00
Yacine Elhamer
16e32f8441
add tests
2023-07-27 10:31:45 +01:00
Yacine Elhamer
d6aced5ec7
RulSet: add flavor-based rule filtering
2023-07-27 10:24:08 +01:00
colton-gabertan
0e58ec5176
Merge branch 'master' into backend-ghidra
2023-07-26 12:20:18 -07:00
Yacine Elhamer
b843382065
rules/__init__.py: update Scopes class
2023-07-26 17:20:51 +01:00
Willi Ballenthin
dd53349aea
Merge pull request #1669 from xusheng6/master
2023-07-26 08:35:54 +02:00
Willi Ballenthin
d598faf145
Merge pull request #1664 from mandiant/dependabot/pip/ruff-0.0.280
2023-07-24 17:27:01 +02:00
dependabot[bot]
c265b1ca96
build(deps-dev): bump types-tabulate from 0.9.0.1 to 0.9.0.3
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.9.0.1 to 0.9.0.3.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 14:15:59 +00:00
dependabot[bot]
b554eaf563
build(deps-dev): bump types-requests from 2.31.0.1 to 2.31.0.2
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.1 to 2.31.0.2.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 14:15:55 +00:00
dependabot[bot]
3d51b84bd1
build(deps-dev): bump types-protobuf from 4.23.0.1 to 4.23.0.2
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.23.0.1 to 4.23.0.2.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 14:15:50 +00:00
dependabot[bot]
684b2ded38
build(deps-dev): bump pyyaml from 6.0 to 6.0.1
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 14:15:43 +00:00
dependabot[bot]
557e83b1dc
build(deps-dev): bump ruff from 0.0.278 to 0.0.280
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.278 to 0.0.280.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.278...v0.0.280 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 14:15:37 +00:00
Xusheng
8f826cb92d
Fix binja backend stack string detection. Re-enable binja stack string unit test
2023-07-24 19:15:35 +08:00
Aayush Goel
78a9909ec6
Update elffile.py
...
Updated changelog and added link references in comments
2023-07-23 15:30:37 +05:30
Willi Ballenthin
f4bdff0824
Merge pull request #1644 from yelhamer/find-dynamic-capabilities
2023-07-21 20:08:22 +02:00
Yacine Elhamer
d8c28e80eb
add get_sample_hashes() to elf extractor
2023-07-21 15:50:09 +01:00
yelhamer
344b3e9931
Update capa/features/extractors/base_extractor.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 15:43:56 +01:00
yelhamer
c32ac19c0d
Update capa/features/extractors/ida/extractor.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 15:43:41 +01:00
yelhamer
d13114e907
remove SampleHashes __iter__method
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 15:43:22 +01:00
yelhamer
90298fe2c8
Update capa/features/extractors/base_extractor.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 15:39:30 +01:00
Yacine Elhamer
3d1a1fb9fa
add get_sample_hashes() to NullFeatureExtractor
2023-07-21 14:54:54 +01:00
Yacine Elhamer
830bad54bd
fix bugs
2023-07-21 14:41:07 +01:00
Yacine Elhamer
c4ba5afe6b
replace : FeatureSet annotations with a comment type annotation
2023-07-21 14:32:42 +01:00
Yacine Elhamer
4ec39d49aa
fix linting issues
2023-07-21 14:03:57 +01:00
Yacine Elhamer
ab585ef951
add the skipif mark back
2023-07-21 14:00:58 +01:00
Yacine Elhamer
674122999f
migrate the get_sample_hashes() function to each individual extractor
2023-07-21 14:00:01 +01:00
Yacine Elhamer
8085caef35
remove the usage of SampleHashes's __iter__() method
2023-07-21 13:48:48 +01:00
Yacine Elhamer
3ab3c61d5e
use ida's hash-extraction functions
2023-07-21 13:48:48 +01:00
Yacine Elhamer
736b2cd689
address @mr-tz main.py review comments
2023-07-21 13:48:48 +01:00
yelhamer
bd8331678c
update compute_static_layout with the appropriate types
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 13:16:51 +01:00
yelhamer
6f3fb42385
update compute_dynamic_layout with the appropriate type
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-21 13:15:55 +01:00
yelhamer
da4e887aee
fix comment typo
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-07-21 12:40:02 +01:00
Yacine Elhamer
b1e468dae4
add tests for the get_sample_hashes() method
2023-07-21 11:04:21 +01:00
Yacine Elhamer
6d1a885864
update static freeze test
2023-07-21 08:48:18 +01:00
Yacine Elhamer
24b3abd706
add get_sample_hashes() to base extractor
2023-07-21 08:45:14 +01:00
yelhamer
806bc1853d
Update mypy.ini: add TODO comment
2023-07-20 22:13:06 +01:00
Yacine Elhamer
6ee1dfd656
address review comments: rename SampleHashes's from_sample() method to from_bytes() method
2023-07-20 21:53:28 +01:00
Yacine Elhamer
ab092cb536
add sample_hashes attribute to the base extractors
2023-07-20 21:51:37 +01:00
Yacine Elhamer
b4cf50fb6e
fix mypy issues
2023-07-20 21:48:05 +01:00
yelhamer
2b2b2b6545
Update capa/features/extractors/base_extractor.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-20 21:47:30 +01:00
yelhamer
fd7b926a33
Update capa/features/extractors/base_extractor.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-20 21:47:23 +01:00
Yacine Elhamer
482e0d386b
use pathlib.Path() in binja and ida extractors
2023-07-20 21:42:14 +01:00
Yacine Elhamer
d99b16ed5e
add copyright and remove old test
2023-07-20 21:41:16 +01:00
Yacine Elhamer
0a4fe58ac6
fix tests
2023-07-20 20:25:11 +01:00
Yacine Elhamer
8ac9caf45c
fix bugs
2023-07-20 20:20:33 +01:00
Yacine Elhamer
1029b369f2
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into find-dynamic-capabilities
2023-07-20 20:02:49 +01:00
Willi Ballenthin
5ae588deaa
Merge pull request #1658 from mandiant/sync-1657
...
sync
2023-07-20 14:05:22 +02:00
Willi Ballenthin
a2f31ab8ae
update testfiles submodule
2023-07-20 11:52:15 +00:00
Willi Ballenthin
666c9c21a1
update testfiles submodule
2023-07-20 11:49:20 +00:00
Yacine Elhamer
a675c4c7a1
remove redundant code block
2023-07-20 11:27:07 +01:00
Yacine Elhamer
16eab6b5e5
remove unused commit
2023-07-20 11:24:07 +01:00
Yacine Elhamer
d520bfc753
fix bugs and add copyrights
2023-07-20 11:19:54 +01:00
Yacine Elhamer
301b10d261
fix style issues
2023-07-20 10:52:43 +01:00
Yacine Elhamer
e38e56ccf6
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into sync-1657
2023-07-20 09:33:48 +01:00
Mike Hunhoff
c0e126f812
merge upstream
2023-07-19 14:56:39 +00:00
yelhamer
7de223f116
Update capa/features/extractors/ida/extractor.py: add call to get_input_file_path()
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-19 15:39:06 +01:00
Capa Bot
4eabee7329
Sync capa rules submodule
2023-07-19 13:49:59 +00:00
Willi Ballenthin
0719273cee
Merge pull request #1656 from RonnieSalomonsen/forward_export
...
rules: Add forwarded export characteristics to rule syntax under file…
2023-07-19 15:48:19 +02:00
Ronnie Salomonsen
de6bdf0621
Update CHANGELOG with fix for the new feature for forwarded export characteristics
2023-07-19 15:05:10 +02:00
Yacine Elhamer
c5d08ec0d1
update extractors and tests
2023-07-19 14:00:45 +01:00
Ronnie Salomonsen
1790dab1ab
rules: Add forwarded export characteristics to rule syntax under file_scope
2023-07-19 11:27:52 +02:00
Yacine Elhamer
4e4b1235c3
mypy.ini: ignore proto issues
2023-07-18 21:04:51 +01:00
Yacine Elhamer
e5d7903475
add removed tests
2023-07-18 20:38:54 +01:00
Willi Ballenthin
781c33d13c
Merge pull request #1652 from mandiant/williballenthin-patch-1
...
v6.0.0
2023-07-18 18:26:52 +02:00
Willi Ballenthin
70a1e66020
ci: publish: remove dev code
2023-07-18 14:02:35 +00:00
Willi Ballenthin
91b65d1d7f
ci: publish: remove old commented code
2023-07-18 14:01:58 +00:00
Willi Ballenthin
a22dd65032
Merge branch 'master' into williballenthin-patch-1
2023-07-18 16:00:47 +02:00
Willi Ballenthin
3899662cbd
v6.0.0
2023-07-18 14:00:09 +00:00
Willi Ballenthin
b73e1e3d7f
pyproject: set readme context type
2023-07-18 13:56:04 +00:00
Willi Ballenthin
25624a1b46
ci: publish: dev release
2023-07-18 13:38:05 +00:00
Willi Ballenthin
e3c8cb74df
ci: publish: dev release
2023-07-18 13:33:01 +00:00
Willi Ballenthin
f99824d996
v6.0.0a4
2023-07-18 13:22:11 +00:00
Willi Ballenthin
33cb81449c
ci: publish: try to fix perm errors
2023-07-18 13:21:47 +00:00
Willi Ballenthin
c49385e681
Merge pull request #1651 from mandiant/williballenthin-patch-1
...
v6.0.0a3
2023-07-18 14:33:05 +02:00
Willi Ballenthin
5277f3b640
v6.0.0a3
2023-07-18 12:23:25 +00:00
Willi Ballenthin
dbfcbaa98e
ci: publish: fix file name globbing
2023-07-18 12:23:15 +00:00
Willi Ballenthin
a2d70a12a9
Merge pull request #1650 from mandiant/williballenthin-patch-1
...
v6.0.0a2
2023-07-18 14:15:55 +02:00
Willi Ballenthin
be58f65ae5
v6.0.0a2
2023-07-18 11:37:45 +00:00
Willi Ballenthin
15caa9ee6e
ci: publish: remove incorrect name
2023-07-18 13:35:24 +02:00
Willi Ballenthin
0398baa752
Merge pull request #1648 from mandiant/fix/issue-1622
...
prep v6.0.0a1
2023-07-18 13:30:43 +02:00
Willi Ballenthin
b1214df621
Merge branch 'master' into fix/issue-1622
2023-07-18 13:30:32 +02:00
Willi Ballenthin
c0ed955362
Merge pull request #1647 from mandiant/williballenthin-patch-1
...
contributing: document CLA
2023-07-18 12:53:48 +02:00
Yacine Elhamer
bc46bf3202
add vverbose rendering
2023-07-18 11:26:20 +01:00
Willi Ballenthin
1c6434a380
changelog: remove old formatting
2023-07-18 10:10:36 +00:00
Willi Ballenthin
fff1248ec4
changelog: fix links
2023-07-18 10:07:18 +00:00
Willi Ballenthin
14f0589194
v6.0.0a1
2023-07-18 10:04:39 +00:00
Willi Ballenthin
d47703fada
v6.0 changelog
2023-07-18 10:02:07 +00:00
Willi Ballenthin
faf3ca53f7
changelog
2023-07-18 09:21:51 +00:00
Willi Ballenthin
18e0408577
contributing: document CLA
2023-07-18 11:18:28 +02:00
Willi Ballenthin
972fbe7290
Merge pull request #1641 from mandiant/fix/issue-1624
...
forwarded export features
2023-07-18 10:55:30 +02:00
Willi Ballenthin
40793eeefb
tests: bn: update link to tracking issue
2023-07-17 18:07:25 +02:00
Willi Ballenthin
221a5a9f03
tests: xfail binja forwarded exports
2023-07-17 17:56:33 +02:00
Willi Ballenthin
d1f5a6e76b
Merge branch 'fix/issue-1624' of personal.github.com:mandiant/capa into fix/issue-1624
2023-07-17 17:35:47 +02:00
Willi Ballenthin
d2567692a8
factor out common forwarded export name normalization
2023-07-17 17:32:40 +02:00
Colton Gabertan
6fa7f24818
Ghidra: Basic Block Feature Extraction ( #1637 )
...
* save progress
* implement loop detection
* implement recursive call detection
* lint repo
* fix python/java import errors
* simplify recursion detection
* implement tight loop extraction
* streamline loop detection, fix helper function signature
* begin stackstring extraction
* implement is_mov_imm_to_stack()
* implement stackstring extraction, fixture test passing
* clean & lint, pass fixture tests
* temp: resolve linting issues
* temp: fix linting issues
* implement reviewed changes, simplify functions
* fix tight loop extraction
2023-07-17 09:00:03 -06:00
yelhamer
4af84e53d5
bugfixes
2023-07-17 12:25:12 +01:00
Yacine Elhamer
e3f60ea0fb
initial commit
2023-07-17 11:50:49 +01:00
Mike Hunhoff
68caece2fa
fix linting errors
2023-07-13 18:49:52 +00:00
Mike Hunhoff
94aaaa297d
remove stale is_runtime_ida function
2023-07-13 18:16:11 +00:00
Mike Hunhoff
6ce897e39b
merge upstream
2023-07-13 17:57:34 +00:00
Willi Ballenthin
7c67fae52a
changelog: formatting
2023-07-13 16:53:35 +02:00
Willi Ballenthin
ebae5e5ca0
Merge branch 'master' into fix/issue-1624
2023-07-13 16:51:41 +02:00
Capa Bot
244d56e32a
Sync capa-testfiles submodule
2023-07-13 14:50:40 +00:00
Willi Ballenthin
5f2b92de40
Merge branch 'master' into fix/issue-1624
2023-07-13 16:50:35 +02:00
Capa Bot
1065ff9779
Sync capa-testfiles submodule
2023-07-13 14:49:40 +00:00
Willi Ballenthin
5253ad7014
Merge pull request #1640 from mandiant/fix/issue-1592
...
tests: make fixtures available via conftest.py
2023-07-13 15:39:11 +02:00
Willi Ballenthin
82223dcdc9
conftest: isort
2023-07-13 13:12:13 +00:00
Willi Ballenthin
724f9e4b81
conftest: isort
2023-07-13 14:52:05 +02:00
Willi Ballenthin
c4da4bcfe7
conftest: update noqa ignores
2023-07-13 14:35:09 +02:00
Willi Ballenthin
fd36946c4b
conftest: import symbols prefixed with _
2023-07-13 14:32:24 +02:00
Willi Ballenthin
8c9853ad12
Merge pull request #1639 from mandiant/fix/issue-1636
...
main: don't show spinner when debug messages are emitted
2023-07-13 13:47:55 +02:00
Willi Ballenthin
562a61930d
Merge pull request #1635 from mandiant/feat/ci-toplevel-permissions
...
ci: set top level permissions to satisfy code scanning
2023-07-13 13:20:06 +02:00
Willi Ballenthin
f9d210367e
Merge pull request #1638 from mandiant/feat/issue-1290
...
main: log time taken to analyze each function
2023-07-13 13:19:53 +02:00
Willi Ballenthin
bb6557ea0a
ida: extract forwarded export features
2023-07-13 12:18:57 +02:00
Willi Ballenthin
cb8133467b
Merge branch 'fix/issue-1624' of personal.github.com:mandiant/capa into fix/issue-1624
2023-07-13 11:55:56 +02:00
Willi Ballenthin
718813bc1c
Merge branch 'master' into fix/issue-1624
2023-07-13 16:16:40 +02:00
Willi Ballenthin
394c3807c1
Merge branch 'master' into fix/issue-1624
2023-07-13 11:55:46 +02:00
Willi Ballenthin
74924990a2
changelog
2023-07-13 11:50:56 +02:00
Willi Ballenthin
330f2a6b9b
viv: emit forwarded export features
...
ref #1592
2023-07-13 11:47:32 +02:00
Willi Ballenthin
6b81c77d22
profile-time: workaround for flake8-encodings bug
...
https://github.com/python-formate/flake8-encodings/issues/35
2023-07-13 11:45:53 +02:00
Willi Ballenthin
9e9f120c80
pefile: better handle forwarded exports with specific paths
2023-07-13 10:51:28 +02:00
Capa Bot
546789fea6
Sync capa rules submodule
2023-07-13 08:47:01 +00:00
Willi Ballenthin
76901ced19
Merge pull request #1634 from mandiant/feat/faster-py-tests
...
ci: use latest python for best performance
2023-07-13 10:45:48 +02:00
Willi Ballenthin
c29d0a4f56
Update .github/workflows/tests.yml
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-07-13 10:45:43 +02:00
Willi Ballenthin
6b6d7eb494
pefile: extract forwarded exports
2023-07-13 10:32:27 +02:00
Willi Ballenthin
21b2aac8b5
fixtures: add test cases for forwarded exports
2023-07-13 10:31:52 +02:00
Willi Ballenthin
7898ac24d5
show-features: support showing pefile features
2023-07-13 10:31:28 +02:00
Willi Ballenthin
5a3775455b
main: allow to specify --backend=pefile
2023-07-13 10:30:43 +02:00
Willi Ballenthin
892cd48713
Merge pull request #1633 from mandiant/dependabot/pip/ruff-0.0.278
...
build(deps-dev): bump ruff from 0.0.277 to 0.0.278
2023-07-13 10:24:56 +02:00
dependabot[bot]
c062115366
build(deps-dev): bump ruff from 0.0.277 to 0.0.278
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.277 to 0.0.278.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.277...v0.0.278 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-13 08:19:29 +00:00
Willi Ballenthin
ff7a006ba1
Merge pull request #1632 from mandiant/feat/issue-1594
...
update copyright and license headers
2023-07-13 10:18:50 +02:00
Willi Ballenthin
7665d56f93
Merge branch 'master' into feat/issue-1594
2023-07-13 10:18:44 +02:00
Capa Bot
280e253286
Sync capa rules submodule
2023-07-13 08:15:43 +00:00
Willi Ballenthin
7edf126a63
Merge pull request #1631 from mandiant/feat/issue-1599
...
introduce flake8-use-pathlib
2023-07-13 10:15:24 +02:00
Willi Ballenthin
ad6b475dfe
Merge pull request #1630 from mandiant/fix/issue-1629
...
fix binja test type error
2023-07-13 10:14:22 +02:00
Capa Bot
f897f00227
Sync capa-testfiles submodule
2023-07-13 08:11:11 +00:00
Willi Ballenthin
ea3090a066
changelog
2023-07-13 09:39:04 +02:00
Willi Ballenthin
b9090b86ce
tests: make fixtures available via conftest.py
...
closes #1592
2023-07-13 09:37:39 +02:00
Capa Bot
5088f45b6a
Sync capa-testfiles submodule
2023-07-13 07:19:20 +00:00
Capa Bot
ea51801806
Sync capa-testfiles submodule
2023-07-13 07:06:30 +00:00
Willi Ballenthin
04db034895
changelog
2023-07-13 08:49:46 +02:00
Willi Ballenthin
b547987b33
main: don't show spinner when debug messages are emitted
...
closes #1636
2023-07-13 08:47:14 +02:00
Willi Ballenthin
0511ef7093
changelog
2023-07-13 06:26:25 +02:00
Willi Ballenthin
e9ccc5276a
main: log time taken to analyze each function
...
closes #1290
2023-07-13 06:24:22 +02:00
Willi Ballenthin
36a840cb2c
ci: set top level permissions to satisfy code scanning
2023-07-13 06:12:42 +02:00
Willi Ballenthin
797021874b
ci: use latest python for best performance
2023-07-13 05:37:22 +02:00
Willi Ballenthin
2370c5b50d
Merge branch 'master' of personal.github.com:mandiant/capa into feat/issue-1594
2023-07-13 05:19:38 +02:00
Willi Ballenthin
b285985a79
flake8: configure copyright header for our project
...
closes #1594
2023-07-13 05:16:59 +02:00
Willi Ballenthin
59bd930881
fix merge
2023-07-13 05:04:26 +02:00
Willi Ballenthin
c86ab51210
fix copyright headers everywhere
2023-07-13 05:03:33 +02:00
Willi Ballenthin
e987fc2034
flake8: initial copyright config
2023-07-13 04:57:36 +02:00
Willi Ballenthin
7550cc8466
introduce flake8-use-pathlib
2023-07-13 04:31:20 +02:00
Willi Ballenthin
acaf6c1272
main: add type hints for main
2023-07-13 04:25:01 +02:00
Willi Ballenthin
a28000b41a
Merge branch 'master' into fix/issue-1629
2023-07-13 04:24:51 +02:00
Willi Ballenthin
560dc358fa
Merge branch 'master' into fix/issue-1629
2023-07-13 04:20:04 +02:00
Willi Ballenthin
a32f2cc0f8
tests: fix type error
2023-07-13 04:19:09 +02:00
Mike Hunhoff
eeb0f78564
merge upstream
2023-07-12 17:57:35 +00:00
Moritz
ce15a2b01e
Merge pull request #1580 from yelhamer/analysis-flavor
...
add flavored scopes
2023-07-12 17:24:38 +02:00
Colton Gabertan
97c2005661
Ghidra: Function Feature Extraction ( #1597 )
...
* save progress
* implement loop detection
* implement recursive call detection
* lint repo
* fix python/java import errors
* simplify recursion detection
* streamline loop detection, fix helper function signature
2023-07-12 08:58:35 -06:00
Yacine Elhamer
9c878458b8
fix typo: replace 'rules' with 'rule'
2023-07-12 15:43:32 +01:00
Yacine Elhamer
53d897da09
ida/plugin/form.py: replace list comprehension in any() with a generator
2023-07-12 15:39:56 +01:00
Yacine Elhamer
17030395c6
ida/plugin/form.py: replace usage of '==' with usage of 'in' operator
2023-07-12 15:36:28 +01:00
Yacine Elhamer
34d3d6c1f9
Merge remote-tracking branch 'origin/analysis-flavor' into yelhamer-analysis-flavor
2023-07-12 15:27:13 +01:00
Capa Bot
87a6459278
Sync capa rules submodule
2023-07-12 10:13:13 +00:00
Willi Ballenthin
4e02e36d2c
Merge pull request #1628 from mandiant/feat/flake8-simplify
...
introduce flake8-simplify
2023-07-12 12:12:53 +02:00
Willi Ballenthin
a35bf4c807
Merge pull request #1626 from mandiant/dependabot/pip/black-23.7.0
...
build(deps-dev): bump black from 23.3.0 to 23.7.0
2023-07-12 11:44:37 +02:00
Willi Ballenthin
a106953fec
Merge pull request #1627 from mandiant/dependabot/pip/flake8-bugbear-23.7.10
...
build(deps-dev): bump flake8-bugbear from 23.6.5 to 23.7.10
2023-07-12 11:44:26 +02:00
Willi Ballenthin
65e8300145
introduce flake8-simplify
2023-07-12 11:40:44 +02:00
Capa Bot
7526ff876f
Sync capa-testfiles submodule
2023-07-12 09:09:04 +00:00
Capa Bot
78a6d9a511
Sync capa rules submodule
2023-07-12 09:06:40 +00:00
Willi Ballenthin
e335c9f977
Merge pull request #1612 from yelhamer/process-thread-addresses
...
add process and thread addresses
2023-07-12 10:54:14 +02:00
dependabot[bot]
2343e73f41
build(deps-dev): bump flake8-bugbear from 23.6.5 to 23.7.10
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 23.6.5 to 23.7.10.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-12 08:51:34 +00:00
dependabot[bot]
aae2e51688
build(deps-dev): bump black from 23.3.0 to 23.7.0
...
Bumps [black](https://github.com/psf/black ) from 23.3.0 to 23.7.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.3.0...23.7.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-12 08:51:25 +00:00
Willi Ballenthin
fe57016abd
Merge pull request #1619 from mandiant/dependabot/pip/protobuf-4.23.4
...
build(deps-dev): bump protobuf from 4.23.2 to 4.23.4
2023-07-12 10:51:02 +02:00
Willi Ballenthin
de8bba41dc
Merge pull request #1620 from mandiant/dependabot/pip/ruff-0.0.277
...
build(deps-dev): bump ruff from 0.0.275 to 0.0.277
2023-07-12 10:50:48 +02:00
Willi Ballenthin
90a2fd936c
Merge pull request #1623 from Aayush-Goel-04/Aayush-Goel-04/Issue#1534
...
Updated file paths to use pathlib.Path instance
2023-07-12 10:50:29 +02:00
Capa Bot
deb6114530
Sync capa rules submodule
2023-07-11 20:38:54 +00:00
Yacine Elhamer
4ee38cbe29
fix linting issues
2023-07-11 14:52:04 +01:00
Yacine Elhamer
12c9154f55
fix flake8 linting issues
2023-07-11 14:40:56 +01:00
Yacine Elhamer
0e312d6dfe
replace unused variable 'r' with '_'
2023-07-11 14:38:52 +01:00
Yacine Elhamer
7e18eeddba
update ruff.toml
2023-07-11 14:33:19 +01:00
Yacine Elhamer
0db7141e33
remove redundant import
2023-07-11 14:33:07 +01:00
Yacine Elhamer
1ef0b16f11
Update ruff.toml
2023-07-11 14:32:33 +01:00
Yacine Elhamer
37c1bf98eb
fix ruff F401 pytes issues
2023-07-11 14:26:59 +01:00
Yacine Elhamer
85d4c00096
fix ruff linting issues with test_static_freeze
2023-07-11 14:07:08 +01:00
Yacine Elhamer
078978a5b5
fix fixtures issue
2023-07-11 13:33:48 +01:00
Yacine Elhamer
841d393f8b
fix non-matching type issue
2023-07-11 12:49:15 +01:00
Yacine Elhamer
740d1f6d4e
fix imports: import TypeAlias from typing_extensions
2023-07-11 12:40:58 +01:00
Yacine Elhamer
b615c103ef
fix flake8 linting: replace unused 'variable' with '_'
2023-07-11 12:37:01 +01:00
Yacine Elhamer
f879f53a6b
fix linting issues
2023-07-11 12:33:37 +01:00
Yacine Elhamer
42baa10bcb
Merge branch 'process-thread-addresses' of https://github.com/yelhamer/capa into yelhamer-process-thread-addresses
2023-07-11 12:07:20 +01:00
Willi Ballenthin
d438b90879
Merge branch 'master' into Aayush-Goel-04/Issue#1534
2023-07-11 12:30:13 +02:00
Yacine Elhamer
6feb9f540f
fix ruff linting issues
2023-07-11 10:58:00 +01:00
Yacine Elhamer
f86ecfe446
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into analysis-flavor
2023-07-11 10:43:31 +01:00
Capa Bot
c1cd272865
Sync capa-testfiles submodule
2023-07-11 08:29:10 +00:00
Capa Bot
fdb53d97ce
Sync capa-testfiles submodule
2023-07-11 08:28:43 +00:00
Capa Bot
db5e735928
Sync capa-testfiles submodule
2023-07-11 08:28:27 +00:00
colton-gabertan
785825d77e
Merge branch 'master' into backend-ghidra
2023-07-11 01:00:55 -07:00
Aayush Goel
1baa7a5e4b
flake8 checks resolved
2023-07-11 02:30:09 +05:30
Aayush Goel
ef39bc3c3a
Merged Changes from PR #1591
2023-07-11 01:14:38 +05:30
Aayush Goel
8e346cb411
Merge branch 'Aayush-Goel-04/Issue#1534' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#1534
2023-07-11 00:59:21 +05:30
Aayush Goel
d1a1c6875b
extractors accept Path instance
2023-07-11 00:41:36 +05:30
Capa Bot
b84af6a205
Sync capa rules submodule
2023-07-10 15:27:03 +00:00
Yacine Elhamer
64a16314ab
Update capa/features/address.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-07-10 16:24:30 +01:00
Yacine Elhamer
dccebaeff8
Update CHANGELOG.md: include PR number
2023-07-10 16:18:59 +01:00
Yacine Elhamer
d2e5dea3e2
update magic header
2023-07-10 16:15:37 +01:00
Yacine Elhamer
ec59886031
Update capa/rules/__init__.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-10 15:58:27 +01:00
Yacine Elhamer
917dd8b0db
Update scripts/lint.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-10 15:58:17 +01:00
Willi Ballenthin
160c662e7c
Merge pull request #1621 from mandiant/dependabot/pip/flake8-comprehensions-3.14.0
...
build(deps-dev): bump flake8-comprehensions from 3.13.0 to 3.14.0
2023-07-10 16:52:41 +02:00
Yacine Elhamer
63e273efd4
fix bugs and mypy issues
2023-07-10 15:52:33 +01:00
dependabot[bot]
015056c54a
build(deps-dev): bump flake8-comprehensions from 3.13.0 to 3.14.0
...
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions ) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0 )
---
updated-dependencies:
- dependency-name: flake8-comprehensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-10 14:37:18 +00:00
dependabot[bot]
babf99ea48
build(deps-dev): bump ruff from 0.0.275 to 0.0.277
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.275 to 0.0.277.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.275...v0.0.277 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-10 14:36:34 +00:00
dependabot[bot]
c8f5496008
build(deps-dev): bump protobuf from 4.23.2 to 4.23.4
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 4.23.2 to 4.23.4.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v4.23.2...v4.23.4 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-10 14:35:50 +00:00
Yacine Elhamer
9394194031
address review comments
2023-07-10 14:12:56 +01:00
Yacine Elhamer
af256bc0e9
fix mypy issues and bugs
2023-07-10 14:11:10 +01:00
Yacine Elhamer
37e4b913b0
address review comments
2023-07-10 13:22:47 +01:00
Willi Ballenthin
aa8055229d
Merge pull request #1617 from mandiant/fix/issue-1616
...
ci: restrict permissions of GITHUB_TOKEN
2023-07-10 14:13:33 +02:00
Willi Ballenthin
454b6d1aca
Merge branch 'master' into fix/issue-1616
2023-07-10 14:03:39 +02:00
Yacine Elhamer
722ee2f3d0
remove redundant print
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-10 12:54:15 +01:00
Yacine Elhamer
e5f5d542d0
replace ppid and pid fields with process in thread address
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-10 12:53:27 +01:00
Willi Ballenthin
1373fabf02
Merge pull request #1613 from mandiant/fix/issue-1491
...
PyPI trusted publishing
2023-07-10 13:48:24 +02:00
Willi Ballenthin
320539bd26
Merge branch 'master' into fix/issue-1491
2023-07-10 13:48:15 +02:00
Willi Ballenthin
ac12d5a7e2
Merge pull request #1611 from mandiant/fix/issue-1301
...
migrate to pyproject.toml
2023-07-10 13:45:50 +02:00
Yacine Elhamer
1ac64aca10
feature freeze: fix Addres.from_capa() not returning bug
2023-07-10 12:44:27 +01:00
Yacine Elhamer
78054eea5a
update changelog
2023-07-10 12:18:16 +01:00
Yacine Elhamer
ff63b0ff1a
rename test_freeze.py to test_static_freeze.py
2023-07-10 12:15:38 +01:00
Yacine Elhamer
e2e367f091
update tests
2023-07-10 12:15:06 +01:00
Yacine Elhamer
5aa1a1afc7
initial commit: add ProcessAddress and ThreadAddress
2023-07-10 12:14:53 +01:00
Willi Ballenthin
506d677684
Merge pull request #1591 from mandiant/fix/issue-1579
...
use pre-commit to invoke linters
2023-07-10 11:58:01 +02:00
Willi Ballenthin
f983307c97
Merge branch 'master' into fix/issue-1579
2023-07-10 11:57:51 +02:00
Capa Bot
a712bf3389
Sync capa rules submodule
2023-07-10 09:57:25 +00:00
Willi Ballenthin
a2d6bd693b
Merge branch 'dynamic-feature-extraction' into analysis-flavor
2023-07-10 10:23:49 +02:00
Willi Ballenthin
7f57fccefb
fix lints after sync with master
2023-07-10 02:55:50 +02:00
Willi Ballenthin
72e123e319
sync master
2023-07-10 02:50:18 +02:00
Willi Ballenthin
d29e7140b6
Merge pull request #1596 from mandiant/sync-master
...
Sync master
2023-07-10 10:30:23 +02:00
Willi Ballenthin
dc1f2e728d
ci: restrict permissions of GITHUB_TOKEN
...
closes #1616
2023-07-10 02:43:48 +02:00
Willi Ballenthin
1f8aa7cfe1
changelog
2023-07-10 02:07:19 +02:00
Willi Ballenthin
81b964386f
ci: publish to PyPI using trusted publishing
...
closes #1491
2023-07-10 02:06:06 +02:00
Willi Ballenthin
cb289e3fc5
ci: publish: use trusted publishing
2023-07-10 01:57:42 +02:00
Willi Ballenthin
fb176196eb
changelog
2023-07-10 01:46:06 +02:00
Willi Ballenthin
dd2bbc9a48
migrate to pyproject.toml
...
closes #1301
2023-07-10 01:44:38 +02:00
Willi Ballenthin
118b955e10
features: fix circular import
2023-07-09 23:59:45 +02:00
Willi Ballenthin
d89dd499b6
add issue links for TODOs
2023-07-09 23:55:36 +02:00
Willi Ballenthin
430f9da449
Merge branch 'master' into fix/issue-1579
2023-07-10 11:09:25 +02:00
Willi Ballenthin
ae10a2ea34
introduce flake8-todos linter
2023-07-09 23:35:52 +02:00
Willi Ballenthin
4a49543d12
introduce flake8-print linter
2023-07-09 22:44:47 +02:00
Willi Ballenthin
106b12e2a4
move flake8 config to its own config file
2023-07-09 22:35:53 +02:00
Willi Ballenthin
7fe738e28f
introduce flake8-no-implicit-concat linter
2023-07-09 22:18:01 +02:00
Willi Ballenthin
54203f3be9
introduce flake8-logging-format linter
2023-07-09 22:11:46 +02:00
Aayush Goel
a949698b86
Update fixtures.py
...
Dealt with encoding methods for how "ping_täst" file name is read.
2023-07-09 17:47:09 +05:30
Aayush Goel
673af45c55
Update args.sample type to Path and str vs as_posix comparisons
2023-07-09 16:02:28 +05:30
Aayush Goel
e0ed8c6e04
Resolved the suggestions.
2023-07-08 13:51:41 +05:30
Capa Bot
fc1dd401d2
Sync capa rules submodule
2023-07-08 07:53:28 +00:00
colton-gabertan
d452fdeca5
Merge branch 'master' into backend-ghidra
2023-07-08 00:20:47 -07:00
mr-tz
b6580f99db
sync submodule
2023-07-07 19:37:25 +02:00
Yacine Elhamer
605fbaf803
add import asdict from dataclasses
2023-07-07 15:33:05 +01:00
Yacine Elhamer
03b0493d29
Scopes class: remove __eq__ operator overriding and override __in__ instead
2023-07-07 15:31:45 +01:00
Yacine Elhamer
5e295f59a4
DEV_SCOPE: add todo comment
2023-07-07 15:31:45 +01:00
mr-tz
f3135630d1
Merge branch 'master' into sync-master
2023-07-07 14:28:13 +02:00
Moritz
4a2902512e
Update test_binja_features.py ( #1595 )
...
temporarily skip stack string test, while we wait for #1473
2023-07-07 14:01:50 +02:00
Moritz
e140fba5df
enhance various dynamic-related functions ( #1590 )
...
* enhance various dynamic-related functions
* test_cape_features(): update API(NtQueryValueKey) feature count to 7
---------
Co-authored-by: Yacine Elhamer <elhamer.yacine@gmail.com >
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-07 13:59:12 +02:00
Yacine Elhamer
fa7a7c294e
replace usage of __dict__ with dataclasses.asdict()
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-07-07 11:01:02 +01:00
Yacine Elhamer
9dd65bfcb9
extract_subscope_rules(): use DEV_SCOPE
2023-07-07 08:54:19 +01:00
Aayush Goel
a8f1067f8a
Fixed Path issue in cache-ruleset.py
2023-07-07 12:39:18 +05:30
Aayush Goel
ef9b0737a8
Merge branch 'master' into Aayush-Goel-04/Issue#1534
2023-07-07 12:05:57 +05:30
Aayush Goel
6218f31ea2
Update CHANGELOG.md
...
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
2023-07-07 12:03:05 +05:30
Aayush Goel
14924174c5
convert str(path) usage to path.as_posix() to get str format of Path
...
Update fixtures.py
2023-07-07 12:03:05 +05:30
Aayush Goel
edeb458b33
some more changes
2023-07-07 12:03:05 +05:30
Capa Bot
b8f277b3c6
Sync capa-testfiles submodule
2023-07-07 06:26:53 +00:00
Capa Bot
5bc85f39a6
Sync capa rules submodule
2023-07-07 06:26:34 +00:00
Colton Gabertan
51ffb1d75c
Add Ghidra File Feature Extraction ( #1564 )
...
Implement Ghidra backend file feature extraction
2023-07-06 17:05:08 -07:00
colton-gabertan
1f631b3ed1
bump min Python3 version to 3.8
2023-07-06 15:42:04 -07:00
colton-gabertan
1ea91d60ac
Merge branch 'master' into backend-ghidra
2023-07-06 15:40:09 -07:00
Willi Ballenthin
13a8e252f0
introduce flake8-comprehensions
2023-07-06 20:04:27 +02:00
Willi Ballenthin
ff47270681
add flake8-encoding plugin
2023-07-06 19:42:57 +02:00
Willi Ballenthin
3ad4de70bf
gitignore
2023-07-06 19:35:17 +02:00
Willi Ballenthin
9f6165f65c
doc: installation: better enumerate current linters
2023-07-06 19:34:07 +02:00
Willi Ballenthin
982dc46623
add flake8-bugbear linter
2023-07-06 19:30:51 +02:00
Yacine Elhamer
a8f722c4de
xfail tests that require the old ruleset
2023-07-06 18:15:02 +01:00
Willi Ballenthin
a43d2c115f
tests: fix fixture imports
2023-07-06 19:04:53 +02:00
Yacine Elhamer
0c56291e4a
update linter
2023-07-06 17:50:57 +01:00
Yacine Elhamer
c916e3b07f
update the linter
2023-07-06 17:27:45 +01:00
Yacine Elhamer
32f936ce8c
address review comments
2023-07-06 17:17:18 +01:00
Willi Ballenthin
e675bef062
ci: invoke linter directly
2023-07-06 18:14:14 +02:00
Willi Ballenthin
511aa0fb51
doc: installation: more details on pre-commit
2023-07-06 18:11:58 +02:00
Willi Ballenthin
90e607fe9a
flake8
2023-07-06 18:11:48 +02:00
Willi Ballenthin
9441da4887
isort
2023-07-06 17:50:34 +02:00
Willi Ballenthin
47074fd129
fix ruff issues
2023-07-06 17:49:40 +02:00
Willi Ballenthin
adbfb8db06
doc: installation: document pre-commit
2023-07-06 17:18:36 +02:00
Willi Ballenthin
8c8601197b
changelog
2023-07-06 17:15:16 +02:00
Willi Ballenthin
3ca233e0bd
Merge branch 'master' into fix/issue-1579
2023-07-07 10:46:09 +02:00
Willi Ballenthin
f17edb3151
ci: use pre-commit to invoke linters
2023-07-06 17:12:19 +02:00
Willi Ballenthin
691ef1c72f
remove old linter configs
2023-07-06 17:12:00 +02:00
Willi Ballenthin
75a76b47be
setup: add pre-commit dev dependency
2023-07-06 17:11:37 +02:00
Willi Ballenthin
6f0d1f7518
add pre-commit config
2023-07-06 17:10:54 +02:00
Willi Ballenthin
25a6d78b88
ruff: update config
2023-07-06 16:32:31 +02:00
Willi Ballenthin
65e309450d
Merge pull request #1588 from mandiant/fix/feature-1586
...
use fancy box drawing characters for default output
2023-07-06 15:26:24 +02:00
Willi Ballenthin
51292880fd
Merge branch 'master' into fix/feature-1586
2023-07-06 15:26:08 +02:00
Willi Ballenthin
26998efead
Merge pull request #1589 from mandiant/fix/dont-leave-tqdm
...
main: don't leave behind traces of the progress bar
2023-07-06 15:22:48 +02:00
Willi Ballenthin
cf9421aabf
Merge branch 'master' into fix/dont-leave-tqdm
2023-07-06 15:22:42 +02:00
Willi Ballenthin
e53fd8d6c8
Merge pull request #1587 from mandiant/fix/issue-1578
...
bump minimum python version to 3.8
2023-07-06 15:22:07 +02:00
Willi Ballenthin
b62c011823
Merge branch 'master' into fix/issue-1578
2023-07-06 14:36:58 +02:00
Willi Ballenthin
f9248262f5
Merge branch 'master' into fix/dont-leave-tqdm
2023-07-06 14:36:43 +02:00
Moritz
bbafedc992
Merge pull request #1585 from mandiant/fix/issue-1584
...
fix import-to-ida due to changes in the result document format in v5
2023-07-06 14:33:01 +02:00
Capa Bot
46ff798fae
Sync capa-testfiles submodule
2023-07-06 09:26:23 +00:00
Colton Gabertan
c5f51e03f4
ghidra: Add Global Feature Extraction ( #1526 )
...
* Revert "colton: removed redundant imports & object, locally tested"
This reverts commit 3da233dcad .
* removed redundant imports & objects, local test confirmation
* linted with isort
* linted with black
* linted with pycodestyle
* additional linting
* rebasing to avoid merge conflicts
2023-07-06 01:27:37 -07:00
Capa Bot
b57188e98c
Sync capa rules submodule
2023-07-06 08:17:32 +00:00
Capa Bot
49ffbdd54d
Sync capa-testfiles submodule
2023-07-06 08:04:33 +00:00
Colton Gabertan
855463b319
Add Ghidra Backend CI configuration, fix CHANGELOG ( #1529 )
...
* ghidra-backend ci working, fix CHANGELOG
* temp: Add backend-ghidra to CI test workflow & add versioning to matrix
* lint to avoid failure
* linting for CI
* cleanup CI, integrate actions, simplify installations
* fix gradle repo
* fix typo
* fix submodule checkout for rules & test data
* fix relative test data path
* remove unnecessary steps
* add flag to mkdir to resolve pipeline failure
2023-07-05 18:48:45 -06:00
Aayush Goel
62db346b49
Style , mypy checks
2023-07-06 05:28:13 +05:30
Yacine Elhamer
47aebcbdd4
fix show-capabilities-by-function
2023-07-06 00:48:22 +01:00
Aayush Goel
20e7acaa1a
Update CHANGELOG.md
2023-07-06 05:16:27 +05:30
Aayush Goel
c0d712acea
Changes os.path to pathlib.Path usage
...
changed args.rules , args.signatures types in handle_common_args.
2023-07-06 05:12:50 +05:30
Yacine Elhamer
4649c9a61d
rename rule.scope to rule.scope in ida plugin
2023-07-06 00:09:23 +01:00
Yacine Elhamer
9300e68225
fix mypy issues in test_rules.py
2023-07-06 00:05:20 +01:00
Yacine Elhamer
19e40a3383
address review comments
2023-07-05 23:58:08 +01:00
Aayush Goel
66e2a225d2
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1534
2023-07-06 02:21:11 +05:30
Willi Ballenthin
2e27745b5f
setup: bump mypy hints for colorama
2023-07-05 19:30:55 +02:00
Willi Ballenthin
b5a063b0d9
pep8
2023-07-05 19:19:26 +02:00
Willi Ballenthin
ba8040ace5
main: remove old codec registration for py3.7
2023-07-05 19:15:33 +02:00
Willi Ballenthin
9bcd7678a4
main: fix console output on windows (in CI)
2023-07-05 19:14:15 +02:00
Willi Ballenthin
23ed0a5d9d
main: don't leave behind traces of the progress bar
2023-07-05 19:06:33 +02:00
Willi Ballenthin
2b6cc6fee2
changelog
2023-07-05 18:57:37 +02:00
Willi Ballenthin
6a76760033
render: use fancy boxes
...
closes #1586
2023-07-05 18:55:32 +02:00
Willi Ballenthin
dd2d5431a9
setup: bump networkx to 3.1 since we now have python 3.8 as min version
2023-07-05 18:44:12 +02:00
Willi Ballenthin
5d1e26a95e
update minimum supported python version to 3.8
2023-07-05 18:34:41 +02:00
Willi Ballenthin
bf5b2612c8
changelog
2023-07-05 18:27:20 +02:00
Willi Ballenthin
694143ce6b
import-to-ida: use Metadata type not json document
2023-07-05 18:24:37 +02:00
Willi Ballenthin
19a5ef8a64
import-to-ida: use existing result document json parser
2023-07-05 18:21:03 +02:00
Willi Ballenthin
169b3d60a8
import-to-ida: update to use v5 JSON format
...
closes #1584
2023-07-05 18:04:15 +02:00
Willi Ballenthin
bb053561ef
import-to-ida: decode MD5 to hex
2023-07-05 18:03:57 +02:00
Yacine Elhamer
9ffe85fd9c
build_statements: add support for scope flavors
2023-07-05 15:57:57 +01:00
Yacine Elhamer
8ba86e9cea
add update Scopes class and switch scope to scopes
2023-07-05 15:00:14 +01:00
Moritz
b1eda6c24d
Merge pull request #1568 from mandiant/update-lint-data
...
update att&ck/mbc data via script
2023-07-05 13:11:22 +02:00
mr-tz
1a2e034ee0
update data via script
2023-07-05 12:30:54 +02:00
Capa Bot
a6763d8882
Sync capa rules submodule
2023-07-05 08:59:18 +00:00
Capa Bot
16ce6a5ef2
Sync capa rules submodule
2023-07-05 08:57:27 +00:00
Capa Bot
0a74eb671f
Sync capa rules submodule
2023-07-05 06:58:23 +00:00
Capa Bot
0c3c5e42ff
Sync capa rules submodule
2023-07-05 06:41:40 +00:00
Capa Bot
1e258c3bc2
Sync capa rules submodule
2023-07-05 06:41:20 +00:00
Capa Bot
2d55976cb4
Sync capa rules submodule
2023-07-05 06:40:30 +00:00
Capa Bot
9a7ce0b048
Sync capa-testfiles submodule
2023-07-04 08:55:21 +00:00
Capa Bot
446114acc3
Sync capa-testfiles submodule
2023-07-04 08:54:56 +00:00
Capa Bot
30950f129e
Sync capa-testfiles submodule
2023-07-04 08:54:40 +00:00
Yacine Elhamer
c042a28af1
rename Flavor to Scopes
2023-07-03 19:21:08 +01:00
Capa Bot
066e42e271
Sync capa-testfiles submodule
2023-07-03 14:05:29 +00:00
Capa Bot
301d8425c1
Sync capa-testfiles submodule
2023-07-03 14:05:01 +00:00
Capa Bot
165fe87aca
Sync capa-testfiles submodule
2023-07-03 14:04:39 +00:00
Yacine Elhamer
1b59efc79a
Apply suggestions from code review: rename Flavor to Scopes
...
Co-authored-by: Willi Ballenthin (Google) <118457858+wballenthin@users.noreply.github.com >
2023-07-03 11:11:14 +01:00
Capa Bot
06dd6f45c0
Sync capa rules submodule
2023-07-03 07:54:42 +00:00
Yacine Elhamer
f1d7ac36eb
Update test_rules.py
2023-07-03 02:48:24 +01:00
Yacine Elhamer
21cecb2aec
tests: add unit tests for flavored scopes
2023-07-01 01:51:44 +01:00
Yacine Elhamer
8a93a06b71
fix mypy issues
2023-07-01 01:41:19 +01:00
Yacine Elhamer
d2ff0af34a
Revert "tests: add unit tests for flavored scopes"
...
This reverts commit 6f0566581e .
2023-07-01 01:39:54 +01:00
Yacine Elhamer
ae5f2ec104
fix mypy issues
2023-07-01 01:38:37 +01:00
Yacine Elhamer
6f0566581e
tests: add unit tests for flavored scopes
2023-07-01 00:57:01 +01:00
Yacine Elhamer
e726c7894c
ensure_feature_valid_for_scope(): add support for flavored scopes
2023-07-01 00:56:35 +01:00
Yacine Elhamer
c4bb4d9508
update changelog
2023-06-30 20:28:40 +01:00
Yacine Elhamer
cfad228d3c
scope flavors: add a Flavor class
2023-06-30 20:26:55 +01:00
Capa Bot
2cd6b8bdac
Sync capa-testfiles submodule
2023-06-29 10:01:38 +00:00
Capa Bot
7ab2a9b163
Sync capa-testfiles submodule
2023-06-29 09:47:46 +00:00
Willi Ballenthin
670faf1d1d
Merge pull request #1576 from yelhamer/process-scope
2023-06-28 16:34:15 +02:00
Yacine Elhamer
659163a93c
thread scope: fix feature inheritance error
2023-06-28 14:52:00 +01:00
Yacine Elhamer
2b163edc0e
add thread scope
2023-06-28 13:08:11 +01:00
Yacine Elhamer
0d38f85db7
process scope: add MatchedRule feature
2023-06-28 11:27:08 +01:00
Willi Ballenthin
1dc2825a75
Merge pull request #1577 from mandiant/master
...
sync dynamic-feature-extraction
2023-06-28 11:16:01 +02:00
Willi Ballenthin
630e2d23c9
Merge pull request #1569 from yelhamer/static-extractor
...
add a StaticFeatureExtractor class
2023-06-28 11:13:46 +02:00
Yacine Elhamer
c73187e7d4
Update capa/rules/__init__.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-28 10:08:29 +01:00
Capa Bot
4548303a0c
Sync capa rules submodule
2023-06-28 06:25:24 +00:00
Yacine Elhamer
e18afe5d1e
Merge branch 'dynamic-feature-extraction' into process-scope
2023-06-28 01:46:39 +01:00
Yacine Elhamer
7534e3f739
update changelog
2023-06-28 01:41:13 +01:00
Yacine Elhamer
0e01d91cec
update changelog
2023-06-28 01:39:11 +01:00
Aayush Goel
4ceff605bf
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1534
2023-06-27 18:06:57 +05:30
Yacine Elhamer
06aea6b97c
fix mypy and codestyle issues
2023-06-27 11:32:21 +01:00
Yacine Elhamer
a99ff813cb
DynamicFeatureExtractor: remove get_base_address() method
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-27 11:22:35 +01:00
Yacine Elhamer
92734416a6
update base_extractor.py example
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-27 11:20:41 +01:00
Yacine Elhamer
2f32d4fe49
Update base_extractor.py with review comments
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-27 11:20:02 +01:00
Willi Ballenthin
81d35eb645
Merge branch 'dynamic-feature-extraction' into static-extractor
2023-06-27 09:42:16 +02:00
Willi Ballenthin
ac24ac2507
Merge pull request #1566 from yelhamer/dynamic-show-features
...
integrate the CAPE extractor with the show-features.py script
2023-06-27 09:37:27 +02:00
Willi Ballenthin
39bb4ed842
Merge pull request #1570 from mandiant/dependabot/pip/ruff-0.0.275
...
build(deps-dev): bump ruff from 0.0.270 to 0.0.275
2023-06-27 09:34:23 +02:00
dependabot[bot]
8edeb0e6e8
build(deps-dev): bump ruff from 0.0.270 to 0.0.275
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.270 to 0.0.275.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.270...v0.0.275 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 07:33:03 +00:00
Willi Ballenthin
e3b58eac67
Merge pull request #1573 from mandiant/dependabot/pip/mypy-1.4.1
...
build(deps-dev): bump mypy from 1.3.0 to 1.4.1
2023-06-27 09:32:25 +02:00
Willi Ballenthin
8b23a86d2e
Merge branch 'master' into dependabot/pip/mypy-1.4.1
2023-06-27 09:32:14 +02:00
Willi Ballenthin
d95acc9734
Merge pull request #1574 from mandiant/dependabot/pip/pytest-7.4.0
...
build(deps-dev): bump pytest from 7.3.1 to 7.4.0
2023-06-27 09:32:03 +02:00
Yacine Elhamer
b172f9a354
FeatureExtractor alias: fix mypy typing issues by adding ininstance-based assert statements
2023-06-26 22:46:27 +01:00
Yacine Elhamer
63e4d3d5eb
fix TypeAlias importing: import from typing_extensions to support Python 3.9 and lower
2023-06-26 21:14:17 +01:00
Yacine Elhamer
c74c8871f8
scripts: add type-related assert statements
2023-06-26 21:06:35 +01:00
Yacine Elhamer
3f5d08aedb
base_extractor.py: add TypeAlias keyword, use union instead of bar operator, add an extract_file_features() and extract_global_features() methods
2023-06-26 20:57:51 +01:00
Yacine Elhamer
ddcb299834
main.py: address review suggestions (using elif for type casts, renaming to find_static_capabilities())
2023-06-26 20:53:41 +01:00
Yacine Elhamer
a9f70dd1e5
main.py: update extractor type casting
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-26 20:01:30 +01:00
dependabot[bot]
7c72b56a4e
build(deps-dev): bump pytest from 7.3.1 to 7.4.0
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.4.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-26 14:58:39 +00:00
dependabot[bot]
8429d6b8e2
build(deps-dev): bump mypy from 1.3.0 to 1.4.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.3.0 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.3.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-26 14:58:26 +00:00
Yacine Elhamer
aff0c6b49b
show-featurex.py: bugfix in ida_main()
2023-06-26 09:41:14 +01:00
Yacine Elhamer
417bb42ac8
show_features.py: rename show_{function,process}_features to show_{static,dynamic}_features.py
2023-06-26 09:16:59 +01:00
Yacine Elhamer
040ed4fa57
get_format_from_report(): use strings instead of literals
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-26 09:05:20 +01:00
Yacine Elhamer
94fc7b4e9a
FeatureExtractor alias: add type casts to either StaticFeatureExtractor or DynamicFeatureExtractor
2023-06-26 01:23:01 +01:00
Yacine Elhamer
172e7a7649
update changelog
2023-06-25 23:03:13 +01:00
Yacine Elhamer
37ed138dcf
base_extractor(): add a StaticFeatureExtractor and DynamicFeatureExtractor base classes, as well as a FeatureExtractor type alias
2023-06-25 22:57:39 +01:00
Aayush Goel
842f76c8bd
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1534
2023-06-26 00:35:55 +05:30
Aayush Goel
157dfac527
Current os.apth to pathlib.Path
...
need to update args type
Revert "Current os.apth to pathlib.Path"
This reverts commit 170fe9ad93b0a4d44a08470633133c0d32ccef24.
2023-06-26 00:34:12 +05:30
Yacine Elhamer
5f6aade92b
get_format_from_report(): fix bugs and add a list of dynamic formats
2023-06-25 00:54:55 +01:00
Yacine Elhamer
0c62a5736e
add support for determining the format of a sandbox report
2023-06-24 23:51:12 +01:00
Capa Bot
a92d91e82a
Sync capa rules submodule
2023-06-24 08:21:24 +00:00
Yacine Elhamer
f1406c1ffd
scripts/show-features.py: prefix {static,dynamic}_analysis() functions' name with 'print_'
2023-06-23 13:58:34 +01:00
Yacine Elhamer
1cdc3e5232
fix codestyle
2023-06-23 13:48:49 +01:00
Yacine Elhamer
bd9870254e
Apply suggestions from code review: use EXTENSIONS_CAPE, and ident 'thread' by one more space
2023-06-23 13:31:35 +01:00
Yacine Elhamer
0442b8c1e1
Apply suggestions from code review: use is_ for booleans
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-23 13:27:20 +01:00
Yacine Elhamer
585876d6af
capa/main.py: use "rb" for opening json files
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-23 13:25:37 +01:00
Yacine Elhamer
902d726ea6
capa/main.py: change json import positioning to start of the file
2023-06-22 23:57:03 +01:00
Yacine Elhamer
3f35b426dd
Apply suggestions from code review
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-22 21:58:01 +01:00
Yacine Elhamer
761d861888
Update fixtures.py samples path
2023-06-22 16:55:00 +01:00
Yacine Elhamer
9f185ed5c0
remove incompatible bar union syntax
2023-06-22 15:59:23 +01:00
Yacine Elhamer
63b2077335
get_extractor(): set return type to FeatureExtractor, and cast into the appropriate class before each usage
2023-06-22 15:55:24 +01:00
Yacine Elhamer
12d5beec6e
add type cast to fix get_extractor() typing issues
2023-06-22 15:51:56 +01:00
Yacine Elhamer
b77e68df19
fix codestyle and typing
2023-06-22 14:17:06 +01:00
Yacine Elhamer
fcdd4fa410
update changelog
2023-06-22 14:03:01 +01:00
Yacine Elhamer
07c48bca68
scripts/show-features.py: add dynamic feature extraction from cape reports
2023-06-22 13:56:54 +01:00
Yacine Elhamer
79ff76d124
main.py: fix bugs for adding the cape extractor/format
2023-06-22 13:55:50 +01:00
Yacine Elhamer
de2ba1ca94
add the cape report format to main and across several other locations
2023-06-22 12:55:39 +01:00
Yacine Elhamer
45002bd51d
Revert "scripts/show-features.py: add dynamic feature extraction from cape reports"
...
This reverts commit 64189a4d08 .
2023-06-22 12:29:51 +01:00
Yacine Elhamer
be7ebad956
Revert "tests/fixtures.py: update path forming for the cape sample"
...
This reverts commit 6712801b01 .
2023-06-22 12:18:34 +01:00
Yacine Elhamer
64189a4d08
scripts/show-features.py: add dynamic feature extraction from cape reports
2023-06-22 12:16:31 +01:00
Capa Bot
33a3170bc4
Sync capa rules submodule
2023-06-22 07:11:54 +00:00
Willi Ballenthin
708cb28ed0
Merge pull request #1546 from yelhamer/cape-extractor
...
add the CAPE feature extractor
2023-06-21 09:33:26 +02:00
Yacine Elhamer
6712801b01
tests/fixtures.py: update path forming for the cape sample
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-20 20:30:06 +01:00
Yacine Elhamer
f29db693c8
fix git submodules error
2023-06-20 20:25:19 +01:00
Yacine Elhamer
0502bfd95d
remove cape report from get_md5_hash() function
2023-06-20 20:24:38 +01:00
Yacine Elhamer
78a3901c61
cape/helpers.py: add a find_process() function for quick-fetching processes from the cape report
2023-06-20 15:59:22 +01:00
Yacine Elhamer
0a4e3008af
fixtures.py: update CAPE's feature count and presence tests
2023-06-20 13:51:16 +01:00
Willi Ballenthin
2ce4f8769d
Merge pull request #1513 from mandiant/ida-test-runner
...
tests: refine the IDA test runner
2023-06-20 14:28:12 +02:00
Willi Ballenthin
4dedc24f9f
Merge branch 'master' into ida-test-runner
2023-06-20 14:28:05 +02:00
Yacine Elhamer
d03ba5394f
cape/global_.py: add warning messages if architecture/os/format are unknown
2023-06-20 13:26:25 +01:00
Yacine Elhamer
2262e6c7d0
Merge branch 'test-cape-extractor' into cape-extractor
2023-06-20 13:22:15 +01:00
Yacine Elhamer
31a349b13b
cape feature tests: fix feature count function typo
2023-06-20 13:21:52 +01:00
Yacine Elhamer
1ba143ef26
Merge branch 'test-cape-extractor' into cape-extractor
2023-06-20 13:20:49 +01:00
Yacine Elhamer
1532ce1bab
add tests for extracting argument values
2023-06-20 13:20:33 +01:00
Yacine Elhamer
fa9b920b71
cape/thread.py: do not extract return values, and extract argument values as Strings
2023-06-20 13:17:53 +01:00
Yacine Elhamer
40b2d5f724
add a remote origin to submodule, and switch to that branch
2023-06-20 12:40:47 +01:00
Yacine Elhamer
0623a5a8de
point capa-testfiles submodule towards dynamic-feautre-extractor branch
2023-06-20 12:13:57 +01:00
Yacine Elhamer
cfa1d08e7e
update testfiles submodule to point at dev branch
2023-06-20 11:28:40 +01:00
Yacine Elhamer
6196814672
cape/file.py: fix KeyError bug
2023-06-20 10:51:18 +01:00
Yacine Elhamer
f5af2bf393
Merge branch 'test-cape-extractor' into cape-extractor
2023-06-20 10:47:56 +01:00
Yacine Elhamer
374fb033c1
add support for gzip compressed cape samples, and fix QakBot sample path
2023-06-20 10:29:52 +01:00
Yacine Elhamer
4db80e75a4
add mode and encoding parameters to open()
2023-06-20 10:13:06 +01:00
Yacine Elhamer
8547277958
tests/fixtures.py bugfix: remove redundant lambda function
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-20 10:10:42 +01:00
Yacine Elhamer
ec3366b0e5
Update tests/fixtures.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-20 10:09:27 +01:00
Yacine Elhamer
48bd04b387
tests/fixtures.py: return direct extractor with no intermediate variable
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-20 10:09:00 +01:00
Yacine Elhamer
41a481252c
Update CHANGELOG.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-20 10:08:12 +01:00
Yacine Elhamer
a7cf3b5b10
features/insn.py: revert added strace-based API feature
2023-06-20 10:04:37 +01:00
Yacine Elhamer
ba63188f27
cape/file.py: fix bug in call to helpers.generate_symbols()
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-20 10:02:57 +01:00
Yacine Elhamer
9cc34cb70f
cape/file.py: fix imports ordering and format
2023-06-20 00:19:55 +01:00
Yacine Elhamer
b9a4d72b42
cape/file.py: add usage of helpers.generate_symbols()
2023-06-20 00:12:21 +01:00
Yacine Elhamer
8eef210547
update changelog
2023-06-19 23:57:51 +01:00
Yacine Elhamer
ef999ed954
rules/__init__.py: remove redundant HBI features
2023-06-19 23:56:10 +01:00
Yacine Elhamer
33de609560
Revert "removed redundant HBI features"
...
This reverts commit c88f859dae .
2023-06-19 23:55:22 +01:00
Yacine Elhamer
624151c3f7
Revert "update changelog"
...
This reverts commit 49b77d5477 .
2023-06-19 23:55:12 +01:00
Yacine Elhamer
c88f859dae
removed redundant HBI features
2023-06-19 23:55:06 +01:00
Yacine Elhamer
49b77d5477
update changelog
2023-06-19 23:49:19 +01:00
Yacine Elhamer
d4c4a17eb7
bugfixes and add cape sample tests
2023-06-19 23:42:27 +01:00
Yacine Elhamer
3c8abab574
fix bugs and refactor code
2023-06-19 23:40:09 +01:00
Yacine Elhamer
38596f8d0e
add features for the QakBot sample
2023-06-19 19:32:56 +01:00
Yacine Elhamer
4acdca090d
bug fixes
2023-06-19 17:14:59 +01:00
Yacine Elhamer
f02178852b
update changelog
2023-06-19 17:01:05 +01:00
Yacine Elhamer
98e7acddf4
fix codestyle issues
2023-06-19 16:59:27 +01:00
Yacine Elhamer
9458e851c0
update test sample's path
2023-06-19 16:46:24 +01:00
Yacine Elhamer
a04512d7b8
add unit tests for the cape feature extractor
2023-06-19 16:43:54 +01:00
Moritz
1bc0174f6f
Merge pull request #1562 from mandiant/dependabot/pip/ruamel-yaml-0.17.32
...
build(deps): bump ruamel-yaml from 0.17.28 to 0.17.32
2023-06-19 17:24:22 +02:00
Moritz
90842f313a
Merge pull request #1543 from mandiant/dependabot/pip/pydantic-1.10.9
...
build(deps): bump pydantic from 1.10.7 to 1.10.9
2023-06-19 17:23:51 +02:00
Moritz
6aa2f6457c
Merge pull request #1521 from mandiant/dependabot/pip/pytest-cov-4.1.0
...
build(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0
2023-06-19 17:23:19 +02:00
Moritz
b7c600e60b
Merge pull request #1520 from mandiant/dependabot/pip/requests-2.31.0
...
build(deps-dev): bump requests from 2.28.0 to 2.31.0
2023-06-19 17:22:55 +02:00
Moritz
d397b46b63
Merge pull request #1518 from mandiant/dependabot/pip/types-requests-2.31.0.1
...
build(deps-dev): bump types-requests from 2.28.1 to 2.31.0.1
2023-06-19 17:22:32 +02:00
dependabot[bot]
7a6b7c5ef0
build(deps): bump ruamel-yaml from 0.17.28 to 0.17.32
...
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree ) from 0.17.28 to 0.17.32.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-19 14:58:25 +00:00
Yacine Elhamer
d6fa832d83
cape: move get_processes() method to file scope
2023-06-19 13:50:46 +01:00
Yacine Elhamer
dbad921fa5
code style changes
2023-06-15 13:21:17 +01:00
Yacine Elhamer
e1535dd574
remove Registry, Filename, and mutex features
2023-06-15 13:17:07 +01:00
Yacine Elhamer
22640eb900
cape/file.py: remove FunctionName feature extraction for imported functions
2023-06-15 12:44:57 +01:00
Yacine Elhamer
7e51e03043
cape/file.py: remove String, Filename, and Mutex features
2023-06-15 12:43:39 +01:00
Yacine Elhamer
865616284f
cape/thread.py: remove yielding argument features
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-15 12:33:22 +01:00
Yacine Elhamer
0cf728b7e1
global_.py: update typo in yielded OS name
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-15 12:28:08 +01:00
Willi Ballenthin
a2d563b081
Merge branch 'dynamic-feature-extraction' into cape-extractor
2023-06-15 12:43:55 +02:00
Willi Ballenthin
8119aa6933
ci: do tests on dynamic-feature-extraction branch
2023-06-15 12:17:02 +02:00
Willi Ballenthin
6b953363d1
Update capa/features/extractors/base_extractor.py
2023-06-15 11:40:33 +02:00
Willi Ballenthin
139b240250
Update capa/features/extractors/base_extractor.py
2023-06-15 11:40:32 +02:00
Willi Ballenthin
36b5dff1f0
Update capa/features/extractors/base_extractor.py
2023-06-15 11:40:32 +02:00
Yacine Elhamer
7ae07d4de5
remove redundant types
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-15 11:40:32 +02:00
Yacine Elhamer
59ef52a271
remove default implementation
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-15 11:40:31 +02:00
Yacine Elhamer
34a1b22a38
remove ppid member from ProcessHandle
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-15 11:40:31 +02:00
Yacine Elhamer
b4f01fa6c2
add ppid documentation to the dynamic extractor interface
2023-06-15 11:40:30 +02:00
Yacine Elhamer
2d6d16dcd0
add parent process id to the process handle
2023-06-15 11:40:30 +02:00
Yacine Elhamer
1ccae4fef2
remove from_trace() and submit_sample() methods
2023-06-15 11:40:29 +02:00
Yacine Elhamer
ee30acab32
get_threads(): fix mypy typing
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-15 11:40:29 +02:00
Yacine Elhamer
5189bef325
fix bad comment
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-15 11:40:28 +02:00
Yacine Elhamer
17597580f4
add abstract DynamicExtractor class
2023-06-15 11:40:28 +02:00
Yacine Elhamer
f97f9e8646
Merge branch 'dynamic-features' into cape-extractor
2023-06-14 23:07:39 +01:00
Yacine Elhamer
91f1d41324
extract registry keys, files, and mutexes from the sample
2023-06-14 22:57:41 +01:00
Yacine Elhamer
d9d9d98ea0
update the Registry, Filename, and Mutex classes
2023-06-14 22:45:12 +01:00
Willi Ballenthin
e7115c7316
Update capa/features/extractors/base_extractor.py
2023-06-14 22:43:37 +01:00
Willi Ballenthin
6c58e26f14
Update capa/features/extractors/base_extractor.py
2023-06-14 22:43:37 +01:00
Willi Ballenthin
dc371580a5
Update capa/features/extractors/base_extractor.py
2023-06-14 22:43:37 +01:00
Yacine Elhamer
2a047073e9
remove redundant types
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 22:43:37 +01:00
Stephen Eckels
6e3b1bc240
explorer: optimize cache and extractor interface ( #1470 )
...
* Optimize cache and extractor interface
* Update changelog
* Run linter formatters
* Implement review feedback
* Move rulegen extractor construction to tab change
* Change rulegen cache construction behavior
* Adjust return values for CR, format
* Fix mypy errors
* Format
* Fix merge
---------
Co-authored-by: Stephen Eckels <stephen.eckels@mandiant.com >
2023-06-14 22:43:37 +01:00
Capa Bot
51faaae1d0
Sync capa rules submodule
2023-06-14 22:43:37 +01:00
Capa Bot
f55804ef06
Sync capa rules submodule
2023-06-14 22:43:37 +01:00
Xusheng
e671e1c87c
Add a test that asserts on the binja version
2023-06-14 22:43:37 +01:00
Xusheng
a7aa817dce
Update the stack string detection with BN's builtin outlining of constant expressions
2023-06-14 22:43:37 +01:00
Capa Bot
dcce4db6d5
Sync capa rules submodule
2023-06-14 22:43:37 +01:00
Yacine Elhamer
64c4f0f1aa
remove default implementation
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 22:43:37 +01:00
Yacine Elhamer
a8f928200b
remove ppid member from ProcessHandle
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 22:43:37 +01:00
Yacine Elhamer
58d42b09d9
add ppid documentation to the dynamic extractor interface
2023-06-14 22:43:37 +01:00
Yacine Elhamer
0cd481b149
remove redundant comments
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-14 22:42:25 +01:00
Yacine Elhamer
a66c55ca14
add the initial version of the cape extractor
2023-06-14 22:34:11 +01:00
Yacine Elhamer
18715dbe2e
fix typo bug
2023-06-14 21:47:40 +01:00
Willi Ballenthin
23dee61389
Merge branch 'dynamic-feature-extraction' into cape-extractor
2023-06-14 12:41:08 +02:00
Willi Ballenthin
23dc3f29cd
Merge pull request #1528 from yelhamer/dynamic-extractor
...
add a Dynamic extractor interface
2023-06-14 11:00:06 +02:00
Willi Ballenthin
4c701f4b6c
Update capa/features/extractors/base_extractor.py
2023-06-14 10:59:07 +02:00
Willi Ballenthin
7a94f524b4
Update capa/features/extractors/base_extractor.py
2023-06-14 10:58:59 +02:00
Willi Ballenthin
23deb41436
Update capa/features/extractors/base_extractor.py
2023-06-14 10:58:50 +02:00
Yacine Elhamer
7198ebefc9
remove redundant types
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 09:58:33 +01:00
Willi Ballenthin
32cb57532e
Merge branch 'dynamic-feature-extraction' into dynamic-extractor
2023-06-14 10:54:44 +02:00
Yacine Elhamer
edcfece993
remove default implementation
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 09:33:24 +01:00
Yacine Elhamer
baf209f3cc
remove ppid member from ProcessHandle
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-14 09:33:07 +01:00
Yacine Elhamer
ece47c9ed5
add ppid documentation to the dynamic extractor interface
2023-06-14 09:05:53 +01:00
Yacine Elhamer
3d40ed968a
Merge branch 'dynamic-features' into cape-extractor
2023-06-13 23:04:44 +01:00
Yacine Elhamer
10f56de5e8
Merge branch 'dynamic-extractor' into dynamic-features
2023-06-13 23:03:33 +01:00
Yacine Elhamer
5ee4fc2cd5
add parent process id to the process handle
2023-06-13 23:02:00 +01:00
Yacine Elhamer
a7917a0f3d
add cape's thread features' extraction module
2023-06-13 22:56:15 +01:00
Yacine Elhamer
0274cf3ec7
add cape's global features' extraction module
2023-06-13 22:55:42 +01:00
Yacine Elhamer
3aa7c96902
add cape extractor class
2023-06-13 22:54:52 +01:00
Stephen Eckels
7ef78fdbce
explorer: optimize cache and extractor interface ( #1470 )
...
* Optimize cache and extractor interface
* Update changelog
* Run linter formatters
* Implement review feedback
* Move rulegen extractor construction to tab change
* Change rulegen cache construction behavior
* Adjust return values for CR, format
* Fix mypy errors
* Format
* Fix merge
---------
Co-authored-by: Stephen Eckels <stephen.eckels@mandiant.com >
2023-06-13 12:00:06 -06:00
Yacine Elhamer
ffa1851bbf
Merge branch 'dynamic-features' into cape-extractor
2023-06-13 14:26:34 +01:00
Yacine Elhamer
45c3345bbc
Merge branch 'dynamic-extractor' into dynamic-features
2023-06-13 14:26:14 +01:00
Yacine Elhamer
a6ca3aaa66
remove from_trace() and submit_sample() methods
2023-06-13 14:23:50 +01:00
dependabot[bot]
366c55231e
build(deps): bump pydantic from 1.10.7 to 1.10.9
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.7 to 1.10.9.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.7...v1.10.9 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-12 14:58:23 +00:00
Capa Bot
43b2ee3c52
Sync capa rules submodule
2023-06-12 12:28:18 +00:00
Capa Bot
85a7c87830
Sync capa rules submodule
2023-06-12 12:18:23 +00:00
Willi Ballenthin
2d7e20f532
Merge pull request #1527 from xusheng6/fix_bn_unit_test
...
Update the stack string detection with BN's builtin outlining of constant expressionss
2023-06-12 10:41:15 +02:00
Capa Bot
cc993b67a3
Sync capa rules submodule
2023-06-12 06:58:29 +00:00
Yacine Elhamer
5a10b612a1
add a Mutex feature
2023-06-12 00:06:53 +01:00
Yacine Elhamer
632b3ff07c
add a Filename feature
2023-06-12 00:06:05 +01:00
Yacine Elhamer
efe1d1c0ac
add a Registry feature
2023-06-12 00:05:20 +01:00
Yacine Elhamer
86e2f83a7d
extend the API feature to support an strace-like argument style
2023-06-11 23:19:24 +01:00
Yacine Elhamer
a2b3a38f86
add the cape extractor's file hierarchy
2023-06-10 20:06:57 +01:00
Yacine Elhamer
f243749d38
get_threads(): fix mypy typing
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-09 09:03:49 +00:00
Yacine Elhamer
dac103c621
fix bad comment
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-06-09 09:03:09 +00:00
Xusheng
a74911e926
Add a test that asserts on the binja version
2023-06-09 13:44:07 +08:00
Xusheng
8cc16e8de9
Update the stack string detection with BN's builtin outlining of constant expressions
2023-06-09 13:41:53 +08:00
Yacine Elhamer
35e53e9691
add abstract DynamicExtractor class
2023-06-08 23:15:29 +00:00
Capa Bot
0559e61af1
Sync capa rules submodule
2023-06-08 08:41:14 +00:00
colton-gabertan
3da233dcad
colton: removed redundant imports & object, locally tested
2023-06-07 13:04:49 -07:00
Capa Bot
2fe0713faa
Sync capa rules submodule
2023-06-07 10:17:28 +00:00
Willi Ballenthin
28629b352c
Merge pull request #1502 from Aayush-Goel-04/Aayush-Goel-04/Issue#1411
...
Update Metadata type in capa main
2023-06-06 13:04:35 +02:00
Aayush Goel
e5f79c9f5c
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1411
2023-06-06 13:04:19 +05:30
Aayush Goel
c6815ef126
Update Model and FrozenModel Class
2023-06-06 13:02:30 +05:30
dependabot[bot]
28b2cd5117
build(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 14:58:21 +00:00
dependabot[bot]
28c24c9d48
build(deps-dev): bump requests from 2.28.0 to 2.31.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.0...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 14:58:17 +00:00
dependabot[bot]
b2080cdfbc
build(deps-dev): bump types-requests from 2.28.1 to 2.31.0.1
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.28.1 to 2.31.0.1.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 14:58:02 +00:00
Willi Ballenthin
57095175d2
Merge pull request #1443 from yelhamer/feature-static-api-names
...
Extract api names from ELF debug symbols [vivisect]
2023-06-05 14:54:34 +02:00
Yacine Elhamer
5b260c00f4
fix symtab FunctionName feature scope address
2023-06-05 13:37:19 +01:00
Yacine Elhamer
9b0fb74d94
fix typo: "Elf" to "elf"
2023-06-05 13:36:50 +01:00
Yacine Elhamer
103b384c09
fix viv/extractor.py codestyle imports
2023-06-05 12:17:27 +01:00
Yacine Elhamer
65f18aecc8
fix mypy typing issues
2023-06-05 12:14:56 +01:00
Yacine Elhamer
e971bc4044
fix codestyle issues
2023-06-05 12:01:39 +01:00
Aayush Goel
b4870b120e
Remove from_capa API for MetaData
2023-06-03 15:33:49 +05:30
Colton Gabertan
a7988a6e78
Merge pull request #1514 from colton-gabertan/master
...
New Feature: Ghidra Backend - Initial Merge
2023-06-02 23:40:23 -07:00
Colton Gabertan
de19c9300d
Merge pull request #1 from colton-gabertan/ghidra_backend
...
Ghidra backend
2023-06-02 23:24:43 -07:00
colton-gabertan
a7639d33b9
colton: update CHANGELOG
2023-06-02 23:11:18 -07:00
Colton Gabertan
c3f9c27e34
Merge branch 'mandiant:master' into ghidra_backend
2023-06-02 22:42:35 -07:00
colton-gabertan
b849cfd4a5
ghidra ci setup, test files in development
2023-06-02 22:41:29 -07:00
Yacine Elhamer
7dff76b122
Merge branch 'master' into feature-static-api-names
2023-06-03 01:44:13 +01:00
Yacine Elhamer
be5ada26ea
fix code style
2023-06-03 01:12:56 +01:00
Yacine Elhamer
5b903ca4f3
add error handling to SymTab and its callers
2023-06-02 23:19:14 +01:00
Yacine Elhamer
6b2710ac7e
fix broken logic in extract_function_symtab_names()
2023-06-02 22:43:58 +01:00
Yacine Elhamer
764fda8e7b
add missing Shdr.from_viv() method
2023-06-02 17:57:37 +01:00
Yacine Elhamer
151ef95b79
remove usage of vsGetField
2023-06-02 17:14:44 +01:00
Yacine Elhamer
4976375d74
elf.py: fix identation error
2023-06-02 16:30:17 +01:00
Yacine Elhamer
0b834a1623
delete functionName extraction at instruction level
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-02 15:56:14 +01:00
Yacine Elhamer
41c512624b
update symtab-based FunctionName feature extraction
2023-06-02 14:44:51 +01:00
Yacine Elhamer
9467ee6f10
add FunctionName extraction at the function scope
2023-06-02 14:42:04 +01:00
Yacine Elhamer
dde76e301d
add a method to construct SymTab objects from Elf objects
2023-06-02 12:15:05 +01:00
Aayush Goel
5ded85f46e
Update CHANGELOG.md
2023-06-02 14:54:36 +05:30
Capa Bot
0cbe4618e1
Sync capa-testfiles submodule
2023-06-02 09:20:23 +00:00
Aayush Goel
f03ad2d208
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1411
2023-06-02 14:47:24 +05:30
Willi Ballenthin
8b867836e9
changelog
2023-06-02 10:45:05 +02:00
Willi Ballenthin
236c1c9d17
tests: refine the IDA test runner
...
ref #1364
2023-06-02 10:40:47 +02:00
Willi Ballenthin
64dca7d801
Merge branch 'master' into feature-static-api-names
2023-06-02 09:26:25 +02:00
Willi Ballenthin
3834314c2a
Merge pull request #1463 from Aayush-Goel-04/Aayush-Goel-04/Issue#1451
...
Utility script to detect feature overlap between new and existing CAPA rules.
2023-06-02 09:18:00 +02:00
Willi Ballenthin
144723be3c
Merge pull request #1496 from mandiant/dependabot/pip/ruamel-yaml-0.17.28
...
build(deps): bump ruamel-yaml from 0.17.21 to 0.17.28
2023-06-02 09:16:29 +02:00
Capa Bot
0f54a6f67e
Sync capa rules submodule
2023-06-02 07:13:58 +00:00
Yacine Elhamer
1cec768521
fix strtab renaming error
2023-06-01 22:20:23 +01:00
Yacine Elhamer
d85d01eea1
use the function-handle's cache instead of the VivWorkspace file metadata
2023-06-01 22:15:47 +01:00
Yacine Elhamer
8d1e1cc54c
fix strtab naming
2023-06-01 21:56:34 +01:00
Aayush Goel
0d9e74028e
Update Metadata
2023-06-02 01:19:42 +05:30
Aayush Goel
445214b23b
Update Metadata type in capa main
2023-06-02 00:40:38 +05:30
colton-gabertan
16444fe5ed
first working CI install
2023-06-01 11:24:21 -07:00
Yacine Elhamer
994edf66fe
return the target's address for the function-name feature
2023-06-01 12:45:49 +01:00
Yacine Elhamer
f9291d4e50
extract symtab-api names before processing library functions
2023-06-01 12:45:10 +01:00
Yacine Elhamer
ab089c024d
fetch section data by offset (not name)
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-01 11:46:39 +01:00
Yacine Elhamer
ffb1cb3128
rename strtab to strtab_section
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-01 10:26:40 +01:00
Yacine Elhamer
57386812f9
use ELF class member instead of vsGetField()
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-06-01 10:26:21 +01:00
Willi Ballenthin
ce8e15a220
Merge branch 'master' into feature-static-api-names
2023-06-01 09:39:07 +02:00
Yacine Elhamer
0d42ac3912
add missing function-name feature testing
2023-06-01 02:14:25 +01:00
Yacine Elhamer
f10a43abe6
fix style issues
2023-06-01 02:02:40 +01:00
Yacine Elhamer
64ef2c8a65
add tests for vivisect's usage of debug symbols
2023-06-01 01:50:06 +01:00
Capa Bot
d3c44a8263
Sync capa rules submodule
2023-05-31 18:16:12 +00:00
Moritz
8d016de217
Merge pull request #1494 from mandiant/dependabot/pip/protobuf-4.23.2
...
build(deps): bump protobuf from 4.22.3 to 4.23.2
2023-05-31 07:54:15 +02:00
Moritz
ee3d3a964e
Merge pull request #1483 from mandiant/dependabot/pip/types-protobuf-4.23.0.1
...
build(deps-dev): bump types-protobuf from 4.22.0.2 to 4.23.0.1
2023-05-31 07:53:53 +02:00
Aayush Goel
d6e145936d
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-31 00:26:48 +05:30
Capa Bot
9caea57cde
Sync capa rules submodule
2023-05-30 14:37:56 +00:00
Capa Bot
99e81e1d8f
Sync capa rules submodule
2023-05-30 14:31:43 +00:00
Capa Bot
1696a9ad2d
Sync capa-testfiles submodule
2023-05-30 14:28:43 +00:00
Willi Ballenthin
6c2a83dda8
Merge pull request #1495 from mandiant/dependabot/pip/ruff-0.0.270
...
build(deps-dev): bump ruff from 0.0.265 to 0.0.270
2023-05-30 12:02:16 +02:00
colton-gabertan
5af1a42bf1
reverting tests.yml
2023-05-29 20:24:37 -07:00
colton-gabertan
73183e9c19
run tests.yml on workflow dispatch
2023-05-29 20:16:10 -07:00
colton-gabertan
b35cfdaf6a
workflow_dispatch - temp
2023-05-29 20:13:35 -07:00
colton-gabertan
8c40e82796
configuring runner for ghidra tests
2023-05-29 19:58:59 -07:00
dependabot[bot]
c113a3b5b8
build(deps): bump ruamel-yaml from 0.17.21 to 0.17.28
...
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree ) from 0.17.21 to 0.17.28.
---
updated-dependencies:
- dependency-name: ruamel-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 14:59:13 +00:00
dependabot[bot]
a07b47c845
build(deps-dev): bump ruff from 0.0.265 to 0.0.270
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.265 to 0.0.270.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.270 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 14:59:02 +00:00
dependabot[bot]
f789e144fd
build(deps): bump protobuf from 4.22.3 to 4.23.2
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 4.22.3 to 4.23.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v4.22.3...v4.23.2 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 14:58:10 +00:00
colton-gabertan
78bd5e1e3b
colton: tests.yml installs Java, Ghidra, and Ghidrathon
2023-05-28 19:04:31 -07:00
Aayush Goel
2e534a4128
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-27 14:14:32 +05:30
colton-gabertan
50afc2f9b2
colton: developing ghidra backend tests
2023-05-26 17:51:48 -07:00
Capa Bot
e068ce7bc9
Sync capa rules submodule
2023-05-26 08:34:57 +00:00
Aayush Goel
2daf880e39
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-25 13:41:30 +05:30
Willi Ballenthin
7897fa9f29
Merge pull request #1493 from Aayush-Goel-04/Aayush-Goel-04/Issue#749
...
Add logging redirect to capa main
2023-05-25 09:47:03 +02:00
Aayush Goel
456d4272ab
Add logging redirect to capa main
2023-05-25 12:50:42 +05:30
Aayush Goel
52c3ea733b
Update tests/test_scripts.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-05-24 15:39:24 +05:30
Aayush Goel
acdaeb26d3
Update test_scripts.py
2023-05-20 13:09:48 +05:30
colton-gabertan
ffe089d444
colton: GhidraFeatureExtractor constructor pulls OS & Arch
2023-05-19 19:10:39 -07:00
colton-gabertan
1f09c92306
colton: OS extraction functionality implemented
2023-05-19 18:38:13 -07:00
colton-gabertan
14b0c5fdbf
colton: ghidra runtime detection & GhidraFeatureExtractor
2023-05-19 14:38:55 -07:00
Capa Bot
932066bc0e
Sync capa rules submodule
2023-05-19 08:22:32 +00:00
Aayush Goel
66ea0451e9
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-18 16:30:08 +05:30
Willi Ballenthin
bc05118ee7
Merge pull request #1488 from Aayush-Goel-04/Aayush-Goel-04/Issue#749
...
Add redirect print to tqdm for capa main
2023-05-18 08:45:45 +02:00
Aayush Goel
275386806d
Add redirect print to capa main
2023-05-17 23:57:52 +05:30
Aayush Goel
0afc16fd02
Update test rules to test script
2023-05-17 23:31:37 +05:30
Aayush Goel
6cafe14060
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-17 12:09:26 +05:30
Willi Ballenthin
ad611c2058
Merge pull request #1480 from Aayush-Goel-04/Aayush-Goel-04/Issue#1446
...
Create test binja backend when invoking standalone capa.exe
2023-05-16 22:10:10 +02:00
Aayush Goel
b876adbc27
Update CHANGELOG.md
2023-05-16 20:22:54 +05:30
Aayush Goel
e428b74657
run test on PMA 01-01.exe_
2023-05-16 12:23:00 +05:30
Willi Ballenthin
7ab083f19a
Merge pull request #1482 from mandiant/dependabot/pip/mypy-1.3.0
...
build(deps-dev): bump mypy from 1.2.0 to 1.3.0
2023-05-15 20:54:08 +02:00
Aayush Goel
931dcb1dc5
Update test_scripts.py
2023-05-15 23:35:11 +05:30
Aayush Goel
12c191582f
Update tests/test_scripts.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-05-15 22:58:19 +05:30
dependabot[bot]
d861b0798e
build(deps-dev): bump types-protobuf from 4.22.0.2 to 4.23.0.1
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.22.0.2 to 4.23.0.1.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-15 14:58:08 +00:00
dependabot[bot]
b6e85b878e
build(deps-dev): bump mypy from 1.2.0 to 1.3.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.2.0 to 1.3.0.
- [Commits](https://github.com/python/mypy/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-15 14:58:04 +00:00
Aayush Goel
807efec40f
Create RuleSet to test overlap script
2023-05-12 22:44:26 +05:30
Aayush Goel
41ff457d65
Update tests/test_scripts.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-05-12 16:53:44 +05:30
Capa Bot
e605dfb483
Sync capa-testfiles submodule
2023-05-12 08:49:03 +00:00
Aayush Goel
2511f40ab8
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-12 02:37:15 +05:30
Aayush Goel
61554dbaf0
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1446
2023-05-12 02:36:56 +05:30
Aayush Goel
ce56ab71d4
Update test_binja_features.py
...
Not sure which file to use to test capa.main
2023-05-12 02:17:09 +05:30
Willi Ballenthin
21c2705827
Merge pull request #1479 from Aayush-Goel-04/Aayush-Goel-04/Issue#1341
...
Improved layout to exclude functions with no basic block.
2023-05-11 21:40:56 +02:00
Aayush Goel
916db6c197
Update main.py
2023-05-11 19:40:52 +05:30
Aayush Goel
562e03d2d2
Update CHANGELOG.md
...
Update CHANGELOG.md
Update main.py
2023-05-11 18:59:29 +05:30
Aayush Goel
eca86470c6
Update test_scripts.py
...
RULE_CONTENT can be modified as required
2023-05-11 14:12:52 +05:30
Capa Bot
a90eda50a7
Sync capa rules submodule
2023-05-11 08:06:38 +00:00
Aayush Goel
187a4712cb
Update test_scripts.py
...
Here new_rule_path and expected_overlaps will be changed based on the new test rule designed.
Adding tests to check if the code works fine
2023-05-10 20:55:22 +05:30
Capa Bot
58bbb8e3a4
Sync capa-testfiles submodule
2023-05-10 14:10:33 +00:00
Willi Ballenthin
d57ed97f9d
Merge pull request #1477 from mandiant/dependabot/pip/ruff-0.0.265
...
build(deps-dev): bump ruff from 0.0.262 to 0.0.265
2023-05-10 13:45:33 +02:00
dependabot[bot]
b7b451dace
build(deps-dev): bump ruff from 0.0.262 to 0.0.265
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.262 to 0.0.265.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.262...v0.0.265 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 14:58:18 +00:00
Aayush Goel
d91070c116
Update detect_duplicate_features.py
2023-05-08 20:17:29 +05:30
Aayush Goel
39d2a70679
Update detect_duplicate_features.py
...
Using get_rules menthod to get set of all existing rules.
2023-05-08 17:29:01 +05:30
Aayush Goel
ec6b6a2266
Update detect_duplicate_features.py
2023-05-08 14:58:30 +05:30
Aayush Goel
9eacf72366
Update detect_duplicate_features.py
...
loading yaml file using capa.rule.Rule.from_yaml.
Returning any exception/errors occuring while checking the files.
2023-05-06 17:36:13 +05:30
Aayush Goel
30516c33b7
Update detect_duplicate_features.py
...
Improved parse routine based on suggestions.
Co-Authored-By: Moritz <mr-tz@users.noreply.github.com >
2023-05-05 15:17:43 +05:30
Aayush Goel
615628805c
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-04 20:04:28 +05:30
Moritz
8bac455bc9
Merge pull request #1472 from Aayush-Goel-04/Aayush-Goel-04/update_CHANGELOG.md
...
Update CHANGELOG.md
2023-05-04 16:26:55 +02:00
Aayush Goel
0945d9aea2
Update CHANGELOG.md
2023-05-04 19:55:17 +05:30
Aayush Goel
45c6e74945
Update CHANGELOG.md
2023-05-04 19:32:20 +05:30
Aayush Goel
b32ab87bb7
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-04 19:20:13 +05:30
Willi Ballenthin
8d2a186b1a
Merge pull request #1471 from Aayush-Goel-04/Aayush-Goel-04/Issue#1458
...
Added try/except blocks to detect_elf_os in elf.py for improved ELF parsing and OS detection
2023-05-04 15:19:06 +02:00
Aayush Goel
a62996420f
Update elf.py
...
corrected pre-formatted strings
2023-05-04 18:29:15 +05:30
Aayush Goel
7dc4c44393
Update elf.py
...
Added more try/excepts around the parsing code in detect_elf_os
2023-05-04 17:13:07 +05:30
Moritz
6ffcbfef3d
Merge pull request #1469 from mr-tz/mr-tz-patch-1
...
Don't test BN - attempt 3
2023-05-04 13:33:36 +02:00
Aayush Goel
1c558a203d
Update detect_duplicate_features.py
...
Added a main routine and using argparse to retrieve these from the command line
2023-05-03 22:32:22 +05:30
Moritz
ed5dabe432
Update tests.yml
2023-05-03 18:16:23 +02:00
Capa Bot
ce28d60edf
Sync capa rules submodule
2023-05-02 10:28:10 +00:00
Capa Bot
afa9410209
Sync capa rules submodule
2023-05-02 09:43:49 +00:00
Aayush Goel
09865ccd9b
Fixes Linting Issues
...
Update detect_duplicate_features.py
2023-04-27 06:46:02 +05:30
Aayush Goel
256611bef5
Create detect_duplicate_features.py
...
Fixes #1451
Python script to detect feature overlap between new and existing CAPA rules. Checks if the a feature in new rules exists in an existing rule
2023-04-27 06:00:38 +05:30
Capa Bot
7b0fac27dc
Sync capa rules submodule
2023-04-25 19:19:19 +00:00
Yacine Elhamer
c7b65cfe8a
Shdr constructor: Use direct member access to get vstruct's section header information
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-25 17:23:32 +01:00
Moritz
f811b6b803
Merge pull request #1449 from mandiant/dependabot/pip/pyinstaller-5.10.1
...
build(deps-dev): bump pyinstaller from 5.9.0 to 5.10.1
2023-04-25 14:08:07 +02:00
Moritz
ba43513172
Merge pull request #1435 from Vector35/fix_bn_path_detection
...
Fix BN installation path detection does not work with Python 3.11
2023-04-25 11:37:34 +02:00
dependabot[bot]
f3bb2169c0
build(deps-dev): bump pyinstaller from 5.9.0 to 5.10.1
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.9.0 to 5.10.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.9.0...v5.10.1 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-25 09:36:26 +00:00
dependabot[bot]
68b58f979b
build(deps): bump termcolor from 2.2.0 to 2.3.0 ( #1459 )
...
* build(deps): bump termcolor from 2.2.0 to 2.3.0
Bumps [termcolor](https://github.com/termcolor/termcolor ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/termcolor/termcolor/releases )
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md )
- [Commits](https://github.com/termcolor/termcolor/compare/2.2.0...2.3.0 )
---
updated-dependencies:
- dependency-name: termcolor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 11:35:34 +02:00
Moritz
8e80bc844d
Test BN 2 ( #1462 )
...
* Update .github/workflows/tests.yml
2023-04-25 11:35:07 +02:00
Willi Ballenthin
a45cab06d3
Merge pull request #1461 from mandiant/dependabot/pip/ruff-0.0.262
...
build(deps-dev): bump ruff from 0.0.260 to 0.0.262
2023-04-25 10:28:18 +02:00
Yacine Elhamer
695508aa4c
insn.py: Update extract_insn_api_features() to optimize by means of viv rather than function attributes
2023-04-25 08:42:53 +01:00
Moritz
957083d805
fix ELF parse error ( #1454 )
...
* fix ELF parse error
* add ELF header parsing test
2023-04-25 08:46:56 +02:00
dependabot[bot]
2aac99b037
build(deps): bump protobuf from 4.22.1 to 4.22.3 ( #1448 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 4.22.1 to 4.22.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v4.22.1...v4.22.3 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 06:36:06 +02:00
Moritz
2401dc785c
update viv dependencies and fix ( #1342 )
...
* update dependencies and fix
* pyinstaller: add hook for new viv pas
* pyinstaller: hooks: remove duplicate entries and old analysis pass
* Update setup.py
* update hidden imports
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-25 06:34:40 +02:00
Moritz
f902add0ce
Merge pull request #1457 from yelhamer/bugfix-symtab
...
SymTab _parse(): Bugfixes for the struct unpacking and for handling symtabs with a null entry size
2023-04-24 19:35:23 +02:00
Yacine Elhamer
2faae5d022
SymTab: Update unpacking format
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-04-24 17:57:06 +01:00
dependabot[bot]
2a2878bba0
build(deps-dev): bump ruff from 0.0.260 to 0.0.262
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.260 to 0.0.262.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.260...v0.0.262 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-24 14:58:25 +00:00
Moritz
2bb6f924cd
Merge pull request #1447 from mandiant/dependabot/pip/pytest-7.3.1
...
build(deps-dev): bump pytest from 7.3.0 to 7.3.1
2023-04-24 12:37:38 +02:00
Yacine Elhamer
ee881ab82f
code style: Fix the format of the committed code
2023-04-23 02:31:11 +01:00
Yacine Elhamer
b32a8ca510
insn.py: Get the symtab api extractor to yield FunctionName features as well
2023-04-23 01:20:25 +01:00
Yacine Elhamer
b766d957b0
insn.py: rewire symbol parsing to use SymTab instead of vivisect
2023-04-22 01:36:57 +01:00
Yacine Elhamer
e7ccea44e7
Shdr: add a constructor for vivisect's shdr representation
2023-04-22 01:33:00 +01:00
Yacine Elhamer
861e96d33e
update CHANGELOG.md
2023-04-22 01:16:42 +01:00
Yacine Elhamer
07e6407115
_parse(): safeguard against zero entry size
2023-04-22 01:10:26 +01:00
Yacine Elhamer
69d44cdc16
_parse(): fix section header unpacking field size
2023-04-22 01:09:04 +01:00
Yacine Elhamer
97c8fd0525
Update CHANGELOG.md
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-04-21 19:36:20 +01:00
Moritz
259dfaed11
Update tests.yml
2023-04-21 17:24:06 +02:00
dependabot[bot]
bf02b2ecb4
build(deps-dev): bump pytest from 7.3.0 to 7.3.1
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.0...7.3.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-21 14:18:11 +00:00
Moritz
88c78bb411
only test binaryninja on non-forks
2023-04-21 16:15:27 +02:00
Capa Bot
2c73f08364
Sync capa-testfiles submodule
2023-04-21 14:06:49 +00:00
Capa Bot
467c19be97
Sync capa rules submodule
2023-04-19 17:01:01 +00:00
Capa Bot
96d7f20980
Sync capa rules submodule
2023-04-19 15:56:44 +00:00
Capa Bot
8965fc8a79
Sync capa rules submodule
2023-04-17 16:11:59 +00:00
Capa Bot
f4968bc1f1
Sync capa rules submodule
2023-04-17 15:59:53 +00:00
Capa Bot
fe0702a06b
Sync capa-testfiles submodule
2023-04-17 15:58:44 +00:00
Yacine Elhamer
44254bfffe
Update CHANGELOG.md
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-17 09:51:39 +01:00
Willi Ballenthin
c85050ac1a
Merge pull request #1405 from ooprathamm/ruff
...
Linting with ruff
2023-04-17 10:46:24 +02:00
Yacine Elhamer
21f2cb6e6f
Update CHANGELOG.md
2023-04-14 04:25:24 +01:00
Yacine Elhamer
c71cb55051
insn extractor: Add static api extraction using .symtab
2023-04-14 04:07:05 +01:00
Willi Ballenthin
6ba5b2b72b
Merge pull request #1442 from Vector35/fix_bn_error
...
Check if caller.llil is None before accessing its properties
2023-04-12 14:20:51 +02:00
Xusheng
dd207fb238
Check if caller.llil is None before accessing its properties
2023-04-12 15:13:40 +08:00
Willi Ballenthin
e9e06bb571
Merge pull request #1439 from mandiant/dependabot/pip/mypy-1.2.0
...
build(deps-dev): bump mypy from 1.1.1 to 1.2.0
2023-04-10 20:48:47 +02:00
Willi Ballenthin
ae0e0a03a3
Merge pull request #1437 from mandiant/dependabot/pip/types-protobuf-4.22.0.2
...
build(deps-dev): bump types-protobuf from 4.22.0.1 to 4.22.0.2
2023-04-10 20:47:39 +02:00
Willi Ballenthin
526fc15082
Merge pull request #1436 from mandiant/dependabot/pip/pytest-7.3.0
...
build(deps-dev): bump pytest from 7.1.3 to 7.3.0
2023-04-10 20:46:53 +02:00
dependabot[bot]
271107436b
build(deps-dev): bump mypy from 1.1.1 to 1.2.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 14:58:07 +00:00
dependabot[bot]
eaa4e15439
build(deps-dev): bump types-protobuf from 4.22.0.1 to 4.22.0.2
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.22.0.1 to 4.22.0.2.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 14:57:58 +00:00
dependabot[bot]
7cfeebfff7
build(deps-dev): bump pytest from 7.1.3 to 7.3.0
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.3 to 7.3.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.3...7.3.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 14:57:56 +00:00
Xusheng
6f3bffe689
Fix BN installation path detection does not work with Python 3.11
2023-04-10 11:45:05 +08:00
Moritz
7c4a46b7b4
update to v5.1.0 ( #1429 )
...
* update to v5.1.0
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-06 12:55:25 +02:00
Pratham Chauhan
efb07fafb3
fix
2023-04-05 22:16:00 +05:30
Pratham Chauhan
eedd885683
fix black
2023-04-05 17:44:57 +05:30
Pratham Chauhan
e6248cd9ed
solve failing binja
2023-04-05 17:43:11 +05:30
Pratham Chauhan
3d1ef51863
revert
2023-04-05 17:33:05 +05:30
Pratham Chauhan
068ac0ca2c
fix black
2023-04-05 16:29:53 +05:30
naikordian
8fe88f601f
fix: Warning user to install signatures ( #1420 )
...
* fix: Warning user to install signatures
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-05 12:59:41 +02:00
Pratham Chauhan
eef1548baa
fix capy2yara.py
2023-04-05 16:28:00 +05:30
Pratham Chauhan
6eaa46ea9a
revert bninja change
2023-04-05 13:32:15 +05:30
ooprathamm
6641c8c9c9
fixing error issue
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-04-04 23:07:04 +05:30
Pratham Chauhan
a40126aeff
reformatting with black
2023-04-04 19:10:40 +05:30
Pratham Chauhan
ccc51dab35
resolve merge conflict
2023-04-04 18:56:26 +05:30
Pratham Chauhan
89c6c235f7
resolve conflict
2023-04-04 18:46:31 +05:30
Pratham Chauhan
a260b35c9d
--fix
2023-04-04 18:28:43 +05:30
Pratham Chauhan
c04774b4b1
solving unresolvable issues using --fix and ignoring some issues
2023-04-04 18:27:30 +05:30
Willi Ballenthin
d46cf5b519
Merge pull request #1427 from mandiant/dependabot/pip/types-protobuf-4.22.0.1
...
build(deps-dev): bump types-protobuf from 4.22.0.0 to 4.22.0.1
2023-04-04 11:21:49 +02:00
Willi Ballenthin
29682cf767
Merge pull request #1425 from mandiant/dependabot/pip/black-23.3.0
...
build(deps-dev): bump black from 23.1.0 to 23.3.0
2023-04-04 11:21:23 +02:00
Willi Ballenthin
42df936336
Merge pull request #1428 from mandiant/dependabot/pip/pytest-instafail-0.5.0
...
build(deps-dev): bump pytest-instafail from 0.4.2 to 0.5.0
2023-04-04 11:20:52 +02:00
dependabot[bot]
fe6117e87a
build(deps-dev): bump pytest-instafail from 0.4.2 to 0.5.0
...
Bumps [pytest-instafail](https://github.com/pytest-dev/pytest-instafail ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/pytest-dev/pytest-instafail/releases )
- [Changelog](https://github.com/pytest-dev/pytest-instafail/blob/master/CHANGES.rst )
- [Commits](https://github.com/pytest-dev/pytest-instafail/compare/v0.4.2...v0.5.0 )
---
updated-dependencies:
- dependency-name: pytest-instafail
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-04 07:40:27 +00:00
dependabot[bot]
04ca770545
build(deps-dev): bump black from 23.1.0 to 23.3.0
...
Bumps [black](https://github.com/psf/black ) from 23.1.0 to 23.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.1.0...23.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-04 07:40:03 +00:00
dependabot[bot]
43f3f31d69
build(deps-dev): bump types-protobuf from 4.22.0.0 to 4.22.0.1
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.22.0.0 to 4.22.0.1.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-04 07:39:46 +00:00
Willi Ballenthin
acd0020413
Merge pull request #1423 from mandiant/mypy-111
...
more mypy v1.1.1 fixes
2023-04-03 21:48:51 +02:00
Capa Bot
0002b05418
Sync capa rules submodule
2023-04-03 17:08:37 +00:00
Willi Ballenthin
545e198257
ci: bump more ubuntu images
2023-04-03 17:54:41 +02:00
Willi Ballenthin
d4b83e3f8a
ci: pyinstaller: update to use ubuntu 20.04 for building linux
...
executables
2023-04-03 17:39:43 +02:00
Willi Ballenthin
efcc2e0dd4
elf: remove old print statement
2023-04-03 16:13:28 +02:00
Willi Ballenthin
5e0d6176a1
elf: parse associated strtab for symtab
2023-04-03 16:09:14 +02:00
Willi Ballenthin
e240372a90
result document: document subscope/match handling
2023-04-03 15:37:46 +02:00
Willi Ballenthin
a64a88981f
tests: add another test demonstrating rd format output
2023-04-03 15:35:20 +02:00
Willi Ballenthin
bc8df09be5
result document: more deserialization
2023-04-03 15:27:48 +02:00
Willi Ballenthin
b09e3e69f2
wip: result document: deserialize into capa object instances
2023-04-03 15:04:15 +02:00
Willi Ballenthin
43128404be
elf: remove old debugging code
2023-04-03 15:04:00 +02:00
Willi Ballenthin
28e85aa548
main: mypy
2023-04-03 13:48:30 +02:00
Willi Ballenthin
30c14210ed
main: better separate logic for deserializing result/freeze/other
2023-04-03 13:44:19 +02:00
Willi Ballenthin
d2fc740278
result document: mypy
2023-04-03 13:44:09 +02:00
Capa Bot
cbe30199ff
Sync capa-testfiles submodule
2023-04-03 11:31:24 +00:00
Willi Ballenthin
3f5d9c79f9
elf: add type hints and Symbol dataclass
2023-04-03 13:30:02 +02:00
Willi Ballenthin
59332c2e94
tests: fixtures: add paths for new ELF test file
2023-04-03 13:16:03 +02:00
Willi Ballenthin
d230780443
pep8
2023-04-03 13:00:02 +02:00
Willi Ballenthin
7387c073fb
Merge pull request #1412 from manasghandat/fix-shadowed-variable
...
Fix shadowed variable
2023-04-03 12:58:15 +02:00
Willi Ballenthin
535ba622ae
Merge pull request #1422 from yelhamer/feature-symtab-os-guess
...
ELF OS detection: add support for guessing that's based on .symtab entries
2023-04-03 08:41:47 +02:00
Capa Bot
c6b634f3ae
Sync capa-testfiles submodule
2023-04-03 06:41:30 +00:00
Willi Ballenthin
386baec3c5
elf: hints and formatting
2023-04-03 08:40:41 +02:00
Yacine Elhamer
b2ead45ad4
tests: Add test for sample 2bf18d
2023-04-02 21:57:22 +01:00
Yacine Elhamer
74284e9dad
bugfix: potential reference to uninitialized variables
2023-04-02 21:56:28 +01:00
Yacine Elhamer
270077bc73
SymTab class: update get_symbols() type and add return-value comment
2023-04-02 20:59:09 +01:00
Yacine Elhamer
367a0c483c
rename the SYMTAB class to SymTab
2023-04-02 20:49:58 +01:00
Yacine Elhamer
8a272e92c7
format: removed tabs
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-02 20:38:44 +01:00
Yacine Elhamer
2d1105dba9
format: update elf.py to use isort and black format
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-02 20:36:34 +01:00
Yacine Elhamer
c798996f6e
detect_elf_os(): Integrate symbol-based guessing ability
2023-04-02 18:11:11 +01:00
Yacine Elhamer
ef0e4bd4fd
os-guessing: Add symtab-guessing capability
2023-04-02 18:07:46 +01:00
Yacine Elhamer
bfaee2c402
Add a class (SYMTAB) for the symbol table
2023-04-02 18:07:46 +01:00
Yacine Elhamer
1f6cd807a4
Shdr dataclass: add sh_entsize member
2023-04-02 18:07:22 +01:00
Willi Ballenthin
6f416dfefb
Merge pull request #1418 from stevemk14ebr/master
...
Remove dynsym library name for ELF imports
2023-04-01 13:54:07 +02:00
Capa Bot
06c71a7f2b
Sync capa rules submodule
2023-03-31 17:40:58 +00:00
Stephen Eckels
270350f8d1
Update CHANGELOG.md
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-31 13:26:41 -04:00
Stephen Eckels
c603b92bc5
Merge branch 'master' of https://github.com/stevemk14ebr/capa
2023-03-31 13:25:45 -04:00
Stephen Eckels
59be399dac
Revert line removal
2023-03-31 13:25:37 -04:00
Capa Bot
7f39cb1bc3
Sync capa rules submodule
2023-03-31 14:03:51 +00:00
manasghandat
d09e1c8ee2
fix linting error
2023-03-31 12:29:26 +05:30
manasghandat
c1735b6033
Merge branch 'mandiant:master' into fix-shadowed-variable
2023-03-31 12:27:43 +05:30
Stephen Eckels
1921961cff
Update todo comment to link issue
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-30 13:23:29 -04:00
Stephen Eckels
3cd766630f
Update changelog
2023-03-30 13:21:37 -04:00
manasghandat
fac548a76e
Update capa/render/proto/__init__.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-30 22:51:17 +05:30
manasghandat
24f4ebef23
Update capa/render/proto/__init__.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-30 22:51:07 +05:30
Willi Ballenthin
99ee317fd0
Merge pull request #1396 from ooprathamm/read-render
...
Towards improving read and rendering of results
2023-03-30 13:03:27 +02:00
Pratham Chauhan
456f6e0003
fix broken arch logic
2023-03-30 16:18:52 +05:30
Willi Ballenthin
1ccd2c4d0f
tests: fix proto tests on windows ( #1417 )
...
closes #1416
2023-03-30 11:45:03 +02:00
Willi Ballenthin
f42b5b1088
Merge pull request #1409 from mandiant/dependabot/pip/protobuf-4.22.1
...
build(deps): bump protobuf from 4.21.12 to 4.22.1
2023-03-30 11:17:14 +02:00
Pratham Chauhan
ed64986af8
adds a ruff.toml file for config
2023-03-30 14:22:11 +05:30
Pratham Chauhan
1b90a28acd
resolved merge conflicts
2023-03-30 11:05:32 +05:30
Pratham Chauhan
cd0e0ce4d1
remove unused import
2023-03-30 10:52:05 +05:30
Pratham Chauhan
7cb4ea9273
Fix lint issues
2023-03-30 10:35:31 +05:30
Stephen Eckels
66e374a343
Update changelog
2023-03-29 16:01:31 -04:00
Stephen Eckels
5e8262d3c0
Remove dynsym from elf entirely
2023-03-29 15:58:16 -04:00
Willi Ballenthin
6bb14d0874
Merge pull request #1415 from mandiant/f-strings
...
use f-strings as appropriate
2023-03-29 20:47:12 +02:00
Pratham Chauhan
c3fdab8ec5
Add new test test_rdoc_to_capa
2023-03-29 22:57:11 +05:30
Pratham Chauhan
237554d84a
Fix broken logic for FORMAT_FREEZE
2023-03-29 22:32:12 +05:30
Pratham Chauhan
6ed7aca5be
remove rule param
2023-03-29 19:50:07 +05:30
Pratham Chauhan
a13ce094b3
use rd/test json
2023-03-29 19:41:14 +05:30
Pratham Chauhan
6806b8f5a7
use pydantic.parse_file
2023-03-29 19:02:45 +05:30
manasghandat
e3d9386239
Merge branch 'mandiant:master' into fix-shadowed-variable
2023-03-29 18:31:28 +05:30
dependabot[bot]
fbdf92367e
build(deps): bump protobuf from 4.21.12 to 4.22.1
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 4.21.12 to 4.22.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/commits/v4.22.1 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 12:52:59 +00:00
Willi Ballenthin
2ec96d7f13
Merge pull request #1408 from mandiant/dependabot/pip/pydantic-1.10.7
...
build(deps): bump pydantic from 1.10.6 to 1.10.7
2023-03-29 14:52:45 +02:00
Willi Ballenthin
1c457d3428
Merge pull request #1407 from mandiant/dependabot/pip/types-protobuf-4.22.0.0
...
build(deps-dev): bump types-protobuf from 4.21.0.5 to 4.22.0.0
2023-03-29 14:52:14 +02:00
Pratham Chauhan
fe1193f374
removes unused imports
2023-03-29 16:12:17 +05:30
Pratham Chauhan
abbf3db2ac
Revert "remove unused imports"
...
This reverts commit 9e12c563bc .
2023-03-29 16:11:21 +05:30
Pratham Chauhan
5a1009520d
Revert "Revert "introducing match strings constant for formats""
...
This reverts commit b49fb7fcf9 .
2023-03-29 16:10:44 +05:30
Pratham Chauhan
b49fb7fcf9
Revert "introducing match strings constant for formats"
...
This reverts commit 530e28cbc3 .
2023-03-29 16:06:20 +05:30
Pratham Chauhan
9e12c563bc
remove unused imports
2023-03-29 16:02:17 +05:30
Pratham Chauhan
530e28cbc3
introducing match strings constant for formats
2023-03-29 16:00:02 +05:30
Pratham Chauhan
637dd6bf0a
Added a unit test
2023-03-29 15:51:25 +05:30
Pratham Chauhan
fdc9530352
seperating loading json and to_capa logic
2023-03-29 08:34:06 +05:30
manasghandat
4990f7a2c8
Fix requested changes
2023-03-28 22:11:37 +05:30
Capa Bot
b5f274bf56
Sync capa rules submodule
2023-03-28 14:07:51 +00:00
Willi Ballenthin
ac2d01a60a
use f-strings as appropriate
...
closes #600
2023-03-28 11:43:49 +02:00
Willi Ballenthin
95bdaf072b
Merge pull request #1399 from ggold7046/patch-15
...
Update utils.py
2023-03-28 09:47:11 +02:00
Capa Bot
af1500825a
Sync capa rules submodule
2023-03-28 07:20:10 +00:00
AG
cd2ef15a8a
Update CHANGELOG.md
...
Update changelog to reflect changes introduced in pull request #1399
2023-03-28 01:11:23 +05:30
Pratham Chauhan
02359e5e84
fix
2023-03-27 22:22:25 +05:30
dependabot[bot]
d873cc0257
build(deps): bump pydantic from 1.10.6 to 1.10.7
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.7/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 14:09:09 +00:00
dependabot[bot]
ea2acea668
build(deps-dev): bump types-protobuf from 4.21.0.5 to 4.22.0.0
...
Bumps [types-protobuf](https://github.com/python/typeshed ) from 4.21.0.5 to 4.22.0.0.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-protobuf
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 14:08:45 +00:00
Pratham Chauhan
84052c3ac5
init
2023-03-27 19:21:55 +05:30
Willi Ballenthin
4a40732cad
Merge pull request #1406 from mandiant/williballenthin-patch-1
...
ci: tests: run binja after code style/linter
2023-03-27 13:17:47 +02:00
Willi Ballenthin
cd9f32ced5
Merge pull request #1398 from mandiant/fix-shadowed-variable
...
main: fix variable shadowing module os
2023-03-27 13:17:32 +02:00
Willi Ballenthin
2bedc6b181
ci: tests: run binja after code style/linter
2023-03-27 11:47:53 +02:00
Pratham Chauhan
e26deb472e
Update CHANGELOG.md
2023-03-26 22:54:12 +05:30
Pratham Chauhan
78d0111a6c
Final changes
2023-03-26 22:09:04 +05:30
Capa Bot
d61c85c171
Sync capa rules submodule
2023-03-26 09:29:01 +00:00
Pratham Chauhan
03f0034d33
working meta parsing
2023-03-25 14:47:59 +05:30
manasghandat
3f2e698684
fix mypy issue
2023-03-24 22:20:37 +05:30
manasghandat
259aa53de4
Merge branch 'fix-shadowed-variable' of https://github.com/mandiant/capa into fix-shadowed-variable
2023-03-24 21:11:39 +05:30
manasghandat
7915fb3fb6
Merge branch 'master' of https://github.com/mandiant/capa
2023-03-24 21:06:41 +05:30
AG
fbb348bc82
Update utils.py
...
Changed the colour/highlight to "cyan" instead of "blue" for easy noticing.
2023-03-24 20:50:45 +05:30
Willi Ballenthin
a8552e6b96
Merge pull request #1316 from mandiant/wb-proto
...
protobuf support
2023-03-24 11:51:56 +01:00
Willi Ballenthin
4be3fe1628
Merge branch 'master' into wb-proto
2023-03-24 11:51:45 +01:00
Willi Ballenthin
a087045322
Merge pull request #1387 from manasghandat/main
...
Fix mypy update 1.1.1 by dependabot
2023-03-24 11:51:01 +01:00
Pratham Chauhan
248229a383
Functioning parse_raw
2023-03-24 10:29:37 +05:30
Pratham Chauhan
0ff22d319f
fix
2023-03-24 01:22:29 +05:30
manasghandat
a1dfcc73dd
fix basicblockfeature
2023-03-23 21:20:06 +05:30
Willi Ballenthin
3e98115dc2
main: fix variable shadowing module os
2023-03-23 16:11:21 +01:00
Willi Ballenthin
ddc52fa21c
Merge branch 'master' of personal.github.com:mandiant/capa
2023-03-23 16:04:54 +01:00
xusheng
986e2e6057
Merge pull request #1 from mandiant/binja-ci
2023-03-24 18:39:12 +08:00
Capa Bot
793057c202
Sync capa-testfiles submodule
2023-03-24 09:30:40 +00:00
Capa Bot
3bf9cacaec
Sync capa rules submodule
2023-03-24 08:55:50 +00:00
Capa Bot
bed4593d04
Sync capa-testfiles submodule
2023-03-23 18:29:19 +00:00
Willi Ballenthin
e8082173ad
tests: add test demonstrating to/from proto scripts
2023-03-23 15:42:43 +01:00
Willi Ballenthin
b1f4035530
Merge branch 'wb-proto' of personal.github.com:mandiant/capa into wb-proto
2023-03-23 15:30:10 +01:00
Willi Ballenthin
0d4a92a351
gitignore
2023-03-23 15:27:32 +01:00
Willi Ballenthin
89803e7523
ci: add binary ninja installation and test invocation
2023-03-23 14:17:26 +01:00
Willi Ballenthin
613ce92cfd
tests: remove old debugging statements
2023-03-23 14:14:04 +01:00
Willi Ballenthin
8bde277be2
ci: binja: update installer to use root
2023-03-23 14:11:48 +01:00
Willi Ballenthin
3be7bbbf88
ci: binja: log more
2023-03-23 14:06:36 +01:00
Willi Ballenthin
d8aa276f25
tests: debug binja api
2023-03-23 14:04:14 +01:00
Willi Ballenthin
dcddef09dc
ci: binja: inject secrets
2023-03-23 14:00:28 +01:00
Willi Ballenthin
ad442aaae3
ci: binja: fix curl output
2023-03-23 13:58:04 +01:00
Willi Ballenthin
21ecc7618a
ci: binja: fix curl
2023-03-23 13:56:08 +01:00
Willi Ballenthin
8f8a0b118f
ci: add test workflow for binja testing
2023-03-23 13:52:58 +01:00
Pratham Chauhan
0358b46fcd
add FORMAT_RESULT
2023-03-23 18:07:03 +05:30
Willi Ballenthin
1a29077b45
tests: binja: don't crash on bad license - log instead
2023-03-23 12:38:52 +01:00
Willi Ballenthin
c249b841e8
tests: binja: ensure the license is valid
2023-03-23 12:37:06 +01:00
Willi Ballenthin
7d12942cf7
Merge branch 'binja_backend' of github.com:Vector35/capa into Vector35-binja_backend
2023-03-23 11:31:25 +01:00
Willi Ballenthin
c52b0a22e0
tests: simplify loading of result document from file
2023-03-23 11:04:53 +01:00
Willi Ballenthin
840145f947
Update CHANGELOG.md
2023-03-23 11:02:58 +01:00
Willi Ballenthin
10d6e55d62
proto: remove main entrypoint
2023-03-23 10:58:51 +01:00
Willi Ballenthin
80112bac64
add scripts showing conversion to/from protobuf format
2023-03-23 10:58:22 +01:00
Willi Ballenthin
49ff9d5a7c
pep8
2023-03-23 10:58:13 +01:00
Willi Ballenthin
1044709803
tests: proto: test byte representation, not messages
2023-03-23 10:57:35 +01:00
Willi Ballenthin
252f5cebb7
proto: remove old code
2023-03-23 10:35:41 +01:00
Willi Ballenthin
e8ddee4782
Merge branch 'master' of personal.github.com:mandiant/capa into wb-proto
2023-03-23 10:35:30 +01:00
Willi Ballenthin
8daa1c032c
Merge pull request #1350 from captainGeech42/issues/1348
...
feature: support for OS override
2023-03-23 10:32:39 +01:00
Willi Ballenthin
beccf28d09
Merge branch 'rd-hardening' into wb-proto
2023-03-23 10:31:29 +01:00
Willi Ballenthin
5ac3414490
Merge pull request #1395 from HongThatCong/master
...
Update __init__.py
2023-03-23 10:31:14 +01:00
Willi Ballenthin
5d49f5a1d2
Merge branch 'master' of personal.github.com:mandiant/capa into wb-proto
2023-03-23 10:30:07 +01:00
Capa Bot
41bf5f0926
Sync capa-testfiles submodule
2023-03-23 09:29:26 +00:00
Capa Bot
4c5a16a1db
Sync capa rules submodule
2023-03-23 07:49:17 +00:00
Capa Bot
85fb9aa99f
Sync capa rules submodule
2023-03-23 07:48:11 +00:00
Capa Bot
57d34087dd
Sync capa-testfiles submodule
2023-03-22 19:50:38 +00:00
Capa Bot
2d65b4b2a1
Sync capa rules submodule
2023-03-22 19:43:40 +00:00
Willi Ballenthin
d068faa35e
tests: remove old comment
2023-03-22 13:24:42 +01:00
Willi Ballenthin
1c33cd4470
pep8
2023-03-22 13:12:22 +01:00
Willi Ballenthin
21e410cc77
proto: implement deserialization from protobuf format
2023-03-22 13:08:10 +01:00
Willi Ballenthin
68ebd87127
tests: proto: fix property name
2023-03-22 11:22:12 +01:00
Willi Ballenthin
62069e9e59
tests: proto: fix module references
2023-03-22 11:21:59 +01:00
Willi Ballenthin
14a2088606
proto: move impl to top level module
2023-03-22 11:16:37 +01:00
Willi Ballenthin
114c3854e7
tests: add round trip tests for proto
2023-03-22 11:15:50 +01:00
Willi Ballenthin
26ca593fad
proto: sketch from pb2 routines
2023-03-22 11:15:34 +01:00
Willi Ballenthin
ec785f9d6d
proto: don't use name property due to top level python decorator name
2023-03-22 11:03:18 +01:00
Willi Ballenthin
f54ef35a7a
mypy
2023-03-22 10:58:24 +01:00
Willi Ballenthin
e0b57fc74e
insn: fix type annotation for operand index
2023-03-22 10:57:17 +01:00
Willi Ballenthin
4754a84a8a
pep8
2023-03-22 10:52:40 +01:00
Willi Ballenthin
02fdf41969
tests: add tests demonstrating result document round tripping
2023-03-22 10:47:45 +01:00
Willi Ballenthin
92e75ee89b
insn: document ranges of numbers and offsets
2023-03-22 10:09:57 +01:00
Willi Ballenthin
7c2b6a3161
proto: update generate pb2
2023-03-22 10:00:51 +01:00
Willi Ballenthin
26a8647444
proto: revert address field name change
2023-03-22 10:00:12 +01:00
Willi Ballenthin
cae7c4d0a7
proto: update doc and field numbers
2023-03-22 09:58:03 +01:00
Willi Ballenthin
27a5e17a3e
proto: rename address value field
2023-03-22 09:52:01 +01:00
Willi Ballenthin
a9ba133506
bulk-process: fix some variable references
2023-03-22 09:48:20 +01:00
Willi Ballenthin
eb20724d78
Merge branch 'master' into wb-proto
2023-03-22 09:46:03 +01:00
Willi Ballenthin
1b9e486c49
Merge pull request #1351 from mandiant/wb-mr-proto
...
WIP: proto translation
2023-03-22 09:44:59 +01:00
Willi Ballenthin
7ef167fcd0
Update scripts/bulk-process.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-03-22 09:44:00 +01:00
Hồng Thất Công
9db106e3f0
Update __init__.py
...
Update IDA plugin
2023-03-22 11:58:46 +07:00
manasghandat
b4052e5a64
Add appropriate comments
2023-03-22 07:49:20 +05:30
manasghandat
9a77f18ced
Add appropriate comments
2023-03-22 07:45:59 +05:30
Capa Bot
03996f2b82
Sync capa rules submodule
2023-03-21 21:04:25 +00:00
Willi Ballenthin
53ca96fcee
result document: make all classes frozen and forbid extra attributes
2023-03-21 17:37:27 +01:00
Willi Ballenthin
c1ca4ab703
isort
2023-03-21 17:22:43 +01:00
Willi Ballenthin
43bcf401b2
bulk-process: reference error
2023-03-21 16:57:16 +01:00
Willi Ballenthin
f1c495dc0a
*: use FORMAT_AUTO instead of string literal
2023-03-21 16:54:48 +01:00
Willi Ballenthin
98eb28704c
main: don't embed format/os overrides in metadata
2023-03-21 16:47:11 +01:00
Willi Ballenthin
1f3582c9c3
mypy
2023-03-21 16:45:24 +01:00
Willi Ballenthin
62f7bddd4d
Merge pull request #1389 from ggold7046/patch-16
...
Update view.py
2023-03-21 16:31:05 +01:00
AG
b097569607
Update view.py
...
Updated with f string for better readability.
2023-03-21 19:53:10 +05:30
manasghandat
da6f72c20a
fix mypy fails
2023-03-21 19:10:11 +05:30
manasghandat
00e94d976a
fix linting issue
2023-03-21 18:51:51 +05:30
manasghandat
d1d6db877d
Merge branch 'mandiant:master' into main
2023-03-21 18:47:16 +05:30
manasghandat
da3e3c6bb4
fix mypy fails
2023-03-21 18:46:22 +05:30
Willi Ballenthin
e57be09823
Merge branch 'issues/1348' of github.com:captainGeech42/capa into issues/1348
2023-03-21 14:04:46 +01:00
Willi Ballenthin
7598a97888
Merge branch 'master' of personal.github.com:mandiant/capa into pr-1350
2023-03-21 14:02:02 +01:00
Willi Ballenthin
ebaf51ce56
Merge branch 'master' into issues/1348
2023-03-21 13:54:52 +01:00
Willi Ballenthin
0cf8b154a4
pep8
2023-03-21 13:53:59 +01:00
Willi Ballenthin
b420d6bbb2
Merge pull request #1386 from mandiant/dependabot/pip/pyinstaller-5.9.0
...
build(deps-dev): bump pyinstaller from 5.8.0 to 5.9.0
2023-03-21 13:04:57 +01:00
mr-tz
6086cc5e18
update number/offset understanding
2023-03-20 18:11:24 +01:00
mr-tz
c3ed12d8d4
add helper function
2023-03-20 17:46:36 +01:00
mr-tz
2d98c9e3c4
address mypy warnings
2023-03-20 17:45:55 +01:00
mr-tz
0933040d0b
remove protobuf from rd scheme generation test
2023-03-20 17:45:23 +01:00
mr-tz
12046e698e
don't change child data
2023-03-20 17:43:21 +01:00
mr-tz
73ac83bd06
reformat changelog
2023-03-20 16:58:06 +01:00
mr-tz
631685472d
add assert_never
2023-03-20 16:55:42 +01:00
mr-tz
32bcf999b8
remove proto from pydantic generation code
2023-03-20 16:53:44 +01:00
dependabot[bot]
008f6d1839
build(deps-dev): bump pyinstaller from 5.8.0 to 5.9.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.8.0...v5.9.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-20 14:58:43 +00:00
dependabot[bot]
1746a640cc
build(deps): bump pydantic from 1.10.5 to 1.10.6 ( #1380 )
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.6/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.5...v1.10.6 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 14:12:20 +01:00
Capa Bot
d5937e4af5
Sync capa rules submodule
2023-03-16 17:41:19 +00:00
manasghandat
1336796c0c
code style : update remaining files ( #1353 )
...
* code style: update string formatting using fstrings
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-03-16 11:16:18 +01:00
manasghandat
2efcfcf239
fix merge conflicts
2023-03-15 07:19:41 +05:30
manasghandat
8f2ffe8526
fix code style
2023-03-15 07:08:31 +05:30
Capa Bot
8cf74759a6
Sync capa rules submodule
2023-03-14 18:35:45 +00:00
Capa Bot
22a1a8e41f
Sync capa rules submodule
2023-03-14 18:30:53 +00:00
Harsh Mehta
74009eb4a4
Updated Copyright ( #1383 )
...
* Updated Copyright
2023-03-14 17:58:43 +01:00
manasghandat
5932358f9d
fix changes
2023-03-14 22:10:02 +05:30
manasghandat
1ad5364fec
fix changes
2023-03-14 22:09:35 +05:30
Capa Bot
201330295c
Sync capa rules submodule
2023-03-14 16:25:56 +00:00
mr-tz
a7b7f643a5
update translator and tests
2023-03-14 10:13:49 +01:00
Capa Bot
4fd6f17ced
Sync capa rules submodule
2023-03-14 07:34:15 +00:00
dependabot[bot]
e67679658a
build(deps-dev): bump mypy from 1.0.1 to 1.1.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v1.0.1...v1.1.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-13 14:58:43 +00:00
manasghandat
d67f924b73
Merge branch 'master' of https://github.com/mandiant/capa
2023-03-12 17:41:45 +05:30
Willi Ballenthin
961daf6c36
Merge pull request #1366 from ggold7046/patch-1
...
Update profile-memory.py
2023-03-11 13:14:09 +01:00
Willi Ballenthin
748e7641ef
Merge pull request #1367 from ggold7046/patch-3
...
Update match-function-id.py
2023-03-11 13:13:27 +01:00
AG
6321adc411
Update match-function-id.py
...
Updated with f string for enhanced readability.
2023-03-11 12:43:22 +05:30
AG
02e451a2b1
Update profile-memory.py
...
Updated with f string for enhanced readability.
2023-03-11 12:29:59 +05:30
Willi Ballenthin
8cac47038c
Merge pull request #1354 from ggold7046/patch-1
...
Update import-to-bn.py
2023-03-10 17:18:21 +01:00
Willi Ballenthin
59ab8e0b04
Merge pull request #1356 from ggold7046/patch-3
...
Update import-to-ida.py
2023-03-10 17:17:59 +01:00
Willi Ballenthin
577d96c026
Merge pull request #1365 from linpeiyu164/master
...
fix wrong indentation level for args.backend
2023-03-10 17:17:22 +01:00
linpeiyu164
7031c68a85
fix wrong indentation level for args.backend
2023-03-11 00:07:24 +08:00
Willi Ballenthin
3a7326726e
Merge pull request #1357 from ggold7046/patch-4
...
Update insn.py
2023-03-10 10:04:29 +01:00
Willi Ballenthin
f01d79df46
Merge pull request #1358 from ggold7046/patch-5
...
Update file.py
2023-03-10 10:04:00 +01:00
AG
df6de3446c
Update file.py
...
Updated with f string for enhanced readability.
2023-03-10 13:10:02 +05:30
AG
eaeef59583
Update insn.py
...
Updated with f strings for enhanced readability.
2023-03-10 13:03:04 +05:30
manasghandat
f9c7ca2941
fix CI issue in tests
2023-03-10 10:34:17 +05:30
AG
50935372ca
Update import-to-ida.py
...
Updated with f string for enhanced readability.
2023-03-10 01:36:17 +05:30
AG
d8f89d49d4
Update import-to-bn.py
...
Used f string for enhanced readability.
2023-03-10 01:17:59 +05:30
Zander Work
7e823057b9
Apply suggestions from code review
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-09 11:51:19 -05:00
manasghandat
e4d69984d3
Merge branch 'fstring' of https://github.com/manasghandat/capa into fstring
2023-03-09 22:04:13 +05:30
manasghandat
acd04e7181
Merge branch 'mandiant:master' into fstring
2023-03-09 22:03:42 +05:30
manasghandat
22a53bb1dc
fix as per review
2023-03-09 22:01:52 +05:30
manasghandat
aaef16f51b
Merge branch 'master' of https://github.com/manasghandat/capa into fstring
2023-03-09 22:00:37 +05:30
manasghandat
8613c88a60
update according to review
2023-03-09 21:59:16 +05:30
manasghandat
6070bd562e
Update scripts/import-to-ida.py
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-09 21:21:14 +05:30
Willi Ballenthin
01c4ac822c
Merge pull request #1344 from mandiant/fix/1333
...
explorer: improve embedded PE detection
2023-03-09 15:49:10 +01:00
manasghandat
05dbdd4473
code style: add fstrings
2023-03-09 17:19:34 +05:30
Xusheng
64323b394a
Encode the path with utf8 and then convert to hex in find_binja_path
2023-03-09 16:32:21 +08:00
Xusheng
70f6f1cd03
Use the binja extractor to get functions/basic blocks/instructions when the feature extractor is executed alone
2023-03-09 16:01:51 +08:00
Xusheng
e9d4a23dad
Do MLIL basic block look-up in get_basic_blocks to avoid a O(n^2) algorithm
2023-03-09 15:53:44 +08:00
mr-tz
3cdbc66375
refactor
2023-03-09 07:40:58 +01:00
manasghandat
5128638071
code style: update lint.py ( #1352 )
...
* code style: update lint.py
2023-03-09 07:28:47 +01:00
manasghandat
1f80791f8f
code style: update lint.py with correct format
2023-03-08 21:19:14 +05:30
mr-tz
44d8e693b0
improve int/Integer handling
2023-03-08 16:06:57 +01:00
manasghandat
3bdc61f5ee
code style: update lint.py
2023-03-08 20:02:33 +05:30
mr-tz
a7e4d265e2
convert rd meta to proto
2023-03-08 14:45:26 +01:00
Willi Ballenthin
0ac497ab59
Merge pull request #1346 from mandiant/dependabot/pip/tqdm-4.65.0
...
build(deps): bump tqdm from 4.64.1 to 4.65.0
2023-03-08 14:35:46 +01:00
Zander Work
dbb0200147
update changelog
2023-03-07 00:20:19 -05:00
Zander Work
ff7a93f364
show overriden format/os in output
2023-03-07 00:15:42 -05:00
Zander Work
8f6a660f3d
initial support for os override
2023-03-07 00:11:33 -05:00
Xusheng
64c542502b
Fix the placement of some imports
2023-03-07 11:30:35 +08:00
Xusheng
b4974a80bb
Fix typo in OS name
2023-03-07 11:06:18 +08:00
Mike Hunhoff
95f23dafe5
Update CHANGELOG.md
2023-03-06 08:55:32 -07:00
Mike Hunhoff
02dc42154b
Update CHANGELOG.md
...
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-03-06 08:53:57 -07:00
dependabot[bot]
4047780c08
build(deps): bump tqdm from 4.64.1 to 4.65.0
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.64.1 to 4.65.0.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.64.1...v4.65.0 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-06 14:59:16 +00:00
Xusheng
c648af2cb4
Select a different test file for the nzxor feature
2023-03-05 12:52:49 +08:00
Xusheng
4a698ffdff
Add a Binary Ninja backend for capa
2023-03-05 12:52:49 +08:00
Xusheng
1babdb069f
Update readme for generating rule cache
2023-03-04 18:46:36 +08:00
Xusheng
b49213bef6
Include the type of value when the value of a Number is unexpected
2023-03-04 18:46:36 +08:00
Xusheng
42e877671b
Update gitignore for pipfile and cache folder
2023-03-04 18:46:36 +08:00
Mike Hunhoff
14c18727db
update CHANGELOG
2023-03-03 09:55:45 -07:00
Mike Hunhoff
aacfcaaa23
explorer: improve embedded PE detection
2023-03-03 09:52:50 -07:00
Mike Hunhoff
9f3428e1c3
explorer: fix plugin exception when loaded under idat ( #1341 )
2023-03-02 13:42:43 -07:00
Moritz
52de09a032
Fix byte/string extraction and unit tests ( #1339 )
...
* Fix wrong expected results on string and bytes tests. Fix https://github.com/mandiant/capa/issues/1336
* Fix IDA insn/byte extractor checks wrong address. Fix https://github.com/mandiant/capa/issues/1327
* fix vivisect string check and tests
---------
Co-authored-by: Xusheng <xusheng@vector35.com >
2023-03-02 10:33:14 +01:00
Capa Bot
be6bb879f3
Sync capa rules submodule
2023-03-01 15:50:20 +00:00
Capa Bot
f7371c4a9f
Sync capa rules submodule
2023-03-01 15:09:07 +00:00
Capa Bot
bd7cf8cdd1
Sync capa rules submodule
2023-02-28 10:41:07 +00:00
Willi Ballenthin
70b39cbd2c
Merge pull request #1328 from mandiant/dependabot/pip/types-tabulate-0.9.0.1
...
build(deps-dev): bump types-tabulate from 0.9.0.0 to 0.9.0.1
2023-02-28 10:50:37 +01:00
dependabot[bot]
199a5cff4b
build(deps-dev): bump types-tabulate from 0.9.0.0 to 0.9.0.1
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.9.0.0 to 0.9.0.1.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 14:59:14 +00:00
Capa Bot
501e213dce
Sync capa rules submodule
2023-02-27 08:59:54 +00:00
Capa Bot
d663007e60
Sync capa rules submodule
2023-02-24 14:52:58 +00:00
Mike Hunhoff
a07ca443f0
update OS to match OS_ANY for all supported OSes ( #1324 )
2023-02-24 07:51:40 -07:00
Willi Ballenthin
84df8baa5f
Merge pull request #1313 from mandiant/dependabot/pip/pyinstaller-5.8.0
...
build(deps-dev): bump pyinstaller from 5.7.0 to 5.8.0
2023-02-24 10:26:09 +01:00
Willi Ballenthin
241c0aeedd
Merge pull request #1321 from mandiant/dependabot/pip/mypy-1.0.1
...
build(deps-dev): bump mypy from 0.991 to 1.0.1
2023-02-24 10:24:39 +01:00
Willi Ballenthin
ae85399193
Merge pull request #1320 from mandiant/dependabot/pip/pydantic-1.10.5
...
build(deps): bump pydantic from 1.10.4 to 1.10.5
2023-02-24 10:24:14 +01:00
Capa Bot
17f70bb87c
Sync capa rules submodule
2023-02-23 08:47:24 +00:00
Capa Bot
7a1f2f4b3b
Sync capa rules submodule
2023-02-22 19:24:48 +00:00
Capa Bot
599d3ac92c
Sync capa rules submodule
2023-02-21 21:38:32 +00:00
Capa Bot
02f8e57e66
Sync capa rules submodule
2023-02-21 10:46:20 +00:00
dependabot[bot]
b6ac6d2959
build(deps-dev): bump mypy from 0.991 to 1.0.1
...
Bumps [mypy](https://github.com/python/mypy ) from 0.991 to 1.0.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.0.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-20 14:58:39 +00:00
dependabot[bot]
c681175685
build(deps): bump pydantic from 1.10.4 to 1.10.5
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.5/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-20 14:58:27 +00:00
Capa Bot
5e600d02a8
Sync capa rules submodule
2023-02-20 08:05:09 +00:00
Capa Bot
b9edb6dbc9
Sync capa-testfiles submodule
2023-02-16 10:31:51 +00:00
Capa Bot
6e5302e5ec
Sync capa rules submodule
2023-02-15 16:46:14 +00:00
Capa Bot
4b472c8564
Sync capa rules submodule
2023-02-15 15:16:41 +00:00
Capa Bot
4ccf6f0e69
Sync capa rules submodule
2023-02-15 10:57:23 +00:00
Capa Bot
eac3d8336d
Sync capa-testfiles submodule
2023-02-15 10:56:23 +00:00
Capa Bot
53475c9643
Sync capa rules submodule
2023-02-15 10:55:49 +00:00
Willi Ballenthin
3c0361fd5c
Merge pull request #1317 from mandiant/fix-loop-viv
...
fix loop detection corner case
2023-02-15 11:50:26 +01:00
mr-tz
0d14c168a4
fix loop detection corner case
2023-02-15 11:41:54 +01:00
Capa Bot
00ecfe7a80
Sync capa-testfiles submodule
2023-02-15 10:22:12 +00:00
Willi Ballenthin
fd64b2c5d5
Merge pull request #1315 from mandiant/typing-address
...
freeze: better type annotations for Address value
2023-02-14 15:05:31 +01:00
Willi Ballenthin
099cd868ae
Merge branch 'wb-proto' of personal.github.com:mandiant/capa into wb-proto
2023-02-14 13:04:47 +01:00
Willi Ballenthin
3071394ef4
Update capa/render/proto/__init__.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-02-14 16:24:47 +01:00
Willi Ballenthin
d1b4e59e7d
Update capa/render/proto/__init__.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-02-14 16:24:39 +01:00
Willi Ballenthin
50750a59d9
Merge branch 'master' of personal.github.com:mandiant/capa into wb-proto
2023-02-14 13:04:28 +01:00
Willi Ballenthin
e41afbee58
changelog
2023-02-14 13:04:05 +01:00
Willi Ballenthin
9ea2aca9cb
test: proto: emit the schema json, too
2023-02-14 11:24:30 +01:00
Willi Ballenthin
c7ab89507e
setup: fix dep spec
2023-02-14 11:02:28 +01:00
Willi Ballenthin
c197fd5086
proto: add type stubs for generate schema
2023-02-14 10:57:43 +01:00
Willi Ballenthin
b6e607f60e
ci: ignore syntax, type checking for protobuf generated files
2023-02-14 10:26:05 +01:00
Willi Ballenthin
38d8b7f501
render: add initial proto generator
2023-02-14 10:02:12 +01:00
Willi Ballenthin
514b4929b3
freeze: better type annotations for Address value
2023-02-14 09:47:57 +01:00
dependabot[bot]
e8cef536f6
build(deps-dev): bump pyinstaller from 5.7.0 to 5.8.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.8.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 14:59:26 +00:00
Capa Bot
4ea3475d2b
Sync capa rules submodule
2023-02-13 09:50:39 +00:00
Capa Bot
15a276e3a5
Sync capa rules submodule
2023-02-13 09:47:05 +00:00
Capa Bot
f6e58ea212
Sync capa rules submodule
2023-02-10 10:08:30 +00:00
Capa Bot
1b191b5aea
Sync capa-testfiles submodule
2023-02-10 08:52:58 +00:00
Moritz
c2346f41cb
update to v5.0.0 ( #1308 )
2023-02-08 21:34:45 +01:00
Capa Bot
3f40f47104
Sync capa rules submodule
2023-02-08 08:57:54 +00:00
Capa Bot
3dfb7beb6b
Sync capa rules submodule
2023-02-07 15:56:56 +00:00
Moritz
6a222a6139
Update black ( #1307 )
...
* build(deps-dev): bump black from 22.12.0 to 23.1.0
Bumps [black](https://github.com/psf/black ) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* reformat black 23.1.0
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 15:50:15 +01:00
Capa Bot
b34864c55e
Sync capa rules submodule
2023-02-07 14:49:39 +00:00
Capa Bot
26655315c7
Sync capa rules submodule
2023-02-07 14:48:39 +00:00
Capa Bot
8aaa8809e6
Sync capa-testfiles submodule
2023-02-07 11:21:49 +00:00
Capa Bot
cbac0e0d3b
Sync capa rules submodule
2023-02-07 09:59:16 +00:00
Capa Bot
22b8c594b8
Sync capa-testfiles submodule
2023-02-06 20:47:00 +00:00
Capa Bot
7a8065b2bb
Sync capa rules submodule
2023-02-06 17:13:11 +00:00
Capa Bot
6070479e0a
Sync capa rules submodule
2023-02-06 17:12:33 +00:00
Moritz
fd70dc24df
feat: store results to database and UI updates ( #1292 )
...
* feat: store results to database and UI updates
* feat: update result caching and UI
* use system rules cache and improve result cache validation
* improve buttons and status messages
* improve error messaging for invalid caches
---------
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2023-02-06 16:37:19 +01:00
Capa Bot
8cb8cfdb46
Sync capa-testfiles submodule
2023-02-06 15:21:58 +00:00
Capa Bot
79f25ec0a3
Sync capa rules submodule
2023-02-06 14:15:55 +00:00
Capa Bot
2235417a25
Sync capa-testfiles submodule
2023-02-06 14:07:24 +00:00
Capa Bot
ce449790df
Sync capa-testfiles submodule
2023-02-06 14:03:55 +00:00
Capa Bot
79e36ab11d
Sync capa-testfiles submodule
2023-02-06 13:52:53 +00:00
Capa Bot
dde3abdfa0
Sync capa-testfiles submodule
2023-02-06 09:07:31 +00:00
Mike Hunhoff
7ea166f98c
explorer: fix UnboundLocal errors and improve render match by function ( #1302 )
2023-02-02 12:33:30 -07:00
Capa Bot
faceca6fec
Sync capa rules submodule
2023-02-02 08:12:15 +00:00
Capa Bot
6589b2044b
Sync capa rules submodule
2023-02-01 15:29:00 +00:00
Capa Bot
f00e44aba6
Sync capa-testfiles submodule
2023-02-01 15:28:22 +00:00
Capa Bot
6591b574a0
Sync capa rules submodule
2023-02-01 14:13:20 +00:00
Moritz
ca91051d1a
Fix string length >= 4 and remove bytes/string overlaps ( #1298 )
...
* fix min string length >= 4
* feat: don't extract bytes for strings
2023-02-01 14:53:16 +01:00
Capa Bot
29f24de5d5
Sync capa rules submodule
2023-02-01 09:10:08 +00:00
Capa Bot
2014c64732
Sync capa rules submodule
2023-02-01 09:09:30 +00:00
Moritz
b5c6cdeaa1
Update ATT&CK and MBC lint data ( #1297 )
...
* sort by ID
* update ATT&CK/MBC lint data via script
2023-02-01 09:56:10 +01:00
Moritz
bf7c569060
Delete hook-smda.py ( #1296 )
2023-01-30 10:15:56 +01:00
Capa Bot
bbc0afd083
Sync capa rules submodule
2023-01-27 08:56:49 +00:00
Capa Bot
8857f92f7c
Sync capa rules submodule
2023-01-26 08:15:31 +00:00
Willi Ballenthin
70f568b1cc
Merge pull request #1291 from mandiant/rules-cache
...
cache rule set across invocations of capa
2023-01-25 17:52:34 +01:00
Capa Bot
c586166006
Sync capa-testfiles submodule
2023-01-25 16:45:08 +00:00
Moritz
96f266ce5e
ci: pin GitHub Actions versions ( #1295 )
2023-01-25 17:34:28 +01:00
Willi Ballenthin
e5549d6ce8
Update capa/ida/plugin/form.py
2023-01-25 16:47:01 +01:00
Capa Bot
b60717bb8c
Sync capa rules submodule
2023-01-24 14:35:01 +00:00
Willi Ballenthin
83eefd343c
Update scripts/capa2yara.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-01-24 15:33:37 +01:00
Moritz
03e8be6368
Create scorecard.yml ( #1294 )
2023-01-24 14:15:53 +01:00
Capa Bot
a58e9e4df3
Sync capa rules submodule
2023-01-23 13:53:42 +00:00
Moritz
0a78187c69
optimize tests to speed them up ( #1287 )
...
* optimize tests to speed them up
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-01-23 11:25:04 +01:00
Willi Ballenthin
61112c2527
lint: fix pbar counts
2023-01-21 20:16:49 +01:00
Willi Ballenthin
67cfefd2df
main: get_rules: remove progress bar
2023-01-21 19:38:23 +01:00
Willi Ballenthin
3dfd16c033
main: fix ValueError
2023-01-21 19:30:15 +01:00
Willi Ballenthin
67b9d2e1c0
black
2023-01-21 19:28:15 +01:00
Willi Ballenthin
a076a0c44e
main: further document get_rules
2023-01-21 19:24:20 +01:00
Willi Ballenthin
f152729c79
explorer: use main.get_rules and simplify cache
2023-01-21 19:10:50 +01:00
Willi Ballenthin
3c0e36d5d4
ruleset: record number of source rules loaded
2023-01-21 19:10:35 +01:00
Willi Ballenthin
887f37b72c
main: get_rules: accept callback to update status
2023-01-21 19:10:02 +01:00
Willi Ballenthin
e30dd08dec
cache: add doc
2023-01-21 18:20:14 +01:00
Willi Ballenthin
2d1bbeda0c
Merge branch 'rules-cache' of personal.github.com:mandiant/capa into rules-cache
2023-01-21 18:14:42 +01:00
Willi Ballenthin
68603a9cc7
Update scripts/cache-ruleset.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-01-23 12:13:07 +01:00
Willi Ballenthin
6c83db9977
Update scripts/cache-ruleset.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-01-23 12:12:57 +01:00
Willi Ballenthin
6d16cafbc8
cache: handle invalid caches
2023-01-21 18:14:12 +01:00
Willi Ballenthin
e503cedd8f
main: pbar: realize the list so it has a length
2023-01-21 17:31:57 +01:00
Willi Ballenthin
1a498d1afc
main: fix reference error
2023-01-20 16:21:44 +01:00
Willi Ballenthin
33a46cc633
ci: cache the ruleset
2023-01-20 16:19:46 +01:00
Willi Ballenthin
b3b9ec11dd
pyinstaller: package up the cache directory, too
2023-01-20 16:11:00 +01:00
Willi Ballenthin
a7afdec2e1
cache: accept cache_dir parameter
2023-01-20 16:10:41 +01:00
Willi Ballenthin
56a0bedac9
scripts: add tool to cache a ruleset to a directory
2023-01-20 15:50:17 +01:00
Willi Ballenthin
f451fe68e1
pep8/mypy
2023-01-20 15:42:22 +01:00
Willi Ballenthin
946816e377
cache: improve variable name
2023-01-20 15:26:17 +01:00
Willi Ballenthin
99af09fce5
main: revert wording change, which was just churn
2023-01-20 15:24:34 +01:00
Willi Ballenthin
0888e5ad69
main: more doc
2023-01-20 15:22:43 +01:00
Willi Ballenthin
c423ccec67
add tests for ruleset caching
2023-01-20 15:20:26 +01:00
Willi Ballenthin
03f72f498e
cache: use zlib to reduce cache size
2023-01-20 15:20:10 +01:00
Willi Ballenthin
fbd7c566f4
cache: add more helpers
...
to enable better testing
2023-01-20 15:19:48 +01:00
Willi Ballenthin
e09d35bbb9
main: fix rule content decoding
2023-01-20 15:01:05 +01:00
Willi Ballenthin
e644775ad1
changelog
2023-01-20 14:52:47 +01:00
Willi Ballenthin
6ad471a914
Merge branch 'master' into rules-cache
2023-01-20 14:51:32 +01:00
Willi Ballenthin
476ffabae9
rules: cache the ruleset to disk
...
ref: #1212
2023-01-20 14:50:00 +01:00
Willi Ballenthin
4b7a9e149f
rules: move to directory structure
2023-01-20 13:27:30 +01:00
Capa Bot
49c18bd83d
Sync capa rules submodule
2023-01-20 12:15:23 +00:00
Capa Bot
67717761bd
Sync capa rules submodule
2023-01-20 12:15:02 +00:00
Capa Bot
b10196cdac
Sync capa rules submodule
2023-01-20 11:12:04 +00:00
Moritz
fa0ddba436
add format to global features and code refactors ( #1284 )
...
* refactor: get format handling
* add format to global features
2023-01-19 13:31:00 +01:00
Capa Bot
0fb3be359f
Sync capa rules submodule
2023-01-19 12:12:41 +00:00
Capa Bot
26662e99de
Sync capa rules submodule
2023-01-19 12:11:19 +00:00
Willi Ballenthin
5513d4ca43
viv: insn: string: handle viv bug around substrings ( #1273 )
...
* viv: insn: string: handle viv bug around substrings
closes #1271
* use minimum string length 4
* update overlapping string test and fixup vivisect elf analysis missing function
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-01-19 13:02:53 +01:00
Capa Bot
2b07ec925c
Sync capa rules submodule
2023-01-19 11:23:42 +00:00
Capa Bot
efb4c9d540
Sync capa rules submodule
2023-01-19 10:58:26 +00:00
Moritz
b8de9625ee
fix: don't extract invalid calls from features ( #1285 )
2023-01-19 11:56:13 +01:00
Willi Ballenthin
607daa345e
Merge pull request #1288 from mandiant/dependabot/pip/wcwidth-0.2.6
...
build(deps): bump wcwidth from 0.2.5 to 0.2.6
2023-01-19 11:43:35 +01:00
Capa Bot
35e6df6f6b
Sync capa rules submodule
2023-01-18 15:10:43 +00:00
dependabot[bot]
cb1ef965d0
build(deps): bump wcwidth from 0.2.5 to 0.2.6
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.5...0.2.6 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-16 14:03:54 +00:00
Capa Bot
2ab057a24d
Sync capa rules submodule
2023-01-12 13:15:35 +00:00
Capa Bot
12f8588c03
Sync capa-testfiles submodule
2023-01-12 12:59:01 +00:00
Capa Bot
3571f35578
Sync capa rules submodule
2023-01-12 11:57:41 +00:00
Willi Ballenthin
803fe321d1
Merge pull request #1283 from mandiant/fix/issue-1282
...
better detect invalid rules
2023-01-12 12:56:25 +01:00
Willi Ballenthin
cf42670e97
Merge branch 'master' into fix/issue-1282
2023-01-12 12:31:11 +01:00
Willi Ballenthin
ac36b9d328
changelog
2023-01-12 10:39:36 +01:00
Willi Ballenthin
9a9f72f07a
pep8
2023-01-12 10:38:52 +01:00
Willi Ballenthin
4b9a844c92
rules: catch invalid YAML exception
2023-01-12 10:38:26 +01:00
Moritz
a273ad31d4
make read consistent with file object behavior ( #1281 )
2023-01-11 17:17:04 +01:00
Willi Ballenthin
16f3164865
Merge pull request #1280 from mandiant/revert-1275-dependabot/pip/networkx-3.0
...
Revert "build(deps): bump networkx from 2.5.1 to 3.0"
2023-01-11 12:16:47 +01:00
Willi Ballenthin
5fb9de775f
setup: document networkx dep version pin
2023-01-11 10:50:55 +01:00
Willi Ballenthin
05879dc02a
Revert "build(deps): bump networkx from 2.5.1 to 3.0"
2023-01-11 10:49:04 +01:00
Willi Ballenthin
d5cb36151f
Merge pull request #1275 from mandiant/dependabot/pip/networkx-3.0
...
build(deps): bump networkx from 2.5.1 to 3.0
2023-01-10 16:52:45 +01:00
Moritz
b6fd95c7b8
use positive error return code numbers ( #1274 )
2023-01-10 13:14:23 +01:00
Willi Ballenthin
8ce570cea7
Merge pull request #1276 from mandiant/dependabot/pip/termcolor-2.2.0
...
build(deps): bump termcolor from 2.1.1 to 2.2.0
2023-01-10 12:25:01 +01:00
Willi Ballenthin
5b82ed2fd9
Merge pull request #1270 from mandiant/fix/issue-1267
...
features: string: better __str__ embedded whitespace
2023-01-10 12:21:27 +01:00
Capa Bot
37a4dbf822
Sync capa rules submodule
2023-01-09 15:53:03 +00:00
dependabot[bot]
ef86160d88
build(deps): bump termcolor from 2.1.1 to 2.2.0
...
Bumps [termcolor](https://github.com/termcolor/termcolor ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/termcolor/termcolor/releases )
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md )
- [Commits](https://github.com/termcolor/termcolor/compare/2.1.1...2.2.0 )
---
updated-dependencies:
- dependency-name: termcolor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-09 14:03:48 +00:00
dependabot[bot]
5f31bdbb3e
build(deps): bump networkx from 2.5.1 to 3.0
...
Bumps [networkx](https://github.com/networkx/networkx ) from 2.5.1 to 3.0.
- [Release notes](https://github.com/networkx/networkx/releases )
- [Commits](https://github.com/networkx/networkx/compare/networkx-2.5.1...networkx-3.0 )
---
updated-dependencies:
- dependency-name: networkx
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-09 14:03:44 +00:00
Capa Bot
810e2d70d3
Sync capa rules submodule
2023-01-09 13:38:25 +00:00
Moritz
85dd065f91
only show first lib match to reduce vverbose output noise ( #1266 )
...
* only show first lib match to reduce vverbose output noise
* improve rendering and wording
2023-01-09 14:14:08 +01:00
Capa Bot
2a61e357de
Sync capa rules submodule
2023-01-09 13:08:27 +00:00
Willi Ballenthin
e34fdfae1a
mypy
2023-01-09 13:01:41 +01:00
Willi Ballenthin
58e94a35cb
features: string: better __str__ embedded whitespace
2023-01-09 10:51:08 +01:00
Capa Bot
93acf9feb4
Sync capa rules submodule
2023-01-09 08:50:03 +00:00
Moritz
0362148989
Merge pull request #1265 from mandiant/fix/extractor-logic
...
fix logic error from smda backend removal
2023-01-06 09:54:52 +01:00
mr-tz
985ea5ebdc
fix logic error from smda backend removal
2023-01-05 12:27:27 +01:00
Capa Bot
64ebf14256
Sync capa rules submodule
2023-01-05 10:55:44 +00:00
Willi Ballenthin
cfebe5a5ba
Merge pull request #1264 from mandiant/fix/issue-1263
...
render: verbose: fix rendering of scopes
2023-01-05 11:54:59 +01:00
Willi Ballenthin
99e0e45bfc
changelog
2023-01-05 11:38:51 +01:00
Willi Ballenthin
83845078a7
render: verbose: fix rendering of scopes
...
closes #1263
2023-01-05 11:36:52 +01:00
Capa Bot
7c102509bd
Sync capa rules submodule
2023-01-05 09:59:07 +00:00
Capa Bot
1af90b9db3
Sync capa rules submodule
2023-01-05 09:55:12 +00:00
Mike Hunhoff
d4de650f90
explorer: improve exception handling ( #1262 )
2023-01-04 13:28:15 -07:00
Capa Bot
5de0324441
Sync capa rules submodule
2023-01-04 16:59:55 +00:00
Moritz
5fa2a87747
fix dotnet and pe format handling ( #1256 )
2023-01-04 17:46:51 +01:00
Moritz
68ef9d7858
validate rule meta ( #1257 )
...
* validate rule meta
2023-01-04 17:46:25 +01:00
Mike Hunhoff
a286e066d1
explorer: refactor rule generator caching and matching ( #1251 )
...
* explorer: refactor rule generator caching and matching
* fix #1246
* fix #1159
2023-01-04 08:50:52 -07:00
Willi Ballenthin
94a712b820
Merge pull request #1213 from mandiant/fix-1062
...
remove SMDA backend
2023-01-04 14:48:41 +01:00
Moritz
c8aa73ac18
Merge pull request #1253 from mandiant/dependabot/pip/pydantic-1.10.4
...
build(deps): bump pydantic from 1.10.2 to 1.10.4
2023-01-04 11:17:31 +01:00
Capa Bot
a74b8e6328
Sync capa-testfiles submodule
2023-01-04 09:09:57 +00:00
Willi Ballenthin
ff773695d0
Merge pull request #1260 from jsoref/spelling
...
Spelling
2023-01-04 08:58:21 +01:00
Josh Soref
c4ebb0a31d
spelling: unescaped
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
f9b3d6304c
spelling: uncommitted
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
1c85f530b1
spelling: objects
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
d65d7bcd7e
spelling: notifications
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
c11633c5db
spelling: minimum
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
ea0a708f35
spelling: interesting
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
00254b93dc
spelling: instruction
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
6932df3564
spelling: import
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
9e3a48aa8d
spelling: globally
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
6e17462bd0
spelling: github
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
d29e7e6f3a
spelling: further
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
049e222e88
spelling: falls through
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
caef7812a3
spelling: disassembly
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
Josh Soref
68efa7316b
spelling: dictionary
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:25:22 -05:00
Josh Soref
5396d5f99e
spelling: contiguous
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:25:22 -05:00
Josh Soref
4576cbd0a1
spelling: committing
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:25:22 -05:00
Josh Soref
1fa9180fee
spelling: beginning
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:25:22 -05:00
Josh Soref
801c80d7a2
spelling: alphanum
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:25:22 -05:00
mr-tz
eba1989c9f
Merge branch 'master' into fix-1062
2023-01-03 18:46:41 +01:00
Mike Hunhoff
90591811df
explorer: improve rules error messaging and documentation ( #1249 )
2023-01-03 09:09:05 -07:00
Capa Bot
c959506ae9
Sync capa rules submodule
2023-01-03 14:58:40 +00:00
Moritz
25f9029a82
Merge pull request #1255 from mandiant/ci/update-actions
...
update Actions
2023-01-03 11:56:58 +01:00
Capa Bot
4f75b3d9f6
Sync capa rules submodule
2023-01-03 10:46:49 +00:00
Capa Bot
974d79f2be
Sync capa rules submodule
2023-01-03 10:42:41 +00:00
mr-tz
c0a8a91281
update Actions
2023-01-03 11:39:51 +01:00
Capa Bot
2219139605
Sync capa-testfiles submodule
2023-01-03 10:20:18 +00:00
Capa Bot
966e38babf
Sync capa rules submodule
2023-01-03 10:19:17 +00:00
Capa Bot
5f39083df6
Sync capa-testfiles submodule
2023-01-03 10:17:36 +00:00
Capa Bot
565b002bfe
Sync capa rules submodule
2023-01-02 17:33:19 +00:00
Capa Bot
1dd5a8dbf2
Sync capa rules submodule
2023-01-02 17:31:53 +00:00
dependabot[bot]
7ef17b8dee
build(deps): bump pydantic from 1.10.2 to 1.10.4
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.2 to 1.10.4.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.4/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.2...v1.10.4 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-02 14:05:03 +00:00
Moritz
d01a0e022d
Merge pull request #1248 from mandiant/dependabot/pip/isort-5.11.4
...
build(deps-dev): bump isort from 5.11.3 to 5.11.4
2023-01-02 13:22:31 +01:00
Moritz
3258556d5d
Merge pull request #1247 from mandiant/doc/rule-compat-info
...
update rule compatibility doc
2023-01-02 13:21:53 +01:00
Mike Hunhoff
5f77200108
explorer: assume 32-bit displacement for offsets ( #1250 )
...
* explorer: assume 32-bit displacement for offsets
2022-12-29 07:08:10 -07:00
dependabot[bot]
b12865f1e5
build(deps-dev): bump isort from 5.11.3 to 5.11.4
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.11.3...5.11.4 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-26 14:04:30 +00:00
mr-tz
ee90fc8761
update rule compatibility doc
2022-12-23 18:30:25 +01:00
Moritz
e6585ee526
Merge pull request #1245 from mandiant/doc/rule-releases
...
simplified rule release guidance
2022-12-22 15:37:06 +01:00
Mike Hunhoff
b68be0c2ce
dotnet: emit namespace/class features for type references ( #1242 )
...
* dotnet: emit namespace/class features for type references
* dotnet: pre-compute .NET token caches
2022-12-21 15:59:29 -07:00
mr-tz
3b95ed0b5a
simplified rule release guidance
2022-12-21 16:03:05 +01:00
Mike Hunhoff
50490e6a93
dotnet: emit namespace/class features for ldvirtftn/ldftn instructions ( #1241 )
...
* dotnet: emit namespace/class features for ldvirtftn/ldftn instructions
* dotnet: add unit tests for ldftn/ldvirtftn namespace/class features
2022-12-20 13:29:29 -07:00
Willi Ballenthin
d466345e4e
Merge pull request #1239 from mandiant/dependabot/pip/isort-5.11.3
...
build(deps-dev): bump isort from 5.10.1 to 5.11.3
2022-12-20 13:42:24 +01:00
Mike Hunhoff
4ece47c64c
dotnet: emit calls to/from MethodDef methods ( #1236 )
...
* dotnet: emit calls to/from MethodDef methods
* dotnet: update function.py copyright header
2022-12-19 15:06:16 -07:00
Moritz
2b85af0f88
explorer: update and remove outdated documentation ( #1238 )
2022-12-19 14:53:16 -07:00
Mike Hunhoff
e0491097b0
dotnet: emit API features for generic methods ( #1231 )
...
* dotnet: emit API features for generic methods
* dotnet: improve type checking
* dotnet: emit namespace/class features for generic methods
* dotnet: update for dnfile 0.13.0
* dotnet: refactor property extraction
2022-12-19 14:45:21 -07:00
dependabot[bot]
fa3d658f33
build(deps): bump dnfile from 0.12.0 to 0.13.0 ( #1240 )
...
Bumps [dnfile](https://github.com/malwarefrank/dnfile ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/malwarefrank/dnfile/releases )
- [Changelog](https://github.com/malwarefrank/dnfile/blob/master/HISTORY.rst )
- [Commits](https://github.com/malwarefrank/dnfile/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: dnfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 10:43:54 -07:00
dependabot[bot]
6dcd115765
build(deps-dev): bump isort from 5.10.1 to 5.11.3
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.10.1 to 5.11.3.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.3 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-19 14:02:58 +00:00
Willi Ballenthin
88cffee902
ci: bump action versions ( #1233 )
...
* ci: bump action versions
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2022-12-19 12:34:18 +01:00
Willi Ballenthin
b12d526a60
tests: use python 3.11 ( #1191 )
2022-12-19 11:12:42 +01:00
Mike Hunhoff
3af7fe0b08
dotnet: address unhandled exceptions through improved type checking ( #1230 )
...
* dotnet: bump dncil version
* dotnet: check #US stream valid before access
* dotnet: use assert statements to guard types
2022-12-15 12:55:57 -07:00
Willi Ballenthin
d7548c0b20
Merge pull request #1229 from mandiant/williballenthin-patch-2
...
setup: viv-utils 0.7.7
2022-12-15 12:03:48 +01:00
Willi Ballenthin
f79e16d1a6
Merge branch 'master' of https://github.com/mandiant/capa into williballenthin-patch-2
2022-12-15 10:07:36 +00:00
Willi Ballenthin
ad47ea3bab
Merge pull request #1235 from mandiant/fix/issue-1234
...
stricter mypy checking
2022-12-15 10:54:03 +01:00
Willi Ballenthin
505910edb5
dotnet: remove duplicative validate_has_dotnet helper
2022-12-14 21:28:32 +01:00
Willi Ballenthin
aee0ec8016
features: cleanup mypy checking
2022-12-14 21:22:52 +01:00
Willi Ballenthin
613c185428
tests: fix broken test
2022-12-14 11:51:25 +01:00
Willi Ballenthin
501227f23f
elf: fix missing attribute
2022-12-14 11:14:01 +01:00
Willi Ballenthin
56d075fd32
typing
2022-12-14 11:08:46 +01:00
Willi Ballenthin
9ae908c741
elf: better format attribution declarations
2022-12-14 10:57:27 +01:00
Willi Ballenthin
81500a4d1d
black
2022-12-14 10:48:00 +01:00
Willi Ballenthin
b819033da0
lots of mypy
2022-12-14 10:37:39 +01:00
Willi Ballenthin
35243ef7a6
changelog
2022-12-13 13:23:46 +00:00
Willi Ballenthin
655c45d43f
Merge pull request #1226 from mandiant/dependabot/pip/pycodestyle-2.10.0
...
build(deps-dev): bump pycodestyle from 2.9.1 to 2.10.0
2022-12-13 14:15:58 +01:00
Willi Ballenthin
34c4809f68
Merge pull request #1228 from mandiant/dependabot/pip/pyinstaller-5.7.0
...
build(deps-dev): bump pyinstaller from 5.5 to 5.7.0
2022-12-13 14:15:46 +01:00
dependabot[bot]
f9b6800831
build(deps-dev): bump pycodestyle from 2.9.1 to 2.10.0
...
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle ) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases )
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt )
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.9.1...2.10.0 )
---
updated-dependencies:
- dependency-name: pycodestyle
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-13 13:15:33 +00:00
Willi Ballenthin
b5254e3662
Merge pull request #1227 from mandiant/dependabot/pip/mypy-0.991
...
build(deps-dev): bump mypy from 0.982 to 0.991
2022-12-13 14:15:07 +01:00
Willi Ballenthin
148cb71839
Merge pull request #1225 from mandiant/dependabot/pip/black-22.12.0
...
build(deps-dev): bump black from 22.10.0 to 22.12.0
2022-12-13 14:14:23 +01:00
Willi Ballenthin
62700ca5d1
setup: bump viv-utils to 0.7.7 for py3.11 support
2022-12-13 14:07:51 +01:00
Willi Ballenthin
b1d6fcd6c8
mypy
2022-12-13 13:20:24 +01:00
Willi Ballenthin
8afebc1f17
ci: mypy: enable --check-untyped-defs
2022-12-13 13:20:01 +01:00
Mike Hunhoff
447cd95bc5
ida: add support for COFF and extern functions ( #1223 )
2022-12-12 16:36:44 -07:00
Willi Ballenthin
5224380947
setup: viv-utils 0.7.6
...
closes #1192
2022-12-12 18:02:07 +01:00
Moritz
7aeb685412
Merge pull request #1224 from mandiant/williballenthin-patch-2
...
tests: os: fix test
2022-12-12 16:43:58 +01:00
Capa Bot
b6911f8ad2
Sync capa rules submodule
2022-12-12 14:39:26 +00:00
dependabot[bot]
a7d06275c1
build(deps-dev): bump pyinstaller from 5.5 to 5.7.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.5 to 5.7.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.5...v5.7.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-12 14:02:58 +00:00
dependabot[bot]
d581eefcdf
build(deps-dev): bump mypy from 0.982 to 0.991
...
Bumps [mypy](https://github.com/python/mypy ) from 0.982 to 0.991.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.982...v0.991 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-12 14:02:53 +00:00
dependabot[bot]
47f58162c5
build(deps-dev): bump black from 22.10.0 to 22.12.0
...
Bumps [black](https://github.com/psf/black ) from 22.10.0 to 22.12.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.10.0...22.12.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-12 14:02:41 +00:00
Willi Ballenthin
ee72ed4b53
tests: os: fix test
2022-12-12 14:06:17 +01:00
Capa Bot
5cd7f33d00
Sync capa-testfiles submodule
2022-12-12 12:29:44 +00:00
Willi Ballenthin
d6674c7548
Merge pull request #1222 from mandiant/fix/issue-1221
...
elf: better detect linux ELF files
2022-12-12 13:28:59 +01:00
Capa Bot
a46d7b3262
Sync capa-testfiles submodule
2022-12-12 12:18:01 +00:00
Willi Ballenthin
0f902124d1
elf: reduce logging verbosity
2022-12-12 11:43:48 +01:00
Willi Ballenthin
d4a218e268
elf: os: bug fixes
2022-12-12 11:41:01 +01:00
Willi Ballenthin
22bef146f8
tests: add OS detection tests
2022-12-12 11:40:43 +01:00
Willi Ballenthin
b26ed47ab8
tests: add OS detection tests
2022-12-12 11:40:32 +01:00
Willi Ballenthin
7ba08edffa
changelog
2022-12-09 16:09:41 +01:00
Willi Ballenthin
c958a6a286
elf: black
2022-12-09 16:07:46 +01:00
William Ballenthin
1583fedba2
mypy
2022-12-09 17:34:44 +01:00
William Ballenthin
307a6fad4f
elf: os: detect via so dependencies
2022-12-09 14:31:03 +01:00
William Ballenthin
958d5bcc6a
elf: refactor OS detection
2022-12-09 12:56:09 +01:00
William Ballenthin
c5a9aa21bf
wip: elf: better detect linux ELF files
2022-12-08 21:33:57 +01:00
Willi Ballenthin
13b5d7c179
Merge pull request #1220 from mandiant/disable-smda-tests
...
skip smda tests until we remove the backend
2022-12-08 12:07:16 +01:00
Capa Bot
bd84ee83a5
Sync capa rules submodule
2022-12-07 19:10:53 +00:00
mr-tz
97f633312f
skip smda tests until we remove the backend
2022-12-07 16:44:52 +01:00
Willi Ballenthin
b290690b19
Merge pull request #1216 from mandiant/fix/issue-1215
...
add missing vverbose feature renderers
2022-12-07 15:12:10 +01:00
Willi Ballenthin
fc57ed76a0
Merge pull request #1218 from mandiant/fix/issue-1194
...
small explorer fixes
2022-12-07 15:11:02 +01:00
Willi Ballenthin
a6fdb71178
utils: use a single hex() implementation
2022-12-07 14:09:37 +00:00
Willi Ballenthin
fe2f668306
CHANGELOG
2022-12-07 13:41:10 +00:00
Willi Ballenthin
45d007fa9a
explorer: fix UnboundLocalError
...
closes #1217
2022-12-07 13:39:55 +00:00
Willi Ballenthin
662ec11031
explorer: accept only plaintext to rule window
...
closes #1194
2022-12-07 13:38:50 +00:00
Willi Ballenthin
1d8a3486cd
vverbose: prefer isinstance checks over strings
...
which also makes mypy happier
2022-12-07 13:14:05 +00:00
Willi Ballenthin
c195afa0b3
explorer: improve rendering of operand number/offsets
2022-12-07 13:07:24 +00:00
Willi Ballenthin
63e0d9b3f3
vverbose: render offer and operand number/offset features
...
closes #1215
2022-12-07 12:59:37 +00:00
Willi Ballenthin
659cbedc3c
vverbose: dont show offset for format
2022-12-07 12:59:21 +00:00
Willi Ballenthin
0ebba2cd15
vverbose: guard against rendering basic blocks
2022-12-07 12:58:55 +00:00
Willi Ballenthin
1f091a4ccd
tests: add tests demonstrating vverbose feature rendering
2022-12-07 12:58:10 +00:00
Willi Ballenthin
d1aafa3764
vverbose: render offset
...
closes #1215
2022-12-07 11:52:41 +00:00
Willi Ballenthin
faefe41ad5
Merge pull request #1214 from mandiant/fix/pylint-fixes
...
pylint fixes
2022-12-07 12:41:57 +01:00
Willi Ballenthin
473d0daf58
render: pylint
2022-12-07 11:41:05 +00:00
Willi Ballenthin
a10abfebde
main: pylint
2022-12-06 16:23:10 +00:00
Willi Ballenthin
78172b5f5b
rules: pylint
2022-12-06 16:06:08 +00:00
Willi Ballenthin
1caeb248ca
pylint: fix old-style super calls
2022-12-06 16:02:21 +00:00
Willi Ballenthin
8527d02dc8
pylint fixes
2022-12-06 15:37:31 +00:00
Willi Ballenthin
0e73f26e88
CHANGELOG
2022-12-06 15:34:22 +00:00
Willi Ballenthin
ed24db4460
extractors: remove SMDA backend
...
closes #1210
closes #1062
2022-12-06 15:33:17 +00:00
Willi Ballenthin
127886144b
Merge pull request #1209 from mandiant/williballenthin-patch-3
...
import-to-ida: use other md5 function
2022-12-06 13:07:35 +01:00
Willi Ballenthin
c83877ec74
mypy: ignore ida_nalt
2022-12-06 12:06:07 +00:00
Willi Ballenthin
8d6fcd9939
Merge pull request #1208 from mandiant/williballenthin-patch-2
...
import-to-ida: fix append comment
2022-12-06 13:03:55 +01:00
Willi Ballenthin
1dc5e40308
Merge pull request #1206 from mandiant/dependabot/pip/termcolor-2.1.1
...
build(deps): bump termcolor from 2.0.1 to 2.1.1
2022-12-06 12:58:04 +01:00
Willi Ballenthin
cc832d26aa
import-to-ida: fix imports
2022-12-05 15:27:22 +00:00
Willi Ballenthin
9fcb70387d
import-to-ida: use other md5 function
...
ref #1204
2022-12-05 16:17:11 +01:00
Willi Ballenthin
236ad883d4
changelog
2022-12-05 15:13:16 +00:00
Willi Ballenthin
12c9c466c7
import-to-ida: fix append comment
...
ref #1204
2022-12-05 16:02:40 +01:00
dependabot[bot]
5a1cb0e48d
build(deps): bump termcolor from 2.0.1 to 2.1.1
...
Bumps [termcolor](https://github.com/termcolor/termcolor ) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/termcolor/termcolor/releases )
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md )
- [Commits](https://github.com/termcolor/termcolor/compare/2.0.1...2.1.1 )
---
updated-dependencies:
- dependency-name: termcolor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-28 14:03:10 +00:00
Capa Bot
5196caabb5
Sync capa rules submodule
2022-11-22 12:35:27 +00:00
Capa Bot
0f99592903
Sync capa-testfiles submodule
2022-11-08 19:58:11 +00:00
Capa Bot
56e9645700
Sync capa rules submodule
2022-10-24 18:28:08 +00:00
Capa Bot
0d8c6cc0fd
Sync capa rules submodule
2022-10-13 14:37:09 +00:00
Mike Hunhoff
20c7949be3
dotnet: emit features from newobj instruction ( #1186 )
2022-10-13 08:35:29 -06:00
Willi Ballenthin
7cc6773bf8
Merge pull request #1185 from mandiant/dependabot/pip/pyinstaller-5.5
...
build(deps-dev): bump pyinstaller from 5.4.1 to 5.5
2022-10-11 15:56:11 +02:00
Willi Ballenthin
055700a5d1
Merge pull request #1182 from mandiant/dependabot/pip/mypy-0.982
...
build(deps-dev): bump mypy from 0.971 to 0.982
2022-10-11 15:55:37 +02:00
Willi Ballenthin
85b14075cd
address: explicitly resolve hash from int
2022-10-11 09:47:25 +00:00
Willi Ballenthin
149c3989f1
Merge pull request #1178 from mandiant/dependabot/pip/pytest-cov-4.0.0
...
build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
2022-10-11 10:58:49 +02:00
dependabot[bot]
3b5a34f331
build(deps-dev): bump mypy from 0.971 to 0.982
...
Bumps [mypy](https://github.com/python/mypy ) from 0.971 to 0.982.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.971...v0.982 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 06:18:59 +00:00
dependabot[bot]
b4fe2d8592
build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases )
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 06:18:47 +00:00
Moritz
67d06c73e0
Merge pull request #1183 from mandiant/dependabot/pip/types-tabulate-0.9.0.0
...
build(deps-dev): bump types-tabulate from 0.8.9 to 0.9.0.0
2022-10-11 08:18:21 +02:00
dependabot[bot]
81a942d7a1
build(deps-dev): bump pyinstaller from 5.4.1 to 5.5
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.4.1 to 5.5.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.4.1...v5.5 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 06:18:13 +00:00
Moritz
521473cd81
Merge pull request #1184 from mandiant/dependabot/pip/black-22.10.0
...
build(deps-dev): bump black from 22.8.0 to 22.10.0
2022-10-11 08:18:02 +02:00
Moritz
676d422511
Merge pull request #1181 from mandiant/dependabot/pip/tabulate-0.9.0
...
build(deps): bump tabulate from 0.8.9 to 0.9.0
2022-10-11 08:17:45 +02:00
dependabot[bot]
f2dbb531fe
build(deps-dev): bump black from 22.8.0 to 22.10.0
...
Bumps [black](https://github.com/psf/black ) from 22.8.0 to 22.10.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.8.0...22.10.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 15:09:31 +00:00
dependabot[bot]
84fce86152
build(deps-dev): bump types-tabulate from 0.8.9 to 0.9.0.0
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.8.9 to 0.9.0.0.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 15:09:24 +00:00
dependabot[bot]
8307c66256
build(deps): bump tabulate from 0.8.9 to 0.9.0
...
Bumps [tabulate](https://github.com/astanin/python-tabulate ) from 0.8.9 to 0.9.0.
- [Release notes](https://github.com/astanin/python-tabulate/releases )
- [Changelog](https://github.com/astanin/python-tabulate/blob/master/CHANGELOG )
- [Commits](https://github.com/astanin/python-tabulate/compare/v0.8.9...v0.9.0 )
---
updated-dependencies:
- dependency-name: tabulate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 15:09:17 +00:00
Capa Bot
ac71676d79
Sync capa rules submodule
2022-10-07 15:40:27 +00:00
Capa Bot
70e6d83259
Sync capa rules submodule
2022-10-03 15:28:44 +00:00
Capa Bot
3bbac4a35f
Sync capa rules submodule
2022-10-03 15:17:03 +00:00
Capa Bot
87455ed6dd
Sync capa-testfiles submodule
2022-09-20 19:34:29 +00:00
Mike Hunhoff
e1735f0a5e
update pydantic models to guarantee type coercion ( #1176 )
...
* add CompoundStatement to fix Pydantic typing bug
* explorer: fix #1151
* explorer: support rendering operand number/offset
2022-09-20 08:38:19 -06:00
Capa Bot
8521f85742
Sync capa-testfiles submodule
2022-09-19 14:26:32 +00:00
Moritz
b1b15e2eef
fix: do not overwrite __version__ ( #1170 )
2022-09-14 14:45:58 -06:00
Moritz
36e304839b
Merge pull request #1173 from mandiant/dependabot/pip/pydantic-1.10.2
...
build(deps): bump pydantic from 1.10.1 to 1.10.2
2022-09-14 17:40:21 +02:00
Moritz
5a14a6d0cc
Merge pull request #1172 from mandiant/dependabot/pip/termcolor-2.0.1
...
build(deps): bump termcolor from 1.1.0 to 2.0.1
2022-09-14 17:40:07 +02:00
Moritz
85901893a0
Merge pull request #1171 from mandiant/dependabot/pip/pyinstaller-5.4.1
...
build(deps-dev): bump pyinstaller from 5.3 to 5.4.1
2022-09-14 17:39:55 +02:00
dependabot[bot]
49d7f2a88f
build(deps): bump pydantic from 1.10.1 to 1.10.2
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.1...v1.10.2 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 14:17:04 +00:00
dependabot[bot]
8d8c5f99c1
build(deps): bump termcolor from 1.1.0 to 2.0.1
...
Bumps [termcolor](https://github.com/termcolor/termcolor ) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/termcolor/termcolor/releases )
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md )
- [Commits](https://github.com/termcolor/termcolor/compare/1.1.0...2.0.1 )
---
updated-dependencies:
- dependency-name: termcolor
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 14:17:00 +00:00
dependabot[bot]
4069515cad
build(deps-dev): bump pyinstaller from 5.3 to 5.4.1
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.3 to 5.4.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.3...v5.4.1 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 14:16:54 +00:00
Mike Hunhoff
3c1cd67f60
dotnet: support property feature extraction ( #1168 )
2022-09-09 12:09:41 -06:00
Capa Bot
580948e46b
Sync capa rules submodule
2022-09-09 11:21:24 +00:00
Capa Bot
4ffd7b89f3
Sync capa rules submodule
2022-09-09 11:19:59 +00:00
Moritz
2441c18a85
fix: use int instead of Token to decouple extractor and features ( #1158 )
2022-09-08 11:09:17 -06:00
Moritz
ee89fa45b6
Update build.yml ( #1157 )
2022-09-08 10:58:29 -06:00
Moritz
3976e5858d
feat: verify rule metadata format on load ( #1160 )
2022-09-08 10:56:59 -06:00
Capa Bot
4e542f9cff
Sync capa rules submodule
2022-09-08 08:42:53 +00:00
Moritz
ce1ecfad4d
Merge pull request #1164 from mandiant/dependabot/pip/psutil-5.9.2
...
build(deps-dev): bump psutil from 5.9.1 to 5.9.2
2022-09-06 17:40:59 +02:00
dependabot[bot]
d9d5aaffa1
build(deps-dev): bump psutil from 5.9.1 to 5.9.2
...
Bumps [psutil](https://github.com/giampaolo/psutil ) from 5.9.1 to 5.9.2.
- [Release notes](https://github.com/giampaolo/psutil/releases )
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.1...release-5.9.2 )
---
updated-dependencies:
- dependency-name: psutil
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-06 06:53:53 +00:00
Moritz
21809350f7
Merge pull request #1166 from mandiant/dependabot/pip/pydantic-1.10.1
...
build(deps): bump pydantic from 1.9.2 to 1.10.1
2022-09-06 08:53:46 +02:00
Moritz
418b063067
Merge pull request #1165 from mandiant/dependabot/pip/tqdm-4.64.1
...
build(deps): bump tqdm from 4.64.0 to 4.64.1
2022-09-06 08:53:30 +02:00
Moritz
dcf838872c
Merge pull request #1163 from mandiant/dependabot/pip/pytest-7.1.3
...
build(deps-dev): bump pytest from 7.1.2 to 7.1.3
2022-09-06 08:53:07 +02:00
Moritz
456b32e6a8
Merge pull request #1162 from mandiant/dependabot/pip/black-22.8.0
...
build(deps-dev): bump black from 22.6.0 to 22.8.0
2022-09-06 08:52:51 +02:00
dependabot[bot]
acad9c5570
build(deps): bump pydantic from 1.9.2 to 1.10.1
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.9.2 to 1.10.1.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.9.2...v1.10.1 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 16:32:53 +00:00
dependabot[bot]
4b2cfb4825
build(deps): bump tqdm from 4.64.0 to 4.64.1
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.64.0 to 4.64.1.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.64.0...v4.64.1 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 16:32:49 +00:00
dependabot[bot]
7733562587
build(deps-dev): bump pytest from 7.1.2 to 7.1.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.1.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 16:32:34 +00:00
dependabot[bot]
eaa70fa80f
build(deps-dev): bump black from 22.6.0 to 22.8.0
...
Bumps [black](https://github.com/psf/black ) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 16:32:26 +00:00
Capa Bot
44843ea977
Sync capa rules submodule
2022-08-29 16:50:20 +00:00
Capa Bot
cac041b869
Sync capa-testfiles submodule
2022-08-24 10:47:31 +00:00
Moritz
49684e4c25
fix: display instruction items ( #1155 )
...
* fix: display instruction items
* fix: instruction item format
2022-08-23 17:12:51 +02:00
Mike Hunhoff
47268c2344
render: convert feature attributes to aliased dictionary for vverbose ( #1152 )
2022-08-18 12:15:52 -06:00
Moritz
da0a1e7903
Merge pull request #1149 from gdesmar/master
...
Fix maec.malware_category_ov typo in vverbose render
2022-08-18 11:31:40 +02:00
Moritz
eca1582678
Merge pull request #1148 from idiom/master
...
Add Optional attribute to argv property in Metadata model.
2022-08-18 11:31:23 +02:00
gdesmar
2049058b45
render: vverbose, fix maec.malware_category_ov typo
2022-08-16 18:40:51 +00:00
Moritz
c2b5e7116d
Merge pull request #1146 from mandiant/dependabot/pip/dnfile-0.12.0
...
build(deps): bump dnfile from 0.11.0 to 0.12.0
2022-08-16 11:06:15 +02:00
dependabot[bot]
9c1b076a5f
build(deps): bump dnfile from 0.11.0 to 0.12.0
...
Bumps [dnfile](https://github.com/malwarefrank/dnfile ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/malwarefrank/dnfile/releases )
- [Changelog](https://github.com/malwarefrank/dnfile/blob/master/HISTORY.rst )
- [Commits](https://github.com/malwarefrank/dnfile/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: dnfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-16 08:14:55 +00:00
Moritz
51f7e10cb6
Merge pull request #1145 from mandiant/dependabot/pip/pyelftools-0.29
...
build(deps): bump pyelftools from 0.28 to 0.29
2022-08-16 10:14:24 +02:00
Moritz
25ad6446ba
Merge pull request #1144 from mandiant/dependabot/pip/pydantic-1.9.2
...
build(deps): bump pydantic from 1.9.1 to 1.9.2
2022-08-16 10:14:04 +02:00
idiom
1af5255501
Add Optional attribute to argv property in Metadata model. This resovles issue where a ValidationError is raised when argv is not in the passed matedata and set to None in from_capa.
2022-08-15 15:55:19 -04:00
dependabot[bot]
49d61db8f9
build(deps): bump pyelftools from 0.28 to 0.29
...
Bumps [pyelftools](https://github.com/eliben/pyelftools ) from 0.28 to 0.29.
- [Release notes](https://github.com/eliben/pyelftools/releases )
- [Changelog](https://github.com/eliben/pyelftools/blob/master/CHANGES )
- [Commits](https://github.com/eliben/pyelftools/compare/v0.28...v0.29 )
---
updated-dependencies:
- dependency-name: pyelftools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-15 14:23:21 +00:00
dependabot[bot]
601471c1e6
build(deps): bump pydantic from 1.9.1 to 1.9.2
...
Bumps [pydantic](https://github.com/samuelcolvin/pydantic ) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/samuelcolvin/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/master/HISTORY.md )
- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.1...v1.9.2 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-15 14:23:17 +00:00
Moritz
3c4141589d
Release v4.0.1 ( #1143 )
...
* update scripts/lint.py to validate rule metadata using pydantic (#1141 )
* doc: v401
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2022-08-15 13:26:39 +02:00
Moritz
c5f768accc
Update document and version set in PyInstaller ( #1140 )
...
* doc: update v4 resources
* tmp
* fix: set version #1136
* format: black
* comment version substring replacement
2022-08-15 11:10:17 +02:00
Capa Bot
2e6671ff91
Sync capa rules submodule
2022-08-15 08:39:57 +00:00
Capa Bot
f4171c32cf
Sync capa-testfiles submodule
2022-08-15 08:31:20 +00:00
Mike Hunhoff
449c64d80b
update scripts/lint.py to validate rule metadata using pydantic ( #1141 )
2022-08-12 08:26:39 -06:00
Capa Bot
735cb57b10
Sync capa rules submodule
2022-08-12 09:29:53 +00:00