{"id":6922,"date":"2025-09-15T10:03:28","date_gmt":"2025-09-15T10:03:28","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/09\/15\/new-yurei-ransomware-with-powershell-commands-encrypts-files-with-chacha20-algorithm\/"},"modified":"2025-09-15T10:03:28","modified_gmt":"2025-09-15T10:03:28","slug":"new-yurei-ransomware-with-powershell-commands-encrypts-files-with-chacha20-algorithm","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/09\/15\/new-yurei-ransomware-with-powershell-commands-encrypts-files-with-chacha20-algorithm\/","title":{"rendered":"New Yurei Ransomware With PowerShell Commands Encrypts Files With ChaCha20 Algorithm"},"content":{"rendered":"<p>    New Yurei Ransomware With PowerShell Commands Encrypts Files With ChaCha20 Algorithm<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>Emerging in early September 2025, the Yurei ransomware has swiftly drawn attention for its novel combination of Go-based execution and ChaCha20 encryption.<\/p>\n<p>First documented on September 5 when a Sri Lankan food manufacturer fell victim, the threat actor behind Yurei adopted a double-extortion model: encrypting files while exfiltrating <a href=\"https:\/\/cybersecuritynews.com\/ukrainian-web3team-weaponizing-npm-package\/\" target=\"_blank\" rel=\"noreferrer noopener\">sensitive data<\/a> for additional leverage.<\/p>\n<p>Within days, two more victims in India and Nigeria were publicly listed, underscoring the operator\u2019s rapid expansion.<\/p>\n<p>Unlike many sophisticated groups that develop custom toolsets, Yurei\u2019s codebase traces back to the open-source Prince-Ransomware project, raising questions about the skill level and resources of the attackers.<\/p>\n<p>At its core, Yurei leverages Go\u2019s concurrency features to enumerate all drives in parallel and encrypt files with the ChaCha20 algorithm.<\/p>\n<p>For each file, a new random ChaCha20 key and nonce are generated, then encrypted using ECIES with the attacker\u2019s public key.<\/p>\n<p>The resulting ciphertext, key, and nonce are concatenated with delimiters:-<\/p>\n<pre class=\"wp-block-code\"><code>\/\/ Generate random key and nonce\nkey := generateChaCha20Key()\nnonce := generateNonce()\n\/\/ Encrypt file content\nencryptedData := chaCha20Encrypt(content, key, nonce)\n\/\/ Protect key and nonce with ECIES\nprotectedKey := eciesEncrypt(key, publicKey)\nprotectedNonce := eciesEncrypt(nonce, publicKey)\n\/\/ Store encrypted file\nstore := protectedKey + \"||\" + protectedNonce + \"||\" + encryptedData<\/code><\/pre>\n<p>Check Point researchers <a href=\"https:\/\/research.checkpoint.com\/2025\/yurei-the-ghost-of-open-source-ransomware\/\" target=\"_blank\" rel=\"noreferrer noopener\">noted<\/a> that Yurei retains symbols in the binary, a mistake inherited from the Prince-Ransomware builder, which did not strip debugging information.<\/p>\n<p>This oversight provided analysts with clear function names such as <code>Yurei_encryption_generateKey<\/code> and <code>Yurei_filewalker_EncryptAllDrivesAndNetwork<\/code>, streamlining the reverse-engineering process.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-shadow-copy-recovery-and-defensive-implications\"><strong>Shadow Copy Recovery and Defensive Implications<\/strong><\/h2>\n<p>Despite this, Yurei\u2019s use of Go complicates detection for some legacy antivirus products, illustrating how language choice can impact <a href=\"https:\/\/cybersecuritynews.com\/ipv6-security-best-practices-recommended-security-measures\/\" target=\"_blank\" rel=\"noreferrer noopener\">defensive measures<\/a>.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjeInJJEKhex4oaK_obvFeIwl_1uZTEaECxWBh9Oj1q2w7_IYClZu-H086Rguc3ZBg327S2RNlsmqApXpzNcQcKes0wEV89DkdFvfaUEbKAMQ0hG8hx2qppn7sthTnFKao-zJpfYfjt-pnWH0jZdd1UHUQFt1CFgoBTad28plCtdxO144C8K36lW5pU01Q\/s16000\/Yurei%2520ransomware%2520site%2520on%2520September%25205%2520%28Source%2520-%2520Check%2520Point%29.webp?ssl=1\" alt=\"\"><figcaption class=\"wp-element-caption\">Yurei ransomware site on September 5 (Source \u2013 Check Point)<\/figcaption><\/figure>\n<\/div>\n<p>Following successful encryption, Yurei attempts to set a custom wallpaper via <a href=\"https:\/\/cybersecuritynews.com\/onedrive-phishing-powershell-trick\/\" target=\"_blank\" rel=\"noreferrer noopener\">PowerShell<\/a>, though the absence of a valid URL causes the command to fail, resulting in a blank background.<\/p>\n<p>The embedded PowerShell snippet mirrors that of its Prince-Ransomware predecessor:-<\/p>\n<pre class=\"wp-block-code\"><code>(New-Object System.Net.WebClient).DownloadFile('&lt;WallpaperURL&gt;', \"$env:TEMPWallpaper.png\")\nAdd-Type -TypeDefinition @\"\nusing System;\nusing System.Runtime.InteropServices;\npublic class Wallpaper {\n    [DllImport(\"user32.dll\", CharSet=CharSet.Auto)]\n    public static extern bool SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);\n}\n\"@\n[Wallpaper]::SystemParametersInfo(20, 0, \"$env:TEMPWallpaper.png\", 3)<\/code><\/pre>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiR32UaMG8Yc82HV0VlIw5IMTs8RWE9OrAHwWes95VJc77dwjwIw1CjQs-Yst1hzpDLkBs6VzMBFHJfJ13njhJ5IQCnf_WTeDoOl5Z7ulJUjGy0N_xkCJIEYT3jrw68P7e2qU_Y007CEX0gvCfuoZTvDVfnIWnZECLCQqgzTk2cBggw3SPFdEp4vJOaM4Q\/s16000\/Ransom%2520note%2520%28Source%2520-%2520Check%2520Point%29.webp?ssl=1\" alt=\"\"><figcaption class=\"wp-element-caption\">Ransom note (Source \u2013 Check Point)<\/figcaption><\/figure>\n<\/div>\n<p>In the context of defensive strategies, Yurei\u2019s failure to remove Volume Shadow Copies reveals a critical weakness.<\/p>\n<p>Organizations with VSS enabled can recover files without paying ransom, although leaked data remains at risk.<\/p>\n<p>The combination of rapid encryption, <a href=\"https:\/\/cybersecuritynews.com\/cl0p-ransomware-data-exfiltration-vulnerable\/\" target=\"_blank\" rel=\"noreferrer noopener\">data exfiltration<\/a>, and half-baked persistence techniques reflects a low-effort but effective operation.<\/p>\n<p>As Yurei continues targeting diverse sectors, security teams are urged to monitor for the distinct file extension <code>.Yurei<\/code>, enforce strict egress controls, and validate VSS snapshots to mitigate the impact of this emerging threat.<\/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><code>Boost\u00a0your\u00a0SOC and help your team protect your business with free top-notch threat intelligence:\u00a0<a href=\"https:\/\/intelligence.any.run\/plans\/?utm_source=csn&amp;utm_medium=article&amp;utm_campaign=alert_fatigue&amp;utm_content=lookup_plan&amp;utm_term=120825\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Request TI Lookup Premium Trial<\/a>.<\/code><\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/new-yurei-ransomware-with-powershell-commands\/\">New Yurei Ransomware With PowerShell Commands Encrypts Files With ChaCha20 Algorithm<\/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\/new-yurei-ransomware-with-powershell-commands\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New Yurei Ransomware With PowerShell Commands Encrypts Files With ChaCha20 Algorithm Emerging in early September 2025, the Yurei ransomware has swiftly drawn attention for its novel combination of Go-based execution and ChaCha20 encryption. First documented on September 5 when a Sri Lankan food manufacturer fell victim, the threat actor behind Yurei adopted a double-extortion model: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,649],"tags":[130],"class_list":["post-6922","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-threats","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/6922"}],"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=6922"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/6922\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=6922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=6922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=6922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}