Ruslan Ulanov’s Codeshack

The developer’s notebook

Archive for the ‘C/C++’ Category

MS Patterns & Practices

leave a comment

Microsoft has assembled a nice library of best practices for all sorts of applications from Web Applications and Services to Desktop and Mobile Applications.

Quoting the site…
Microsoft patterns & practices was created to meet the demands of architects and application developers seeking guidance on how to apply Microsoft’s array of products and technologies to common application development scenarios and technical challenges. Microsoft patterns & practices are Microsoft’s proven recommendations for how to design, develop, deploy, and operate architecturally sound application for the Microsoft platform.

Check it out in Microsoft patterns & practices Developer Center.

Written by Ruslan Ulanov

July 31st, 2008 at 7:41 pm

Posted in C/C++,VB.NET

18 Ways to Kill Your Process

2 comments

Advanced Process Termination utility from Diamond Computer Systems Pty. Ltd. provides 18 unique process attacks:

  • 2 kernel-mode termination techniques
  • 12 user-mode process termination techniques
  • 2 suspension techniques
  • 2 fatal crash techniques

This arsenal makes APT ideal for testing the resistance of software to termination attacks, testing the configuration of your own security programs, as well as allowing you to terminate stubborn software that simply refuses to die.

Kernel Kill #1 – Attempts to terminate the process from a driver using the kernel-level ZwTerminateThread function against every thread in the target process.
Main functions: ZwTerminateThread (ntoskrnl.exe)

Kernel Kill #2 – Attempts to terminate the process from a driver using the kernel-level ZwTerminateProcess function against the target process.
Main functions: ZwTerminateProcess (ntoskrnl.exe) Read the rest of this entry »

Written by Ruslan Ulanov

July 31st, 2008 at 7:28 pm

Posted in C/C++

Tagged with