Commit ed975485 by Marc Rivero López Committed by GitHub

Update MALW_Elex.yar

parent d767fcc5
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license. This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license.
*/ */
import "pe" import "pe"
rule Trj_Elex_Installer_NSIS {
rule Trj_Elex_Installer_NSIS
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex Installer NSIS" description = "Elex Installer NSIS"
...@@ -15,7 +19,10 @@ rule Trj_Elex_Installer_NSIS { ...@@ -15,7 +19,10 @@ rule Trj_Elex_Installer_NSIS {
condition: condition:
($mz at 0) and ($str1 at 0xA008) and ($str2 at 0x1c8700) ($mz at 0) and ($str1 at 0xA008) and ($str2 at 0x1c8700)
} }
rule Trj_Elex_Installer {
rule Trj_Elex_Installer
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex Installer" description = "Elex Installer"
...@@ -28,7 +35,10 @@ rule Trj_Elex_Installer { ...@@ -28,7 +35,10 @@ rule Trj_Elex_Installer {
condition: condition:
($mz at 0) and ($str1) and ($str2) and ($str3) ($mz at 0) and ($str1) and ($str2) and ($str3)
} }
rule Trj_Elex_Service32 {
rule Trj_Elex_Service32
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex Service 32 bits" description = "Elex Service 32 bits"
...@@ -41,7 +51,10 @@ rule Trj_Elex_Service32 { ...@@ -41,7 +51,10 @@ rule Trj_Elex_Service32 {
condition: condition:
(pe.machine == pe.MACHINE_I386) and ($mz at 0) and ($str1) and ($str2) and ($str3) (pe.machine == pe.MACHINE_I386) and ($mz at 0) and ($str1) and ($str2) and ($str3)
} }
rule Trj_Elex_Service64 {
rule Trj_Elex_Service64
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex Service 64 bits" description = "Elex Service 64 bits"
...@@ -54,7 +67,10 @@ rule Trj_Elex_Service64 { ...@@ -54,7 +67,10 @@ rule Trj_Elex_Service64 {
condition: condition:
(pe.machine == pe.MACHINE_AMD64) and ($mz at 0) and ($str1) and ($str2) and ($str3) (pe.machine == pe.MACHINE_AMD64) and ($mz at 0) and ($str1) and ($str2) and ($str3)
} }
rule Trj_Elex_Dll32 {
rule Trj_Elex_Dll32
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex DLL 32 bits" description = "Elex DLL 32 bits"
...@@ -66,7 +82,10 @@ rule Trj_Elex_Dll32 { ...@@ -66,7 +82,10 @@ rule Trj_Elex_Dll32 {
condition: condition:
(pe.machine == pe.MACHINE_I386) and (pe.characteristics & pe.DLL) and ($mz at 0) and ($str1) and ($str2) (pe.machine == pe.MACHINE_I386) and (pe.characteristics & pe.DLL) and ($mz at 0) and ($str1) and ($str2)
} }
rule Trj_Elex_Dll64 {
rule Trj_Elex_Dll64
{
meta: meta:
author = "Centro Criptológico Nacional (CCN)" author = "Centro Criptológico Nacional (CCN)"
description = "Elex DLL 64 bits" description = "Elex DLL 64 bits"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment