-
Notifications
You must be signed in to change notification settings - Fork 159
/
hash-data-using-ripemd128.yml
executable file
·36 lines (36 loc) · 1.41 KB
/
hash-data-using-ripemd128.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
rule:
meta:
name: hash data using RIPEMD128
namespace: data-manipulation/hashing/ripemd128
authors:
- raymond.leong@mandiant.com
scopes:
static: file
dynamic: unsupported
references:
- https://en.wikipedia.org/wiki/RIPEMD-128
features:
- and:
- function:
- and:
- or:
- and:
- description: Magic initialization constants used in RIPEMD-128
- number: 0x67452301 = also used in MD5, SHA1, RIPEMD-128, RIPEMD-256, and RIPEMD-320
- number: 0xEFCDAB89 = also used in MD5, SHA1, RIPEMD-128, RIPEMD-256, and RIPEMD-320
- number: 0x98BADCFE = also used in MD5, SHA1, RIPEMD-128, RIPEMD-256, and RIPEMD-320
- number: 0x10325476 = also used in MD5, SHA1, RIPEMD-128, RIPEMD-256, and RIPEMD-320
- bytes: 01 23 45 67 89 AB CD EF FE DC BA 98 76 54 32 10
- not:
- or:
- number: 0x76543210 = RIPEMD-256 and RIPEMD-320 constant
- number: 0xFEDCBA98 = RIPEMD-256 and RIPEMD-320 constant
- number: 0xC3D2E1F0 = RIPEMD-160, RIPEMD-320, SHA1 constant
- number: 0x3C2D1E0F = RIPEMD-320 constant
- function:
- and:
- description: Magic K-array constants not present in MD5
- number: 0xA953FD4E
- number: 0x50A28BE6
- number: 0x5C4DD124
- number: 0x6D703EF3