I Made A Virus - I Instantly Regretted It

  Рет қаралды 18,396

Nathan Baggs

Nathan Baggs

2 ай бұрын

Let's see what it takes to make a virus.
Become a member to get early access to videos - / @nathanbaggs
Want to build cool stuff from scratch? app.codecrafters.io/join?via=...
💭 All views are my own 💭
Ever wondered how computer viruses work? Dive into the inner workings of viruses with me as we explore infecting files, executing code, and spreading the infection. Subscribe for more fascinating insights into the world of malware!

Пікірлер: 76
@nathanbaggs
@nathanbaggs 2 ай бұрын
Want early access to new videos and some behind the scenes content? Consider becoming a channel member kzbin.info/door/QvW_89l7f-hCMP1pzGm4xwjoin
@extrasolar9976
@extrasolar9976 2 ай бұрын
New challange: infect the Antimalware service executable
@AllenKll
@AllenKll 2 ай бұрын
Fun tip about Mcaffee... it doesn't actually check the files. All it does is notice it is new, gets a hash of it, and send it back to McAffe's servers for a determination there. this could take days.
@eadweard.
@eadweard. 2 ай бұрын
Why would it take days?
@AllenKll
@AllenKll 2 ай бұрын
@@eadweard. After some initial automated checks, the file can be reviewed by a real person and determined if it is a virus or not.
@eadweard.
@eadweard. 2 ай бұрын
@@AllenKll Difficult to know quite what you're saying. If you click "Scan" on an previously-unseen file, it's obviously not going to sit on "Scanning" for days while a human looks at it.
@AllenKll
@AllenKll 2 ай бұрын
@@eadweard. No, it doesn't find it's hash in the file DB, so it gathers information, sends it off to the mcaffee servers, and tells you it's fine.
@Free2PlayLessPays
@Free2PlayLessPays Ай бұрын
>lemme mail this infected file to the boss, so he can check if its alright
@Voxelstice
@Voxelstice 2 ай бұрын
i never knew you COULD hide code in the executable without directly injecting onto the actual code well i guess im going to look into the portable executable format, seems interesting
@felipecaetano15
@felipecaetano15 2 ай бұрын
Wait, what about the code digital signature? I thought it was supposed to detect modifications.
@JohnAlanWoods
@JohnAlanWoods 2 ай бұрын
Your content is the best. I love your vids. They are so accessible and interesting yet just detailed enough to learn something new.
@nathanbaggs
@nathanbaggs 2 ай бұрын
Thanks!
@Urpuss
@Urpuss 2 ай бұрын
Would be neat for a follow up video to see how you would code an antivirus for this virus
@etusax
@etusax 2 ай бұрын
Great video, very interesting! Also it’s been nice to see you grow as a content creator - the videos keep getting better and better produced.
@nathanbaggs
@nathanbaggs 2 ай бұрын
Thanks! It's been a lot to learn but I just try to make each video better than the last
@Novacification
@Novacification 2 ай бұрын
Really interesting and informative video! Always wondered how viruses are made. It's pretty fascinating what is possible when you look below the tidy surface and overcome your default mindset of wanting things to work as expected.
@haxguy0
@haxguy0 2 ай бұрын
Love your content. Really enjoy the flow of your videos and how you walk the viewer through complex concepts.
@ac15cr
@ac15cr 2 ай бұрын
This was quite an interesting and different video from your previous work. I'd love to see more of it!
@ILightWas
@ILightWas 2 ай бұрын
ohh so good, this video was delightful. It enlightens clearly so many concepts, like a structured list to later later study more deeply knowing how they relate, THIS was what I most liked.
@Nunya58294
@Nunya58294 2 ай бұрын
I remember learning about the Portable Executable (PE) file format writing an ELF loader for my UEFI bootloader. This is a great refresher!
@istvan_m
@istvan_m 2 ай бұрын
This was very good. I read some books on Windows Internals a few years ago but never did anything as practical with the knowledge beyond normal development. Thanks for sharing!
@fromthegamethrone
@fromthegamethrone 2 ай бұрын
Me watching and nodding along. Mhm mhm I understood nothing but loved it.
@AlexKiraly
@AlexKiraly 2 ай бұрын
What an underrated channel, damn!
@AROAH
@AROAH Ай бұрын
This is actually how a lot of DOS viruses worked. One of the first ways to know a system file was infected was to verify the size, so if you can obfuscate your changes by injecting code into dummy data, you could hide in plain sight. And thus the cat and mouse game that is cybersecurity.
@WebCamCartmell
@WebCamCartmell 2 ай бұрын
Another fantastic video!
@b4ux1t3-tech
@b4ux1t3-tech Ай бұрын
This is such a great video. A lot of folks like to play it safe and not share the "secrets" of malware development. The thing is, the information is all out there. There's nothing gained from hiding anything. The "bad guys" can find this information all over the place. More people knowing about it means more bad people can use it. . .but it also means more good people know how it works so that they can work to defend against it. As we all know, security by obscurity doesn't work.
@nathanbaggs
@nathanbaggs Ай бұрын
Thanks! Yeah there’s nothing secret here, but I’m hoping it might be new and interesting to a lot of people
@vakqdev
@vakqdev 2 ай бұрын
plot twist: this video is a virus
@pleasedontwatchthese9593
@pleasedontwatchthese9593 Ай бұрын
Man I got got😊
@HiImKyle
@HiImKyle 2 ай бұрын
I don't think I've ever heard anyone pronounce EXE the way you do. Made me chuckle a lil
@oivinf
@oivinf 2 ай бұрын
All my EXEs live in Texas
@r4nd0mstuf
@r4nd0mstuf 2 ай бұрын
Love your videos!
@DanelonNicolas
@DanelonNicolas 2 ай бұрын
I love it 😮 really really nice video 😍 it's awesome how easy it was dude
@cameron1376
@cameron1376 21 күн бұрын
Easy!?
@Bobbias
@Bobbias 2 ай бұрын
It would have been nice to see a virustotal result and see how many of its AVs detect you.
@PatrickChilton
@PatrickChilton 2 ай бұрын
yer a wizard harry
@nathanbaggs
@nathanbaggs 2 ай бұрын
🧙
@daniel_8
@daniel_8 2 ай бұрын
Always excited to watch a new video by you!
@nolram
@nolram 2 ай бұрын
All you need to trip Windows defender is downloading and executing another executable (or sometimes executing another executable at all) - something I have to fight frequently as there are many perfectly reasonable reasons to do this :)
@mossarelli
@mossarelli 2 ай бұрын
In Windows Defender you can chose to ignore a threat if you think it's a false positive. What this video really shows is that making a zero day exploit is very doable, that antivirus programs may only see certain injections in certain code-caves that it is actively looking for. From a personal point of view as a user and not a developer, I would like it if every system call was prompted on screen much like the "would you like to run this program, yes or no?", but it would show a window with what folder the program wants to change and what files it wants to affect, much like when you copy files and replace them in a folder. The same way Android apps asks for permissions to use location, microphone or access folders, I would like executable files to ask me for permission, and that all these syscalls and permissions would have to be reviewed before granting a program permissions to change certain folders. One of the most annoying things with any executable program, is when it changes a file, folder or registry index without telling you what it's changing. Most installers shows a list of things it wants to install and a user can opt out of optional packages by clicking a checklist. A program or game should say promptly: "We wish to add this to your %appdata% folder" or "Install additional libraries in this location". Since switching to SSDs, a lot of apps chose to install ludicrous big files in the %appdata% folder, which is stored on the OS drive, and it takes up a lot of space for no reason, (looking at you Spotify). There is literally no speed benefit of putting cache in %appdata% compared to putting it in the installation folder on a normal HDD, unless the program or game specifically benefit from loading certain files from an SSD. I find myself creating symlinks from a HDD and putting it into %appdata% folders very often, just to save on space. Until I get a 1TB SSD, I won't be allowing 20GB of cache files to just collect dust on the SSD for a program I run once in a blue moon. Thank you for a very educational video.
@FlamingPhoenix40
@FlamingPhoenix40 2 ай бұрын
Wait, did you reupload the video with a different thumbnail/title? I'm pretty sure I've seen it on my feed before, but I didn't actually watch it yet
@nathanbaggs
@nathanbaggs 2 ай бұрын
You can change title and thumbnail after a video has been uploaded. It’s pretty common practice to tweak a video after upload to try and maximise the number of people who click it (called Click Through Rate or CTR)
@DouglasFish
@DouglasFish 2 ай бұрын
I really love your videos
@clashblaster
@clashblaster 2 ай бұрын
It's important to note that all the worry about ensuring the program can still execute its own code is only a concern if you're trying to create a stealthy virus that can act without alerting the user to its presence. Plenty of viruses throughout history have foregone the stealthy approach and made it obvious when the user has run an infected program.
@dtlssm
@dtlssm 2 ай бұрын
i read somewhere that now you can attack a pc from the bios logo and its nothing you can do about it!crazy
@freedustin
@freedustin 2 ай бұрын
you can flash the UEFI and patch it if there is an update available (there is) but tbh, that vuln is not a way in, they have to have a way in first to do that.
@ToniMorton
@ToniMorton 2 ай бұрын
this is a really similar concept to win32 sality it used to bytepatch exes to run itself and was a nasty bit of kit.
@thisiscentralcontrol
@thisiscentralcontrol 12 күн бұрын
this channel is so good
@andersondamasceno
@andersondamasceno 2 ай бұрын
I love videos that are for educational purposes only. They are so.... educational. :)
@placeholder7852
@placeholder7852 Ай бұрын
9:13 Does that mean that if you were to stick with .text instead of .reloc, windows wouldn't have found any threats?
@nathanbaggs
@nathanbaggs Ай бұрын
Quite possibly
@maxvandenhoven2320
@maxvandenhoven2320 2 ай бұрын
Nice video! I really like your VSCode theme, would you mind sharing your setup?
@nathanbaggs
@nathanbaggs 2 ай бұрын
Sure - I use Dracula theme (and vim plug-in)
@maxmanium2032
@maxmanium2032 2 ай бұрын
Do you always wear the AVGN fit in videos
@nathanbaggs
@nathanbaggs 2 ай бұрын
I just own a lot of white (and pink) shirts
@ewookiis
@ewookiis 2 ай бұрын
Into - if it replicates further, it's a worm :). Or, it's simply ads..
@0LoneTech
@0LoneTech 2 ай бұрын
A worm triggers its own execution on other hosts. A virus relies on something else to execute it.
@nathanbaggs
@nathanbaggs 2 ай бұрын
I have a video about worms...
@wombatpandaa9774
@wombatpandaa9774 2 ай бұрын
As usual, McAfee is a total joke
@xanderplayz3446
@xanderplayz3446 Ай бұрын
And Norton; The pair also run misleading notifications that lead straight to their website; no punycode.
@richbrit121212
@richbrit121212 2 ай бұрын
Fine. I'll put down Fortnight and watch this 😂
@nathanbaggs
@nathanbaggs 2 ай бұрын
I make no guarantee this is more interesting than Fortnight (:
@Kolor-kode
@Kolor-kode 2 ай бұрын
I made a virus and I went to prison. (oh how I wish I was joking)
@omegaweapon2005
@omegaweapon2005 Ай бұрын
I want to hear this story!
@apu_apustaja
@apu_apustaja 2 ай бұрын
Hello. I like you.
@zgolkar
@zgolkar 2 ай бұрын
Hehehe, smart. “easIER”, yet not “easY” 😅
@Free2PlayLessPays
@Free2PlayLessPays Ай бұрын
your computer cant run infected code if all its processing power goes to 4 AVs
@DigitalicaEG
@DigitalicaEG 2 ай бұрын
Video was paced way too fast for me to keep up with. Would’ve been appreciated if you slowed it down and explained things a bit more.
@stupidoldgamer
@stupidoldgamer Ай бұрын
LOL "Don't do anything malicious" FFS! This is where stupid is as stupid does.
How Do Wall Hacks Actually Work?
12:38
Nathan Baggs
Рет қаралды 29 М.
USB video capture in 2002: Dazzle DCS 200
22:38
VWestlife
Рет қаралды 17 М.
ОДИН ДОМА #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 118 #shorts
00:30
where is the ball to play this?😳⚽
00:13
LOL
Рет қаралды 14 МЛН
Зу-зу Күлпәш. Стоп. (1-бөлім)
52:33
ASTANATV Movie
Рет қаралды 1,1 МЛН
Hacking This Game To Always Win (Buckshot Roulette)
7:26
Nathan Baggs
Рет қаралды 12 М.
Unfixable Apple Exploit - How It Really Works
28:43
Nathan Baggs
Рет қаралды 14 М.
Hacking like it's the 90's
20:11
Nathan Baggs
Рет қаралды 6 М.
How To Enumerate Processes On Windows
28:15
Nathan Baggs
Рет қаралды 4,8 М.
How One Developer Continues To Defy The Impossible
18:31
Nathan Baggs
Рет қаралды 137 М.
Stable Diffusion in Code (AI Image Generation) - Computerphile
16:56
Computerphile
Рет қаралды 282 М.
Reverse Engineering RollerCoaster Tycoon | How does it work?
38:54
Nathan Baggs
Рет қаралды 223 М.
Fixing Multiplayer Of A 25 Year Old Game
12:37
Nathan Baggs
Рет қаралды 95 М.
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 35 М.
Встретили Айгуль #shorts  #кино #сериал #фильм
0:54
Кино Кайф ©
Рет қаралды 2,9 МЛН
Стэтхэм торгуется за ЛАДУ #сериал #топ
0:49
Топ по Ивановым
Рет қаралды 4,1 МЛН