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
ConfigureDefender utility for Windows 10/11
Message
<blockquote data-quote="Andy Ful" data-source="post: 837024" data-attributes="member: 32260"><p>Some people would like to test if AMSI works on their computer. It is easy when using the test script prepared by Microsoft:</p><p>First copy/paste the below script to PowerShell console to see what command will be executed:</p><p>[CODE]# AMSI test script</p><p>$base64 = "FHJ+YHoTZ1ZARxNgUl5DX1YJEwRWBAFQAFBWHgsFAlEeBwAACh4LBAcDHgNSUAIHCwdQAgALBRQ="</p><p>$bytes = [Convert]::FromBase64String($base64)</p><p>$string = -join ($bytes | % { [char] ($_ -bxor 0x33) })</p><p># The variable $string contains the command that will be executed</p><p>$string[/CODE]</p><p>You will see the output:</p><p>'AMSI Test Sample: 7e72c3ce-861b-4339-8740-0ac1484c1386'</p><p>which is a decoded command.</p><p>After this execute this command:</p><p>[CODE]iex $string[/CODE]</p><p>which should be blocked by WD:</p><p>[ATTACH=full]225983[/ATTACH]</p><p></p><p></p><p>Edit.</p><p>Converting from BASE64 is blocked in PowerShell Constrained Language mode, which is set by SRP default-deny, or can be set via SysHardener.</p></blockquote><p></p>
[QUOTE="Andy Ful, post: 837024, member: 32260"] Some people would like to test if AMSI works on their computer. It is easy when using the test script prepared by Microsoft: First copy/paste the below script to PowerShell console to see what command will be executed: [CODE]# AMSI test script $base64 = "FHJ+YHoTZ1ZARxNgUl5DX1YJEwRWBAFQAFBWHgsFAlEeBwAACh4LBAcDHgNSUAIHCwdQAgALBRQ=" $bytes = [Convert]::FromBase64String($base64) $string = -join ($bytes | % { [char] ($_ -bxor 0x33) }) # The variable $string contains the command that will be executed $string[/CODE] You will see the output: 'AMSI Test Sample: 7e72c3ce-861b-4339-8740-0ac1484c1386' which is a decoded command. After this execute this command: [CODE]iex $string[/CODE] which should be blocked by WD: [ATTACH type="full" alt="AMSI_test.png"]225983[/ATTACH] Edit. Converting from BASE64 is blocked in PowerShell Constrained Language mode, which is set by SRP default-deny, or can be set via SysHardener. [/QUOTE]
Insert quotes…
Verification
Post reply
Top