How Does Malware Know It's Being Monitored?

  Рет қаралды 71,388

John Hammond

John Hammond

9 ай бұрын

jh.live/maldevacademy || Learn how to write modern 64-bit Windows malware and more anti-debugging techniques with Maldev Academy! For a limited time you can use code 'HAMMOND10' to save 10%: jh.live/maldevacademy
Previous videos mentioned:
1. Classic Shellcode Loader in Nim: • How Hackers Write Malw...
2. Using Sliver for Command & Control: • How Hackers Use netsh....
3. Permanently Disable Windows Defender: • PERMANENTLY TURN OFF W...
4. Spoof Parent Process ID & CreateToolhelp32Snapshot: • How Hackers & Malware ...
🔥 KZfaq ALGORITHM ➡ Like, Comment, & Subscribe!
🙏 SUPPORT THE CHANNEL ➡ jh.live/patreon
🤝 SPONSOR THE CHANNEL ➡ jh.live/sponsor
🌎 FOLLOW ME EVERYWHERE ➡ jh.live/discord ↔ jh.live/twitter ↔ jh.live/linkedin ↔ jh.live/instagram ↔ jh.live/tiktok
💥 SEND ME MALWARE ➡ jh.live/malware

Пікірлер: 90
@psr9289
@psr9289 9 ай бұрын
"hippity hoppity your code is now my property" 😂
@the_god_killah
@the_god_killah 9 ай бұрын
Is that a Dani reference?
@sleepyyui
@sleepyyui 9 ай бұрын
​@@the_god_killahprobably
@ReligionAndMaterialismDebunked
@ReligionAndMaterialismDebunked 9 ай бұрын
Nice. :3😊
@ReligionAndMaterialismDebunked
@ReligionAndMaterialismDebunked 9 ай бұрын
Out a day ago. I'm watching it rn. Hell yeah to try to hide it. XD 💀😅🐀👨‍💻🤝🤓💪🏻👁️🔥 Polymorphic malware. Encrypted malware. Etc. Red teams. Blue teams. Fighting corrupt government. Etc.
@CuchulainZA
@CuchulainZA 9 ай бұрын
His videos tend to be so good and informative that I am able to reuse some of the concepts for CTF challenges and training for our staff. He makes everything so easily accessible
@nonyabizz6992
@nonyabizz6992 9 ай бұрын
Very informative thanks, I have been interested in learning how to craft shellcode recently.
@hydroponicgard
@hydroponicgard 9 ай бұрын
You n danooct1 have been an inspiration for me to do CySec, still going through what I wanna focus mainly on, but I love both red/blue team jazz, so time will tell, mby I go purple team c: Thank you again, John, hope all good happens in your life
@blinking_dodo
@blinking_dodo 9 ай бұрын
One extra trick: check for a file you placed somewhere else on the filesystem. If it does not exist, your executable is running on another computer or inside a sandbox. (But it does NOT protect against debugging though. You need something else for that)
@fuckit563
@fuckit563 9 ай бұрын
this would require the program to be launched twice
@blinking_dodo
@blinking_dodo 9 ай бұрын
@@fuckit563 No? If you have initial access to a system, you place the executable and schedule it, then you create the canary file and just wait. When your program can't find the file, you know *for sure* that you aren't running on the system you wanted to run on and should nope the hell out. Any AV that doesn't do in-place analysis or copies the canary file too would have a hard time doing any run-time analysis. This would obstruct any external analysis, including virustotal or similar services.
@fredwright4423
@fredwright4423 9 ай бұрын
Problem is the windows api calls CreateFile for not just creating files and is signatured and looked for: Ransomware note or to write obfuscated code to a file.
@fredwright4423
@fredwright4423 9 ай бұрын
MalwareJake's red team village 101 malware analysis cover this and other api calls
@blinking_dodo
@blinking_dodo 9 ай бұрын
@@fredwright4423 You don't need windows API or anything like that. You could even make this in Java. Point is that a file somewhere else on the filesystem won't get copied for external analysis. Especially if they are in a totally different directory.
@manny9639
@manny9639 8 ай бұрын
This is amazing man, what a great video
@LoneWolf-dj7so
@LoneWolf-dj7so 9 ай бұрын
Always got great videos
@laurenlewis4189
@laurenlewis4189 9 ай бұрын
It strikes me that checking the time delta as a quick way of determining if the software is sandboxed would lead to a perverse incentive, where old and slow computers (and VMs or containers without many resources) can't get infected because the shellcode stager thinks it's a sandbox
@quaniypw3
@quaniypw3 9 ай бұрын
thanks cuz of u i bring some 66G db logs u deserve that ❤️
@ThisIsJustADrillBit
@ThisIsJustADrillBit 9 ай бұрын
The GOAT strikes again ❤
@vnc.t
@vnc.t 9 ай бұрын
9:00 remember, if you've got procmon rename it to prankmin or something, same for x64dbg, make it x69dgb or something, ida can be ide, something you'll remember but won't match a blacklist.
@patrickslomian7423
@patrickslomian7423 9 ай бұрын
Thank You John !! :)
@kashoo_1
@kashoo_1 9 ай бұрын
Sounds good 💯
@gaminganup3148
@gaminganup3148 9 ай бұрын
From India love you sir❤❤❤
@m.gredemptor2610
@m.gredemptor2610 9 ай бұрын
8:10 - Nice, mine did the same too, but I think it's because you have submitted a debug build, cause if I compile it with “-s -O3” options the detection falls to just 1. Edit 1: I also tried submitting unoptimized bin with just “puts” and other stdio functions - and virus-total seems to flag it with the same 6 flags, so most of the problem are from submitting debug builds.
@naseerahmadayan199
@naseerahmadayan199 9 ай бұрын
John The way i see you You are one in a million ❤❤
@georgiosroumeliotis4383
@georgiosroumeliotis4383 9 ай бұрын
Hey John, How it's going with OSEE, can you make a video about it?
@trishulsingh01
@trishulsingh01 9 ай бұрын
Let’s make a malware just for fun 😂
@nekosalad8308
@nekosalad8308 9 ай бұрын
for science
@LittleRainGames
@LittleRainGames 9 ай бұрын
Or to attack tech support scammers
@6digitzz
@6digitzz 9 ай бұрын
​@@LittleRainGames if u think its a big threat stop youtube, just try to post content of world in north korea intranet it will be more usefull
@negrastormentas2865
@negrastormentas2865 9 ай бұрын
Is your correction in 14:07, correct? Previously in the video, at 12:06 it says "__readfsdword" for 32 bit.
@_JohnHammond
@_JohnHammond 9 ай бұрын
Ah! I apparently missed that too. Good catch!
@pavi013
@pavi013 8 ай бұрын
Good to know about new tools and techniques
@khaledijbariye5809
@khaledijbariye5809 9 ай бұрын
Can you do full course about sliver c2 framework from zero? Thank you❤
@ricseeds4835
@ricseeds4835 9 ай бұрын
Anyone got resource recommendations for learning the Sysinternals tools and WinDbg? Maybe John can start a series on them.
@ajaykumar1
@ajaykumar1 9 ай бұрын
Which is the best course for malware development Sector7 OR MalDevAcademy
@tebogobrooks7844
@tebogobrooks7844 9 ай бұрын
Hey John I enjoy watching your videos. They are informative. There's a new malware called whiffy recon which infects vulnerable windows devices by wi-fi access point by scanning every 60 seconds and tries to triangulate a device's location. if you can find a sample code could you please do some analysis
@Diemf74
@Diemf74 9 ай бұрын
Damn Grey hats I love you
@georgehammond867
@georgehammond867 9 ай бұрын
I like to hear that out track song fearless.
@dunk7605
@dunk7605 9 ай бұрын
john please stop looking at me so scarily in these thumbnails
@Dahlah.FightMe
@Dahlah.FightMe 9 ай бұрын
Nice :D
@user-qy6cm8rz5u
@user-qy6cm8rz5u 9 ай бұрын
I have the sektor7 malware development course!
@DamianRyse
@DamianRyse 9 ай бұрын
Well, if I would be a blue-teamer, I'd just Ghidra into the binary and reverse the If statement. I can run it with a debugger attached but it can't run standalone. ^^
@kopuz.co.uk.
@kopuz.co.uk. 9 ай бұрын
What is the lib is loaded dynamically with loadliba using obfuscated strings
@kasemsh7583
@kasemsh7583 9 ай бұрын
Hi John I'm I want get the maldev academy course but they don't have account security 2fa or any paying 500$ with no account security I sent them a massage with no response
@pr0tagnist
@pr0tagnist 9 ай бұрын
YEA BOOOOOIIIII!!!!
@scootergirl3662
@scootergirl3662 9 ай бұрын
Same
@RandomytchannelGD
@RandomytchannelGD 9 ай бұрын
NICEE
@mnarath8376
@mnarath8376 9 ай бұрын
could you not use this kind of behavior to spoof and make believe maleware that its inside a debug enviroment so it doesn‘t fire on a regular system?
@johndeaux8815
@johndeaux8815 9 ай бұрын
If you want malware to not fire on a regular system, the same rules apply as when you are debugging it. Just don’t run the fully compiled program or any malicious code with administrator privileges if you don’t know EXACTLY what it does 😂
@johndeaux8815
@johndeaux8815 9 ай бұрын
Idiotproofing is impossible, as long as there is malicious code that can be run, there will be someone dumb enough to run it, regardless of any failsafes. If you made a malware that tries to avoid execution, someone will find a way to get it to run 😂
@mnarath8376
@mnarath8376 9 ай бұрын
@@johndeaux8815 true i was thinking of this in a similar way of some russian ransomeware a while ago that would not fire if you had the russian language pack installed on your system 😂
@mnarath8376
@mnarath8376 9 ай бұрын
just some extra safety net that also abuses the fact that most malware devs want to keep their code hidden / hard to analyse but i agree that you can‘t protect against the human factor and thats usually the weakest point in any security anyway😅
@johndeaux8815
@johndeaux8815 9 ай бұрын
@@mnarath8376 ah true, that reminds me of an idea I had a while back where you make a virus that swaps the code for i to the cyrillic i in someones language pack so they cant code lol
@gniteeshreddy5078
@gniteeshreddy5078 9 ай бұрын
Hey Mr.John! I am a beginner in the field of cybersecurity. Could you please help me with some resources which help to start my career in offensive security. Thanks in advance!
@zaccampa4055
@zaccampa4055 9 ай бұрын
There is so many free resources available on KZfaq and the internet. Just do some research and you’ll definitely find something that suits your needs.
@HxN0n3
@HxN0n3 9 ай бұрын
good
@asldkfjzopiuqea
@asldkfjzopiuqea 9 ай бұрын
How to convert it to useable shell code?
@RandomGeometryDashStuff
@RandomGeometryDashStuff 9 ай бұрын
try all debug detction methods in virustotal (don't include malware, just `if(isdebugged())puts("debugged");`)
@MasterCraft_48
@MasterCraft_48 9 ай бұрын
I hope we don't get put on a list by watching these sort of videos...
@racecar_johnny
@racecar_johnny 9 ай бұрын
If ur watching these kind of videos, it’s likely that your already on some kind of watchlist. For example, just for downloading and using TOR. But it doesn’t matter, because with all the data they have, they are able to differentiate between someone who’s doing it for education, and one who has malicious intends.
@RS6Showtime
@RS6Showtime 9 ай бұрын
Do you also have a casio clock? Same as me if you say yes :P
@justingreen6561
@justingreen6561 9 ай бұрын
K, this has nothing to do with this video but figured this was the community to help answer a question. Seems Facebook has a phishing scam circulating thats proposed as a post on someones wall with a "guess whose died" car crash headline thats provides a link. Apparently, as John has shown/demoed, its the whole fake signin spoof workflow where your creds will then go to 💀. My question though is, all times Ive seen this the link has clearly been a vercel application which A) makes me think the jerkoff mastermind apparently has backend skills about as sophisticated as mine but more importantly B) wouldnt/shouldnt Vercel sniff this transparent nonsense out and put a quick rm -rf on things? And certainly, if anyone reads this and decides to phish the phisher, well, i applaud and respect da skills. But ya, mainly just seems weirder an apparent 'prod' malware thats breached FB would still carry a transparent vercel domain.
@RoninAuron
@RoninAuron 9 ай бұрын
Your thumbnail predicted the Trump mugshot insider info?? 😂
@user-hd3pz2ow1b
@user-hd3pz2ow1b 3 ай бұрын
6:56 9:10
@Ruhgtfo
@Ruhgtfo 7 ай бұрын
lmao when malware know to make blacklist on its own
@SumanRoy.official
@SumanRoy.official 9 ай бұрын
This won't work, exe files are always checked if they are from a trusted publisher or not, UAC will probably block it if it runs on a different machine, even if the defender is turned off.
@FalcoGer
@FalcoGer 9 ай бұрын
c and c++ can determine the array size if you initialize it in the same line. that said, bare arrays are deprecated. Use std:array. Why are you using boolean macros instead of the proper types? And why don't you just "return pPeb->BeingDebugged == 1;"
@bigsam2928
@bigsam2928 9 ай бұрын
nerd
@catharperfect7036
@catharperfect7036 8 ай бұрын
\tell us how to hack the Fed
@aadhiseshandc7260
@aadhiseshandc7260 9 ай бұрын
If john notices this comment [heart or comment]. Im convincing my mom to give my laptop back for cybersecurity and personally loves these videos. I regret using a chromebook. Luckily i have linux
@webdev-ij5hp
@webdev-ij5hp 9 ай бұрын
i clearly dont know what is going on
@saltedhash6467
@saltedhash6467 9 ай бұрын
You often talk too quickly.
@kopuz.co.uk.
@kopuz.co.uk. 9 ай бұрын
Couldn't you just read your own memory and look for soft breakpoints?
@kashoo_1
@kashoo_1 9 ай бұрын
Sounds good 💯
How Hackers Hide From Memory Scanners
21:11
John Hammond
Рет қаралды 57 М.
Free Coding Tool Distributes Malware
42:12
John Hammond
Рет қаралды 127 М.
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
1❤️
00:20
すしらーめん《りく》
Рет қаралды 33 МЛН
Заметили?
00:11
Double Bubble
Рет қаралды 2,5 МЛН
Django Relationship models
38:53
Chai aur Code
Рет қаралды 3,8 М.
Malware's LAST Stand: SELF-DELETION
1:01:58
crow
Рет қаралды 51 М.
KOVTER Malware Analysis - Fileless Persistence in Registry
1:28:14
John Hammond
Рет қаралды 332 М.
## What is the Basic of Coding?💻 Unlock the Secrets!
2:44
Master learner Ai
Рет қаралды 4
How Hackers & Malware Spoof Processes
25:57
John Hammond
Рет қаралды 64 М.
How to tell if your PC is Hacked? Process Forensics
8:57
The PC Security Channel
Рет қаралды 485 М.
What's inside a .EXE File?
8:27
Inkbox
Рет қаралды 407 М.
Snip3 Crypter/RAT Loader - DcRat MALWARE ANALYSIS
1:42:04
John Hammond
Рет қаралды 494 М.
How Hackers Evade Program Allowlists with DLLs
17:27
John Hammond
Рет қаралды 48 М.
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17