


This second step resolves conflicts in the signatures and produces an efficient format that IDA Pro can digest. They then use the sigmake utility to translate the textual pattern file into a binary signature file.

Typically the reverse engineer starts by using a utility such as pelf to generate a pattern file that describes major features of each function in the library. Reverse engineers can easily teach IDA Pro to identify custom libraries with the FLAIR utilities. These utilites operate on static libraries such as. Hex-Rays distributes utilities in the Fast Library Acquisition for Identification and Recognition (FLAIR, no relation to the FireEye FLARE team :-) ) package to generate custom FLIRT signatures on its website. With FLIRT signatures enabled, IDA Pro renames the function as printf, and the analyst can likely pass over it. For example, without FLIRT signatures, the reverse engineer may encounter the complex function shown in Illustration 1, and work to understand its purpose. Once identified, IDA Pro renames the common functions and marks these as library functions to guide the reverse engineer toward more relevant sections of code. IDA Pro uses Fast Library Identification and Recognition Technology (FLIRT) signatures to quickly identify compiler-generated and statically linked functions in programs. Because idb2pat.py is written in Python, you won't need to recompile it after each IDA Pro SDK release.

You can use it to generate FLIRT signatures for 32- or 64-bit executables loaded into IDA Pro, even if you don't have the typical requirements of an original source or static libraries. The IDAPython script idb2pat.py generates IDA Pro FLAIR patterns from existing IDB files. FLIRT signatures help IDA Pro recognize common functions in compiled programs and automatically rename them for the reverse engineer. This blog describes an IDAPython script to assist with malware reverse engineering. This is the third IDA Pro script we’ve released via this blog and we’ll continue to release these scripts here. The FireEye Labs Advanced Reverse Engineering (FLARE) Team continues to share knowledge and tools with the community. Create a Free Mandiant Advantage Account.Noteholder and Preferred Shareholder Documents.
