Skip to content

Instantly share code, notes, and snippets.

@brkalbyrk
Created July 10, 2024 21:58
Show Gist options
  • Select an option

  • Save brkalbyrk/7db7f4fc8f740d3615b90c16900e00cf to your computer and use it in GitHub Desktop.

Select an option

Save brkalbyrk/7db7f4fc8f740d3615b90c16900e00cf to your computer and use it in GitHub Desktop.
This rule detects files compiled by the V8 Javascript engine.
import "pe"
rule INFO_V8_Javascript_Engine_Jul_11 : INFO JS COMPILER {
meta:
description = "This rule detects files compiled by the V8 Javascript engine."
author = "@brkalbyrk7"
date = "2024-07-10"
sharing = "TLP:WHITE"
tags = "info,javascript,compiler"
reference = "https://github.com/v8/v8"
os = "multi"
category = "Info"
strings:
$mlin1 = "_ZN2v88internal" wide ascii
$mlin2 = "_ZNK2v88internal" wide ascii
$mlin3 = "_ZNSt8_Rb_tree" wide ascii
$mlin4 = "V8_TORQUH" wide ascii
$mlin5 = "_ZTVN2v88internal" wide ascii
$mlin6 = "_ZN2v84base" wide ascii
condition:
uint16(0x02) == 0xC0DE or pe.exports(/internal@v8@@@/) or (2 of ( $mlin* ) )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment