jstrosch / learning-malware-analysis

This repository contains sample programs that mimick behavior found in real-world malware. The goal is to provide source code that can be compiled and used for learning purposes, without having to worry about handling live malware.

Home Page:https://thecyberyeti.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning Malware Analysis

This repository contains sample programs that mimick behavior found in real-world malware. The goal is to provide source code that can be compiled and used for learning purposes, without having to worry about handling live malware or causing real damage to any system. The type of program is organized by concept it is focused on, you can see this through the root folder structure.

I discuss many of these programs through online videos and courses and you may find the following helpful:

Other Tools You May Find Helpful

Compiling the Source Code

These programs are intended to be compiled with the C/C++ compiler from Microsoft. You can use the Developer Command Prompt after installing the free/community version to compile using cl. An example of this command would be:

cl <path/to/source_code>

This should produce two files: .obj and .exe using the name of the input file. You can typically ignore the .obj file, the .exe is what you will analyze. Please note, occassionally specific compiler flags are used to obtain desired affects in the resulting binary. These compiler flags will be identified in the related videos or noted in the README in the specific folder.

If you're looking for real world malware or other interesting artifacts, please check out my repo malware-samples.

About

This repository contains sample programs that mimick behavior found in real-world malware. The goal is to provide source code that can be compiled and used for learning purposes, without having to worry about handling live malware.

https://thecyberyeti.com


Languages

Language:C 58.4%Language:C# 35.1%Language:Python 4.3%Language:YARA 1.2%Language:C++ 0.7%Language:Batchfile 0.2%