Skip to content

Instantly share code, notes, and snippets.

@stvemillertime
Created May 13, 2019 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stvemillertime/1c36532db634c0c4b447640cf37030ed to your computer and use it in GitHub Desktop.
Save stvemillertime/1c36532db634c0c4b447640cf37030ed to your computer and use it in GitHub Desktop.
rule methodology_lnk_with_github
{
meta:
author = "smiller"
version = "1.0"
date = "4/5/2018"
description = "Generic LNK files or docs with LNK and also Github domains, as possible download URL"
reference_hash = "dbd6c4cb1f9b090aec34723000a602af"
strings:
$a01 = "github.com" nocase ascii wide
$a02 = "githubusercontent.com" nocase ascii wide
$header = { 4C 00 00 00 01 14 02 }
condition:
(($header at 0) or ((uint32(0) == 0xE011CFD0) and $header)) and (1 of ($a*))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment