restoring session with pivoting #17171
Unanswered
EmilioPanti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to understand what happen to sessions if one of them dies in a pivoting scenario.
Let's consider the following example:
We have 3 hosts: A, B, C.
Host A can see only Host B.
Host B can see Host A and Host C.
Host C can see only Host B.
The idea is to attack Host A, use pivoting to attack Host B, and then again attack Host C through A+B. (A -> B -> C)
We do pivoting with autoroute module (
post/multi/manage/autoroute
), and all sessions are meterpreters.This is the scenario after all the attacks have been done:
If session "1" dies, I can't reach the others.
And if I try to re-estabilish a new session on Host A, let's say session "4" now, I'm still not able to reach sessions "2" and "3" through the new session "4".
From the msfconsole command "sessions" I can clearly see the new indication
so opening a new session on Host A won't automatically update the pivoting correlation. What can I do to solve this scenario?
Is there a way to replace the pivoting indication into an updated
manteining the sessions "2" and "3", or am I forced to let die sessions "2" and "3" and re-estabilish them once again via session "4"?
I hope I made it clear.
Beta Was this translation helpful? Give feedback.
All reactions