Latest posts

  • C# Get Frames from a GIF

    This is a simple method to extract a certain frame (or all of them) from a GIF, using C#. As always, .NET provides all the functions we need, so it shouldn’t take more than 12 lines of code. Basic Information...


  • C# How to Scan a Process' Memory

    Intro This article is about how to get the memory dump of a process, by checking almost all memory addresses that can store data. Since C# is quite a high level programming language, I think this is the only method...


  • C# Password Protected File

    In this article…I’ll talk about how to protect a file with a password (any file type) - without using ZIP or any other archivers. The file will be encrypted and then ‘attached’ to an executable, which will be later used...


  • C# Create Secure Desktop (Anti-Keylogger)

    Since the number of Keyloggers keeps growing, I decided to publish this little trick hoping that it might be useful for someone. I discovered it when I was looking on how User Acount Control/UAC from Windows 7 protects the data...


  • C# Make a Critical Process (BSoD if Killed)

    A critical process is a type of process that Windows requires to be running - csrss.exe is an example of such process. Whenever a process like this finishes its execution (or it’s terminated) Windows will respond with an authentic Blue...


  • C# Detect if Debugger is Attached

    This method is used to detect if a running process has a debugger attached to it. It involves using CheckRemoteDebuggerPresent, imported from kernel32.dll via PInvoke. It’s a neat way to add a little bit of protection to your program, but...


  • C# Simple Syntax Highlighting

    Some time ago, I had to make a project that required syntax highlighting - luckily I wasn’t the one who had to make that part. However the version used in the project was more complicated - so I decided to...


  • C# Read/Write another Process' Memory

    Today’s tutorial is about…processes’ memory! In this article I’ll show you how to read/write a process’ memory using C#. This is a good way to learn a part of WinAPI and also understand the basics of memory allocation. Before starting,...


  • C#/PHP Compatible Encryption (AES256)

    Finding a way to encrypt messages in C# and decrypting them in PHP or vice versa seems to be a “challenge” for many users. I wrote this tutorial to provide some help with this: below, you can find how to...


  • C# Backpropagation Tutorial (XOR)

    I’ve been trying for some time to learn and actually understand how Backpropagation (aka backward propagation of errors) works and how it trains the neural networks. Since I encountered many problems while creating the program, I decided to write this...


  • C# Prevent Reflector from Decompiling

    This is a simple way to protect your application from any so-called “cracker”, without involving obfuscation. Remember that this works only against Reflector (tested on: v7.5.2.1), any other decompilers are “immune”. Technical stuff… The main idea is this: you change...


  • C# Get Desktop Screenshot

    I found this feature while looking inside Graphics class and since it was so simple to use, I decided to post it here. As I said, it doesn’t require more than 15 lines of code - this function: Graphics.CopyFromScreen does...