Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mandiant/capa-rules
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.1
Choose a base ref
...
head repository: mandiant/capa-rules
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.0.0
Choose a head ref
  • 17 commits
  • 394 files changed
  • 7 contributors

Commits on Jan 7, 2025

  1. Configuration menu
    Copy the full SHA
    ff9db74 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2025

  1. Add CONTRIBUTING file & update ISSUE TEMPLATES (#980)

    * [ISSUE_TEMPLATE] Update Code of Conduct
    
    Change Code of Conduct by Google's default Code of Conduct, as the used
    linked has been removed from capa for consistency with other Google
    projects.
    
    * [CONTRIBUTING] Add CONTRIBUTING file
    
    Add CONTRIBUTING file with information about CLA and Google's code of
    conduct to follow Google conventions/policies. Include also other
    details to make contributing easier.
    Ana06 authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    1aab323 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2025

  1. New rules: RSA & bigint (#982)

    * Add use-bigint-function
    
    Add new `data-manipulation/encryption/use-bigint-function.yml` rule to
    identify bigint functions as these functions may help reverse engineers
    identifying crypto. Example of bigint functions identified by this rule:
    - `bi_copi`
    - `bi_permanent`
    - `bi_depermant`
    - `bi_free`
    
    Reference:
    - https://github.com/ezhangle/krypton/blob/147d69429bfb03cce7113dca6dba36e77f8a9325/src/bigint.c
    - https://github.com/bnoordhuis/mongrel2/blob/3e9b57d82aeb627be0aebfb346199bfdfd67e530/src/crypto/bigint.c
    
    * Add rsa-encrypt
    
    Add new rule `data-manipulation/encryption/rsa/rsa-encrypt.yml` that
    identifies the RSA encryption implementation from:
    - https://github.com/ezhangle/krypton/blob/147d69429bfb03cce7113dca6dba36e77f8a9325/src/rsa.c#L232
    - https://github.com/bnoordhuis/mongrel2/blob/3e9b57d82aeb627be0aebfb346199bfdfd67e530/src/crypto/rsa.c#L233
    
    Rename current RSA encryption/decryption rules in the nursery to add
    `via WinAPI` to prevent name conflict.
    Ana06 authored Jan 21, 2025
    Configuration menu
    Copy the full SHA
    7085102 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2025

  1. remove duplicate features from some rules (#984)

    * remove duplicate features from some rules
    
    * keep commented hex values to show AfdOpenPacketX structure
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    
    ---------
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    v1bh475u authored Jan 28, 2025
    Configuration menu
    Copy the full SHA
    b4e0c8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e19c20 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. use "span of calls" scope (#973)

    * use sequence scope instead of thread scope for "static: function" rules
    
    * use sequence scope instead of thread scope for "static: basic block" rules
    
    * make runtime linking rules more concise
    
    * doc: describe sequence scope
    
    * rename "sequence" scope to "span of calls" scope
    
    * Update anti-analysis/anti-av/check-for-sandbox-and-av-modules.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    * Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    * Update collection/get-geographical-location.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    * Update collection/file-managers/gather-classicftp-information.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    * Update collection/database/wmi/reference-wmi-statements.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    * Update collection/database/sql/reference-sql-statements.yml
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    
    ---------
    
    Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
    williballenthin and mike-hunhoff authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    c1d2076 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff76d01 View commit details
    Browse the repository at this point in the history
  3. fix scopes from lint errors

    williballenthin authored and Willi Ballenthin committed Jan 29, 2025
    Configuration menu
    Copy the full SHA
    36bf945 View commit details
    Browse the repository at this point in the history
  4. graduate onedrive rule

    closes #943
    williballenthin authored and Willi Ballenthin committed Jan 29, 2025
    Configuration menu
    Copy the full SHA
    0ea3394 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2025

  1. CI error:scope interchanged

    dhruvak001 authored and Willi Ballenthin committed Feb 3, 2025
    Configuration menu
    Copy the full SHA
    fe99a65 View commit details
    Browse the repository at this point in the history
  2. reverting changes

    dhruvak001 authored and Willi Ballenthin committed Feb 3, 2025
    Configuration menu
    Copy the full SHA
    13b6bc0 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2025

  1. remove redundant matches for dynamic scope (#987)

    * remove redundant matches for dynamic scope
    
    * fix lints
    
    * fix lints
    
    * tighten scopes
    mike-hunhoff authored Feb 4, 2025
    Configuration menu
    Copy the full SHA
    75c16e4 View commit details
    Browse the repository at this point in the history
  2. add dotnet limitation rule for dynamic samples (#983)

    * add dotnet limitation rule for dynamic samples
    
    * restructure limitations rules
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    
    * refactor limitation rules to use 'static' namespace
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    
    * update internal .NET file limitation description and name
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    
    ---------
    
    Signed-off-by: vibhatsu <maulikbarot2915@gmail.com>
    v1bh475u authored Feb 4, 2025
    Configuration menu
    Copy the full SHA
    cfd394d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79afc55 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d5e7e2 View commit details
    Browse the repository at this point in the history
  5. #974 (#992)

    dhruvak001 authored Feb 4, 2025
    Configuration menu
    Copy the full SHA
    1468692 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0aa922 View commit details
    Browse the repository at this point in the history
Loading