Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Security Apps
Hard_Configurator Tools
Simple Windows Hardening
Message
<blockquote data-quote="Andy Ful" data-source="post: 973934" data-attributes="member: 32260"><p><strong><span style="font-size: 18px">SWH vs. MSI --> Scripts (Solarmarker Malware)</span></strong></p><p></p><p>I am trying hard to be on time with @[USER=26718]silversurfer[/USER] posts about current attacks in the wild.<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite109" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Here is another interesting case:</p><p>[URL unfurl="false"]https://malwaretips.com/threads/solarmarker-malware-uses-novel-techniques-to-persist-on-hacked-systems.112249/[/URL]</p><p>[URL unfurl="false"]https://news.sophos.com/en-us/2022/02/01/solarmarker-campaign-used-novel-registry-changes-to-establish-persistence/[/URL]</p><p></p><p></p><p></p><p>Infection chain (delivery stage in blue):</p><p></p><p><strong><span style="color: rgb(41, 105, 176)">MSI Installer ---> legal application + malicious PowerShell script ----></span></strong> <span style="color: rgb(184, 49, 47)"><strong>create/install malware and get persistence (.lnk shortcut in the User Startup folder + "custom file open handler" )</strong></span></p><p></p><p>It is funny that this attack could be mitigated by SWH in several ways.</p><ol> <li data-xf-list-type="ol"><strong><span style="color: rgb(41, 105, 176)"><strong>PowerShell script would be blocked by the option * Admin PowerShell Scripts *.</strong></span></strong></li> <li data-xf-list-type="ol"><strong><span style="color: rgb(41, 105, 176)"><strong>If this option is not Restricted, then the payload decryption would be blocked anyway by Constrained Language Mode (CLM) in PowerShell due to SRP settings.</strong></span></strong></li> <li data-xf-list-type="ol">Even if the malware could somehow skirt around points 1-2 and get persistence, then the novel persistence technique via "custom file open handler" would fail because it uses PowerShell commands forbidden in Constrained Language Mode (IoFile.ReadAllBytes and ReflectionAssembly.Load) to read/decrypt and reflectively load a payload.</li> </ol><p>Post edited.</p><p>SWH does not block shortcuts in the User Startup folder (they are blocked in H_C).</p></blockquote><p></p>
[QUOTE="Andy Ful, post: 973934, member: 32260"] [B][SIZE=5]SWH vs. MSI --> Scripts (Solarmarker Malware)[/SIZE][/B] I am trying hard to be on time with @[USER=26718]silversurfer[/USER] posts about current attacks in the wild.:) Here is another interesting case: [URL unfurl="false"]https://malwaretips.com/threads/solarmarker-malware-uses-novel-techniques-to-persist-on-hacked-systems.112249/[/URL] [URL unfurl="false"]https://news.sophos.com/en-us/2022/02/01/solarmarker-campaign-used-novel-registry-changes-to-establish-persistence/[/URL] Infection chain (delivery stage in blue): [B][COLOR=rgb(41, 105, 176)]MSI Installer ---> legal application + malicious PowerShell script ---->[/COLOR][/B] [COLOR=rgb(184, 49, 47)][B]create/install malware and get persistence (.lnk shortcut in the User Startup folder + "custom file open handler" )[/B][/COLOR] It is funny that this attack could be mitigated by SWH in several ways. [LIST=1] [*][B][COLOR=rgb(41, 105, 176)][B]PowerShell script would be blocked by the option * Admin PowerShell Scripts *.[/B][/COLOR][/B] [*][B][COLOR=rgb(41, 105, 176)][B]If this option is not Restricted, then the payload decryption would be blocked anyway by Constrained Language Mode (CLM) in PowerShell due to SRP settings.[/B][/COLOR][/B] [*]Even if the malware could somehow skirt around points 1-2 and get persistence, then the novel persistence technique via "custom file open handler" would fail because it uses PowerShell commands forbidden in Constrained Language Mode (IoFile.ReadAllBytes and ReflectionAssembly.Load) to read/decrypt and reflectively load a payload. [/LIST] Post edited. SWH does not block shortcuts in the User Startup folder (they are blocked in H_C). [/QUOTE]
Insert quotes…
Verification
Post reply
Top