<?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>avlab &#8211; PT ESC</title>
	<atom:link href="https://ptesc.tech/en/tag/avlab/feed/" rel="self" type="application/rss+xml" />
	<link>https://ptesc.tech/en/</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2026 19:23:00 +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>avlab &#8211; PT ESC</title>
	<link>https://ptesc.tech/en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Citizen, update yourself 🫵</title>
		<link>https://ptesc.tech/en/citizen-update-yourself/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Fri, 03 Jul 2026 15:38:53 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[TI]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d0%b3%d1%80%d0%b0%d0%b6%d0%b4%d0%b0%d0%bd%d0%b8%d0%bd-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d0%b5%d1%81%d1%8c-%f0%9f%ab%b5/</guid>

					<description><![CDATA[Citizen, update yourself 🫵 Recently, a sample mir-pay.apk flew into our sandbox. At first glance, nothing unusual: just another variation of the well-known Mamont malware, we thought. Especially since the name of this payment system has alr…]]></description>
										<content:encoded><![CDATA[<p><strong>Citizen, update yourself 🫵</strong></p>
<p>Recently, a sample <code>mir-pay.apk</code> flew into our sandbox. At first glance, nothing unusual: just another variation of the well-known Mamont malware, we thought. Especially since the name of this payment system has already appeared more than once in this malware family.</p>
<p>In the sandbox, the &#8220;Format tampered&#8221; label triggered with the verdict <code>apk.tampered</code>, the sample saved suspicious files with the <code>.png</code> extension (file drops) and loaded code directly into memory (DEX dumps).</p>
<p><strong>We decided to dig deeper — and for good reason.</strong> During our research, we managed to:</p>
<p><strong>•</strong> Determine that this sample has nothing to do with Mamont — a search using the discovered IoCs led us to the malicious campaign Falcon, whose first samples were described back in 2022.</p>
<p><strong>•</strong> Reconstruct the entire attack chain — from the loader of a fake &#8220;app update&#8221; to a full-fledged Android backdoor — and understand how the threat actors use legitimate services, including Trello, to deliver malware.</p>
<p><strong>•</strong> Compare samples from four years ago with current versions and find out how Falcon has evolved since then: new obfuscation techniques have appeared, functionality has expanded, and the methods of delivering the malicious payload have changed.</p>
<p>Read about how the Falcon malicious campaign is structured in the detailed analysis in <a href="https://habr.com/ru/companies/pt/articles/1036620/" rel="noopener" target="_blank">our blog on Habr</a>.</p>
<p><span class="hashtag">#avlab</span> <span class="hashtag">#sandbox</span> <span class="hashtag">#ti</span> <span class="hashtag">#android</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Dirty Frag 🐧</title>
		<link>https://ptesc.tech/en/dirty-frag/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Fri, 08 May 2026 12:08:09 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[cve]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sandbox]]></category>
		<guid isPermaLink="false">https://ptesc.tech/dirty-frag-%f0%9f%90%a7/</guid>

					<description><![CDATA[Dirty Frag 🐧💥 A week after the widely discussed Copy.Fail, researcher v4bel disclosed a new privilege escalation technique in the Linux kernel — Dirty Frag. As of May 8, Dirty Frag has no CVE number and, more critically, no official patch f…]]></description>
										<content:encoded><![CDATA[<p><strong>Dirty Frag 🐧</strong>💥</p>
<p>A week after the widely discussed <a href="https://t.me/ptescalator/714" rel="noopener" target="_blank">Copy.Fail</a>, researcher v4bel <a href="https://github.com/V4bel/dirtyfrag" rel="noopener" target="_blank">disclosed</a> a new privilege escalation technique in the Linux kernel — Dirty Frag.</p>
<p>As of May 8, Dirty Frag has no CVE number and, more critically, no official patch from the kernel maintainers either. Dirty Frag belongs to the same class as Dirty Pipe and Copy.Fail, but uses a different mechanism: instead of pipe_buffer, it attacks the <code>sk_buff</code> structure.</p>
<p><em>The shared mechanisms of operation allow the exploit to be reliably blocked by behavioral expertise in PT Sandbox (Exploit.Linux.CVE-2022-0847.a, Exploit.Linux.CVE-2026-31431.a, Backdoor.Linux.Generic.a) — see the screenshot.</em></p>
<p><strong>How does it work?</strong> 🧐</p>
<p>Dirty Frag is a chain of two vulnerabilities that complement each other to cover all major distributions:</p>
<p>1️⃣ Page-Cache Write (since 2017): provides the ability to write 4 bytes to the page cache, but requires the right to create user namespaces, which on some systems (e.g., Ubuntu) may be blocked by AppArmor.</p>
<p>2️⃣ RxRPC Page-Cache Write (since June 2023): does not require namespace privileges, but the <code>rxrpc.ko</code> module is present only in some distributions, including Ubuntu, where it is loaded by default.</p>
<p>By combining them, an attacker gets a working exploit on any system, which allows:</p>
<p>• Replacing <code>suid files</code> (e.g., <code>/usr/bin/su</code>) with their own version<br />
• Modifying <code>/etc/passwd</code> by clearing the root user&#8217;s password</p>
<p><strong>Who is at risk? ⛳️</strong></p>
<p>Virtually all systems with a Linux kernel released since 2017. The researcher confirmed the exploit works on the following versions: Ubuntu 24.04.4, RHEL 10.1, openSUSE Tumbleweed, CentOS Stream 10, AlmaLinux 10, Fedora 44, and others.</p>
<p><strong>How to protect yourself? </strong><strong>🔧</strong></p>
<p>Since there is no official patch from the kernel maintainers yet, the only way to protect yourself is to immediately disable and unload the vulnerable kernel modules.</p>
<p><strong>Command to disable:</strong></p>
<pre><code>sh -c &quot;printf &#039;install esp4 /bin/false\ninstall esp6 /bin/false\ninstall rxrpc /bin/false\n&#039; &gt; /etc/modprobe.d/dirtyfrag.conf; rmmod esp4 esp6 rxrpc 2&gt;/dev/null; true&quot;</code></pre>
<p>Some distributions (e.g., AlmaLinux) have started releasing <a href="https://almalinux.org/blog/2026-05-07-dirty-frag/" rel="noopener" target="_blank">their own patches</a> without waiting for upstream.</p>
<p>UPD: the vulnerability has received an identifier — <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-43284" rel="noopener" target="_blank">CVE-2026-43284</a>, and a patch has been added to the kernel code (<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f4c50a4034e62ab75f1d5cdd191dd5f9c77fdff4" rel="noopener" target="_blank">f4c50a4034e6</a>).</p>
<p><span class="hashtag">#avlab</span> <span class="hashtag">#cve</span> <span class="hashtag">#linux</span> <span class="hashtag">#sandbox</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a> (<a href="https://x.com/ptescalator" rel="noopener" target="_blank">X</a>, <a href="https://max.ru/join/V8dhsWy0FytLHcY_2m9KM99gsnBlr0v5RxOZFTOClho" rel="noopener" target="_blank">Max</a>)</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Shove your complaints into... PT Sandbox!</title>
		<link>https://ptesc.tech/en/shove-your-claims-up-pt-sandbox/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Fri, 06 Feb 2026 15:56:45 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[ioc]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[TI]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d0%b7%d0%b0%d1%81%d1%83%d0%bd%d1%8c-%d1%81%d0%b2%d0%be%d0%b8-%d0%bf%d1%80%d0%b5%d1%82%d0%b5%d0%bd%d0%b7%d0%b8%d0%b8-%d0%b2-pt-sandbox/</guid>

					<description><![CDATA[Shove your claims into... PT Sandbox! 🫵 At the end of January, we discovered a malicious campaign distributing the PureRat (PureHVNC) malware to Russian organizations in the financial sector. Like many similar mailings, the attack began wit…]]></description>
										<content:encoded><![CDATA[<strong>Shove your claims into&#8230; PT Sandbox!</strong> 🫵<br />
<br />
At the end of January, we discovered a malicious campaign distributing the PureRat (PureHVNC) malware to Russian organizations in the financial sector.<br />
<br />
Like many similar mailings, the attack began with an email titled &#8220;Reconciliation Act and Claim&#8221; (<em>screenshot 1</em>). <br />
<br />
The email contained a link to an archive:<br />
<br />
<pre class="wp-block-code"><span><code lang="yaml" class="hljs language-yaml language-yaml"><span class="hljs-string">https://github.com/sergo20261/proxi/raw/refs/heads/main/претензия.rar</span></code></span></pre><br />
<br />
with an intricately obfuscated bat file (<em>screenshot 2</em>).<br />
<br />
🕵️‍♂️ Its functionality is simple — it merely decodes a huge chunk of data from base64 (before that, every occurrence of the substring <code>`h@`</code> is replaced with <code>`d`</code>) and then executes it, after which it copies itself to <code>C:\ProgramData\avtoproxi.bat</code> (<em>screenshot 3</em>).<br />
<br />
The decoded data is a PowerShell script (<em>screenshot 4</em>) that downloads an image from the URL:<br />
<br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">firebasestorage.googleapis.com/v0/b/remasd-6c702.firebasestorage.app/o/image.jpg?alt=media&amp;token=c16438a4-4eeb-4116-adc7-373fbf7359b0
modaaura.store/image.jpg?12711343</code></span></pre><br />
<br />
🖼 The image is searched for the tags <code>BASE64_START</code> and <code>BASE64_END</code>, between which lies the base64-encoded .NET loader AndeLoader, which downloads an <code>exe</code> from the URL passed to it:<br />
<br />
<pre class="wp-block-code"><span><code lang="yaml" class="hljs language-yaml language-yaml"><span class="hljs-string">https://raw.githubusercontent.com/sergo20261/proxi/refs/heads/main/vc27012026upload.txt</span></code></span></pre><br />
<br />
AndeLoader launches the legitimate process <code>MsBuild.exe</code> and injects the received malicious code into it. This scheme is characteristic of the Crypters and Tools tool, <a href="https://ptsecurity.com/research/pt-esc-threat-intelligence/crypters-and-tools-odin-instrument-dlya-tysyach-vredonosnyh-fajlov/#id8" rel="noopener" target="_blank">which we described earlier.</a><br />
<br />
This time the C2 turned out to be at <code>62.84.98.217:56001</code> (<em>screenshot 5</em>). Naturally, such tricks could not go unnoticed in PT Sandbox, and the malware was blocked by the sandbox.<br />
<br />
🚧 <strong>Digging into the sergo20261 repository, we found three projects:</strong><br />
<br />
• proxihost<br />
• proxi<br />
• text<br />
<br />
<strong>There are a great many files in them, the most interesting of which are:</strong><br />
<br />
• PureRat malware loaders written in Rust;<br />
• PureRat executables;<br />
• various .txt files containing Base64-encoded data (the file <code>vc27012026upload.txt</code>, mentioned in the link above, is one of them).<br />
<br />
Finally, it is worth noting that the set of tools described here, launched using Crypters and Tools — PureRat and its Rust loaders — appeared in the September 2025 attacks and <a href="https://research.checkpoint.com/2025/under-the-pure-curtain-from-rat-to-builder-to-coder/" rel="noopener" target="_blank">was described in detail in an article.</a><br />
<br />
<strong>IoCs</strong><br />
<br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">Акт сверки и претензия.eml -&gt; 71a8920aa71afde02a466e08508642561b98a99632351cdd1c1ce3ab805a10ba
pretenziya_27012026_akt_sverka_1C_PDF.bat -&gt; 1d3e6b81479717282fb0f661fba3603b3f9f9c9d857a0f2fa8035b7015ab1f0a
vc27012026upload.txt -&gt; 9abcfce5cb991f60652c4b410e45ad40f4b0eafe30c2209f0c6e6636b424d5db
Rust загрузчик -&gt; 93e0fb947cff4ab361c307590a078549ab9e885d04e23b12a800296dd4d6c4a4
PureHVNC -&gt; 49fde62919aec811780e67073a7e70566594477ef7b19905e1b8aa42438f6d98

62.84.98.217
firebasestorage.googleapis.com/v0/b/remasd-6c702.firebasestorage.app/o/image.jpg?alt=media&amp;token=c16438a4-4eeb-4116-adc7-373fbf7359b0
modaaura.store/image.jpg?12711343</code></span></pre>

<figure class="wp-block-image"><img width="1024" height="740" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_497@06-02-2026_15-56-45-1024x740.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_497@06-02-2026_15-56-45-1024x740.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_497@06-02-2026_15-56-45-300x217.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_497@06-02-2026_15-56-45-768x555.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_497@06-02-2026_15-56-45.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="531" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_498@06-02-2026_15-56-46-1024x531.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_498@06-02-2026_15-56-46-1024x531.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_498@06-02-2026_15-56-46-300x156.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_498@06-02-2026_15-56-46-768x398.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_498@06-02-2026_15-56-46.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="466" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_499@06-02-2026_15-56-46-1024x466.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_499@06-02-2026_15-56-46-1024x466.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_499@06-02-2026_15-56-46-300x136.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_499@06-02-2026_15-56-46-768x349.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_499@06-02-2026_15-56-46.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="740" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_500@06-02-2026_15-56-46-1024x740.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_500@06-02-2026_15-56-46-1024x740.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_500@06-02-2026_15-56-46-300x217.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_500@06-02-2026_15-56-46-768x555.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_500@06-02-2026_15-56-46.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>

<br />
<br />
<span class="hashtag">#avlab</span> <span class="hashtag">#sandbox</span> <span class="hashtag">#TI</span> <span class="hashtag">#ioc</span> <span class="hashtag">#malware</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Dissecting network traffic with ML in search of new malware</title>
		<link>https://ptesc.tech/en/dissecting-network-traffic-with-ml-in-search-of-new-malware/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Thu, 05 Feb 2026 16:54:42 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[ml]]></category>
		<category><![CDATA[network]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d0%bf%d1%80%d0%b5%d0%bf%d0%b0%d1%80%d0%b8%d1%80%d1%83%d0%b5%d0%bc-%d1%81%d0%b5%d1%82%d0%b5%d0%b2%d0%be%d0%b9-%d1%82%d1%80%d0%b0%d1%84%d0%b8%d0%ba-%d1%81-%d0%bf%d0%be%d0%bc%d0%be%d1%89%d1%8c%d1%8e-ml/</guid>

					<description><![CDATA[Dissecting network traffic with ML in search of new malware 📖 🧪 We — the network expertise department team of the ESC antivirus laboratory and the machine learning team — once built an ML model on network traffic, trained it on real network…]]></description>
										<content:encoded><![CDATA[<p><strong>Dissecting network traffic with ML in search of new malware</strong> 📖</p>
<p>🧪 We — the network expertise department team of the ESC antivirus laboratory and the machine learning team — once built an ML model on network traffic, trained it on real network sessions, and launched it in the PT Sandbox sandbox to enhance malware detection capabilities. But we decided not to rest on our laurels — we conducted a series of new experiments, expanded the set of input features, and tested the model on more complex scenarios.</p>
<p>👾 Thanks to the update, the model has already managed to catch several previously unknown samples: a new version of the Oyster backdoor, the APT GOFFEE loader, several stealers (for example, JustAskJacky), and a number of other small but suspicious loaders.</p>
<p>💡 This experience confirms that machine learning is an excellent assistant to traditional signature-based solutions: it sees hidden patterns and increases the overall detectability of malicious network scenarios.</p>
<p>We talked about all this and more <a href="https://habr.com/ru/companies/pt/articles/993058/" rel="noopener" target="_blank">in our article on Habr</a>.</p>
<p><span class="hashtag">#network</span> <span class="hashtag">#avlab</span> <span class="hashtag">#ml</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A new batch of soup</title>
		<link>https://ptesc.tech/en/a-new-portion-of-soup/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Wed, 04 Feb 2026 21:52:44 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[emailsecurity]]></category>
		<category><![CDATA[ioc]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[TI]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d0%bd%d0%be%d0%b2%d0%b0%d1%8f-%d0%bf%d0%be%d1%80%d1%86%d0%b8%d1%8f-%d1%81%d1%83%d0%bf%d0%b0/</guid>

					<description><![CDATA[A fresh batch of soup 🍜 Back in summer 2025, our foreign colleagues already wrote about the SoupDealer trojan — an attack tailored specifically to users in Turkey. The sample had many distinctive features, the key one being that it was a JA…]]></description>
										<content:encoded><![CDATA[<strong>A fresh batch of soup</strong> 🍜<br />
<br />
Back in summer 2025, our foreign colleagues already wrote about the <a href="http://malwation.com/blog/technical-analysis-of-a-stealth-java-loader-used-in-phishing-campaigns-targeting-turkiye" rel="noopener" target="_blank">SoupDealer</a> trojan — an attack tailored specifically to users in Turkey. The sample had many distinctive features, the key one being that it was a JAR file with multiple AllatoriObfuscator obfuscation techniques and anti-dynamic-analysis protections. For example, it only runs on devices with the Turkish locale (<em>screenshot 1</em>). We won&#8217;t go into all the details — the family has already been thoroughly investigated.<br />
<br />
Today we noticed that a new wave of attacks using the same family has begun (<em>screenshot 2</em>), which was blocked in our PT Sandbox. They all roughly follow the same pattern: an email with a Google Drive link asking to review documents; the link leads to a malicious JAR file. And we wouldn&#8217;t have paid attention to this (we block a huge number of samples every day), but at the moment not all samples are still detected by popular security tools (<em>screenshot 3</em>).<br />
<br />
So — we&#8217;re publishing indicators of compromise so that security tools can promptly update their expertise.<br />
<br />
<strong>Sender addresses:</strong><br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">arslan@arsavukatlik.com
bilgi@dermamed.com.tr</code></span></pre><br />
<br />
<strong>C2:</strong><br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">gocmenkusgiller.blog</code></span></pre><br />
<br />
<strong>File names:</strong><br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">YENI URUNLER ICIN FIYAT TALEBI3.jar
FIYAT TEKLIFI BEKLENEN URUN LISTESI.jar</code></span></pre><br />
<br />
<strong>File hashes SHA-256:</strong><br />
<pre class="wp-block-code"><span><code lang="plaintext" class="hljs language-plaintext language-plaintext">90ead7a262450a9bace5686f11fc39cbd607a0d681ef9ff39d8766d9b4c0de2e
8dc7f7d298291c042e9f51feff3c8d690f4889a9a141e9657d33da7bb8456c7f</code></span></pre>

<figure class="wp-block-image"><img width="1024" height="570" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_493@04-02-2026_21-52-44-1024x570.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_493@04-02-2026_21-52-44-1024x570.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_493@04-02-2026_21-52-44-300x167.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_493@04-02-2026_21-52-44-768x427.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_493@04-02-2026_21-52-44.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="599" src="https://ptesc.tech/wp-content/uploads/2026/02/photo_494@04-02-2026_21-52-45-1024x599.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/02/photo_494@04-02-2026_21-52-45-1024x599.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/02/photo_494@04-02-2026_21-52-45-300x176.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/02/photo_494@04-02-2026_21-52-45-768x449.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/02/photo_494@04-02-2026_21-52-45.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>

<br />
<br />
<span class="hashtag">#phishing</span> <span class="hashtag">#ti</span> <span class="hashtag">#ioc</span> <span class="hashtag">#avlab</span> <span class="hashtag">#emailsecurity</span> <span class="hashtag">#sandbox</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PDQ-Masters</title>
		<link>https://ptesc.tech/en/pdq-masters/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Fri, 30 Jan 2026 14:53:53 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[emailsecurity]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[sandbox]]></category>
		<guid isPermaLink="false">https://ptesc.tech/pdq-masters/</guid>

					<description><![CDATA[PDQ-Masters 🧙‍♂️ The main attack vector using malware is phishing campaigns via email. The ideal phishing email with malware differs from a legitimate email only in the content of the attached payload: it is sent from a trusted sender as a…]]></description>
										<content:encoded><![CDATA[<p><strong>PDQ-Masters</strong> 🧙‍♂️</p>
<p>The main attack vector using malware is phishing campaigns via email. The ideal phishing email with malware differs from a legitimate email only in the content of the attached payload: it is sent from a trusted sender as a result of their compromise and contains malware. But today, as an example, let&#8217;s look at a phishing attack with a slight attempt at personalization for the target, which bypassed basic protection tools and was stopped on the approach to the employee&#8217;s mailbox by more advanced email protection technologies.</p>
<p>An email from an anonymous sender from a legitimate domain — <code>info@koyoshobo.net</code>, with an obvious attempt to attract attention (subject: &#8220;Action Required: Document Review&#8230;&#8221;, <em>screenshot 1</em>). The content is HTML disguised as an electronic document management system form with a button to navigate to the document (<em>screenshot 2</em>). A link to the &#8220;document&#8221; behind this button was statically extracted from the page:</p>
<p><code>https://click.convertkit-mail2.com/75u5pv4wxga8h69dp74fzhwl85666tnhrg6p3/m2h7h5h38zwp97cm/aHR0cHM6Ly93d3cubXRmcGxhc3RpY29zLmNvbS5ici9vb3BzL3NoYXJlZmlsZWRvYy5tc2k</code></p>
<p>At the time of the attack, the link was new and was not blocked by reputation analysis. It was automatically launched in an isolated browser environment, which allowed obtaining all redirects (<em>screenshot 3</em>) and arriving at the final link to the &#8220;document&#8221; — <code>https://www.mtfplasticos.com.br/oops/sharefiledoc.msi</code>, downloading for inspection the file <code>04276b7f1cf487e52f8927134365ae55</code>, which is obviously an executable.</p>
<p>💁‍♂️ We could stop here — executable files in email can be easily blocked (the main thing is to make sure that your protection tool blocks by file format, not solely by extension), for example, as shown <em>in screenshot 4</em> in the case of PT Sandbox. But if you need a flexible configuration that allows exchanging various files and links to them via email, it is always important to understand what exactly a file represents. For this purpose, basic protection tools provide antivirus scanning, while advanced ones provide sandbox file analysis, which enables detecting the most sophisticated threats and new malware that has not yet appeared in antivirus databases.</p>
<p>The sandbox immediately revealed the behavior and network nature of the sample (<em>screenshot 5</em>) and blocked it for dangerous tricks in PowerShell — inside turned out to be the PDQ Connect utility. &#8220;And what&#8217;s malicious about that?!&#8221; — you ask. And we answer — remote access utilities unauthorized by the information security policy are themselves prohibited 🙅‍♂️</p>
<p><strong>But here it&#8217;s a bit more complicated</strong> — the original MSI file is not just a generalized PDQ Connect software installer, it is a &#8220;silent&#8221; installer of the PDQ Connect Agent, which is generated individually for a user, with a unique token, and is deployed within an organization&#8217;s infrastructure. If an attacker generates such an installer and installs it on someone without their knowledge, this utility turns into a veritable backdoor. Analysis in the sandbox allowed automatically obtaining the agent token — <code>0yfer-ks1g2uufaxwpfam81pmasj9bk5e-q7btltzsrkhvz4xxyoonu8cb7kokkd7fc6esztcx1uqccmabxn3w</code>.</p>
<p>Thus, the attacker could gain the ability to control the victim&#8217;s computer through the legitimate remote access service <code>pdq.com</code>.</p>
<p>🔍 <strong>Characteristic YARA strings that will help you find artifacts from such &#8220;agents&#8221; in your systems:<br />
</strong></p>
<pre><code>strings:
        $a  = &quot;pdqconnectagent-setup&quot; ascii wide
        $s1 = &quot;PDQ.com&quot; fullword wide
        $s2 = &quot;CustomActions.StartService&quot; wide
        $s3 = &quot;CustomActions.WriteToken&quot; wide
        $s4 = &quot;CustomActions.DeleteEvent&quot; wide
        $s5 = &quot;CustomActions.CreateEventSource&quot; wide
        $s6 = &quot;CustomActions.CleanData&quot; wide
    condition:
        (uint16(0) == 0x5a4d or (uint32be(0) == 0xd0cf11e0 and uint32be(4) == 0xa1b11ae1))
        and $a
        and 3 of ($s*)</code></pre>
<p>Don&#8217;t forget to monitor the configuration of your protection tools: they should block when possible, not just notify about threats. It is always easier to defend yourself if you limit the attack surface — the possible types of files and links that can be exchanged via email.</p>
<figure class="wp-block-image"><img width="891" height="791" src="https://ptesc.tech/wp-content/uploads/2026/01/photo_486@30-01-2026_14-53-53.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/01/photo_486@30-01-2026_14-53-53.jpg 891w, https://ptesc.tech/wp-content/uploads/2026/01/photo_486@30-01-2026_14-53-53-300x266.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/01/photo_486@30-01-2026_14-53-53-768x682.jpg 768w" sizes="auto, (max-width: 891px) 100vw, 891px" /></figure>
<figure class="wp-block-image"><img width="1024" height="472" src="https://ptesc.tech/wp-content/uploads/2026/01/photo_487@30-01-2026_14-53-53-1024x472.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/01/photo_487@30-01-2026_14-53-53-1024x472.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/01/photo_487@30-01-2026_14-53-53-300x138.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/01/photo_487@30-01-2026_14-53-53-768x354.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/01/photo_487@30-01-2026_14-53-53.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="843" height="1024" src="https://ptesc.tech/wp-content/uploads/2026/01/photo_488@30-01-2026_14-53-53-843x1024.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/01/photo_488@30-01-2026_14-53-53-843x1024.jpg 843w, https://ptesc.tech/wp-content/uploads/2026/01/photo_488@30-01-2026_14-53-53-247x300.jpg 247w, https://ptesc.tech/wp-content/uploads/2026/01/photo_488@30-01-2026_14-53-53-768x933.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/01/photo_488@30-01-2026_14-53-53.jpg 931w" sizes="auto, (max-width: 843px) 100vw, 843px" /></figure>
<figure class="wp-block-image"><img width="1024" height="605" src="https://ptesc.tech/wp-content/uploads/2026/01/photo_489@30-01-2026_14-53-53-1024x605.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2026/01/photo_489@30-01-2026_14-53-53-1024x605.jpg 1024w, https://ptesc.tech/wp-content/uploads/2026/01/photo_489@30-01-2026_14-53-53-300x177.jpg 300w, https://ptesc.tech/wp-content/uploads/2026/01/photo_489@30-01-2026_14-53-53-768x454.jpg 768w, https://ptesc.tech/wp-content/uploads/2026/01/photo_489@30-01-2026_14-53-53.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p><span class="hashtag">#phishing</span> <span class="hashtag">#malware</span> <span class="hashtag">#emailsecurity</span> <span class="hashtag">#sandbox</span> <span class="hashtag">#avlab</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New window in dark mode</title>
		<link>https://ptesc.tech/en/new-window-in-dark-mode/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Fri, 26 Dec 2025 14:26:59 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[C2]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Phishing]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d0%bd%d0%be%d0%b2%d0%be%d0%b5-%d0%be%d0%ba%d0%bd%d0%be-%d0%b2-%d1%82%d0%b5%d0%bc%d0%bd%d0%be%d0%bc-%d1%80%d0%b5%d0%b6%d0%b8%d0%bc%d0%b5/</guid>

					<description><![CDATA[A New Window in Dark Mode 🫣 During the monitoring of new network threats in the network expertise department, suspicious traffic was noticed that was generated by the file INTIMACAO_2025_006647.exe. It was masquerading as a PDF, and transla…]]></description>
										<content:encoded><![CDATA[<p><strong>A New Window in Dark Mode</strong> 🫣</p>
<p>During the monitoring of new network threats in the network expertise department, suspicious traffic was noticed that was generated by the file <code>INTIMACAO_2025_006647.exe.</code> It was masquerading as a PDF, and translated from Portuguese it meant &#8220;Court Summons&#8221; (<em>screenshot 1</em>). </p>
<p>After execution on the host, a decoy document opened and network interaction with the Google API was initiated, and outwardly it resembled legitimate requests rather than typical C2 exchange. This story intrigued us, so we decided to dig deeper into the analysis of the sample and understand what exactly it does and what role the unexpected network requests to Google play in this scheme 🔍</p>
<p><strong>Let&#8217;s move straight to behavioral analysis</strong>. After execution, several PowerShell scripts were dropped into the <code>/Temp</code> directory: <code>Clean_policies</code>, <code>Get_token</code>, and <code>Apply_cbcm</code>. The purpose of the first was to prepare the infected machine — cleaning the registry of existing local policies and settings of various Chromium browsers, as well as restarting browser processes to promptly apply the changes made (<em>screenshot 2</em>). After that, <code>Get_token.ps1</code> contacted a remote server and pulled a certain token from there (<em>screenshot 3</em>). Finally, the third script, <code>Apply_cbcm</code> (<em>screenshot 4</em>), wrote the obtained token into Chrome policies at the system registry level.</p>
<p>🙆 <strong>After a closer look at the parameter names, everything became quite clear:</strong> the malware set <code>CloudManagementEnrollmentToken</code> and enabled <code>CloudPolicyOverridesPlatformPolicy</code>, that is, it explicitly switched the browser to prioritize cloud policies. Such a set of names practically stated outright the use of <strong>Chrome Browser Cloud Management</strong> (judging by the <a href="https://cloud.google.com/blog/products/chrome-enterprise/4-more-reasons-use-chromes-cloud-based-management" rel="noopener" target="_blank">Google Cloud blog</a>, this mechanism was supposed to fight evil, not join it) and that the main goal here was to bind the browser to a remote management console created by the attackers.</p>
<p>It was precisely the consequences of these scripts&#8217; work that we first saw in the network dump (<em>screenshot 5</em>). First, a regular GET request to the C2 <code>servidorunico.com</code> returned that very enrollment token. Then, after the value was written into the registry, the browser automatically raised the next stage of the chain — it itself initiated registration in Google&#8217;s infrastructure and sent a POST to the API endpoint with the parameter <code>request=register_browser</code>. The key marker in this request was in the Authorization header, where the token was passed as <code>GoogleEnrollmentToken</code>, and it was this that turned the outwardly legitimate traffic to Google into an indicator of the browser being bound to remote cloud management.</p>
<p>🌐 This tactic gives the attacker a persistent lever of control over the browser. As soon as the user &#8220;takes the bait,&#8221; the attacker gains the ability to centrally deploy malicious policies and extensions or configure a proxy to intercept traffic. The most unpleasant part is that some of the activity looks like legitimate administration, so without context such a compromise is quite easy to miss.</p>
<p><strong>Stay tuned and happy hunting!</strong></p>
<p>IoCs:</p>
<pre><code>SHA256: 4442e1b545f0a571af113b0cc7455ecba1a603c81bbf84a52b9e61d332f97233
C2: servidorunico.com</code></pre>
<figure class="wp-block-image"><img width="832" height="885" src="https://ptesc.tech/wp-content/uploads/2025/12/photo_465@26-12-2025_14-26-59.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/12/photo_465@26-12-2025_14-26-59.jpg 832w, https://ptesc.tech/wp-content/uploads/2025/12/photo_465@26-12-2025_14-26-59-282x300.jpg 282w, https://ptesc.tech/wp-content/uploads/2025/12/photo_465@26-12-2025_14-26-59-768x817.jpg 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /></figure>
<figure class="wp-block-image"><img width="1024" height="501" src="https://ptesc.tech/wp-content/uploads/2025/12/photo_466@26-12-2025_14-26-59-1024x501.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/12/photo_466@26-12-2025_14-26-59-1024x501.jpg 1024w, https://ptesc.tech/wp-content/uploads/2025/12/photo_466@26-12-2025_14-26-59-300x147.jpg 300w, https://ptesc.tech/wp-content/uploads/2025/12/photo_466@26-12-2025_14-26-59-768x376.jpg 768w, https://ptesc.tech/wp-content/uploads/2025/12/photo_466@26-12-2025_14-26-59.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="516" src="https://ptesc.tech/wp-content/uploads/2025/12/photo_467@26-12-2025_14-26-59-1024x516.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/12/photo_467@26-12-2025_14-26-59-1024x516.jpg 1024w, https://ptesc.tech/wp-content/uploads/2025/12/photo_467@26-12-2025_14-26-59-300x151.jpg 300w, https://ptesc.tech/wp-content/uploads/2025/12/photo_467@26-12-2025_14-26-59-768x387.jpg 768w, https://ptesc.tech/wp-content/uploads/2025/12/photo_467@26-12-2025_14-26-59.jpg 1274w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="444" src="https://ptesc.tech/wp-content/uploads/2025/12/photo_468@26-12-2025_14-26-59-1024x444.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/12/photo_468@26-12-2025_14-26-59-1024x444.jpg 1024w, https://ptesc.tech/wp-content/uploads/2025/12/photo_468@26-12-2025_14-26-59-300x130.jpg 300w, https://ptesc.tech/wp-content/uploads/2025/12/photo_468@26-12-2025_14-26-59-768x333.jpg 768w, https://ptesc.tech/wp-content/uploads/2025/12/photo_468@26-12-2025_14-26-59.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p><span class="hashtag">#network</span> <span class="hashtag">#C2</span> <span class="hashtag">#phishing</span> <span class="hashtag">#AVLab</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>And we have big news!</title>
		<link>https://ptesc.tech/en/and-we-have-big-news/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Tue, 01 Jul 2025 15:50:29 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d0%b0-%d1%83-%d0%bd%d0%b0%d1%81-%d0%b1%d0%be%d0%bb%d1%8c%d1%88%d0%be%d0%b5-%d1%81%d0%be%d0%b1%d1%8b%d1%82%d0%b8%d0%b5/</guid>

					<description><![CDATA[And we have big news!😡 At PT ESC, the Antivirus Laboratory has opened: we have combined the expertise of "VIRUSBLOCKADA" with our own, analyzing numerous samples and independently writing signatures for the antivirus database. 🌚 Moreover, t…]]></description>
										<content:encoded><![CDATA[<p><strong>And we have big news!</strong><strong>😡</strong></p>
<p>At PT ESC, the <strong>Antivirus Laboratory</strong> has <a href="https://ptsecurity.com/ru-ru/about/news/positive-technologies-otkryvaet-antivirusnuyu-laboratoriyu/?utm_source=tg_esc&#038;utm_medium=avlab&#038;utm_campaign=01_07" rel="noopener" target="_blank">opened</a>: we have combined the expertise of &#8220;VIRUSBLOCKADA&#8221; with our own, analyzing numerous samples and independently writing signatures for the antivirus database. </p>
<p>🌚 Moreover, the other day a Positive expert created a detection record for the antivirus engine for the first time. And before that, they mastered the theory and practice of a technology new to us and the skill of using the necessary set of tools. Can you guess the name of the detection? Vote in the poll below.</p>
<p>If you have an interesting malware that needs to be analyzed and for which detection rules need to be created in our products, then don&#8217;t hesitate: <a href="mailto:avlab@ptsecurity.com">avlab@ptsecurity.com</a></p>
<p><span class="hashtag">#avlab</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>.NET Reactor: evolution of protection from 6.7 to 7.0 and methods for removing obfuscation</title>
		<link>https://ptesc.tech/en/net-reactor-the-evolution-of-protection-from-6-7-to-7-0-and-methods-for-removing/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Mon, 03 Mar 2025 18:06:33 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[obfuscation]]></category>
		<category><![CDATA[sandboxteam]]></category>
		<guid isPermaLink="false">https://ptesc.tech/net-reactor-%d1%8d%d0%b2%d0%be%d0%bb%d1%8e%d1%86%d0%b8%d1%8f-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d1%8b-%d1%81-6-7-%d0%b4%d0%be-7-0-%d0%b8-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d1%8b-%d1%81%d0%bd%d1%8f%d1%82/</guid>

					<description><![CDATA[.NET Reactor: The Evolution of Protection from 6.7 to 7.0 and Methods for Removing Obfuscation 🔄 .NET Reactor is a powerful tool for protecting executables written in C# from decompilation and reverse engineering. It provides various method…]]></description>
										<content:encoded><![CDATA[<p><strong>.NET Reactor: The Evolution of Protection from 6.7 to 7.0 and Methods for Removing Obfuscation</strong> 🔄</p>
<p>.NET Reactor is a powerful tool for protecting executables written in C# from decompilation and reverse engineering. It provides various methods of obfuscation and licensing, ensuring the security of developers&#8217; intellectual property. </p>
<p>But, as is usually the case, it is not only used for good purposes: experts at the PT ESC antivirus laboratory often encounter malicious files protected from analysis by .Net Reactor.</p>
<p>🔓 <strong>How is it protected?</strong></p>
<p>.NET Reactor uses several layers of protection to prevent decompilation and code analysis:</p>
<p><strong>• NecroBit IL Code Protection:</strong> replaces the CIL code of methods with encrypted code, making decompilation and recovery of the source code impossible.</p>
<p><strong>• Code virtualization:</strong> transforms the source code into a set of instructions different from .NET IL, which are interpreted at runtime by a virtual machine, complicating analysis and recovery of the original code.</p>
<p><strong>• Control Flow Obfuscation:</strong> transforms the code of methods into a tangled structure, complicating understanding of the program&#8217;s logic and hindering the work of decompilers (<em>example — in screenshot 1</em>).</p>
<p><strong>• String Encryption:</strong> encrypts strings in the code, preventing their reading and analysis, which complicates understanding of the application&#8217;s functionality, as shown <em>in screenshot 2</em>.</p>
<p><strong>• Anti-Debug mechanisms (Anti Debug):</strong> injects checks for the presence of debuggers, terminating the process when they are detected, which impedes dynamic analysis of the application. </p>
<p>🆕 <strong>What&#8217;s new?</strong></p>
<p>• .NET 6.0 support: provides protection for the latest applications on this platform.</p>
<p>• Improvements in code virtualization and Control Flow Obfuscation provide a further increase in the reliability and complexity of obfuscation.</p>
<p>• Hiding the contents of merged .NET Core, 5.0, 6.0 applications prevents viewing the contents using tools such as ILSpy / dnSpy.</p>
<p>🧐 <strong>How to analyze?</strong></p>
<p>Despite the complexity of the protection, there are tools that make life easier for reverse engineers.<br />
NETReactorSlayer — a powerful tool for reversing applications obfuscated with .NET Reactor. Its main features:</p>
<p>• NecroBit decryption — restores CIL code from encrypted methods;</p>
<p>• removal of proxies and wrappers — cleans the code of garbage added by the obfuscator (<em>see screenshot 3</em>);</p>
<p>• decoding of strings and resources — returns readable strings encrypted in the application;</p>
<p>• bypassing anti-debug and code tamper protection.</p>
<p>However, starting with version 6.9, the original version of Net Reactor Slayer stopped coping with deobfuscating the protection even with basic parameters. Thanks to the open source code and a fairly large community, in pull requests you can find fixed code that works perfectly even on the very latest version of the obfuscator.</p>
<p>But things are not so smooth with virtualized code: Net Reactor Slayer cannot handle it. If you are lucky and the file was protected with version <code>6.9.0.0</code>, then you can avoid wasting time on manual analysis of the virtual machine and use VMAttack — a tool for devirtualizing .NET applications, which supports this version of .NET Reactor. And if you are not lucky — the easiest way is to analyze the file by its behavior, for example using PT Sandbox.</p>
<p>☝️ <strong>Conclusion</strong></p>
<p>.NET Reactor remains one of the most popular obfuscators for .NET. With each version, the protection becomes more complex, especially through virtualization. If you are going to analyze it — stock up on patience and good tools.</p>
<figure class="wp-block-image"><img width="1024" height="320" src="https://ptesc.tech/wp-content/uploads/2025/03/photo_214@03-03-2025_18-06-33-1024x320.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/03/photo_214@03-03-2025_18-06-33-1024x320.jpg 1024w, https://ptesc.tech/wp-content/uploads/2025/03/photo_214@03-03-2025_18-06-33-300x94.jpg 300w, https://ptesc.tech/wp-content/uploads/2025/03/photo_214@03-03-2025_18-06-33-768x240.jpg 768w, https://ptesc.tech/wp-content/uploads/2025/03/photo_214@03-03-2025_18-06-33.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<figure class="wp-block-image"><img width="1024" height="601" src="https://ptesc.tech/wp-content/uploads/2025/03/photo_215@03-03-2025_18-06-33-1024x601.jpg" class="attachment-large size-large" alt="" decoding="async" loading="lazy" srcset="https://ptesc.tech/wp-content/uploads/2025/03/photo_215@03-03-2025_18-06-33-1024x601.jpg 1024w, https://ptesc.tech/wp-content/uploads/2025/03/photo_215@03-03-2025_18-06-33-300x176.jpg 300w, https://ptesc.tech/wp-content/uploads/2025/03/photo_215@03-03-2025_18-06-33-768x451.jpg 768w, https://ptesc.tech/wp-content/uploads/2025/03/photo_215@03-03-2025_18-06-33.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p><span class="hashtag">#avlab</span> <span class="hashtag">#sandboxteam</span> <span class="hashtag">#dotnet</span> <span class="hashtag">#obfuscation</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Do you automate debugging?</title>
		<link>https://ptesc.tech/en/do-you-automate-debugging/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Fri, 21 Feb 2025 14:34:37 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[avlab]]></category>
		<category><![CDATA[sandboxteam]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d0%b0-%d0%b2%d1%8b-%d0%b0%d0%b2%d1%82%d0%be%d0%bc%d0%b0%d1%82%d0%b8%d0%b7%d0%b8%d1%80%d1%83%d0%b5%d1%82%d0%b5-%d0%be%d1%82%d0%bb%d0%b0%d0%b4%d0%ba%d1%83/</guid>

					<description><![CDATA[Do you automate debugging? 🧐 The PT Sandbox expert team often has to debug various Windows kernel components in their work, and a kernel debugger is indispensable here. The more often we do this, the greater our desire to optimize this proc…]]></description>
										<content:encoded><![CDATA[<strong>Do you automate debugging?</strong> 🧐<br />
<br />
The PT Sandbox expert team often has to debug various Windows kernel components in their work, and a kernel debugger is indispensable here. The more often we do this, the greater our desire to optimize this process.<br />
<br />
Often during debugging, you want to see changes in variables, arguments, and various runtime values. This can be achieved with conditional breakpoints and commands. Many years ago, WinDbg gained support for <a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/using-linq-with-the-debugger-objects" rel="noopener" target="_blank">a new data model.</a> With the <code>dx</code> command, you can declare your own variables, structures, call JavaScript functions, and make LINQ queries.<br />
<br />
For example, we want to log all files opened by the <code>explorer.exe</code> process:<br />
<br />
<pre class="wp-block-code"><span><code lang="powershell" class="hljs language-powershell language-powershell"><span class="hljs-number">0</span>: kd&gt; dx <span class="hljs-selector-tag">@</span><span class="hljs-variable">$explorer</span> = <span class="hljs-string">"explorer.exe"</span>
<span class="hljs-number">0</span>: kd&gt; bp /w <span class="hljs-string">"@<span class="hljs-variable">$curprocess</span>.Name.ToLower().StartsWith(@<span class="hljs-variable">$explorer</span>)"</span> nt!NtCreateFile <span class="hljs-string">"dx ((_OBJECT_ATTRIBUTES*)@r8)-&gt;ObjectName-&gt;Buffer; gc"</span>
</code></span></pre><br />
<br />
If the conditions or interception logic are more complex, a script is indispensable. Let&#8217;s look at an example.<br />
<br />
Suppose we want to catch and save shellcode injected into a remote process. To do this, we need to intercept the <code>NtWriteVirtualMemory</code> function, check whether the handle belongs to the current process, and if not, save the memory region to disk. Here&#8217;s what it looks like in a script:<br />
<br />
<pre class="wp-block-code"><span><code lang="javascript" class="hljs language-javascript language-javascript"><span class="hljs-meta">"use strict"</span>;

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">WriteMemoryCallback</span>(<span class="hljs-params"></span>)
</span>{
    <span class="hljs-keyword">if</span>  (host.currentThread.Registers.User.rcx == <span class="hljs-number">-1</span>)
    {
        <span class="hljs-keyword">return</span>;
    }

    <span class="hljs-keyword">let</span> address = host.currentThread.Registers.User.rdx; 
    <span class="hljs-keyword">let</span> buffer  = host.currentThread.Registers.User.r8;
    <span class="hljs-keyword">let</span> length  = host.currentThread.Registers.User.r9;
    <span class="hljs-keyword">let</span> filename = ${host.currentProcess.Name}-${buffer.toString(<span class="hljs-number">16</span>)}.dmp;

    <span class="hljs-keyword">let</span> file = host.namespace.Debugger.Utility.FileSystem.TempDirectory.CreateFile(
        filename, <span class="hljs-string">'CreateNew'</span>);

    file.WriteBytes(host.memory.readMemoryValues(buffer, length, <span class="hljs-number">1</span>));
    host.diagnostics.debugLog(<span class="hljs-string">`dumped <span class="hljs-subst">${length}</span> bytes to <span class="hljs-subst">${filename}</span>\n`</span>);
    file.Close();
}

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">initializeScript</span>(<span class="hljs-params"></span>)
</span>{
    <span class="hljs-keyword">return</span> &#91;<span class="hljs-keyword">new</span> host.apiVersionSupport(<span class="hljs-number">1</span>, <span class="hljs-number">9</span>)];
}

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">invokeScript</span>(<span class="hljs-params"></span>)
</span>{
    <span class="hljs-keyword">let</span> bp = host.namespace.Debugger.Utility.Control.SetBreakpointAtOffset(<span class="hljs-string">"NtWriteVirtualMemory"</span>, <span class="hljs-number">0</span>, <span class="hljs-string">"nt"</span>);
    bp.Command = <span class="hljs-string">`dx @$scriptContents.WriteMemoryCallback(); gc`</span>;
}
</code></span></pre><br />
<br />
Sometimes the set of APIs provided by the JavaScript engine may not be enough — with <code>ExecuteCommand</code> you can call any debugger command, for example to delete a breakpoint or set one at a specific address:<br />
<br />
<pre class="wp-block-code"><span><code lang="javascript" class="hljs language-javascript language-javascript"><span class="hljs-keyword">let</span> exec = host.namespace.Debugger.Utility.Control.ExecuteCommand;
<span class="hljs-keyword">let</span> command = <span class="hljs-string">`dx @$scriptContents.BreakPointCallback(); gc`</span>;
exec(<span class="hljs-string">"bc *"</span>);
exec(<span class="hljs-string">`bp 0xfffffc024d546a88 "<span class="hljs-subst">${command}</span>"`</span>);
</code></span></pre><br />
<br />
JavaScript also allows you to <a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/using-linq-with-the-debugger-objects" rel="noopener" target="_blank">extend the debugger&#8217;s data model,</a> for example by adding info about the sections of loaded DLLs or an additional command similar to <code>!handle</code>, <code>!address</code>, etc.<br />
<br />
Suppose we want to enumerate the callbacks for process creation, thread creation, and DLL loading. To do this, we need to create a command, for example <code>!callbacks</code>:<br />
<br />
<pre class="wp-block-code"><span><code lang="javascript" class="hljs language-javascript language-javascript"><span class="hljs-keyword">const</span> log  = <span class="hljs-function"><span class="hljs-params">x</span> =&gt;</span> host.diagnostics.debugLog(x + <span class="hljs-string">'\n'</span>);
<span class="hljs-keyword">const</span> u64  = <span class="hljs-function"><span class="hljs-params">x</span> =&gt;</span> host.memory.readMemoryValues(x, <span class="hljs-number">1</span>, <span class="hljs-number">8</span>)&#91;<span class="hljs-number">0</span>];
<span class="hljs-keyword">const</span> exec = <span class="hljs-function"><span class="hljs-params">x</span> =&gt;</span> host.namespace.Debugger.Utility.Control.ExecuteCommand(x);

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">ParseCallbacks</span>(<span class="hljs-params">Symbol, Size</span>)
</span>{
    log(&#91;+] ${<span class="hljs-built_in">Symbol</span>}:);
    <span class="hljs-keyword">let</span> base = host.getModuleSymbolAddress(<span class="hljs-string">"nt"</span>, <span class="hljs-built_in">Symbol</span>);
    <span class="hljs-keyword">if</span> (base == <span class="hljs-literal">null</span>)
        <span class="hljs-keyword">return</span>;
    <span class="hljs-keyword">for</span> (<span class="hljs-keyword">let</span> i = <span class="hljs-number">0</span>; i &lt; Size; i++)
    {
        <span class="hljs-keyword">let</span> entry = u64(base.add(i * <span class="hljs-number">8</span>));
        <span class="hljs-keyword">if</span> (entry.compareTo(<span class="hljs-number">0</span>) != <span class="hljs-number">0</span>)
        {
            entry = entry.bitwiseAnd(<span class="hljs-number">-16</span>);
            <span class="hljs-keyword">let</span> callback = u64(entry.add(<span class="hljs-number">8</span>));
            log(\t${exec(.printf <span class="hljs-string">"%y"</span>, ${callback}).First()});
        }
    }
}

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">CallbackEnumerator</span>(<span class="hljs-params"></span>)
</span>{
    ParseCallbacks(<span class="hljs-string">"PspCreateProcessNotifyRoutine"</span>, <span class="hljs-number">64</span>);
    ParseCallbacks(<span class="hljs-string">"PspCreateThreadNotifyRoutine"</span>, <span class="hljs-number">64</span>);
    ParseCallbacks(<span class="hljs-string">"PspLoadImageNotifyRoutine"</span>, <span class="hljs-number">8</span>);
}

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">initializeScript</span>(<span class="hljs-params"></span>)
</span>{
    <span class="hljs-keyword">return</span> &#91;<span class="hljs-keyword">new</span> host.apiVersionSupport(<span class="hljs-number">1</span>, <span class="hljs-number">7</span>),
            <span class="hljs-keyword">new</span> host.functionAlias(CallbackEnumerator, <span class="hljs-string">"callbacks"</span>)];
}
</code></span></pre><br />
<br />
<strong>The result is in the screenshot. </strong>Modern WinDbg allows you to heavily automate the reverse engineering process, and an experienced analyst surely has a set of frequently used scripts.<em>
</em><br />
<span class="hashtag">#avlab</span> <span class="hashtag">#sandboxteam</span> <span class="hashtag">#tips</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
