Giter VIP home page Giter VIP logo

blogstuff's People

Contributors

randomascii avatar riverar avatar tyranid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blogstuff's Issues

FindZombieHandles - Can't enable debug privilege even when running on admin

Hi,

I tried to clone the repo and run the prebuilt binaries for FindZombieHandles. The program works as expected although it warns that it can't find all the zombies due to being unable to get debug privileges. However, even when running as admin I still get the same warning:

image

I'm on Windows 10 Pro 1709, if that matters.

Thanks!

FindZombieHandles cannot find any zombies when PIDs grow too large

When PIDs grow over 2^16 - 1 (65535), zombies.Count is almost always 0.

NtApiDotNet's SystemHandleTableInfoEntry stores UniqueProcessId as a ushort. As a UInt16, obviously it'll wrap on >= 2^16.

This is possibly more of a bug in NtApiDotNet, but I don't know the NT API well enough to be sure.

More specifically, it's on

var zombies = NtSystemInfo.GetHandles(NtProcess.Current.ProcessId, false).Where(h => handles.ContainsKey(h.Handle)).ToDictionary(h => h.Object, h => handles[h.Handle]);
, where the NtSystemInfo.GetHandles call filtering on NtProcess.Current.ProcessId will never find any results if NtProcess.Current.ProcessId is bigger than a UInt16.

Funnily enough, this makes FindZombieHandles unusable on the worse leaks that force PIDs to grow very quickly.

FindZombieHandles fails with custom ProcessCreateTests version

The latest FindZombieHandles fails after running ProcessCreateTests from this branch/commit:

bdb648c

The error message printed is:
(0xC0000023) - {Buffer Too Small}
The buffer is too small to contain the entry. No information has been written to the buffer.

I have not seen the message trigger under other cases. I suspect the problem is caused by there being a very large number of processes that are holding zombie process handles, rather than it being a problem with a very large number of zombie process handles.

FindZombieHandles doesn't work on a VM running Windows Server 2012 R2

Hi everyone.

I've tested FindZombieHandles in two VM's running Windows Server 2012 R2, and it didn't find any zombies. It returns the above message:

image

I'm running it as Administrator on both VM's.

Regarding .NET version, I have:

image

and

image

Do you have any idea of what is the cause of this issue?

Thank you in advance,

Leandro

Can't run - Incompatible with the version of Windows you are running

C:\data>FindZombieHandles.exe
This version of C:\data\FindZombieHandles.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

Microsoft Windows [Version 10.0.17133.1]
x64

Any suggestions? Running as admin, not sure what the deal is..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.