Skip to content

Instantly share code, notes, and snippets.

@teixeira0xfffff
Created May 18, 2019 15:14
Show Gist options
  • Save teixeira0xfffff/27fadb318f9801bf6ae1cc1d9d48655c to your computer and use it in GitHub Desktop.
Save teixeira0xfffff/27fadb318f9801bf6ae1cc1d9d48655c to your computer and use it in GitHub Desktop.
Brazilian .LNK banking trojan
/*
YARA Rule Set
Author: Ialle Teixeira
Date: 2019-05-18
Identifier: .LNK banking trojan
*/
rule Dil_Peticao_99845650 {
meta:
description = "reported by @DefesaDigital - file Dil_Peticao_99845650.lnk"
reference = "https://twitter.com/Defesa_Digital"
date = "2019-05-18"
hash1 = "cd62cda839c43aa67189ac9135884905fda0ba0aa17bf239a21db7f957d54e64"
strings:
$x1 = " /V /C \"set x" wide
$x2 = "C:\\Windows\\System32\\cmd.exe" fullword ascii
condition:
uint16(0) == 0x004c and filesize < 10KB and
2 of ($x*) and all of them
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment