Skip to content

Commit

Permalink
malware and cryptography 36: Fisher-Yate, screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
cocomelonc committed Dec 17, 2024
1 parent 4c2f98d commit c9cfa3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2024-12-16-malware-cryptography-36.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Malware and cryptography 36 - random sbox generation algorithms: Fisher-Yates shuffle. Simple C example."
date: 2024-12-16 02:00:00 +0200
header:
teaser: "/assets/images/141/2024-12-16_18-16.png"
teaser: "/assets/images/141/2024-12-17_12-13.png"
categories:
- malware
tags:
Expand All @@ -18,7 +18,7 @@ tags:

Hello, cybersecurity enthusiasts and white hackers!

![cryptography](/assets/images/141/2024-12-16_18-16.png){:class="img-responsive"}
![cryptography](/assets/images/141/2024-12-17_12-13.png){:class="img-responsive"}

After reading some of my posts about cryptography, for example [this](/malware/2024/07/21/malware-cryptography-30.html) or [this](/malware/2022/08/16/malware-av-evasion-9.html), my readers had questions regarding the concepts of `sbox` generation, so I will decide to continue research cryptography in malware development, and I want to shed light on one of these tricks for generating random sboxes.

Expand Down Expand Up @@ -697,7 +697,7 @@ Uncomment WinAPI functions, compile for run payload:
x86_64-w64-mingw32-g++ hack4.c -o hack4.exe -I/usr/share/mingw-w64/include/ -s -ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions -fmerge-all-constants -static-libstdc++ -static-libgcc -fpermissive
```

![cryptography](/assets/images/141/2024-12-17_12-13.png){:class="img-responsive"}
![cryptography](/assets/images/141/2024-12-17_12-17.png){:class="img-responsive"}

As you can see, everything is worked perfectly! =^..^=

Expand Down
Binary file added assets/images/141/2024-12-17_12-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c9cfa3a

Please sign in to comment.