gobysec / Goby

Attack surface mapping
https://gobies.org/
1.39k stars 151 forks source link

网站截图时存在内存泄露 #390

Open dongpohezui opened 1 year ago

dongpohezui commented 1 year ago

版本:goby-win-x64-2.2.0 Linux及Mac下未测试

问题描述: goby每次网站截图后,会遗留3个chrome.exe进程,泄露约100KB内存。 网站截图1万次时,泄露约1GB内存,且只有系统重启才能回收泄露的内存。

复现流程: 打开goby,开启网站截图。 扫描网站。 关闭goby。 使用RAMMap查看windows内存情况,发现多个遗留的chrome.exe进程。 遗留的chrome.exe进程的page table是泄露的内存,只有系统重启才能回收泄露的内存。 在任务管理器中看不到这些遗留的chrome.exe进程,在RAMMap中可以看到。

2023-01-31_163741

RAMMap下载地址:https://learn.microsoft.com/zh-cn/sysinternals/downloads/rammap

gobysec commented 1 year ago

收到!不定期更新进展,感谢您的支持与反馈~

dongpohezui commented 1 year ago

和下面这个案例类似: Windows那莫名消失的内存 | Lair of the Cursed https://lotc.cc/windows-zombie-processes.wtf