WinAPI is EASY | Embedding Shellcode in .text, .data, and .rsrc

  Рет қаралды 16,104

Cosmodium CyberSecurity

Cosmodium CyberSecurity

Күн бұрын

Пікірлер: 49
@oguzhanghostproductions3985
@oguzhanghostproductions3985 6 ай бұрын
I've discovered this channel today and I have found it very nice with a lot of topics covered. I am actually a beginner in malware development and your videos are useful for people like me who want to learn about coding malwares thank you a lot!
@CosmodiumCS
@CosmodiumCS 6 ай бұрын
Of course!
@DataKG-os2zo
@DataKG-os2zo 6 ай бұрын
As a beginner in this field, your explanation is the best, thank you.
@CosmodiumCS
@CosmodiumCS 6 ай бұрын
Happy it helped, man! :)
@bitcloud7732
@bitcloud7732 10 ай бұрын
First of all, thank you so much for this playlist there's so many paid courses n stuff online but it's great to see that you are doing this for free (Gigachad move). There is one crucial problem I want to point out. As of now (28 January 2024) if you launch vscode from the native tools command prompt and then compile your malware, it will compile without any errors and execute the shellcode but the shellcode will not open up notepad or do the action it is intended to perform. For it to work, you need to launch vscode by using the Developer command prompt. Open the developer command prompt for vscode and then run the command `code` to open vscode. Now when you execute your malware, the shellcode will run properly. I compiled the same malware using the native tools cmd like 2 months ago and everything was working fine. But now, suddenly it decided to stop working so yeah, after pulling my hair out for like 4 hours, I figured out that the developer command prompt for vscode is the solution. Thanks!
@CosmodiumCS
@CosmodiumCS 9 ай бұрын
Dude!!! Thanks for bringing this to my attention (and all the kind words 🫶🏽). I’ll be sure to put a notice out
@chogpamp
@chogpamp Жыл бұрын
Fiinnalllyyyyyy another cosmodium video, i love the content keep up the good work 💯🔥🔥
@CosmodiumCS
@CosmodiumCS Жыл бұрын
🫡
@scriptkiddie999
@scriptkiddie999 Жыл бұрын
a fan here. Thank you so much for putting this video together!
@CosmodiumCS
@CosmodiumCS Жыл бұрын
Glad you enjoyed it!
@Duckiling
@Duckiling Жыл бұрын
As one wise man once said: "YEEAAA BABY, THATS WHAT I HAVE BEEN WAITING FOR, THAT IS WHAT ITS ALL ABOUT, WHOOOOOO"
@gameboyv1790
@gameboyv1790 Жыл бұрын
hello
@CosmodiumCS
@CosmodiumCS Жыл бұрын
Fooo💀💀
@cdcdplayer
@cdcdplayer 10 ай бұрын
Bro you’re an absolute legend.
@CosmodiumCS
@CosmodiumCS 10 ай бұрын
right back at ya!
@laurentiumocacoca175
@laurentiumocacoca175 4 ай бұрын
So basically the whole idea to embed shellcode is to allocate memory, load it without raising any red flags(RW only), change the rights to EW and make a thread. Is this the whole concept of shellcode on repeat? What do I mean by that? Is this is the whole idea of working with WinAPI and Shellcode? Great video btw!
@CosmodiumCS
@CosmodiumCS 4 ай бұрын
Hey! I’m unsure on what u mean by “repeat”, but the program will wait for the thread (basically a task being ran by the process) to finish executing.
@laurentiumocacoca175
@laurentiumocacoca175 4 ай бұрын
@@CosmodiumCS by ''on repeat'', I mean that this is how you should embed shellcode? Is this the only way to do it or there are any other approaches?
@ZacLangston
@ZacLangston Жыл бұрын
Is this a long video or a short movie? I can't wait to give this a watch.
@CosmodiumCS
@CosmodiumCS Жыл бұрын
lmfaoo, trust me, you’ll enjoy it! Its prolly one of the best ways to learn winapi‼️‼️
@mohitkwatra118
@mohitkwatra118 6 ай бұрын
THIS IS AWESOME 🎭
@Cyborg-h6h
@Cyborg-h6h Ай бұрын
legend confirmed
@CosmodiumCS
@CosmodiumCS Ай бұрын
Rah!!
@ThreatHunter-c8b
@ThreatHunter-c8b 5 ай бұрын
ur using gigachad c++ command lines to not using vscode 2022 to do it for ya linux is the best distro I love it man its really great good practice cuz u understand what happen under the hood instead of just clicking buttons example when u create obj file and then link it into executable that let u understand the compilation process how c++ file turn into .exe file really thank u
@CosmodiumCS
@CosmodiumCS 5 ай бұрын
lmfaoo! i appreciate the sentiment.
@ThreatHunter-c8b
@ThreatHunter-c8b 5 ай бұрын
@@CosmodiumCS i do the same : # create rc file using: - new-item filename.rc - #define id of resource : #define SC_ICON 1337 - link file of the resource : SC_ICON RCDATA "notpad.ico" - import SC_ICON into ur malware file # initalisation of rc using : - rc filename.rc (should creat filename.res) # convert resource to object file: - cvtres /MACHINE:X64 /OUT:filename.o .\filename.res # compile it: - cl.exe /nologo /GS- /DNDEBUG /Tpsection_rsrc.cpp /link /OUT:section_rsrc.exe /SUBSYSTEM:CONSOLE /MACHINE:X86 rsrc.o - note that lp for c++ and lc for c : /Tpsection_rsrc.cpp
@jibhax2119
@jibhax2119 Жыл бұрын
Such a great video, keep it up. I have one question, how did you build the exe file , i mean as x86 or 64 .Cz i am trying to buid in microsoft visual studio and successfully built but is't working.Alos the windows sdk version you used compiling it. Please.
@mohitkwatra118
@mohitkwatra118 6 ай бұрын
Hi, Initially the same happened with me, I was able to compile it, but the shellcode didn't execute. Actually shellcode and executable both were not 32 bit, so while compiling I specified an option /arch:IA32 to compile into 32 bit executable and it worked perfectly. I hope it helps.
@anhla4265
@anhla4265 Жыл бұрын
Awsomeee thanks you so muchhh
@Iblamememess
@Iblamememess Ай бұрын
Legend.
@CosmodiumCS
@CosmodiumCS Ай бұрын
Jus for you bbg😘
@urits3719
@urits3719 Жыл бұрын
Why did you use "RtlMoveMemory" instead of "WriteProcessMemory"? just out of curiosity
@CosmodiumCS
@CosmodiumCS Жыл бұрын
Im lazy, has less arguments😂. Jokes aside, I figured its better for beginners who are just starting with the winapi
@JuanFelix-
@JuanFelix- Жыл бұрын
u are a genius bro I follow u 💥
@Keidieisskxlq
@Keidieisskxlq 11 ай бұрын
Whats your vscode theme name? :D
@CosmodiumCS
@CosmodiumCS 11 ай бұрын
It’s like..Dark Ocean or something like that lmfao😆🤷🏽‍♂️
@aragorn43036
@aragorn43036 Жыл бұрын
Error Memory Access Violation 😞, how to fix?
@uni4on
@uni4on Жыл бұрын
🤯
@sysgerm
@sysgerm Жыл бұрын
Insane!
@MrMKA2012
@MrMKA2012 Жыл бұрын
TY
@Echownz
@Echownz Жыл бұрын
Great Tut
@nanthagopalj314
@nanthagopalj314 Жыл бұрын
I fukin love this video
@CosmodiumCS
@CosmodiumCS Жыл бұрын
Sahweeet!
@karimnasser1031
@karimnasser1031 Ай бұрын
but still windows api is very hard to understand and implement > i suffer alot till not due to windows api however i started sektor7 essential course and by the way this explanation from sektor7 essential course
@CharonFive-ud5bo
@CharonFive-ud5bo Жыл бұрын
Any have any social media account like facebook whatsapp hacking tools. And not phishing
@megacryptertuto9701
@megacryptertuto9701 Жыл бұрын
am CyberSecurity 😆
@ytg6663
@ytg6663 Жыл бұрын
Use this tutorial and get Caught 🤣🤣🤣🤣🤣
@GreatTS
@GreatTS Жыл бұрын
You are literally great teacher. Its been 11 pm and I was about to go to sleep but here I am watching your videos with full enjoyment and enhancing my skills. Please keep up with these nice contents. Love from Nepal. (Wait what's the shortcut for emojis in PC 😭😭😭😭)
@CosmodiumCS
@CosmodiumCS Жыл бұрын
Hahaha! Thanks so much, really happy to hear you’re getting a lot from it :D
Developing Trojans With Shellcode
32:23
Cosmodium CyberSecurity
Рет қаралды 28 М.
Fun With DLL's - Hijacking, Proxying, and Malware Development
34:19
Cosmodium CyberSecurity
Рет қаралды 13 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 32 МЛН
How HACKERS Take Notes!! (Obsidian & More)
18:12
Cosmodium CyberSecurity
Рет қаралды 174 М.
What's inside a .EXE File?
8:27
Inkbox
Рет қаралды 435 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 206 М.
Malware Development: Processes, Threads, and Handles
31:29
Malware 101: Injection Basics - Local Shellcode Injection
9:21
AhmedS Kasmani
Рет қаралды 1,1 М.
How Hackers Exploit Vulnerable Drivers
23:58
John Hammond
Рет қаралды 48 М.
Malware development 101: Creating your first ever MALWARE
28:00
Leet Cipher
Рет қаралды 388 М.
Why You NEED a DRIVER (for hacking games)
8:03
cazz
Рет қаралды 467 М.
What is the Windows API?  What is Windows.h?
5:35
Guided Hacking
Рет қаралды 189 М.