Posted September 8, 201212 yr Here you can find it.http://waleedassar.blogspot.com/2012/09/anti-dumping-part-3.htmlComments and ideas are very welcome.
September 8, 201212 yr first thing that came to mind was, bleh those things are annoying.. So good tut.
September 8, 201212 yr It indeed makes sense that the memory manager doesnt mapp huge zero-regions...now we i know why protectors always write some junk data to these high-mem regions.
September 8, 201212 yr Author Regarding the PAGE_GUARD trick, i am still thinking that the following code (not well tested, though) may be used as both anti-dumping + anti-debugging.http://pastebin.com/c7tKLuCqAny ideas? Edited September 8, 201212 yr by waliedassar
September 9, 201212 yr Hahahah, watcher threads, excellent I suppose you could expand on that by watching on any modification, too?
September 9, 201212 yr I don't think Scylla is vulnerable to these 2 anti-dump tricks.About the watch-threads: I don't think this is a good option, because e.g. in olly you can easily see and suspend threads.
September 9, 201212 yr I don't think this is a good option, because e.g. in olly you can easily see and suspend threads. that`s what you say now. can be really annoying, and mulit-thread debugging in olly (but also in general) isnt really a lot of fun, imo. not to mention when the protection threads are being protected by other protection threads, etc.
September 9, 201212 yr ok so I will add this to scylla: typedef NTSTATUS (WINAPI *def_NtSuspendProcess)(HANDLE ProcessHandle); NtSuspendProcess = (def_NtSuspendProcess)GetProcAddress(hModuleNtdll, "NtSuspendProcess"); and the problem is gone I will make this an option...
September 9, 201212 yr Author Actually, Scylla and VSD were the ones i used while testing these two tricks.Scylla is a good dumper but :For the first trick, it gets fooled by the huge size and start reading it causing the OS to suffer alot for a while. I know it is not Scylla's fault. But i guess smarter ways to dump it do really exist.For the second trick, Just try scylla on a Multi-processor system. Don't try it inside Virtualbox (SP).
September 9, 201212 yr Author Regarding the "ZwSuspendProcess" function, you are right it works against the second trick. Edited September 9, 201212 yr by waliedassar
Create an account or sign in to comment