Files
2023-08-21 09:10:33 +02:00

25 lines
741 B
YAML

rule:
meta:
name: encrypt data using DPAPI
namespace: data-manipulation/encryption/dpapi
authors:
- william.ballenthin@mandiant.com
- michael.hunhoff@mandiant.com
scopes:
static: function
dynamic: process
att&ck:
- Defense Evasion::Obfuscated Files or Information [T1027]
mbc:
- Cryptography::Encrypt Data [C0027]
examples:
- 6cc148363200798a12091b97a17181a1:0x1400CE9A0
features:
- or:
- api: CryptProtectMemory
- api: CryptUnprotectMemory
- api: crypt32.CryptProtectData
- api: crypt32.CryptUnprotectData
- api: System.Security.Cryptography.ProtectedData::Unprotect
- api: System.Security.Cryptography.ProtectedData::Protect