Pentest Chronicles
Access to the rest (4 others) was not achieved. Preparation The simulation involved preparing a program that would simulate the encryption of backups stored on backup systems. To this end, I started by preparing the code. I chose C with the use of WinAPIs. I generated AES-256 encryption with hardcoded keys using AI, as the available AES libraries are quite well-known to AV vendors. A local test on ESET was promising, as it was possible to run the program and bypass ESET (an initial indicator of whether it is worth entering the client's infrastructure).
The first attempt to run the program resulted in receiving the 'Access is denied' message and detection by CrowdStrike:
At least the program was blocked after execution and not after being uploaded to the machine. The downside of the additional 2GB is that the binary takes a long time to start, but it's worth the wait ;).
The third technique I used was creating my own process with a flag that disables the loading of libraries not signed by Microsoft. Below is the code snippet responsible for this:
Execution After compiling and uploading the binary with three AV evasion techniques, it was finally possible to successfully run the program and encrypt the files from the specified location:
As you can see, there was no need for some mega-advanced techniques (surprisingly) to conduct a ransomware simulation against such EDR. To be honest, I thought I would have to spend much more time on it. Fortunately, the client themselves proposed that, in case of an 'unsuccessful' attack, they would turn off the AV to see if someone from the SOC would detect such an attack. Whether they detected it or not, I don't know - the client didn't write about it, but my gut feeling tells me they didn't detect it.

In today's world, ensuring the security of our accounts is more crucial than ever. Just as keys protect the doors to our homes, passwords serve as the first line of defense for our data and assets. It's easy to assume that technical individuals, such as developers and IT professionals, always use strong, unique passwords to keep ...

SOCMINT is the process of gathering and analyzing the information collected from various social networks, channels and communication groups in order to track down an object, gather as much partial data as possible, and potentially to understand its operation. All this in order to analyze the collected information and to achieve that goal by making …

PyScript – or rather Python in your browser + what can be done with it? A few days ago, the Anaconda project announced the PyScript framework, which allows Python code to be executed directly in the browser. Additionally, it also covers its integration with HTML and JS code. An execution of the Python code in …