-
-
Save confile/b905873d17852503c5183d18364e9925 to your computer and use it in GitHub Desktop.
This file contains 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
rule get_eip | |
{ | |
meta: | |
author = "William Ballenthin" | |
email = "william.ballenthin@fireeye.com" | |
license = "Apache 2.0" | |
copyright = "FireEye, Inc" | |
description = "Match x86 that appears to fetch $PC." | |
strings: | |
// 0: e8 00 00 00 00 call 5 <_main+0x5> | |
// 5: 58 pop eax | |
// 6: 5b pop ebx | |
// 7: 59 pop ecx | |
// 8: 5a pop edx | |
// 9: 5e pop esi | |
// a: 5f pop edi | |
$x86 = { e8 00 00 00 00 (58 | 5b | 59 | 5a | 5e | 5f) } | |
condition: | |
$x86 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment