-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add encode-data-using-add-xor-sub-operations.yml (#800)
* Add encode-data-using-add-xor-sub-operations.yml --------- Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
data-manipulation/encoding/encode-data-using-add-xor-sub-operations.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
rule: | ||
meta: | ||
name: encode data using ADD XOR SUB operations | ||
namespace: data-manipulation/encoding | ||
authors: | ||
- jakub.jozwiak@mandiant.com | ||
description: Data encoding using a sequence of ADD/XOR/SUB (or SUB/XOR/ADD) operations common for PlugX but also used by other malware families. | ||
scope: function | ||
att&ck: | ||
- Defense Evasion::Obfuscated Files or Information [T1027] | ||
mbc: | ||
- Defense Evasion::Obfuscated Files or Information::Encoding-Custom Algorithm [E1027.m03] | ||
examples: | ||
- df814d4b55912e4ba404c62080b3a7eda70a3c6283ea740f8a14a9116d803259:0x1000100F | ||
features: | ||
- and: | ||
- count(basic blocks): 6 or fewer | ||
- basic block: | ||
- and: | ||
- characteristic: tight loop | ||
- characteristic: nzxor | ||
- count(mnemonic(add)): 1 | ||
- count(mnemonic(sub)): 1 |