Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encrypt data using RC4 via SystemFunction032 #825

Merged
merged 7 commits into from
Oct 10, 2023
25 changes: 25 additions & 0 deletions nursery/encrypt-data-using-rc4-via-systemfunction032.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
rule:
meta:
name: encrypt data using RC4 via SystemFunction032
namespace: data-manipulation/encryption/rc4
authors:
- [email protected]
scope: function
att&ck:
- Defense Evasion::Obfuscated Files or Information [T1027]
mbc:
- Defense Evasion::Obfuscated Files or Information::Encryption-Standard Algorithm [E1027.m05]
- Cryptography::Encrypt Data::RC4 [C0027.009]
references:
- https://doxygen.reactos.org/df/d13/sysfunc_8c_source.html
- https://blog.gentilkiwi.com/tag/systemfunction032
williballenthin marked this conversation as resolved.
Show resolved Hide resolved
examples:
- 3BBDF04C25FCD9876733EAA9163B3ED64D81396E7414619758D9376EDF4C103E:0x1000976C # api match
features:
- or:
williballenthin marked this conversation as resolved.
Show resolved Hide resolved
- api: SystemFunction032
williballenthin marked this conversation as resolved.
Show resolved Hide resolved
- and:
- or:
richardweiss80 marked this conversation as resolved.
Show resolved Hide resolved
- string: /advapi32/i
- string: /cryptsp/i
mr-tz marked this conversation as resolved.
Show resolved Hide resolved
- string: "SystemFunction032"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, one other idea: how about an optional: match: link function at runtime on Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome idea, will add and test it

Loading