<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XDigo &#8211; PT ESC</title>
	<atom:link href="https://ptesc.tech/en/tag/xdigo/feed/" rel="self" type="application/rss+xml" />
	<link>https://ptesc.tech/en/</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2026 19:19:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://ptesc.tech/wp-content/uploads/2026/09/cropped-cropped-large_icon-32x32.png</url>
	<title>XDigo &#8211; PT ESC</title>
	<link>https://ptesc.tech/en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Rapid decryption of data from an NSIS script</title>
		<link>https://ptesc.tech/en/rapid-decryption-of-data-from-nsis-script/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Mon, 17 Jun 2024 14:06:05 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[reverse]]></category>
		<category><![CDATA[TI]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[XDigo]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d1%80%d0%b0%d0%bf%d0%b8%d0%b4-%d1%80%d0%b0%d1%81%d1%88%d0%b8%d1%84%d1%80%d0%be%d0%b2%d0%ba%d0%b0-%d0%b4%d0%b0%d0%bd%d0%bd%d1%8b%d1%85-%d0%b8%d0%b7-nsis-%d1%81%d0%ba%d1%80%d0%b8%d0%bf%d1%82%d0%b0/</guid>

					<description><![CDATA[Rapid decryption of data from an NSIS script 🗄 When there's no time to identify the encryption algorithm and implement a decryption algorithm, a debugger comes to the rescue. But what about a scripting language for an installer? The XDigo l…]]></description>
										<content:encoded><![CDATA[<p><strong>Rapid decryption of data from an NSIS script</strong> 🗄</p>
<p>When there&#8217;s no time to identify the encryption algorithm and implement a decryption algorithm, a debugger comes to the rescue. But what about a scripting language for an installer?</p>
<p><strong>The XDigo loader is taken as an example</strong></p>
<p><strong>•</strong> First, let&#8217;s extract the script with the .nsi extension. We&#8217;ll use a special version of <a href="https://github.com/myfreeer/7z-build-nsis" rel="noopener" target="_blank">7-Zip</a>.</p>
<p><strong>•</strong> After that, we need a compiler for .nsi scripts — <a href="https://nsis.sourceforge.io/Download" rel="noopener" target="_blank">let&#8217;s download and install NSIS</a>. Let&#8217;s open the compiler and load the extracted script into it. The program&#8217;s basic capabilities are limited: it only allows you to compile the script into an executable file and run it.</p>
<p><strong>•</strong> In order to extend the compiler&#8217;s functionality, we&#8217;ll need the <a href="https://nsis.sourceforge.io/Debug_plug-in" rel="noopener" target="_blank">Debug Plug-In</a>. Its set of functions is not very extensive, but it&#8217;s more than enough to dynamically decrypt data. </p>
<p><strong>•</strong> After installing the plugin, let&#8217;s open the original malicious script and, at the end of the decryption function, after the operation that passes the decrypted data to the stack, add the following line:</p>

<pre class="wp-block-code"><span><code class="hljs language-yaml"><span class="hljs-string">Debug::Stack</span></code></span></pre>

<p><strong>•</strong> As a result of recompiling the script and doing a test run of the executable file, each time after the decryption function executes, a separate window will display the state of the stack at the moment the Debug::Stack line is executed, and the decrypted data will be found in that data.</p>

<figure class="wp-block-image"><img width="892" height="892" src="https://ptesc.tech/wp-content/uploads/2024/06/photo_8@17-06-2024_14-06-05.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2024/06/photo_8@17-06-2024_14-06-05.jpg 892w, https://ptesc.tech/wp-content/uploads/2024/06/photo_8@17-06-2024_14-06-05-300x300.jpg 300w, https://ptesc.tech/wp-content/uploads/2024/06/photo_8@17-06-2024_14-06-05-150x150.jpg 150w, https://ptesc.tech/wp-content/uploads/2024/06/photo_8@17-06-2024_14-06-05-768x768.jpg 768w" sizes="auto, (max-width: 892px) 100vw, 892px" /></figure>

<p><span class="hashtag">#reverse</span> <span class="hashtag">#tips</span> <span class="hashtag">#malware</span> <span class="hashtag">#XDigo</span> <span class="hashtag">#TI</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
