Closed bcoles closed 2 years ago
This issue can also be reproduced by running list_tokens
from within a Meterpreter session, although memory usage increases gradually rather than doubling.
meterpreter > load incognito
Loading extension incognito...Success.
meterpreter > list_tokens -g
[...]
meterpreter > list_tokens -g
[...]
meterpreter > list_tokens -g
[...]
meterpreter > list_tokens -g
[...]
There's a leak somewhere in
client.incognito.incognito_list_tokens
and each invocation uses more memory than the last. This quickly becomes apparent after 10 executions as whatever is being leaked increases more than double with each execution.To reproduce, run the following in a local exploit module context or post module context multiple times:
On a Windows Server 2008 SP1 (x64) system with 1 CPU core and 1GB RAM, running the above 13 times will use 500MB+ of memory, eventually rendering the session mostly inoperable.