Skip to content

Instantly share code, notes, and snippets.

@shellcromancer
Created January 19, 2022 04:08
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 shellcromancer/b4fcdb7c118ef1aa0006ec5653c92c78 to your computer and use it in GitHub Desktop.
Save shellcromancer/b4fcdb7c118ef1aa0006ec5653c92c78 to your computer and use it in GitHub Desktop.
Detect the gscript dropper generator
rule tool_gscript {
meta:
description = "Identify the gscript dropper generator."
author = "@shellcromancer <root@shellcromancer.io>"
version = "0.1"
date = "2022-01-18"
reference = "https://github.com/gen0cide/gscript"
strings:
$ = "gen0cide/gscript" ascii
// TODO:
// match on built-in obfuscation i.e. Mordor
// https://github.com/gen0cide/gscript/blob/master/compiler/obfuscator/mordorifier.go#L64
condition:
any of them
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment