How Hackers & Malware Spoof Processes

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ค. 2023
  • jh.live/evasion || Learn TOP CLASS malware development and evasion techniques with SEKTOR7! Get 20% off the Windows Evasion Course with my link: jh.live/evasion
    🔥 TH-cam 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

ความคิดเห็น • 100

  • @d3c0deFPV
    @d3c0deFPV 11 หลายเดือนก่อน +36

    Good breakdown, John. Assuming you haven't already made a similar video, it would be cool to see the flipside of this, which is how to evade being detected by malware. (VM detection, debugger evasion, etc). You could cover some of the different techniques that malware uses to know it's in a VM.

  • @erickfurukawa1
    @erickfurukawa1 11 หลายเดือนก่อน +31

    Hey John, just a small observation:
    The function Process32First() already populates the PROCESSENTRY32 struct with a process, so when you call Process32Next() you are effectively skipping the first process entry. I think it would be better to change it to a do-while so that the first process doesn't get skipped.
    Great video btw!

    • @Tygo69
      @Tygo69 11 หลายเดือนก่อน +7

      The code he wrote is absolute garbage, also forgets to close the handle of the snapshot. I basically stopped watching after this. His GetProcessId function is already a complete mess.

    • @deedos
      @deedos 11 หลายเดือนก่อน +17

      ​@@Tygo69maybe you could make your own video with better code then?

    • @Tygo69
      @Tygo69 11 หลายเดือนก่อน +3

      @@deedos I write windows kernel drivers and reverse the windows kernel and anti-cheat drivers, I've also worked on uefi bootkits. Not responding to you anymore waste of my time

    • @deedos
      @deedos 11 หลายเดือนก่อน +23

      @@Tygo69 I'm not questioning your abilities, I'm genuinely interested in watching your video if you think John's code is bad

    • @psixfour
      @psixfour 11 หลายเดือนก่อน +3

      True, nice observation.
      Sometimes I find Windows Programming really messy due its COM components nature. It reflects on its own API. Sometimes, I really miss these standardized structures like iterators from modern libraries that help us using for-loops when we do low-level programming.

  • @subashm9039
    @subashm9039 11 หลายเดือนก่อน +4

    Hi Hammond, Can you make a video about Scammer Payback How he does the hacking via anydesk

  • @mnymic
    @mnymic 11 หลายเดือนก่อน

    quite comprehensive, watched the whole vid and never got bored despite no actual xp with c. cool, thanks!

  • @jeremyng1021
    @jeremyng1021 11 หลายเดือนก่อน +2

    Very good stuff! I would love to see more malware techniques sharing, such as AV evasion or process hollowing (or process doppelganger), which is also kind of fun too. Thanks!

  • @scottspa74
    @scottspa74 11 หลายเดือนก่อน

    Great video. Super fun to follow, try, and learn. Thank you! 👍

  • @matthiasnicolai5523
    @matthiasnicolai5523 11 หลายเดือนก่อน +2

    "Does this make sense?" spilled my coffee, and yes, mostly it does :D

  • @Hacker_Baby
    @Hacker_Baby 11 หลายเดือนก่อน

    Bro! Thank you so much for all you do! 🙇🏼

  • @eckersplode
    @eckersplode 11 หลายเดือนก่อน

    Another banger, keep em' coming John!

  • @Gobillion160
    @Gobillion160 11 หลายเดือนก่อน

    these videos are amazing please do more maldev videos these are your best videos in years

  • @vishalraj7532
    @vishalraj7532 11 หลายเดือนก่อน +5

    Hey, John thank you so much for this incredible video. And I was wondering if it's possible to write all the C++ code using Nim language. I've developed a great fondness for Nim's syntax, finding it incredibly user-friendly and easy to work with.

  • @TediousSecurity
    @TediousSecurity 11 หลายเดือนก่อน

    Awesome video, thanks for the breakdown.

  • @lollubrick
    @lollubrick 11 หลายเดือนก่อน

    now THIS is the type of content I like!

  • @nicojanen3015
    @nicojanen3015 11 หลายเดือนก่อน +1

    Hei. Little info for using VS. You can press ctrl + shift + space to view intelisence if it disappear while typing your parameter.
    Edit: Or any other time writing a variable

  • @daljeetbhati8353
    @daljeetbhati8353 11 หลายเดือนก่อน

    Aha bring more malware stuff if possible loved this vid it would be awesome too see a vid on some kernal malware

  • @detective5253
    @detective5253 11 หลายเดือนก่อน

    *WE NEED MOOOOOOOOOOOOORE MALDEV VIDEOS LIKE THIS PLEASE*

  • @aadhiseshandc7260
    @aadhiseshandc7260 11 หลายเดือนก่อน

    Hi jh. Love ur code even if it breaks my brain (I'm a beginner)

  • @neilthomas5026
    @neilthomas5026 11 หลายเดือนก่อน

    You are a Giga Chad honestly love your vids !!

  • @Acepwokk
    @Acepwokk 11 หลายเดือนก่อน +1

    BANGER TYSM

  • @Red4mber
    @Red4mber 11 หลายเดือนก่อน

    Dope, just as I got into maldev,
    Timing too perfect, I really suspect you're in my walls

  • @jonjon12498
    @jonjon12498 11 หลายเดือนก่อน

    You're doing all this in a VM? This is on my list of things to learn deploy ect. I enjoy your videos BTW and that face when you asked if it made sense made me lol 😂😂

  • @dmoney5221
    @dmoney5221 11 หลายเดือนก่อน +2

    I would pay to sit in a room and have this guy teach me

  • @neikidev
    @neikidev 11 หลายเดือนก่อน

    great video love it!

  • @bluefal
    @bluefal 10 หลายเดือนก่อน

    Oh i am in love with this

  • @drushkyy2017
    @drushkyy2017 10 หลายเดือนก่อน

    Any recommendations to learn os and computer architecture? What resources can I use? Can you do some fundamentals tutorials on os and architecture and how it works! Thanks man

  • @petevenuti7355
    @petevenuti7355 11 หลายเดือนก่อน

    What are your top edr and av recommendations?

  • @logiciananimal
    @logiciananimal 11 หลายเดือนก่อน

    Does the technique illustrated required elevation? Also, is the code available somewhere?

  • @preveenramcharan
    @preveenramcharan 11 หลายเดือนก่อน +3

    How come John doesn't have more than "just" 603K subs? Such a cool and knowledgeable guy. Keep up the great work buddy!!! 💪

    • @d3c0deFPV
      @d3c0deFPV 11 หลายเดือนก่อน

      For someone making this kind of content, he has a ton of subs. General public interest just isn't huge.

    • @akt67
      @akt67 10 หลายเดือนก่อน

      Coz its hard to follow him, we arent all Kevin Mitnick's (RIP)

  • @Md.Mashrur
    @Md.Mashrur 11 หลายเดือนก่อน

    You Are Fire Bro
    🔥🔥
    I Love Your Videos

  • @squid13579
    @squid13579 11 หลายเดือนก่อน

    John make a video on wazuh ? Open source edr tool and it's awasome.

  • @regulator5
    @regulator5 10 หลายเดือนก่อน

    I thought I knew things until I watched this video lol. Still a great video john

  • @gobords
    @gobords 11 หลายเดือนก่อน

    "tricknique".. i like it.

  • @rectalespionagesailboat4819
    @rectalespionagesailboat4819 10 หลายเดือนก่อน

    If 'tricknique' isn't official tech-jargon, it should be.

  • @karanb2067
    @karanb2067 10 หลายเดือนก่อน

    This thing is tough....damn you windows 32 api

  • @inquisition.musician
    @inquisition.musician 10 หลายเดือนก่อน +1

    I'm interested in that kind of stuff so that tech support scammers will get punished.

  • @davidcopenhaver5583
    @davidcopenhaver5583 11 หลายเดือนก่อน

    more!

  • @enadalotaibi8181
    @enadalotaibi8181 10 หลายเดือนก่อน

    Let's be honest
    As L1 SOC Analyst
    You cannot detect these without the EDR alerting you
    This is honestly scares me as SOC Analyst

  • @user-dl6zl8su1f
    @user-dl6zl8su1f 11 หลายเดือนก่อน

    What should I learn to understand this code better?

    • @nicojanen3015
      @nicojanen3015 11 หลายเดือนก่อน +1

      Hei. C++ or any other programming language with OOP (Object oriented programming) to understand the principle of classes, functions and objects.

    • @user-dl6zl8su1f
      @user-dl6zl8su1f 11 หลายเดือนก่อน +1

      Thanks a million !

  • @FalcoGer
    @FalcoGer 11 หลายเดือนก่อน +1

    C code is so ugly when compared to c++...
    I think you want a do loop instead of a while loop here 8:40 because you're skipping the first process it found.
    You also most certainly want to return an error value, an std::expected or throw if your name is not found. Not returning from a function with a return value declared is UB. See stmt.return#2. Use "-Werror-return-type".
    If I were to do this, I would just return the entire process handle instead of just the ID.

    • @nordgaren2358
      @nordgaren2358 11 หลายเดือนก่อน

      The first entry is always system idle process.
      No need to check it.

    • @nordgaren2358
      @nordgaren2358 11 หลายเดือนก่อน

      Also, the process entry struct he is working with here is over 256 bytes long, so idk about returning the whole thing.

  • @islam7337
    @islam7337 11 หลายเดือนก่อน

    I sent you an invite in linked in but you didn't respond

  • @GhostGamer3135
    @GhostGamer3135 11 หลายเดือนก่อน +2

    first comment

  • @victorswaroop2289
    @victorswaroop2289 11 หลายเดือนก่อน

    I wish every malware came with the file name of "evil.exe"

  • @janmillerty4528
    @janmillerty4528 11 หลายเดือนก่อน

    Sup

  • @sreejishnair5922
    @sreejishnair5922 11 หลายเดือนก่อน

    Bro course are costly, I honestly want to purchase but cannot afford such a costly course to be honest. Otherwise great content

  • @paradiseexpress3639
    @paradiseexpress3639 11 หลายเดือนก่อน +2

    Why is your code SO BAD. Please stop nesting everything, there is literally no point in doing that

    • @nordgaren2358
      @nordgaren2358 11 หลายเดือนก่อน

      What was nested that shouldn't have been?

    • @paradiseexpress3639
      @paradiseexpress3639 11 หลายเดือนก่อน

      @@nordgaren2358 if statements

    • @paradiseexpress3639
      @paradiseexpress3639 11 หลายเดือนก่อน

      @@nordgaren2358 It looks like he introduced undefined behavior as well.

    • @nordgaren2358
      @nordgaren2358 11 หลายเดือนก่อน

      @@paradiseexpress3639 are you trying to say he shouldn't use if statements? What?

    • @nordgaren2358
      @nordgaren2358 11 หลายเดือนก่อน

      @@paradiseexpress3639 where is the undefined behavior?

  • @sent4dc
    @sent4dc 11 หลายเดือนก่อน

    Hmm, you're a good presenter John, but ... coder ... sorry, my friend. At least in a C/C++ sense. This is not Python, you need to close handles and release memory. Also after you call Process32First you are missing whatever it returned by calling Process32Next right away. Additionally, there are so many bugs in what you wrote I don't even know where to begin. But ... malware authors I guess don't care about memory leaks, hah?

  • @herzallahaymen5478
    @herzallahaymen5478 11 หลายเดือนก่อน

    very poor explanation, bro not everybody is a low level guru.

  • @hectormorenocampo
    @hectormorenocampo 11 หลายเดือนก่อน

    @john Sektor7 or Maldev academy?

  • @RaGhav363
    @RaGhav363 11 หลายเดือนก่อน

    You could have make it with NIM

  • @akt67
    @akt67 10 หลายเดือนก่อน +2

    Too fast and confusing unless Im stupid.

  • @ranjanji3518
    @ranjanji3518 10 หลายเดือนก่อน

    Hay Bro @_JohnHammond how we can open malware or viruses in our system to examine that like you .
    Also scary about got harmed so plzz guide ❤🎉🎉
    Even u r professional but you didn't care about malware abusing nature
    Big Fan Bro 😎 ❤
    Love from India 🇮🇳❤

  • @lollubrick
    @lollubrick 11 หลายเดือนก่อน

    Also, I am surprised you are using visual studio instead of your favorite sublime text. I could never get into sublime text. I am considering going into the neovim croud a la @ThePrimeagen

  • @janmillerty4528
    @janmillerty4528 11 หลายเดือนก่อน

    Sup