A forum for reverse engineering, OS internals and malware analysis 

Forum for announcements and questions about tools and software.
 #6674  by kmd
 Sat Jun 04, 2011 9:34 am
Buster_BSA wrote:http://hotfile.com/dl/119691661/3865921 ... I.RAR.html

Note: Injected filename must be "LOG_API.DLL".
@Buster_BSA

i coded small detector but cannot test because you deleted this log_api.dll and current bsa install seems not hide itself.
detector user generic approach (i believe) for all kind of splicing activity you perform and cannot be bypassed without coding driver imho.
maybe i'm wrong but i cannot test, your attach is removed.
 #6677  by Mr.Bojangles
 Sat Jun 04, 2011 1:46 pm
how does code splicing and openprocess stack or data tracing help detect it?

more likely methods are pointer references, self debugging(through virtual thread), and looking for structs or code in own maps..without a driver

code splicing and trying to find data pushed to openprocess or something just creates more work..
 #6683  by kmd
 Sun Jun 05, 2011 1:38 am
Mr.Bojangles wrote:how does code splicing and openprocess stack or data tracing help detect it?
call OpenProcess (program address range) ---> LOG_API.dll!FakeOpenProcess (injected dll address range) ----> trueOpenProcess (kernel32.dll address range)
2kb of (non optimized) code.

no matter of other hooks i can simple use int 0x2e.
looking for structs or code in own maps..
this is too specific and unlikely will be implemented in any malware
 #6686  by Buster_BSA
 Sun Jun 05, 2011 11:31 am
kmd wrote:call OpenProcess (program address range) ---> LOG_API.dll!FakeOpenProcess (injected dll address range) ----> trueOpenProcess (kernel32.dll address range)
Does it identify LOG_API.DLL uniquely or is a generic method to detect OpenProcess API has been hooked?
 #6687  by kmd
 Sun Jun 05, 2011 12:45 pm
The generic way to detect some api hooking - not all, but some of patches. Of course for better sure we need to analyze code and build code execution graph but this is too difficult for such trivial task as to detect dll that uses patches.

So can i get this log_api.dll version for test? Maybe it is not working :D

p.s.
yeah patches must die :)
  • 1
  • 13
  • 14
  • 15
  • 16
  • 17
  • 32