‫So now using the Migrate Post module, you can migrate to another process on the victim.
‫Migration to another process may be needed for a variety of reasons.
‫For example, the services that we are currently injected into may not be so stable or we may need the
‫privileges of a different user.
‫So here I have a maternity session.
‫The command lists the processes running on the victims system, process ID, process, name, owner
‫path, path of running services, etc. the get predicament, which means get process I.D..
‫Shows the process that we are currently injected in.
‫Drawn process ideas nine, six four, which is the idea of CBC host that easy process run by system
‫user.
‫The Get You I.D. that's short for get user I.D. shows our current user on the victims system.
‫That's what we already know, system.
‫So let's try to migrate another process which is run by another user.
‫There are some services running with the administrative privileges.
‫I'll try to migrate the process one six two zero now.
‫So it took too long.
‫Yeah, it timed out.
‫Now we couldn't migrate to another series, the migrate command may crash the maternity session sometimes,
‫so I'll check this session with the sis in full command.
‫As I expected, no answer.
‫The session crashed.
‫So I'll try it again.
‫Exit from recession, since we already have an exploit with the proper options, we can just type run
‫who exploit the system again.
‫And now we have a new interpretive session.
‫P.S. To see the services running on the victims system now, try to migrate another process to six this
‫time.
‫Now, once again, the session crashed.
‫OK, let's try.
‫I'll try.
‫Four to eight this time.
‫It's OK now.
‫So we migrated to the process four to eight.
‫Let's check the user with Get you I.D..
‫It is administrator.
‫Hmm.
‫So we were the system user before and check the process ID with get the ID and the process is four to
‫eight now.
‫Now, I wonder, can we revert to previous processes with the rev to self command?
‫OK, sorry.
‫Rev to Self has another function.
‫So let me show it to you quickly.
‫If you change your privileges without migrating to another process, for example, using the Get System
‫Command, you can get back to previous privileges with the revert to self command.
‫So you get system command.
‫Look at the user ID as you see we are system user.
‫And if we run the rev to self now, the user will be the administrator again.
‫How's that?