FAKE Antivirus? Malware Analysis of Decoy 'kaspersky.exe'

Поделиться
HTML-код
  • Опубликовано: 23 фев 2021
  • If you would like to support the channel and I, check out Kite! Kite is a coding assistant that helps you code faster, on any IDE offer smart completions and documentation. www.kite.com/get-kite/?... (disclaimer, affiliate link)
    For more content, subscribe on Twitch! / johnhammond010
    If you would like to support me, please like, comment & subscribe, and check me out on Patreon: / johnhammond010
    PayPal: paypal.me/johnhammond010
    E-mail: johnhammond010@gmail.com
    Discord: johnhammond.org/discord
    Twitter: / _johnhammond
    GitHub: github.com/JohnHammond

Комментарии • 497

  • @erich8948
    @erich8948 3 года назад +270

    "Skip ahead if you don't want to watch me suffer"... you have CLEARLY misunderstood why I'm here ;)

    • @diddyman1958
      @diddyman1958 3 года назад +1

      Hahaha me too!

    • @furioznetworkz945
      @furioznetworkz945 2 года назад +2

      Always a good feeling to see other coders struggle aswell on tiny mistakes :p

    • @VivaPlaysGames
      @VivaPlaysGames 2 года назад

      @@furioznetworkz945 ye, as coders, we make mistakes

    • @EndisuKKJJ
      @EndisuKKJJ Год назад

      🦆

  • @blade1551431
    @blade1551431 3 года назад +430

    I like that the videos are not scripted please make more of a Malware Analysis

    • @TheBeat1075
      @TheBeat1075 3 года назад +3

      +

    • @johnhunt1813
      @johnhunt1813 3 года назад

      Nice try, hacker!

    • @blade1551431
      @blade1551431 3 года назад +1

      @@johnhunt1813 ?

    • @harmitchhabra989
      @harmitchhabra989 2 года назад

      None of his videos are scripted bro, you can see in like the pico CTF playlist, he improvs on the way

    • @abdullah5246
      @abdullah5246 2 года назад +1

      @@harmitchhabra989 most actually are ;)

  • @benvoisey3942
    @benvoisey3942 3 года назад +188

    I cried when he downloaded update.exe as kaspersky.exe

    • @MrSpirit99
      @MrSpirit99 3 года назад +8

      I was impressed that he catched it that fast.

    • @mihaipopescu22
      @mihaipopescu22 3 года назад +13

      13:28 he makes a folder named Kasperky instead of Kaspersky. He does not catch this tipo and gives up. AAAAAAAAAAAAAAAAAAA

  • @thislooksfun1
    @thislooksfun1 3 года назад +320

    I can see two reasons why running update.exe at ~15:00 didn't work: 1) it needs three args, the first of which being the pid (you only gave two), and 2) you misspelled the Windows/kaspersky directory as Windows/kasperky.

    • @Coryyyyyyyy
      @Coryyyyyyyy 3 года назад +10

      I caught that too!

    • @Jujo1
      @Jujo1 3 года назад +4

      Another one who caught that typo there!😂

    • @natetronn
      @natetronn 3 года назад +28

      You forgot an s! You forgot an s! You forgot an....oh forget it, you can't hear me.

    • @Jujo1
      @Jujo1 3 года назад +1

      @@natetronn 😂😂😂

    • @danielpimmingstorfer9225
      @danielpimmingstorfer9225 3 года назад +3

      i felt so smart when i saw that mistake haha

  • @Lexxrt
    @Lexxrt 3 года назад +111

    File Description: b

  • @whatnowsami9225
    @whatnowsami9225 3 года назад +86

    Yaaaassssss,
    Another malware analysis wooooooo

  • @user-rg1jp2us4o
    @user-rg1jp2us4o 3 года назад +60

    I love how John can easily edit the parts he messes up out but he still doesn't and leaves it in. I love seeing your internal thought process when it comes to solving problems.

  • @sebastianstieber9457
    @sebastianstieber9457 3 года назад +136

    I got hacked and I really cant get enough of this content, it's just so interesting. As far as I know your the only one making videos about this stuff that are really fun and enjoyable. Thanks dude

    • @6r1nch4
      @6r1nch4 3 года назад +7

      ohh welcome to a new world

    • @liesdamnlies3372
      @liesdamnlies3372 3 года назад +8

      You were hacked by a grammar nazi who hated you for using "your" instead of "you're". :')

    • @gabrielnettoferreira479
      @gabrielnettoferreira479 2 года назад +2

      @@liesdamnlies3372 Are you confessing the crime? hahaha

    • @1stAshaMan
      @1stAshaMan 2 года назад +3

      @@liesdamnlies3372 The hacker probably added a script that would autocorrect all cases of "you're" into "your" so he would get random hate online. :P

  • @floatingblaze8405
    @floatingblaze8405 3 года назад +200

    John: *disables windows adapter*
    Me: *internal screaming* _You should do that in the VM settings_

    • @armaganboi
      @armaganboi 3 года назад +1

      @Throwaway123 bruh yes

    • @orbyfied
      @orbyfied 3 года назад +11

      And he made a typo in the directory name: "kasperky"

    • @miallo
      @miallo 3 года назад +12

      @Throwaway123 It could be because he has more experience with Bash scripting. The zeroth argument ($0 ) is automatically the path to the script. I also come more from the Linux-world and I would have thought the same thing in his place...

  • @Konym
    @Konym 3 года назад +5

    You are quickly becoming my new favorite person to watch when I get home from work. Great stuff!

  • @showjaymayhem
    @showjaymayhem 3 года назад +84

    omg... North Korean did this.
    "완충기" which means buffer in Kanji sound 緩衝器.
    South Korea use "buffer" "버퍼[buffer]" as it is pronounce in English when programming.
    "오유[O:YU]" means error, which is "오류[ORYU]" in South Korean.
    "량[Liang]" = Quantity is "양[Yang]" in South Korean.
    North Korean has liquidization in ther R, L, I sound.

    • @showjaymayhem
      @showjaymayhem 3 года назад +17

      This is so creepy. Wehn you type kaspersky in youtube, many RUclipsrs instroducing "Hey you can use Kaspersky for free!" in Korean language. This is how they works...

    • @devandmaclean6855
      @devandmaclean6855 3 года назад +6

      Really interesting. Might very well be a false flag though.

    • @Stage4000
      @Stage4000 3 года назад +2

      I have to disagree with your theory. This is chinese malware. Check out the one password the developer of it uses. "shengui foresight 1988 2 27" (spaces added post for clarity).

    • @JanRautiainen
      @JanRautiainen 3 года назад +2

      I have to agree, North Koreans are notorious in their search of escaped citizens around the world, and considering there was not program ran, it could be setting up a bot network to monitor email activity and passing/notifying information to the people sitting and waiting for the positive results. Just a hypothesis, would need to make a deeper analysis to be sure.

    • @DjResR
      @DjResR 3 года назад +1

      Shen means god in Chinese, GUI don't need explanation, although North Korea can make malware, Wannacry ransomware originated from there. It is possibility that chinese IT guy got kidnapped or is coworking with N.K._

  • @rtshadfhab7125
    @rtshadfhab7125 2 года назад +2

    Your videos are so exciting! Not to mention extremely informative. This makes your content so unique!!! Thank you so much for everything you do!
    You have one of my favorite channels. The other happens to be David Bombal. I can not express how grateful I am to have you guys as resources!

  • @jaffawaffa22
    @jaffawaffa22 3 года назад +3

    These videos are honestly so great - even if you can grasp all the technical coding stuff, it’s still so educational!

  • @dannelson2590
    @dannelson2590 3 года назад +6

    Keep the malware analysis coming! Love it!

  • @yotshmep1224
    @yotshmep1224 2 года назад +34

    I am a beginner Python programmer and I like to watch you videos because they make me feel like I understand the things that are happening, but I am just absolutely clueless as to what's happening. Love it

  • @juvival1758
    @juvival1758 3 года назад +8

    The content usually isn't that interesting to me, but with that enthusiasm of yours i just cannot get enough of it.

  • @kwekkwak1060
    @kwekkwak1060 3 года назад +2

    Really nice John, been with your channel since 70K~ and am really not suprised it grew that much. As for this series, I love them, can't wait for the next one! Never responding to video's but just wanted to let you know how good they are and that you should definitely keep it up! Kind regards

  • @donguhl2499
    @donguhl2499 2 года назад +1

    Very interesting videos! Love seeing how this stuff works! There was no way I was going to skip ahead...

  • @fogofwar342
    @fogofwar342 3 года назад

    keep up the malware analysis! I learn so much from each video!

  • @leespark0
    @leespark0 3 года назад

    Amazing Content John, I appreciate it I've seen a lot of channels related to this niche but your channel just looks unique and you're very natural unlike the others :D

  • @ratatta541
    @ratatta541 3 года назад +1

    been waiting for another one.
    love the content, thank you.

  • @Skitstep
    @Skitstep 3 года назад +7

    I've been starting to get into malware analysis myself, but it all seems so daunting. These videos help dramatically. Thanks for releasing this high quality, entertaining AND FREE content!

  • @dstensnes
    @dstensnes 3 года назад +11

    John: Here is what I think you should try with this: Determine what the config url turns out to be, then see if you can slap your own command and control server together, to send you an email. That would be cool. Like, tame the malware and do your bidding. Another approach would be to fake an update server, and see if your can push other code to your VM that way. It would give viewers a nice insight into how the remote (usually hidden) aspect could work in theory. That would also make for a great hackthebox style box as well!

  • @Arilith
    @Arilith 3 года назад +11

    Keep up these great and expansive videos! I've been learning a lot from them and I appreciate the work you put in!

  • @packetpunter
    @packetpunter 2 года назад

    Great content, as usual! I wanted to drop a note to say though, that ending track is bomb!

  • @thomasandreatta6073
    @thomasandreatta6073 3 года назад +55

    John: download two time kaspersky.exe instead of upload.exe
    Me: scream at the monitor for 3 minutes straight
    John: you should told me!
    Me: I did it John, I DID IT.

  • @JessicaFEREM
    @JessicaFEREM 2 года назад

    this content is really interesting, really shows the thought process oh how you do it and even the mistakes you could make
    fun videos

  • @stevenelson2413
    @stevenelson2413 3 года назад

    Most underrated RUclips series. Keep up the good work!

  • @heathbarnhart1092
    @heathbarnhart1092 2 года назад

    Last 30 minutes were tons of fun. ;) Keep it up!

  • @HermanRas
    @HermanRas 3 года назад +1

    yes I love reversing ! and seeing the process you use .

  • @nathanryan22
    @nathanryan22 3 года назад +4

    Great video showing the process of breaking down the software! The program itself didn’t run because it had a check for internet right at the beginning. If it had an internet connection then it would have run but that’s a problem in itself. I program a lot in C# and recognized a lot of the code that was written while you were going through all of it. It was an overall great breakdown video to watch and see your process for this type of thing.

    • @blazi_0
      @blazi_0 3 года назад

      Hi 👋, I was wondering what was all that ip addresses ? Are they real people ips ???
      Thank u 💓

    • @Bushman4
      @Bushman4 3 года назад

      Yup... agreed. That's where a proper isolated internet accessible VSwitch would have been great.

    • @nathantaylor2026
      @nathantaylor2026 3 года назад

      @@blazi_0 Yes? He literally showed you the locations of some of them...

  • @lessnightlights8535
    @lessnightlights8535 3 года назад +40

    finally a constructive vent for my paranoia (brought me here)

  • @theomegamale5335
    @theomegamale5335 3 года назад +2

    I am so thankful i found this channel....I got a premium sub for THM and am taking courses to learn everything I possibly can.... thanks John 👊

  • @dr.professour9606
    @dr.professour9606 3 года назад +1

    I had just installed the malware 2 weeks ago Lol, I figured out what's happening to my computer quickly and I shuted it down then opened it up and ran my windows defender again and started cleaning and voila.. My computer is clean
    Love you from Egypt.
    Keep it up

  • @CybersecurityMeg
    @CybersecurityMeg 3 года назад

    Oooh, great video John. Thanks for sharing, friend! :)

  • @therealploudre
    @therealploudre 3 года назад

    Love your videos man great content ! Just way too long for me compared to 15-30 minutes videos i’m used to on similar content but that’s just me. Keep making more content though it’s super helpful !

  • @AphixDev
    @AphixDev 3 года назад

    Seeing you at work is awesome

  • @eventhorizon8014
    @eventhorizon8014 3 года назад

    Always entertaining, love your content

  • @arivanhouten6343
    @arivanhouten6343 3 года назад

    It's a great series, keep doing it please!

  • @idoabitoftrolling2172
    @idoabitoftrolling2172 3 года назад

    I’m liking these malware analysis videos

  • @Temperans
    @Temperans 2 года назад +3

    I don't know if anyone else mentioned this before, but apparently "Shengui" has a number of potential meanings depending on the accent marks.
    In chinese it can be: lady's bathroom (shēn guī), miraculous (shén qí), ghost/divine ghost (Shén guǐ), divine turtle (shénguī), etc.
    In korean it can be faith (sin-ui), god (singwi), etc.

  • @PlanetTapZoid
    @PlanetTapZoid Год назад

    you rock john. always inspiring me to learn.

  • @MistaT44
    @MistaT44 3 года назад +4

    Think I’ve found my new favorite channel

  • @aelliixx
    @aelliixx 3 года назад +7

    Where do you find these files? I'd like to delve into this myself.

  • @TosterCx
    @TosterCx 2 года назад +2

    Having reverse lookup for the IPs is seen as a good signal for SMTP - there's a higher chance mail won't end up in spam. Most mail servers set these up. Also you need an MX record to receive mail, so naturally each mail server will have at least one domain associated with it in some way.

  • @savoyblue777
    @savoyblue777 3 года назад

    Thank you John you have shown me a lot

  • @dannyphillips3066
    @dannyphillips3066 2 года назад

    LOVE these malware vids

  • @tpom.9505
    @tpom.9505 3 года назад

    Thank you John, you´re great :)

  • @natking1u1z99
    @natking1u1z99 Год назад

    I might use your videos for the PNPT cert instead of using theirs. You a have an natural ability to explain complex subjects in plain and simple English.

  • @DeathxStrike18
    @DeathxStrike18 3 года назад +5

    Seems like its purpose is to check with the hub servers and make sure they are up to date and not taken down, get latest updated IP addresses to mail/route through, add your ip to the list. So TLDR you become a free spam mail server while getting spam, its also possible they only care about getting access to your email and contacts as well.
    Also its loging into a mail server that only requires a username and password but that you dont register its hard to explain its kinda like a burner email site its not like hotmail or a real mail site with security.

  • @CrankinIt43
    @CrankinIt43 3 года назад

    New John Hammond video? Looks like sleep can wait.

  • @_buffer
    @_buffer 3 года назад +5

    As a C# software engineer, this was really interesting to watch! Keep up the good work! :-)

  • @rawkstar952
    @rawkstar952 3 года назад

    i really like the struggle and the sense of humor

  • @lordfrz9339
    @lordfrz9339 3 года назад

    Awesome vid, keep it comin.

  • @Hybrid_Netowrks
    @Hybrid_Netowrks 3 месяца назад

    Awesome. John the king

  • @callitwhatyoumay
    @callitwhatyoumay 3 года назад

    I LOVE THIS DUDE!
    Admin security: No Access No Admin
    John: I DO WHAT I WANT, (opens vertical OS, clicks a few clicks)
    John: Now I'm an Admin
    Just subscribed, you are the man Mr Hammond. Saw your video with the bearded moooostashed guy, LOL can't remember his name or channel and I know that's horrible. Anywho, thanks for all the amazing knowledge. I'm a NOOB in all my beautiful nieve glory, but I had aquired this passion for building PC towers learned from a friend, then my own curiosity has driven me down the rabbit hole and I wanna know it all! All the way from Network, to scripting, security processes and hacking. ... THE BEARDED MUSTACHE GUY, THE VIDEO WAS ON HACKING! that's where I learned of your existence. And am forever grateful.
    I love how you took this small little fake thing, and dissected it all the way down to the guys and where they were located in Taiwan and those other countries. This fake antivirus thing. It's amazing watching you work almost like a digital surgeon! Love it man!

  • @philto9999
    @philto9999 3 месяца назад

    When browsers warns you that this file might be dangerous ( ~ 1:21:10 ), what makes them figure this out? Is it only based on the file name and/or extension or does chrome actually check inside the file a little bit? Is it possible to get a log of why did chrome triggered a warning on that file?
    Thanks!

  • @Spelter
    @Spelter 3 года назад +1

    I would like to get the packet and get through it. As a Senior C# Dev, I cried when you went through the code lol

  • @pourmydrank
    @pourmydrank 2 года назад +2

    15:00 I’m a solo game developer and I make typos all the time because I’ve reach a level of confidence where I can just code really quickly at times, but visual studio will catch the errors for you. “Kasperky” should be “Kapersky”. I think programming in the terminal would help me catch theses errors by myself more

  • @TosterCx
    @TosterCx 2 года назад +6

    On windows you can't (re)write the exe file that's currently executing, so if a program needs an update, you'd need another process to swap the files - that's probably what update.exe does.
    You can rename the exe tho - some hacky programs rename themselves, place the new exe, launch it, die, then the new process cleans up the old files - no need for another program!

  • @poipoii1
    @poipoii1 3 года назад +3

    This is honestly a great tutorial on how to read someone else's code

  • @aniketgupta8903
    @aniketgupta8903 3 года назад

    malware analysis is a good, informative and original series i like it

  • @mgkillergamer
    @mgkillergamer 2 года назад

    i love the linux computer that runs cmatrix behind you in the intro
    Lol

  • @jonathanhoyos8191
    @jonathanhoyos8191 3 года назад +2

    Make more videos like this!!!!!!!! It's fascinating what you can found on internet free software

  • @jonasls
    @jonasls 3 года назад

    loving this

  • @carlcarlos5265
    @carlcarlos5265 3 года назад

    Love this series

  • @acevlt
    @acevlt 3 года назад

    Great video!!!

  • @PhilipProchazka
    @PhilipProchazka 2 года назад

    54:00 This seems a great phishing attack to me :D this gives a lot of info about the "hooked" user

  • @askytune6019
    @askytune6019 3 года назад

    really nice video btw verry helpfull for some hint

  • @thedosiusdreamtwister1546
    @thedosiusdreamtwister1546 3 года назад +5

    Those ip addresses are likely residential. This looks like an intermediate stage SMTP C&C tool. Maybe for a stresser. It listens for commands from the top-level C2 server, then forwards the instructions via SMTP to the zombies at the end of the chain.
    Also: I

    • @paulspl2581
      @paulspl2581 3 года назад

      So in this case every zombie transfers commands to eachother ?

    • @thedosiusdreamtwister1546
      @thedosiusdreamtwister1546 3 года назад

      @@paulspl2581 More like this: www.usenix.org/legacy/event/hotbots07/tech/full_papers/wang/wang_html/#:~:text=A%20%22botnet%22%20consists%20of%20a%20network%20of%20compromised%20computers%20(,)%20%5B5%2C6%5D.&text=shows%20the%20basic%20control%20communication,more%20than%20two%20C%26C%20servers).
      What I am suspecting is that this sample is one of the C2 on the diagram at that link

  • @Only_Sleep
    @Only_Sleep Год назад

    If I recall correctly, the IP that lead to Kansas isn’t actually in Kansas. If a more precise location can’t be resolved, the location will default to the geographical center of the country the IP leads to (in this case, Kansas)
    I only vaguely remember this because a family in Kansas kept having law enforcement show up to their home/farm/whatever because the pin is right on top of their property.

  • @PeeperSnail
    @PeeperSnail 2 года назад +1

    I don't know why but when you found out it sends emails all I could think about was that spinach email meme.

  • @MultimediaCizzy
    @MultimediaCizzy 3 года назад

    yo bruv, you should have tried to find the decryption method for the server it sends it to which was mentioned in the config.. :/
    Anyways, great video as always, keep it up like this. Much love from germany ❤

  • @zacharycook8179
    @zacharycook8179 2 года назад

    Love it dude ! MALWAREEEEE!!!

  • @mkutaydev
    @mkutaydev 3 года назад

    Loving the vids

  • @SiliconSentry
    @SiliconSentry 3 года назад +3

    Where did this file come from? I want to examine it in more detail!

  • @judedavis92
    @judedavis92 2 года назад

    Amazing!

  • @wes2091
    @wes2091 3 года назад

    Only John Hammond would be brave enough to RUN the malware he is sent

  • @user-vc5sg5xh2j
    @user-vc5sg5xh2j 3 года назад +1

    made mh day ❤

  • @Laurent1110
    @Laurent1110 3 года назад

    Awesome! How do you manage to gather that many different malware, and malware that is clearly not detected? I guess you must have some honeypots setup somewhere?

  • @slaimi2620
    @slaimi2620 3 года назад

    Nice as always

  • @dahomyhafiz
    @dahomyhafiz 3 года назад

    Amazing content keep it up

  • @atluxity
    @atluxity Год назад +3

    Protip, the kansas pin on the map is just the center of the US and default when not knowing any better. There is a farm there and the local sheriff will yell at you if you try to say they are cyber criminals.... again :D

    • @privateagent
      @privateagent 26 дней назад

      Thank you for sharing! Someone should make a video about that

  • @alincraciunescu
    @alincraciunescu 3 года назад

    Super! You rock!

  • @joeddenn
    @joeddenn 3 года назад

    I love this so much
    Keep on making them
    This is my contribution to the yt algorithm :3

  • @SB-nd6kn
    @SB-nd6kn 3 года назад

    wow that was intense!

  • @dextrodemon
    @dextrodemon 3 года назад +8

    you maybe could have made your own local smtp server and put it in the list and had a look at what email it actually sends out, assuming it runs

  • @anonymoususer6801
    @anonymoususer6801 3 года назад +5

    It's just an system that cracks email server accounts they provide a ip and password list and when it finds a good login it reports it back.

    • @arneanka4633
      @arneanka4633 3 года назад +2

      I've had them on my mail server. 3 strikes and they were out. And then we had that guy who never got his password correct and locked out himself all the time. He always called and complained. Get your f-n password right the first time dummy.

    • @privateagent
      @privateagent 26 дней назад

      ​@@arneanka4633I worked on tech support,I can feel your pain

  • @stuartbiggs1278
    @stuartbiggs1278 2 года назад +2

    Hi John can you please demonstrate your setup with your various machines and how they are configured?
    Thanks

  • @sergergar
    @sergergar 3 года назад

    1:07:58 .... OMG its like PTSD " WHAT ARE YOU TALKING ABOUT YOU JUST DID THIS !!!!" BAHAHAHHAHAHAHH

  • @dedkeny
    @dedkeny 3 года назад

    YYYYYEEEEEEEEEESSSSSSSSSSSSSSSSSS love the Malware content

  • @HarryChafercook
    @HarryChafercook 3 года назад

    Not sure if I understood it completely, but it did seem to receive bytes and then invoke them, I couldn't tell if the bytes were received remotely. If that is the case then could it not execute commands from the attacker?

  • @enenitydev1992
    @enenitydev1992 3 года назад +5

    Me watching this video as a C# and C++ developer: *My time has come.*

  • @bugr33d0_hunter8
    @bugr33d0_hunter8 3 года назад

    Great vid.

  • @mohammedal-mudhafar4602
    @mohammedal-mudhafar4602 2 года назад

    Inspiration! :)

  • @BalajiRavichandiran
    @BalajiRavichandiran 3 года назад

    I think this malware uses victim computer to check Good working IP address and send some spam mails using the list. Malware is creating spam workers. Another good video :)

  • @hesar1975
    @hesar1975 3 года назад +1

    mx stand from "mail exchanger", it is also DNS record for naming mail servers

  • @tispokes1563
    @tispokes1563 2 года назад

    Do you have a video about multiple data streams to one file? (On windows)

  • @wasteandglory
    @wasteandglory 2 года назад

    @42:00 howabout it beeing base64 or something default like that and the string beeing the salt?

  • @kobiassvilli
    @kobiassvilli 3 года назад

    that string cypher is just AES btw
    I would suggest that this is a spam email generator. The IP's appear to be mail relay type servers?
    Broad overview I got from your scroll through the code:
    it connects to their C&C server, gets a list of ips
    tries to connect to them to get the "Good IPs"
    then spams emails using the default.cfg usernames and passwords for common accounts.