-
Notifications
You must be signed in to change notification settings - Fork 164
/
encrypt-data-using-xtea.yml
executable file
·38 lines (38 loc) · 1.22 KB
/
encrypt-data-using-xtea.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
rule:
meta:
name: encrypt data using XTEA
namespace: data-manipulation/encryption/xtea
authors:
scopes:
static: function
dynamic: unsupported # requires operand[1].number, characteristic, mnemonic features
att&ck:
- Defense Evasion::Obfuscated Files or Information [T1027]
mbc:
- Defense Evasion::Obfuscated Files or Information::Encryption-Standard Algorithm [E1027.m05]
references:
- https://en.wikipedia.org/wiki/XTEA
examples:
- 4B9EFD882C49EF7525370FFB5197AD86:0x00001E54
- A1451E3108E85769302AD25C74757180:0x00408EE0
features:
- and:
- basic block:
- and:
- instruction:
- mnemonic: shl
- operand[1].number: 0x4
- instruction:
- mnemonic: shr
- operand[1].number: 0x5
- instruction:
- mnemonic: shr
- operand[1].number: 0xB
- instruction:
- mnemonic: and
- operand[1].number: 0x3
- characteristic: nzxor
- or:
- operand[1].number: 0x9E3779B9 = key schedule constant
- operand[1].number: 0x61C88647 = key schedule constant two's complement