Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Malware-Misc-RE/2020-09-01-crime-win32-ransom-avaddon-vk.yar
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (26 sloc)
2.94 KB
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
| /* | |
| _____ .___ .___ __________ | |
| / _ \___ _______ __| _/__| _/____ ____ \______ \_____ ____ __________ _______ _ _______ _______ ____ | |
| / /_\ \ \/ /\__ \ / __ |/ __ |/ _ \ / \ | _/\__ \ / \ / ___/ _ \ / \ \/ \/ /\__ \\_ __ \_/ __ \ | |
| / | \ / / __ \_/ /_/ / /_/ ( <_> ) | \ | | \ / __ \| | \\___ ( <_> ) Y Y \ / / __ \| | \/\ ___/ | |
| \____|__ /\_/ (____ /\____ \____ |\____/|___| / |____|_ /(____ /___| /____ >____/|__|_| /\/\_/ (____ /__| \___ > | |
| \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ | |
| */ | |
| rule crime_win32_ransom_avaddon_1 { | |
| meta: | |
| description = "Detects Avaddon ransomware " | |
| author = "@VK_Intel" | |
| reference = "https://twitter.com/VK_Intel/status/1300944441390370819" | |
| tlp = "white" | |
| date = "2020-09-01" | |
| strings: | |
| $str0 = "rcid" | |
| $str1 = "hdd" | |
| $str2 = "lang" | |
| $cfg_parser = { 55 8b ec 6a ff 68 74 d8 46 00 64 ?? ?? ?? ?? ?? 50 81 ec 3c 02 00 00 a1 ?? ?? ?? ?? 33 c5 89 ?? ?? 56 57 50 8d ?? ?? 64 ?? ?? ?? ?? ?? 8b f1 89 ?? ?? ?? ?? ?? c7 ?? ?? ?? ?? ?? ?? ?? ?? ?? c7 ?? ?? ?? ?? ?? ?? ?? ?? ?? c7 ?? ?? ?? ?? ?? ?? ?? ?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