
IDA Pro plugin that generates byte signatures from disassembly selections, with automatic and manual wildcards, match search, and export to YARA, x64dbg, C arrays, and binary blobs.
Plugin for IDA Pro that generates code patterns from the user's selection, with a dockable GUI, optional wildcards, and export to multiple formats.
There are two versions with the same functionality:
| Version | IDA | Qt | Location |
|---|---|---|---|
| 8.2 | IDA Pro 8.2 | PyQt5 | idasigwriter_plugin.py + idasigwriter/ |
| 9.3+ | IDA Pro 9.3 and later | PySide6 (Qt 6) | ida93/SigWriter/ |
For .NET binaries (CIL bytecode) there is a separate plugin, also for 8.2 and
9.3+, in dotnet/. Each plugin activates only on its type of
database, so they can be installed together.

Plugins directory: <IDA>/plugins or the user one
(%APPDATA%\Hex-Rays\IDA Pro\plugins / ~/.idapro/plugins).
IDA 8.2 — copy:
idasigwriter_plugin.py
idasigwriter/ (la carpeta completa)
IDA 9.3+ — copy the entire ida93/SigWriter/ folder (the one containing
ida-plugin.json):
plugins/SigWriter/ida-plugin.json
plugins/SigWriter/sigwriter_entry.py
plugins/SigWriter/sigwriter9/
Ninguna requiere dependencias externas (PyQt5 / PySide6 vienen con IDA). Si las dos versiones de IDA comparten el directorio de plugins de usuario, puedes tener ambas instaladas: la versión 8.2 se desactiva sola en IDA 9.x sin importar PyQt5 (así no aparece el diálogo del shim de PyQt5).
La ventana tiene:
Rango: inicio/fin editables (Enter para aplicar), Selección actual, Función actual y Único desde el cursor (agrega instrucciones hasta que el patrón coincida en un único lugar de la base de datos, máx. 256 bytes).
Wildcards: interruptor general Permitir wildcards y reglas automáticas:
destinos de saltos/calls, referencias a memoria global (incl. RIP-relative),
inmediatos que son direcciones, todos los inmediatos, desplazamientos
[reg+disp], bytes con relocaciones (fixups) e instrucción completa cuando el
procesador no informa dónde está el operando (ARM/MIPS, etc.).
Rejilla de bytes: una fila por instrucción. Click en un byte alterna su wildcard manualmente (naranja = automático, violeta = manual, verde = forzado fijo). Doble click en la dirección salta a ella.
Exportar:
| Formato | Ejemplo |
|---|---|
| Standalone IDA | E8 ? ? ? ? 48 8B 05 ? ? ? ? |
| Standalone x64dbg/CE | E8 ?? ?? ?? ?? 48 8B 05 ?? ?? ?? ?? |
| Standalone sin wildcards | E8 10 20 30 40 48 8B 05 01 02 03 04 |
| Array C/C++ | const unsigned char pattern[] = {...}; + máscara "x????xxx", bitmap y estilo "\x48\x8B" |
| Regla YARA | rule pattern { strings: $pattern = { E8 ?? ... } condition: $pattern } |
| Patrón YARA (checkbox Solo patron) | { E8 ?? ?? ?? ?? 48 8B 05 } |
| Blob binario | .bin (wildcards = 0x00) + .mask (0xFF fijo / 0x00 wildcard) si hay wildcards |
Botones: Copiar, Guardar..., Imprimir en Output y Buscar coincidencias (lista hasta 100 direcciones en la ventana Output).
Notas:
$pattern_p1,
$pattern_p2, ... y la condición exige que cada pedazo esté en su offset
exacto respecto de $pattern_p1 ($pattern_p2 at @pattern_p1[i] + 560).meta). El nombre de la regla/variable se sanea.idasigwriter_plugin.py punto de entrada (PLUGIN_ENTRY, acción, menú contextual)
idasigwriter/pattern.py modelo de patrón y exportadores (Python puro, sin IDA)
idasigwriter/ida_backend.py lectura de bytes, decodificación, wildcards, búsqueda
idasigwriter/gui.py GUI PyQt5 en un PluginForm
tests/test_pattern.py tests de los exportadores: python3 -m unittest discover tests
ida93/SigWriter/ida-plugin.json metadatos del plugin (formato IDA 9.x)
ida93/SigWriter/sigwriter_entry.py PLUGIN_ENTRY con PLUGIN_MULTI + plugmod_t
ida93/SigWriter/sigwriter9/pattern.py copia idéntica de idasigwriter/pattern.py
ida93/SigWriter/sigwriter9/ida_backend.py
ida93/SigWriter/sigwriter9/gui.py GUI PySide6
pattern.py and gui.py are duplicated so that each plugin is self-contained
(the GUI is generic: the title and wildcard options are defined by each
ida_backend.py). The tests verify that the copies are identical, so a
change must be applied to all of them (see the table in dotnet/README.md).
Verified against the official IDAPython 9.3.0 and 9.5.0 sources (github.com/HexRaysSA/ida-sdk):
| 8.2 | 9.3+ |
|---|---|
PyQt5 (sip) | PySide6 (shiboken6); TWidgetToQtPythonWidget |
bin_search(start, end, image, mask, step, flags) | removed → ida_bytes.find_bytes(bytes, start, range_end=, mask=, flags=) |
BWN_DUMP | BWN_HEXVIEW |
plugin_t + PLUGIN_KEEP | PLUGIN_MULTI + plugmod_t |
| standalone plugin | folder with ida-plugin.json |
ida_kernwin.PluginForm.FormToPyQtWidget, read_range_selection,
register_action / attach_action_to_popup via UI_Hooks.finish_populating_widget_popup,
ida_ua.decode_insn + op_t.offb/offo, ida_bytes.bin_search(start, end, image, mask, step, flags),
ida_fixup.fixup_data_t.
IDASignWriter and IDASignWriterNet are distributed under the Apache 2.0 license. For more information, see the LICENSE file.