Files
capa-rules/nursery/encrypt-or-decrypt-data-via-bcrypt.yml
Willi BallenthinandMike Hunhoff c1d20764ad 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 <[email protected]>

* Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/get-geographical-location.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/file-managers/gather-classicftp-information.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/database/wmi/reference-wmi-statements.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/database/sql/reference-sql-statements.yml

Co-authored-by: Mike Hunhoff <[email protected]>

---------

Co-authored-by: Mike Hunhoff <[email protected]>
2025-01-29 10:27:13 +01:00

28 lines
764 B
YAML

rule:
meta:
name: encrypt or decrypt data via BCrypt
namespace: data-manipulation/encryption
authors:
- [email protected]
scopes:
static: function
dynamic: span of calls
att&ck:
- Defense Evasion::Obfuscated Files or Information [T1027]
mbc:
- Cryptography::Decrypt Data [C0031]
- Cryptography::Encrypt Data [C0027]
features:
- and:
- or:
- api: BCryptDecrypt
- api: BCryptEncrypt
- optional:
- api: BCryptOpenAlgorithmProvider
- api: BCryptCloseAlgorithmProvider
- api: BCryptImportKey
- api: BCryptImportKeyPair
- api: BCryptGenerateKeyPair
- api: BCryptGenerateSymmetricKey
- api: BCryptDestroyKey