<?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>web &#8211; PT ESC</title>
	<atom:link href="https://ptesc.tech/en/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>https://ptesc.tech/en/</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2026 19:20:11 +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>web &#8211; PT ESC</title>
	<link>https://ptesc.tech/en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>&quot;Why aren&#039;t you answering?&quot;, or The Story of How to Hijack a Telegram Account Without Registration or SMS</title>
		<link>https://ptesc.tech/en/why-arent-you-answering-or-the-story-of-how-to-hijack-a-telegram-account-without/</link>
		
		<dc:creator><![CDATA[oUth0R]]></dc:creator>
		<pubDate>Thu, 13 Mar 2025 16:18:22 +0000</pubDate>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[dfir]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[win]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d1%87%d0%b5%d0%b3%d0%be-%d0%bd%d0%b5-%d0%be%d1%82%d0%b2%d0%b5%d1%87%d0%b0%d0%b5%d1%82%d0%b5-%d0%b8%d0%bb%d0%b8-%d0%b8%d1%81%d1%82%d0%be%d1%80%d0%b8%d1%8f-%d0%be-%d1%82%d0%be%d0%bc/</guid>

					<description><![CDATA[😐 “Why aren't you answering?”, or The Story of How to Steal a Telegram Account Without Registration or SMS Recently we published an article about the most popular methods of stealing accounts in Telegram. 😑 The article covers schemes such a…]]></description>
										<content:encoded><![CDATA[<p>😐 <strong>“Why aren&#8217;t you answering?”, or The Story of How to Steal a Telegram Account Without Registration or SMS</strong></p>
<p>Recently we <a href="https://habr.com/ru/companies/pt/articles/889692/" rel="noopener" target="_blank">published an article</a> about the most popular methods of stealing accounts in Telegram.</p>
<p>😑 <strong>The article covers schemes such as:</strong></p>
<p><strong>•</strong> Distribution of phishing messages about receiving a Premium subscription.<br />
<strong>•</strong> Sending messages asking for help in voting.<br />
<strong>•</strong> Obtaining an authorization code under the guise of tech support staff, law enforcement officers, etc.<br />
<strong>•</strong> Issuing a duplicate SIM card.<br />
<strong>•</strong> Copying files with active user sessions.</p>
<p><strong>Among the particularly interesting points:</strong></p>
<p>🖥 Nuances for official desktop versions and web clients of the applications are examined.</p>
<p>🔜 Session theft by copying <code>tdata</code>, (<code>appstore</code>, <code>stable</code> — for macOS) with device authorization keys (authorization key) remains unnoticed by the user (there is no information about an additional session in the list of active devices).</p>
<p>☝️ Confidential information that interests attackers is most often stored in the directories:</p>
<p><strong>For Windows:</strong> <code>C:\Users\&lt;Username&gt;\AppData\Roaming\TelegramDesktop\tdata</code></p>
<p><strong>For Linux:</strong> <code>/home/&lt;Username&gt;/.local/share/TelegramDesktop/tdata</code></p>
<p><strong>For macOS, Telegram for Mac client:</strong> <code>HDD/Users/&lt;Username&gt;/Library/Application Support/Telegram Desktop/tdata</code></p>
<p><strong>For macOS, Telegram for macOS client:</strong> <code>HDD/Users/&lt;Username&gt;/Library/GroupContainers/6N38VWS5BX.ru.keepcoder.Telegram/appstore</code> (<code>stable</code>, if installed via a DMG file)</p>
<p>🌐 When using web versions, an account can be stolen if one has physical access to the device.</p>
<p>For <code>Google Chrome</code>, attackers copy the contents of the directories:</p>
<p><strong>Windows:</strong> <code>C:\Users\&lt;Username&gt;\AppData\Local\Google\Chrome\User Data\Default</code></p>
<p><strong>Linux:</strong> <code>/home/&lt;Username&gt;/.config/google-chrome/Default</code></p>
<p><strong>macOS:</strong> <code>HDD/Users/&lt;Username&gt;/Library/Application Support/Google/Chrome/Default</code></p>
<p>💻 It makes no difference which operating system the attacker uses the stolen information on: <strong>tdata from Windows can be used for authorization on both Linux and macOS</strong>. This also works with web versions.</p>
<p>🔗 When following the link <code>https://web.telegram.org/</code> from the app on a computer or mobile device, an access token to the account&#8217;s contents is generated — it is possible to log into the web version of Telegram. Try it yourself!</p>
<p>📝 Recommendations are given on how to identify illegitimate sessions and protect yourself from the attacks discussed.</p>
<p>Read the full text of the article <a href="https://habr.com/ru/companies/pt/articles/889692/" rel="noopener" target="_blank">on Habr</a>.</p>
<p><span class="hashtag">#dfir</span> <span class="hashtag">#macos</span> <span class="hashtag">#win</span> <span class="hashtag">#linux</span> <span class="hashtag">#web</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>An endless series of transitions</title>
		<link>https://ptesc.tech/en/endless-series-of-transitions/</link>
		
		<dc:creator><![CDATA[global_author]]></dc:creator>
		<pubDate>Fri, 25 Oct 2024 18:10:30 +0000</pubDate>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d0%b1%d0%b5%d1%81%d0%ba%d0%be%d0%bd%d0%b5%d1%87%d0%bd%d0%b0%d1%8f-%d1%87%d0%b5%d1%80%d0%b5%d0%b4%d0%b0-%d0%bf%d0%b5%d1%80%d0%b5%d1%85%d0%be%d0%b4%d0%be%d0%b2/</guid>

					<description><![CDATA[An endless chain of redirects ♾️ Quite often, when sending phishing links via email, attackers do not attach them explicitly to the email but use various redirection techniques. The suspicious domain is hidden from the user and from securit…]]></description>
										<content:encoded><![CDATA[<strong>An endless chain of redirects</strong> ♾️<br />
<br />
Quite often, when sending phishing links via email, attackers do not attach them explicitly to the email but use various redirection techniques. The suspicious domain is hidden from the user and from security tools that perform static link analysis, increasing the chances of catching a victim. <br />
<br />
Cybercriminals often use a single level of redirection from a legitimate resource to a malicious one. But we were fortunate enough to analyze a case where the attacker used five consecutive — and, most importantly, diverse — redirection techniques to a malicious resource.<br />
<br />
1️⃣<strong> Redirection via TikTok</strong><br />
<br />
The link starts with the following construct:<br />
<br />
<pre class="wp-block-code"><span><code lang="yaml" class="hljs language-yaml language-yaml">
<span class="hljs-string">https://www.tiktok.com/link/v2?aid=1988&amp;lang=en&amp;scene=bio_url&amp;target=</span>
</code></span></pre><br />
<br />
TikTok allows you to place links to external resources in the profile description (the <code>bio_url</code> parameter), and redirection to them is performed via the URL above. By the way, <code>aid=1988</code> is seen not only in this case study but also in reports from other vendors. The only optional parameter in this request is <code>lang</code>, but apparently it, like the ID, has migrated and formed a stable prefix in phishing cases. This suggests adding it as a template for security tools.<br />
<br />
So, instead of funny reels, TikTok forwards us to&#8230;<br />
<br />
2️⃣ <strong>Google AMP
</strong><br />
<pre class="wp-block-code"><span><code lang="yaml" class="hljs language-yaml language-yaml">
<span class="hljs-string">https://www.google.ca/url?q=amp/s/&lt;phishing_url&gt;</span>
</code></span></pre><br />
<br />
Google AMP is a means of accelerated viewing of web pages that support a number of restrictions specially designed for this acceleration. Notably, the page is loaded not from the domain where it is hosted but from Google&#8217;s cache. In fact, the first web page of interest to us fully satisfies these requirements, since it contains only a few lines of JavaScript code.<br />
<br />
3️⃣<strong> The first suspicious domain</strong><br />
<br />
Contains the following code:<br />
<br />
<pre class="wp-block-code"><span><code lang="javascript" class="hljs language-javascript language-javascript">
&lt;script type=<span class="hljs-string">"text/javascript"</span>&gt;
    <span class="hljs-keyword">var</span> firstBase64Url = <span class="hljs-string">"aHR0cHM6Ly94LmNvbQ=="</span>;
    <span class="hljs-keyword">var</span> secondBase64Url = <span class="hljs-string">"&lt;Another malicious resource&gt;"</span>;
 
    <span class="hljs-comment">// Load the first URL for a few seconds</span>
    setTimeout(<span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
      <span class="hljs-built_in">window</span>.open(atob(firstBase64Url), <span class="hljs-string">'_blank'</span>);
    }, <span class="hljs-number">2000</span>); <span class="hljs-comment">// 2000 milliseconds = 2 seconds</span>
 
    <span class="hljs-comment">// After the specified time, load the second URL</span>
    setTimeout(<span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
      <span class="hljs-built_in">window</span>.location.href = atob(secondBase64Url) + <span class="hljs-string">"?qrc="</span> + <span class="hljs-built_in">window</span>.location.hash.substr(<span class="hljs-number">1</span>);
    }, <span class="hljs-number">2000</span>); <span class="hljs-comment">// 2000 milliseconds = 2 seconds</span>
  &lt;<span class="hljs-regexp">/script&gt;
</span></code></span></pre><br />
<br />
When executed, once the 2-second timeout expires, a new tab opens with <code>firstBase64Url</code> (which, as is easy to verify, is <code>https://x.com/</code>, another legitimate resource), and in the open tab a redirect occurs to <code>secondBase64Url</code>. Both techniques — opening a new browser tab and enabling a timeout — are needed to complicate analysis by web crawlers.<br />
<br />
4️⃣<strong> Transition to secondBase64Url</strong><br />
<br />
At this stage, we encounter the use of Cloudflare Turnstile — an embeddable mini-captcha that does not require routing traffic through Cloudflare (<em>example of the interface in screenshot 1</em>). During manual analysis of the code on this page, we can already parse another URL, but in order to actually follow it, we need to learn how to pass this captcha.<br />
<br />
5️⃣ <strong>Traditional 3XX page response code</strong><br />
<br />
Here everything is simple: at the previous stage, the URL from the code, via a standard 302 response, redirects to the final phishing password-collection page, which imitates the Microsoft Outlook login window. <em>Its interface in the browser window is shown in screenshot 2</em>.<br />
<br />
💁‍♂️ <strong>Tips:</strong><br />
<br />
<strong>•</strong> When analyzing a phishing URL, it is worth paying attention to whether the detected anti-redirect techniques (inserting pauses, captchas, opening new tabs) are covered by the available information security tools: if the security tool in use cannot bypass them during automatic link following, then simply detecting them and blocking the corresponding email message may be useful.<br />
<br />
<strong>•</strong> If you (as a user) clicked on such a link — pay attention to how often the URL in the browser&#8217;s address bar changed and how many additional actions were performed by you and on the browser&#8217;s side.

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

<br />
<br />
<span class="hashtag">#tip</span> <span class="hashtag">#phishing</span> <span class="hashtag">#web</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Phishing legitimacy</title>
		<link>https://ptesc.tech/en/phishing-legitimacy/</link>
		
		<dc:creator><![CDATA[ti_author]]></dc:creator>
		<pubDate>Thu, 19 Sep 2024 11:36:53 +0000</pubDate>
				<category><![CDATA[Threat Intelligence]]></category>
		<category><![CDATA[TI]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">http://localhost:8080/%d1%84%d0%b8%d1%88%d0%b8%d0%bd%d0%b3%d0%be%d0%b2%d0%b0%d1%8f-%d0%bb%d0%b5%d0%b3%d0%b8%d1%82%d0%b8%d0%bc%d0%bd%d0%be%d1%81%d1%82%d1%8c/</guid>

					<description><![CDATA[Phishing Legitimacy 😂 During an analysis of one phishing email, we noticed how attackers attempted to place phishing content on a page of the telegra․ph domain. Their idea likely wasn't to use the "extensive" functionality of the service fo…]]></description>
										<content:encoded><![CDATA[<p><strong>Phishing Legitimacy</strong> 😂<strong><br />
</strong><br />
During an analysis of one phishing email, we noticed how attackers attempted to place phishing content on a page of the telegra․ph domain.  </p>
<p>Their idea likely wasn&#8217;t to use the &#8220;extensive&#8221; functionality of the service for publishing content, but rather the reputation of the domain itself. And this could work, because given the perfectly legitimate content of the WHOIS data, the SSL certificate, and the web category of the telegra․ph domain for various aggregators, this page would receive at least a neutral status during analysis.</p>
<p>All of this led us to consider some real-world cases of using legitimate services in phishing campaigns.</p>
<p>1️⃣ <strong>Telegraph itself.</strong></p>
<p>This is an anonymous blogging platform from a well-known developer. The functionality is minimalistic, with no control elements, and text is published using only two heading levels: Title and the text itself.</p>
<p>Only clickable elements for redirecting to a phishing page can be placed in the blog itself, while the styling remains neutral and minimalistic. An example of a phishing page on telegra․ph is shown in the screenshot.</p>
<p>In a sense, this page style resembles a text email, with the only difference being that the malicious link itself is hidden from automated analysis tools by yet another redirect layer.</p>
<p>2️⃣ <strong>Online development environments.</strong></p>
<p>An online development environment that supports HTML, JavaScript, and even includes collaborative development and publishing features (like JSFiddle) can be used to deliver malware or integrate complex and diverse redirect techniques into the chain.<br />
Here, for example, is code hosted on JSFiddle that loads a PNG image and executes without additional actions:</p>
<pre><code>
a = document.createElement(&#039;a&#039;);
document.body.appendChild(a);
a.download = name;
a.href = &quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAABWSURBVDhPY0xISPh//0UOA7mAiVyNMH2jBjAwkBQGjD9KGBTEJ6OEO0kG2NvbMwCjnXwDsEU5SS5ANuDhjRCGJbPFSQsDdBfIyMhQZgDIQLK9QLWkDABPsQw5I+5qmAAAAABJRU5ErkJggg==&quot;;
a.click();
</code></pre>
<p>The problem with such links from online IDEs is clear: it&#8217;s easy to come up with phishing email content around them (&#8220;I&#8217;m a developer, here&#8217;s my portfolio with projects&#8221;), and the reputation of their domains won&#8217;t trigger alerts in analysis tools. </p>
<p>Furthermore, analyzing the page content requires advanced tools capable of emulating page transitions or loading content by executing JavaScript code.</p>
<p>3️⃣ <strong>IPFS</strong>.</p>
<p>The well-known distributed file storage protocol has become a popular tool among attackers. More precisely, not the protocol itself, but so-called IPFS gateways — online services that provide access to files hosted using this technology without requiring special clients. They act as a kind of proxy for accessing HTML pages stored in such a repository, allowing the attacker to avoid the hassle of hosting the page.</p>
<p>Additionally, a file from an IPFS repository cannot be deleted: an IPFS host can only place a placeholder indicating malicious content for the requested file, while the host itself needs time and resources to find such content in the repository.</p>
<p>✋ <strong>To protect against such exploitation of legitimate services</strong>, when securing the perimeter, you can use security tools that check the content of URL web content before rendering a verdict. And when receiving such links in personal email or messengers, it&#8217;s better to be cautious and check them using several services that show the reputation of indicators of compromise.</p>
<p><span class="hashtag">#web</span> <span class="hashtag">#ti</span> <span class="hashtag">#tip</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Do you see the authorization form? No. Neither do I. But it&#039;s there 🤔</title>
		<link>https://ptesc.tech/en/do-you-see-the-authorization-form-no-neither-do-i-but-its-there/</link>
		
		<dc:creator><![CDATA[oUth0R]]></dc:creator>
		<pubDate>Thu, 04 Jul 2024 15:58:03 +0000</pubDate>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[cve]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[dfir]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://ptesc.tech/%d1%84%d0%be%d1%80%d0%bc%d1%83-%d0%b0%d0%b2%d1%82%d0%be%d1%80%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d0%b8-%d0%b2%d0%b8%d0%b4%d0%b8%d1%88%d1%8c-%d0%bd%d0%b5%d1%82-%d0%b2%d0%be%d1%82-%d0%b8-%d1%8f-%d0%bd/</guid>

					<description><![CDATA[Do you see the authorization form? No. Neither do I. But it's there 🤔 During a recent investigation of one of the incidents, we encountered exploitation by attackers of a vulnerability in CMS Bitrix related to the many available endpoints f…]]></description>
										<content:encoded><![CDATA[<p><strong>Do you see the authorization form? No. Neither do I. But it&#8217;s there 🤔</strong></p>
<p>During a recent investigation of one of the incidents, we encountered exploitation by attackers of a vulnerability in CMS Bitrix related to the many available endpoints for authentication.</p>
<p>Despite the fact that this vulnerability is not new, a considerable number of websites are still susceptible to it.</p>
<p>Many administrators restrict access to the /bitrix/admin page, while not realizing that there are a number of other scripts that use the prolog_admin_before.php component, thanks to which it is possible to gain access to the authorization form 🤕</p>
<p><strong>Among them, the following can be highlighted:</strong></p>
<pre><code>
— /bitrix/components/bitrix/desktop/admin_settings.php
— /bitrix/components/bitrix/map.yandex.search/settings/settings.php
— /bitrix/components/bitrix/player/player_playlist_edit.php
— /bitrix/tools/autosave.php 
— /bitrix/tools/get_catalog_menu.php
— /bitrix/tools/upload.php
</code></pre>
<p>It was specifically the player_playlist_edit.php endpoint that was used by the attackers for authentication: </p>
<pre><code>
POST /bitrix/components/bitrix/player/player_playlist_edit.php?login=yes
</code></pre>
<p>Probably, standard credentials were used to access the system, since in the web server logs we saw only a few POST requests preceding the start of the session.</p>
<p>👀 This vulnerability — along with many others — is <a href="https://github.com/cr1f/writeups/blob/main/attacking_bitrix.pdf" rel="noopener" target="_blank">described in the Bitrix vulnerability report</a> (section 1.4.1).</p>
<p><strong>Apparently, the attackers also used this same report during the attack</strong>: some requests that fully match those given in the text of the report were discovered by us during log analysis. For example:</p>
<pre><code>
GET /ololo/?SEF_APPLICATION_CUR_PAGE_URL=/bitrix/admin/
</code></pre>
<p>In addition, the attackers made a request to each of the above endpoints for authentication.</p>
<p><span class="hashtag">#dfir</span> <span class="hashtag">#detect</span> <span class="hashtag">#cve</span> <span class="hashtag">#web</span><br />
<a href="https://t.me/ptescalator" rel="noopener" target="_blank">@ptescalator</a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
