Skip to content

Neyrian/NotSoHarmfulDLL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

NotSoHarmfulDLL

πŸ“Œ Overview

NotSoHarmfulDLL is a Windows DLL that simulates malware-like behavior for cybersecurity research and training. This module is inspired by the Pikabot malware campaign and replicates some of its anti-analysis techniques, including:

βœ… Checking system language (exits if Russian ru-RU or Ukrainian uk-UA is detected).
βœ… Ensuring a single instance by creating a hardcoded mutex ({A77FC435-31B6-4687-902D-24153579C738}).
βœ… Designed for educational use and does not perform harmful actions.

πŸ”— Research References:


⚠️ Disclaimer

🚨 This project is for educational purposes only. It does not contain malicious code but simulates anti-analysis techniques used by real malware. Use responsibly in authorized research environments.


πŸ›  Features

βœ… 1. Language Check (Pikabot Anti-Analysis Simulation)

  • Uses GetUserDefaultUILanguage() to detect system language.
  • If the system language is Russian (0x0419) or Ukrainian (0x0422), execution is stopped.
  • Write output to a text file before exiting.

βœ… 2. Mutex Lock (Ensures Single Instance)

  • Uses CreateMutexA() to prevent multiple instances of the DLL from running.
  • If another instance is found, execution immediately exits.

πŸ”§ Compilation (Using x86_64-w64-mingw32-gcc on Linux)

To compile the DLL on a Linux system:

x86_64-w64-mingw32-gcc -shared -o notsoharmfuldll.dll notsoharmfuldll.c -Wall

βœ” This generates notsoharmfuldll.dll, which can be executed on Windows.


πŸš€ Running the DLL

To execute the DLL on Windows, run:

rundll32.exe notsoharmfuldll.dll,RunNotSoHarmful

πŸ‘¨β€πŸ’» Created for cybersecurity research & education. Use responsibly! πŸš€

About

A Windows DLL module that simulates malware-like behavior for educational and research purposes. This DLL mimics Pikabot's anti-analysis techniques

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages