Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rules
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
rules
Commits
38b81fe8
Commit
38b81fe8
authored
Mar 07, 2017
by
mmorenog
Committed by
GitHub
Mar 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create RAT_PolishBankRAT.yar
parent
f568367c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
RAT_PolishBankRAT.yar
malware/RAT_PolishBankRAT.yar
+63
-0
No files found.
malware/RAT_PolishBankRAT.yar
0 → 100644
View file @
38b81fe8
rule PolishBankRAT-srservice_xorloop {
meta:
author = “Booz Allen Hamilton Dark Labs”
description = “Finds the custom xor decode loop for <PolishBankRAT-srservice>”
strings:
$loop = { 48 8B CD E8 60 FF FF FF 48 FF C3 32 44 1E FF 48 FF CF 88 43 FF }
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and $loop
}
rule PolishBankRAT-fdsvc_xor_loop {
meta:
author = “Booz Allen Hamilton Dark Labs”
description = “Finds the custom xor decode loop for <PolishBankRAT-fdsvc>”
strings:
$loop = {0F B6 42 FF 48 8D 52 FF 30 42 01 FF CF 75 F1}
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and $loop
}
rule PolishBankRAT-fdsvc_decode2 {
meta:
author = “Booz Allen Hamilton Dark Labs”
description = “Find a constant used as part of a payload decoding function in PolishBankRAT-fdsvc”
strings:
$part1 = {A6 EB 96}
$part2 = {61 B2 E2 EF}
$part3 = {0D CB E8 C4}
$part4 = {5A F1 66 9C}
$part5 = {A4 80 CD 9A}
$part6 = {F1 2F 46 25}
$part7 = {2F DB 16 26}
$part8 = {4B C4 3F 3C}
$str1 = “This program cannot be run in DOS mode”
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and all of them
}
rule decoded_PolishBankRAT-fdsvc_strings {
meta:
author = “Booz Allen Hamilton Dark Labs”
description = “Finds hard coded strings in PolishBankRAT-fdsvc”
strings:
$str1 = “ssylka” wide ascii
$str2 = “ustanavlivat” wide ascii
$str3 = “poluchit” wide ascii
$str4 = “pereslat” wide ascii
$str5 = “derzhat” wide ascii
$str6 = “vykhodit” wide ascii
$str7 = “Nachalo” wide ascii
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and 4 of ($str*)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment