A forum for reverse engineering, OS internals and malware analysis 

Search found 214 matches

 Go to advanced search

Why are you creating a thread in DLLMain just to patch an API? Do this directly in DLLMain and get rid of your handle leaking BeginThread call. Threads also don't run until DLLMain is complete because loader lock is held, so no sense in delaying the patch either. Also, inside the ugly patch routine ...

Re: Some code doesn't works with SYSTEM priv.

 by Brock ¦  Sat Mar 23, 2019 9:59 pm ¦  Forum: Newbie Questions ¦  Topic: Some code doesn't works with SYSTEM priv. ¦  Replies: 4 ¦  Views: 250

Are you positive that the error isn't correct? You might try impersonating the logged on user while you access the network shares. It's kind of a bit hackish but it may work for you HANDLE hToken = 0; ULONG SessionId = WTSGetActiveConsoleSessionId(); if (WTSQueryUserToken(SessionId, &hToken)) { if (...

Re: My AV says my router is infected

 by Brock ¦  Sat Feb 23, 2019 1:44 pm ¦  Forum: Newbie Questions ¦  Topic: My AV says my router is infected ¦  Replies: 6 ¦  Views: 710

Perhaps this is VPNFilter malware?

You can quickly and easily check for its presence online below

http://www.symantec.com/filtercheck/

What does the code look like which spawns the VCL app from the service? The VCL app might have issues with the user environment. Post your code for executing the VCL app from the service, I assume in the service you're using CreateProcessAsUser() or similar? * Basically, ShellExecute() isn't an API ...

Re: Windows 10 booting issue

 by Brock ¦  Thu Jan 31, 2019 7:38 pm ¦  Forum: General Discussion ¦  Topic: Windows 10 booting issue ¦  Replies: 1 ¦  Views: 610

Try almighty Google first, it's as simple as querying the system error code you mentioned here

https://neosmart.net/wiki/0xc0000428/

Re: [C] HTTP-Downloader

 by Brock ¦  Tue Jan 15, 2019 1:42 pm ¦  Forum: Newbie Questions ¦  Topic: [C] HTTP-Downloader ¦  Replies: 5 ¦  Views: 1795

Re: [C] HTTP-Downloader

 by Brock ¦  Sun Jan 13, 2019 12:14 am ¦  Forum: Newbie Questions ¦  Topic: [C] HTTP-Downloader ¦  Replies: 5 ¦  Views: 1795

Took a quick peek at the code, don't forget to close thread and process handles upon successful call returns. Only mentioning this because you mentioned the word "clean" twice and these are resource leaks. Download.cpp download_thread() ---> CloseHandle(pInfo->hThread); CloseHandle(pInfo->hProcess);...

Re: Use LGPL code in MIT project?

 by Brock ¦  Thu Jan 10, 2019 10:39 pm ¦  Forum: General Discussion ¦  Topic: Use LGPL code in MIT project? ¦  Replies: 1 ¦  Views: 682

Re: Read Unknown Kernel Address In A Safe Way

 by Brock ¦  Wed Jan 02, 2019 12:45 am ¦  Forum: Kernel-Mode Development ¦  Topic: Read Unknown Kernel Address In A Safe Way ¦  Replies: 2 ¦  Views: 1453

These methods as well as many others have been shared on this forum for some time now but for those less informed your examples may be informative, so thanks for this. As of 8.1 MmCopyMemory() is imho the best choice because it was designed to do exactly this and performs the underlying PTE validati...

Re: Making ReactOS Great Again*, Part 1

 by Brock ¦  Sat Dec 29, 2018 9:53 pm ¦  Forum: Tools/Software ¦  Topic: Making ReactOS Great Again*, Part 1 ¦  Replies: 9 ¦  Views: 11078

Nice write-up, EP_X0FF.

#16 (NtUserCreateAcceleratorTable) was my favorite faux pas

2pzz26.jpg

  • 1
  • 2
  • 3
  • 4
  • 5
  • 22