Skip to content

Commit

Permalink
Merge branch 'master' into dynamic-feature-extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz committed Nov 29, 2023
2 parents 3c159a1 + 7db40c3 commit 73ea822
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 16 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PIP audit

on:
schedule:
- cron: '0 8 * * 1'

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
python-version: ["3.11"]

steps:
- name: Check out repository code
uses: actions/checkout@v4

- uses: pypa/[email protected]
with:
inputs: .
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- update freeze format to v3, adding support for dynamic analysis @williballenthin
- extractor: ignore DLL name for api features #1815 @mr-tz

### New Rules (19)
### New Rules (34)

- nursery/get-ntoskrnl-base-address @mr-tz
- host-interaction/network/connectivity/set-tcp-connection-state @johnk3r
Expand All @@ -43,6 +43,20 @@
- host-interaction/process/inject/allocate-or-change-rwx-memory @mr-tz
- lib/allocate-or-change-rw-memory [email protected] @mr-tz
- lib/change-memory-protection @mr-tz
- anti-analysis/anti-av/patch-antimalware-scan-interface-function [email protected]
- executable/dotnet-singlefile/bundled-with-dotnet-single-file-deployment [email protected]
- internal/limitation/file/internal-dotnet-single-file-deployment-limitation [email protected]
- data-manipulation/encoding/encode-data-using-add-xor-sub-operations [email protected]
- nursery/access-camera-in-dotnet-on-android [email protected]
- nursery/capture-microphone-audio-in-dotnet-on-android [email protected]
- nursery/capture-screenshot-in-dotnet-on-android [email protected]
- nursery/check-for-incoming-call-in-dotnet-on-android [email protected]
- nursery/check-for-outgoing-call-in-dotnet-on-android [email protected]
- nursery/compiled-with-xamarin [email protected]
- nursery/get-os-version-in-dotnet-on-android [email protected]
- data-manipulation/compression/create-cabinet-on-windows [email protected] [email protected]
- data-manipulation/compression/extract-cabinet-on-windows [email protected]
- lib/create-file-decompression-interface-context-on-windows [email protected]
-

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flare-capa)](https://pypi.org/project/flare-capa)
[![Last release](https://img.shields.io/github/v/release/mandiant/capa)](https://github.com/mandiant/capa/releases)
[![Number of rules](https://img.shields.io/badge/rules-847-blue.svg)](https://github.com/mandiant/capa-rules)
[![Number of rules](https://img.shields.io/badge/rules-859-blue.svg)](https://github.com/mandiant/capa-rules)
[![CI status](https://github.com/mandiant/capa/workflows/CI/badge.svg)](https://github.com/mandiant/capa/actions?query=workflow%3ACI+event%3Apush+branch%3Amaster)
[![Downloads](https://img.shields.io/github/downloads/mandiant/capa/total)](https://github.com/mandiant/capa/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE.txt)
Expand Down
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ dependencies = [
"tabulate==0.9.0",
"colorama==0.4.6",
"termcolor==2.3.0",
"wcwidth==0.2.8",
"wcwidth==0.2.12",
"ida-settings==2.1.0",
"viv-utils[flirt]==0.7.9",
"halo==0.0.31",
"networkx==3.1",
"ruamel.yaml==0.17.35",
"ruamel.yaml==0.18.5",
"vivisect==1.1.1",
"pefile==2023.2.7",
"pyelftools==0.30",
"dnfile==0.14.1",
"dncil==1.0.2",
"pydantic==2.1.1",
"pydantic==2.4.0",
"protobuf==4.23.4",
]
dynamic = ["version"]
Expand All @@ -62,25 +62,25 @@ packages = ["capa"]
[project.optional-dependencies]
dev = [
"pre-commit==3.5.0",
"pytest==7.4.2",
"pytest==7.4.3",
"pytest-sugar==0.9.7",
"pytest-instafail==0.5.0",
"pytest-cov==4.1.0",
"flake8==6.1.0",
"flake8-bugbear==23.9.16",
"flake8-encodings==0.5.0.post1",
"flake8-bugbear==23.11.26",
"flake8-encodings==0.5.1",
"flake8-comprehensions==3.14.0",
"flake8-logging-format==0.9.0",
"flake8-no-implicit-concat==0.3.4",
"flake8-no-implicit-concat==0.3.5",
"flake8-print==5.0.0",
"flake8-todos==0.3.0",
"flake8-simplify==0.21.0",
"flake8-use-pathlib==0.3.0",
"flake8-copyright==0.2.4",
"ruff==0.0.291",
"black==23.9.1",
"ruff==0.1.6",
"black==23.11.0",
"isort==5.11.4",
"mypy==1.6.0",
"mypy==1.7.1",
"psutil==5.9.2",
"stix2==3.0.1",
"requests==2.31.0",
Expand All @@ -92,12 +92,12 @@ dev = [
"types-tabulate==0.9.0.3",
"types-termcolor==1.1.4",
"types-psutil==5.8.23",
"types_requests==2.31.0.2",
"types_requests==2.31.0.10",
"types-protobuf==4.23.0.3",
]
build = [
"pyinstaller==6.1.0",
"setuptools==68.0.0",
"pyinstaller==6.2.0",
"setuptools==69.0.2",
"build==1.0.3"
]

Expand Down
2 changes: 1 addition & 1 deletion rules
Submodule rules updated 28 files
+1 −1 README.md
+26 −0 anti-analysis/anti-av/patch-antimalware-scan-interface-function.yml
+2 −9 anti-analysis/anti-av/patch-event-tracing-for-windows-function.yml
+2 −2 communication/socket/create-vmci-socket.yml
+2 −0 communication/socket/tcp/create-tcp-socket.yml
+26 −0 data-manipulation/compression/create-cabinet-on-windows.yml
+23 −0 data-manipulation/compression/extract-cabinet-on-windows.yml
+4 −3 data-manipulation/encoding/base64/decode-data-using-base64-via-winapi.yml
+13 −1 data-manipulation/encoding/base64/encode-data-using-base64-via-winapi.yml
+25 −0 data-manipulation/encoding/encode-data-using-add-xor-sub-operations.yml
+0 −0 data-manipulation/encryption/rc4/encrypt-data-using-rc4-via-systemfunction032.yml
+265 −95 doc/format.md
+21 −0 executable/dotnet-singlefile/bundled-with-dotnet-single-file-deployment.yml
+1 −1 executable/dotnet-singlefile/packaged-as-single-file-dotnet-application.yml
+21 −0 internal/limitation/file/internal-dotnet-single-file-deployment-limitation.yml
+2 −1 internal/limitation/file/internal-packer-file-limitation.yml
+4 −2 lib/create-file-compression-interface-context-on-windows.yml
+16 −0 lib/create-file-decompression-interface-context-on-windows.yml
+2 −2 malware-family/plugx/match-known-plugx-module.yml
+12 −0 nursery/access-camera-in-dotnet-on-android.yml
+0 −14 nursery/add-file-to-cabinet-file.yml
+15 −0 nursery/capture-microphone-audio-in-dotnet-on-android.yml
+12 −0 nursery/capture-screenshot-in-dotnet-on-android.yml
+14 −0 nursery/check-for-incoming-call-in-dotnet-on-android.yml
+13 −0 nursery/check-for-outgoing-call-in-dotnet-on-android.yml
+12 −0 nursery/compiled-with-xamarin.yml
+0 −15 nursery/flush-cabinet-file.yml
+12 −0 nursery/get-os-version-in-dotnet-on-android.yml

0 comments on commit 73ea822

Please sign in to comment.