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
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
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
mr-tz
7cc3ddd4ea
remove typing_extensions Annotated import
2024-10-22 09:38:33 +00:00
mr-tz
2987eeb0ac
update type annotations
...
tmp
2024-10-22 09:38:25 +00:00
mr-tz
f2c329b768
rename ida to idapro module for IDA 9.0
2024-10-09 12:20:38 +00: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
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]
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
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
Willi Ballenthin
01b35e7582
pyproject.toml: bump min python version to 3.8.1
...
fixed #2387
2024-09-23 20:21:50 +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
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
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
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
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
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
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
Moritz
d98c315eb4
Merge branch 'master' into vmray-extractor
2024-08-26 11:31:18 +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]
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
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
Yacine
6ff08aeeaf
Merge branch 'master' into vmray-extractor
2024-08-17 02:15:01 +01: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
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
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
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
Moritz
c0a7f765c5
Merge branch 'master' into vmray-extractor
2024-08-09 13:58:45 +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
Mike Hunhoff
f471386456
vmray: merge upstream and fix conflicts
2024-07-24 10:02:07 -06: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