Skip to content

Instantly share code, notes, and snippets.

@dmknght
Created December 30, 2022 10:39
Show Gist options
  • Save dmknght/215e22942baac10159941ed385a62a43 to your computer and use it in GitHub Desktop.
Save dmknght/215e22942baac10159941ed385a62a43 to your computer and use it in GitHub Desktop.
Rule to detect Metasploit's meterpreter shellcode
rule elf64_meterpreter_revtcp_raw {
meta:
description = "Detect Meterpreter ELF 64 staged reverse TCP no encoders"
strings:
$ = {6a 22 [4] 0f 05 [10] 6a 29 [8] 0f 05}
condition:
all of them
}
@dmknght
Copy link
Author

dmknght commented Dec 30, 2022

This rule needs file type to check

@dmknght
Copy link
Author

dmknght commented Dec 30, 2022

Rule is not effective. Testing only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment