<?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>ComDllDropper &#8211; PT ESC</title>
	<atom:link href="https://ptesc.tech/en/tag/comdlldropper/feed/" rel="self" type="application/rss+xml" />
	<link>https://ptesc.tech/en/</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2026 19:19:26 +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>ComDllDropper &#8211; PT ESC</title>
	<link>https://ptesc.tech/en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>One-two — and done. Generating FLIRT signatures</title>
		<link>https://ptesc.tech/en/one-two-and-its-done-generating-flirt-signatures/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Mon, 01 Jul 2024 20:02:59 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[ComDllDropper]]></category>
		<category><![CDATA[ExCobalt]]></category>
		<category><![CDATA[reverse]]></category>
		<category><![CDATA[TI]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d1%80%d0%b0%d0%b7-%d0%b4%d0%b2%d0%b0-%d0%b8-%d0%b3%d0%be%d1%82%d0%be%d0%b2%d0%be-%d0%b3%d0%b5%d0%bd%d0%b5%d1%80%d0%b8%d1%80%d1%83%d0%b5%d0%bc-flirt-%d1%81%d0%b8%d0%b3%d0%bd%d0%b0%d1%82/</guid>

					<description><![CDATA[👏 One-two — and done. Generating FLIRT signatures And we do this to avoid wasting time on recognizing the library code of PureBasic, in which the COM-DLL-Dropper of the ExCobalt group is written. To start, we will need the PureBasic compile…]]></description>
										<content:encoded><![CDATA[<p>👏 <strong>One-two — and done. Generating FLIRT signatures</strong></p>
<p>And we do this to avoid wasting time on recognizing the library code of PureBasic, in which the COM-DLL-Dropper of the ExCobalt group is written.</p>
<p>To start, we will need the <a href="https://www.purebasic.com/download.php" rel="noopener" target="_blank">PureBasic compiler</a>. After downloading it and installing or unpacking it, we will find all the .lib files. Next, we will need the tools included <a href="https://hex-rays.com/download-center/" rel="noopener" target="_blank">in Flair</a>:</p>
<p>— <code>pcf</code> — a parser for .lib and .obj files, creates a PAT file from COFF files.<br />
— <code>sigmake</code> — converts the previously created PAT file into a SIG file for IDA.</p>
<p>With their help, we will generate the signatures. To automate the creation of the PAT file, we will use a BAT file with the following contents:</p>

<pre class="wp-block-code"><span><code class="hljs language-plaintext">
@echo off

\path\pcf.exe -a \path\Debugger.lib 
\path\PureBasic_x86.pat
\path\pcf.exe -a \path\libmariadb.lib 
\path\PureBasic_x86.pat
...
</code></span></pre>

<p>After obtaining the PAT file, we need to convert it into a SIG file. To do this, we will run the following command:</p>

<pre class="wp-block-code"><span><code class="hljs language-plaintext">\path\sigmake.exe -n"PureBasic_Windows_X86_LTS_6.03" \path\PureBasic_x86.pat \path\PureBasic_x86.sig
</code></span></pre>

<p>Since collisions occurred during signature generation, we get the following list of files:</p>
<p>— PureBasic_x86.err,<br />
— PureBasic_x86.exc,<br />
— PureBasic_x86.pat.</p>
<p>If there were no collisions, we would immediately get a ready-made SIG file. To eliminate them, we need to edit the EXC file. An example of a collision:</p>

<pre class="wp-block-code"><span><code class="hljs language-plaintext">
_PB_WriteFloat@8 0B 5366........E8........85C0742D83780400
_PB_WriteInteger@8 0B 5366........E8........85C0742D83780400
_PB_WriteLong@8 0B 5366........E8........85C0742D83780400
</code></span></pre>

<p>We see that three functions have the same signature — we need to choose which one to use. </p>
<p>On the left, next to the name of the desired function, we put +. In this case, the collision affected functions identical in purpose, and we can choose any of them: </p>

<pre class="wp-block-code"><span><code class="hljs language-plaintext">
_PB_WriteFloat@8 0B 5366........E8........85C0742D83780400
+_PB_WriteInteger@8 0B 5366........E8........85C0742D83780400
_PB_WriteLong@8 0B 5366........E8........85C0742D83780400
</code></span></pre>

<p>But sometimes it affects functions with completely opposite purposes — you can choose any one, but remember or write it down: this will come in handy when the result is obtained.</p>
<p>You also need to delete the line &#8212;&#8212;&#8212; in the EXC file so that the choice is taken into account during repeated signature generation:</p>

<pre class="wp-block-code"><span><code class="hljs language-sql">
;<span class="hljs-comment">--------- (delete these lines to allow sigmake to read this fil</span>
; add '+' at the <span class="hljs-keyword">start</span> <span class="hljs-keyword">of</span> a line <span class="hljs-keyword">to</span> <span class="hljs-keyword">select</span> a <span class="hljs-keyword">module</span>
; add '-' if you are not sure about the selection
; <span class="hljs-keyword">do</span> <span class="hljs-keyword">nothing</span> <span class="hljs-keyword">if</span> you want <span class="hljs-keyword">to</span> <span class="hljs-keyword">exclude</span> <span class="hljs-keyword">all</span> modules
</code></span></pre>

<p>After the action has been performed for all collisions, you need to repeat the generation. If everything is done correctly, we will get a SIG file. It should be placed in:</p>

<pre class="wp-block-code"><span><code class="hljs language-plaintext">
%IDA Home%\sig\pc
</code></span></pre>

<figure class="wp-block-image"><img width="1024" height="1024" src="https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59-1024x1024.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59-1024x1024.jpg 1024w, https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59-300x300.jpg 300w, https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59-150x150.jpg 150w, https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59-768x768.jpg 768w, https://ptesc.tech/wp-content/uploads/2024/07/photo_14@01-07-2024_20-02-59.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="1024" src="https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59-1024x1024.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59-1024x1024.jpg 1024w, https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59-300x300.jpg 300w, https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59-150x150.jpg 150w, https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59-768x768.jpg 768w, https://ptesc.tech/wp-content/uploads/2024/07/photo_15@01-07-2024_20-02-59.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="1024" src="https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59-1024x1024.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59-1024x1024.jpg 1024w, https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59-300x300.jpg 300w, https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59-150x150.jpg 150w, https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59-768x768.jpg 768w, https://ptesc.tech/wp-content/uploads/2024/07/photo_16@01-07-2024_20-02-59.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>

<p><span class="hashtag">#reverse</span> <span class="hashtag">#tips</span> <span class="hashtag">#ComDllDropper</span> <span class="hashtag">#ExCobalt</span> <span class="hashtag">#APT</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>
