No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This python script is designed to identify unusual runtimes based on the pdata section and the last instruction of the runtime function.

You can find more information and an use case on the Talos blog post:

The repository contains 2 scripts:

  • a standalone script that displays unusual runtime functions based on the technique described on the blog post above

  • an IDA Pro extension that performs the same tasks. This extension prints in the python windows the json output and colorize the functions in red in IDA Pro

Tested on the sample: 128aca58be325174f0220bd7ca6030e4e206b4378796e82da460055733bb6f4f (CCleaner compromise 2nd stage x64)


Examples of usage

user@lab:$ ./ sample.exe
{ 'ASM': [ u'mov qword ptr [rsp + 0x18], rbx',
u'push rdi',
u'sub rsp, 0x20',
u'mov qword ptr [rip + 0x3ac8], r11',
u'mov rbx, qword ptr [rsp + 0x40]',
u'add rsp, 0x20',
u'pop rdi'],
'StartRaw': '0xea20',
'StartVA': '0x0000f620',
'StopRaw': '0xead3',
'StopVA': '0x0000f6d3',
'end': 'KO',
'lastASM': u'pop rdi'}