top of page

Creating an IDA Python Plugin for Static XOR String Deobfuscation

Writer's picture: Josh StroscheinJosh Stroschein

Updated: Feb 11, 2024

In this video, we’ll explore a recent XLS document that drops and executes a DLL using RUNDLL32. The DLL is small and only used to download the next stage. However, it employs rather straight-forward string obfuscation using the bitwise XOR operation. An important skill for any reverse engineer/malware analyst is to be able to create plugins to assist in statically decoding these strings and doing so across the entire disassembly database. This video is intended to get you started creating IDA Plugins with Python, recognize the importance of deobfuscating strings and work on translating assembly to a higher-level language (i.e. Python).



You can find the IDA Python plugin at: https://github.com/jstrosch/XOR-Decode-Strings-IDA-Plugin



The sample is also available on AnyRun:

161 views

Want to know when my latest content drops? Sign-up to receive email notications and access to other exclusive content!

bottom of page