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

Update Arkei.yar Yara Rule #2458

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions data/yara/CAPE/Arkei.yar
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule Arkei
{
meta:
author = "kevoreilly"
author = "kevoreilly, YungBinary"
description = "Arkei Payload"
cape_type = "Arkei Payload"
strings:
Expand All @@ -19,6 +19,32 @@ rule Arkei
$v7 = "files\\cc_" ascii wide
$v8 = "files\\autofill_" ascii wide
$v9 = "files\\cookies_" ascii wide

$loaded_modules = {
64 A1 30 00 00 00
8B 40 0C
8B 40 0C
8B 00
8B 00
8B 40 18
89 45 FC
8B 45 FC
8B E5
5D
C3
}

$language_check = {
FF 15 ?? ?? ?? ??
0F B7 C0
89 45 ??
81 7D ?? 3F 04 ?? ??
7F
}

$ext1 = ".zoo" ascii
$ext2 = ".arc" ascii

condition:
uint16(0) == 0x5A4D and (all of ($string*) or 7 of ($v*))
uint16(0) == 0x5A4D and (($loaded_modules and $language_check and $ext1 and $ext2) or (all of ($string*) or 7 of ($v*)))
}
Loading