Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/crackinglandia/idasignwriter
Static AnalysisReverse EngineeringDebuggersUtilities & FrameworksBinary Analysis
GitHubcrackinglandia/idasignwriter

idasignwriter

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.

View Repository
4 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

IDA SigWriter

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:

VersionIDAQtLocation
8.2IDA Pro 8.2PyQt5idasigwriter_plugin.py + idasigwriter/
9.3+IDA Pro 9.3 and laterPySide6 (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.

Screenshot

Installation

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).

Uso

  1. Selecciona código en IDA View (o bytes en Hex View).
  2. Click derecho → Generar patron (SigWriter)..., pulsa Ctrl+Alt+S, o usa Edit → Plugins → SigWriter. Si no hay selección se usa el elemento bajo el cursor.

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:

    FormatoEjemplo
    Standalone IDAE8 ? ? ? ? 48 8B 05 ? ? ? ?
    Standalone x64dbg/CEE8 ?? ?? ?? ?? 48 8B 05 ?? ?? ?? ??
    Standalone sin wildcardsE8 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 YARArule 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:

  • YARA (regla y Solo patrón): 28 bytes por fila y como máximo 20 filas por string (560 bytes). Si el patrón es más largo se divide en $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).
  • YARA no admite hex strings que empiecen o terminen en wildcard, así que se recortan (se indica en meta). El nombre de la regla/variable se sanea.
  • Si Permitir wildcards está desactivado, todos los formatos usan los bytes exactos.

Estructura

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

Version 9.3+

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).

Differences 8.2 → 9.3+

Verified against the official IDAPython 9.3.0 and 9.5.0 sources (github.com/HexRaysSA/ida-sdk):

8.29.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_DUMPBWN_HEXVIEW
plugin_t + PLUGIN_KEEPPLUGIN_MULTI + plugmod_t
standalone pluginfolder with ida-plugin.json

IDA 8.2 APIs used

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.

License

IDASignWriter and IDASignWriterNet are distributed under the Apache 2.0 license. For more information, see the LICENSE file.

Download Tool