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

Поділитися
Вставка
  • Опубліковано 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

КОМЕНТАРІ • 501

  • @erich8948
    @erich8948 3 роки тому +267

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

    • @diddyman1958
      @diddyman1958 2 роки тому +1

      Hahaha me too!

    • @furioznetworkz945
      @furioznetworkz945 2 роки тому +2

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

    • @VivaPlaysGames
      @VivaPlaysGames Рік тому

      @@furioznetworkz945 ye, as coders, we make mistakes

    • @EndisuKKJJ
      @EndisuKKJJ Рік тому

      🦆

  • @blade1551431
    @blade1551431 3 роки тому +428

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

    • @TheBeat1075
      @TheBeat1075 3 роки тому +3

      +

    • @johnhunt1813
      @johnhunt1813 2 роки тому

      Nice try, hacker!

    • @blade1551431
      @blade1551431 2 роки тому +1

      @@johnhunt1813 ?

    • @harmitchhabra989
      @harmitchhabra989 Рік тому

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

    • @abdullah5246
      @abdullah5246 Рік тому +1

      @@harmitchhabra989 most actually are ;)

  • @benvoisey3942
    @benvoisey3942 3 роки тому +187

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

    • @MrSpirit99
      @MrSpirit99 3 роки тому +9

      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

  • @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 роки тому +11

      @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...

  • @thislooksfun1
    @thislooksfun1 3 роки тому +318

    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

  • @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.

  • @whatnowsami9225
    @whatnowsami9225 3 роки тому +85

    Yaaaassssss,
    Another malware analysis wooooooo

  • @sebastianstieber9457
    @sebastianstieber9457 3 роки тому +137

    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

  • @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!

  • @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

  • @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

  • @Konym
    @Konym 3 роки тому +5

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

  • @Lexxrt
    @Lexxrt 3 роки тому +110

    File Description: b

  • @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!

  • @leespark0
    @leespark0 2 роки тому

    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

  • @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.

  • @dstensnes
    @dstensnes 3 роки тому +12

    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!

  • @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 UA-camrs instroducing "Hey you can use Kaspersky for free!" in Korean language. This is how they works...

    • @Itsamystery757
      @Itsamystery757 3 роки тому +1

      Very interesting, thanks!

    • @devandmaclean6855
      @devandmaclean6855 3 роки тому +7

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

    • @Itsamystery757
      @Itsamystery757 3 роки тому +2

      ​@@devandmaclean6855 True, I would love to run that default IP list in a geolocate script.

    • @Stage4000
      @Stage4000 3 роки тому +3

      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).

  • @donguhl2499
    @donguhl2499 2 роки тому +1

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

  • @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.

  • @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!

  • @ratatta541
    @ratatta541 3 роки тому +1

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

  • @fogofwar342
    @fogofwar342 3 роки тому

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

  • @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!

  • @HermanRas
    @HermanRas 3 роки тому +1

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

  • @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 UA-cam series. Keep up the good work!

  • @packetpunter
    @packetpunter 2 роки тому

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

  • @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 !

  • @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

  • @heathbarnhart1092
    @heathbarnhart1092 2 роки тому

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

  • @arivanhouten6343
    @arivanhouten6343 3 роки тому

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

  • @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 2 роки тому

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

  • @AphixDev
    @AphixDev 3 роки тому

    Seeing you at work is awesome

  • @CybersecurityMeg
    @CybersecurityMeg 3 роки тому

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

  • @eventhorizon8014
    @eventhorizon8014 3 роки тому

    Always entertaining, love your content

  • @lessnightlights8535
    @lessnightlights8535 3 роки тому +41

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

  • @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.

  • @jdelliott1671
    @jdelliott1671 3 роки тому

    Thank you John you have shown me a lot

  • @idoabitoftrolling2172
    @idoabitoftrolling2172 3 роки тому

    I’m liking these malware analysis videos

  • @dannyphillips3066
    @dannyphillips3066 2 роки тому

    LOVE these malware vids

  • @PlanetTapZoid
    @PlanetTapZoid Рік тому

    you rock john. always inspiring me to learn.

  • @jonasls
    @jonasls 3 роки тому

    loving this

  • @MistaT44
    @MistaT44 3 роки тому +4

    Think I’ve found my new favorite channel

  • @tpom.9505
    @tpom.9505 3 роки тому

    Thank you John, you´re great :)

  • @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.

  • @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.

  • @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.

  • @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 ❤

  • @aniketgupta8903
    @aniketgupta8903 3 роки тому

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

  • @lordfrz9339
    @lordfrz9339 3 роки тому

    Awesome vid, keep it comin.

  • @_buffer
    @_buffer 3 роки тому +5

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

  • @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

  • @rawkstar952
    @rawkstar952 3 роки тому

    i really like the struggle and the sense of humor

  • @carlcarlos5265
    @carlcarlos5265 3 роки тому

    Love this series

  • @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!

  • @askytune6019
    @askytune6019 3 роки тому

    really nice video btw verry helpfull for some hint

  • @user-vc5sg5xh2j
    @user-vc5sg5xh2j 3 роки тому +1

    made mh day ❤

  • @callitwhatyoumay
    @callitwhatyoumay 2 роки тому

    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!

  • @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

  • @jonathanhoyos8191
    @jonathanhoyos8191 3 роки тому +2

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

  • @dahomyhafiz
    @dahomyhafiz 3 роки тому

    Amazing content keep it up

  • @CrankinIt43
    @CrankinIt43 3 роки тому

    New John Hammond video? Looks like sleep can wait.

  • @mkutaydev
    @mkutaydev 3 роки тому

    Loving the vids

  • @judedavis92
    @judedavis92 2 роки тому

    Amazing!

  • @poipoii1
    @poipoii1 3 роки тому +3

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

  • @pourmydrank
    @pourmydrank 2 роки тому +1

    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

  • @slaimi2620
    @slaimi2620 3 роки тому

    Nice as always

  • @alincraciunescu
    @alincraciunescu 3 роки тому

    Super! You rock!

  • @stuartbiggs1278
    @stuartbiggs1278 2 роки тому +2

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

  • @bugr33d0_hunter8
    @bugr33d0_hunter8 3 роки тому

    Great vid.

  • @Hybrid_Netowrks
    @Hybrid_Netowrks 29 днів тому

    Awesome. John the king

  • @joeddenn
    @joeddenn 3 роки тому

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

  • @dedkeny
    @dedkeny 3 роки тому

    YYYYYEEEEEEEEEESSSSSSSSSSSSSSSSSS love the Malware content

  • @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.

  • @elidahan4418
    @elidahan4418 3 роки тому

    Thank you ;-))))

  • @acevlt
    @acevlt 3 роки тому

    Great video!!!

  • @SB-nd6kn
    @SB-nd6kn 2 роки тому

    wow that was intense!

  • @zacharycook8179
    @zacharycook8179 2 роки тому

    Love it dude ! MALWAREEEEE!!!

  • @GeekBatman
    @GeekBatman 3 роки тому

    I use my laptop with a Windows/Kali dual boot for most things. If I need windows while on Kali I use CommandoVM through VirtualBox. Works well for me and gives me access to the GPU while on Kali.

  • @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

  • @LouisSerieusement
    @LouisSerieusement 2 роки тому

    thanks !

  • @aelliixx
    @aelliixx 3 роки тому +7

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

  • @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?

  • @mgkillergamer
    @mgkillergamer 2 роки тому

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

  • @btarg1
    @btarg1 3 роки тому +4

    27:00 this malware isn't even trying to hide itself at that point lol

  • @philto9999
    @philto9999 Місяць тому

    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!

  • @PeeperSnail
    @PeeperSnail Рік тому +1

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

  • @atluxity
    @atluxity Рік тому +2

    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

  • @wes2091
    @wes2091 2 роки тому

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

  • @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.

  • @raz0p
    @raz0p 3 роки тому

    Awesome malware analysis.
    I registered for NahamCon
    If possible please make short video on basic requirements for CTF. I'm new to CTF

  • @PhilipProchazka
    @PhilipProchazka 2 роки тому

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

  • @aeon1880
    @aeon1880 2 роки тому +1

    46:52 looks like korean-chinese(조선족) or north korean ​to me. because we don't really use the word 토막(piece) combine with 자료(data).
    and 47:31 they used the 배열(array; bae-yeol) with no phonological rule 배렬(bae-ryoel)... so that code is definitely from north korea!

  • @hesar1975
    @hesar1975 3 роки тому +1

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

  • @nathankevilus1763
    @nathankevilus1763 2 роки тому +2

    something john should be aware of, its entirely possible for these programs to look for network adatpers and enable them, so disabling isnt a guranteed mesaure. best to disable on vm host side.

  • @myabdi4
    @myabdi4 2 роки тому

    This guy is a legend.

  • @btarg1
    @btarg1 3 роки тому +5

    47:56
    *"UwU"* - John Hammond. 2021

    • @jkobain
      @jkobain 2 роки тому

      Can confirm that!