Last active
March 1, 2021 18:13
-
-
Save timb-machine/220dcbd0a7f2a78365f02353c485f393 to your computer and use it in GitHub Desktop.
enterpriseunix2.yara
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "elf" | |
rule enterpriseunix2 { | |
meta: | |
author = "Tim Brown @timb_machine" | |
description = "Enterprise UNIX" | |
strings: | |
$aix = "aix" nocase | |
$solaris = "solaris" nocase | |
$hpux = "hpux" nocase | |
$libca = "libc.a" | |
$text = ".text" | |
$data = ".data" | |
condition: | |
($aix or $solaris or $hpux) and ((elf.number_of_sections >= 1) or ($libca and $text and $data)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment