How to tell if you're getting hacked: File Visualizer

Поделиться
HTML-код
  • Опубликовано: 25 авг 2023
  • This video showcases file visualizer a tool that can show you what's inside any file visually. How RUclipsrs get hacked, real example of the infostealer campaigns I get hit by: • How to not get hacked:... . This video covers comparing different files using binvis.io. Introduce yourself on Discord: / discord
    Buy the best antivirus: thepcsecuritychannel.com/best...
    Join the discussion on Discord: discord.tpsc.tech/
    Get your business endpoints tested by us: tpsc.tech/
    Contact us for business: thepcsecuritychannel.com/contact
  • НаукаНаука

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

  • @Philafxs
    @Philafxs 9 месяцев назад +82

    "Impossible" is a bit of a tricky claim, for there also is some malware out there that is packed alongside actual software, essentially using that as its padding. I don't see how a visualizer would be able to show the difference. But it's great and interesting tool otherwise!

    • @knowwhatimeme
      @knowwhatimeme 9 месяцев назад +5

      Just another way of telling somebody it's just a false positive lol.

    • @pcsecuritychannel
      @pcsecuritychannel  9 месяцев назад +40

      Yeah but they would be a different case than a file pretending to be a contract as here. Of course it is much harder if you are expecting a similar exe anyway. You need to actually RE and analyse each function for that.

    • @larry-kapo-ya7326
      @larry-kapo-ya7326 9 месяцев назад

      AI can be helpful with it

    • @ianthehunter3532
      @ianthehunter3532 9 месяцев назад

      ​@@larry-kapo-ya7326 fr how they not done that with AI yet

    • @TomerGamerTV
      @TomerGamerTV 9 месяцев назад

      @@larry-kapo-ya7326I’m pretty sure AI is already running in some antiviruses

  • @wolf1438
    @wolf1438 9 месяцев назад +17

    I remember the beginning of this channel. In that time with your internet you would not be capable of analyze 700 MB file in real time.

  • @itenthusiast5988
    @itenthusiast5988 9 месяцев назад

    @4:00 comes the show stealer. Never heard about bin vis before. Thanks 🙏 for the mention & also thank you for the ❤️and pinned comment I got from you last time. You make cybersecurity easy and interesting. If I had a boss like you in my previous company I wouldn't have left that office. Your videos is keeping my hopes alive to cling on to this field and contribute for the greater humanity. Love 💕 you 🎉

  • @rekire___
    @rekire___ 9 месяцев назад +111

    perhaps the best anti virus is the common sense we made along the way

    • @ad1340yt
      @ad1340yt 9 месяцев назад +11

      umm actually the best antivirus is kaspersky

    • @klebleonard
      @klebleonard 9 месяцев назад

      @@ad1340yt kaspersky wont help you if you lack common sense

    • @Philafxs
      @Philafxs 9 месяцев назад

      @@ad1340yt Kaspersky vs Common Sense 2023 might well be equal when it comes to blocking malware and ransomware samples. But we won't know until Leo shows us the results.

    • @MikaelKKarlsson
      @MikaelKKarlsson 9 месяцев назад

      The "common sense" of today is just tomorrows attack vector. It's not enough.

    • @Asderman
      @Asderman 9 месяцев назад

      ​@@ad1340yt is it ? Im not sure if its kaspersky or bitdefender or something else

  • @CODE_ROOM
    @CODE_ROOM 9 месяцев назад +4

    Very good tutorial ❤

  • @andyspark5192
    @andyspark5192 9 месяцев назад +8

    It's perfect job for A.I. malware scanner.
    Teach it how clean files looks like and how sketchy files looks like.
    And let it scan the web.

    • @duplicake4054
      @duplicake4054 9 месяцев назад +7

      That wouldn't work very well because you could just pad the file with random bytes and it wouldn't be able to detect it.

    • @adviththegreat5610
      @adviththegreat5610 9 месяцев назад

      @@duplicake4054 Hey, if companies start releasing visualizers for their softwares, it would be so great for people who pirate them lol.

  • @mattgsm
    @mattgsm 9 месяцев назад +3

    Can you make a playlist on your channel for this series of videos?

  • @3TDEV01
    @3TDEV01 9 месяцев назад

    Amazing, thank you Leo. 👍

  • @Aptery
    @Aptery 9 месяцев назад

    love your videos it gave me a lot of insight, Also if its not to much trouble could you make a video on how to fix Windows updates not installing after debloat? i really dont want to reset windows.

  • @maddyaurora
    @maddyaurora 9 месяцев назад +3

    uploading a big file to a website is bothersome and time consuming, any offline local version of this binary visualizer?

  • @Blitterbug
    @Blitterbug 9 месяцев назад +8

    Is it just me or have you not done the absolute basics by enabling file extensions on the view menu? afaik, an .exe masquerading as a .PDF will still clearly end in .exe. That's normally more than enough to spot this crap.

  • @AlyssaMcNeil
    @AlyssaMcNeil 9 месяцев назад +19

    Dumb question but why not just fill the blank space with random data to make it appear like there's something there?
    I don't really think the file visualizer would be of any use against that method...

    • @taureon_
      @taureon_ 9 месяцев назад +25

      viruses like to be small when you download them but huge when you unzip them
      small so it doesnt take forever to download, but afterwards huge so antiviruses dont scan them because theyre that huge

    • @Philafxs
      @Philafxs 9 месяцев назад +8

      Beat me to it. But this actually already happens in certain cases, with some malware coming alongside actual software and basically using that as its padding. Random data would do too but why go out of the way?
      However, scammers can get it out there and target more people faster by putting in as little effort as possible.

    • @2wr633
      @2wr633 9 месяцев назад +2

      because bytes actually have meaning so it would be some kind of instructions or data if you don't use a blank byte and if you were to put random data or instruction in it, there is a big chance the program will broke and wont execute which make it much more complex than just filling it with blank bytes

    • @taureon_
      @taureon_ 9 месяцев назад

      @@2wr633 you can make your exe skip that though, or not?

    • @AlyssaMcNeil
      @AlyssaMcNeil 9 месяцев назад +4

      @@2wr633 Yes and no; Bytes have a meaning yes but that's for a machine - a person cannot tell if a scramble of bytes in a 600 MB files it's an actual data structure or a just a mess of randomness. Not even to mention when I meant "Randomness" I don't meant pure randomness, I meant something that resembles a program structure but doesn't hold any significant function / purpose.

  • @glendubie
    @glendubie 8 месяцев назад

    Great tutorial, Thanks.

  • @edmunns8825
    @edmunns8825 9 месяцев назад

    That is a brilliant idea!

  • @lf1977
    @lf1977 9 месяцев назад +4

    ❤ good advice.

    • @pwhittak88
      @pwhittak88 9 месяцев назад +1

      Advice

    • @lf1977
      @lf1977 9 месяцев назад +1

      @pwhittak88 thanks.

  • @girl4632
    @girl4632 9 месяцев назад +1

    Wont anything manipulated with file type,we can know about from checking normally properties

  • @oggeeygring0194
    @oggeeygring0194 9 месяцев назад +1

    Great watch

  • @guilherme5094
    @guilherme5094 9 месяцев назад +1

    Really nice👍!

  • @thepro08
    @thepro08 9 месяцев назад +1

    i have very suspicious behaviour on my mobile how i cant tell if im hacked and what can i do ?

  • @sayonara3805
    @sayonara3805 9 месяцев назад

    if in legit .exe file there are lot of empty space then what will happen if we remove those? will it still work with decreased size since we are just removing empty?

  • @kopuz.co.uk.
    @kopuz.co.uk. 9 месяцев назад +1

    Good idea for a static analysis tool to go with a byte entropy graph

  • @mstech-gamingandmore1827
    @mstech-gamingandmore1827 9 месяцев назад +4

    I don't really understand. Why not look at the extension (.scr) or the first two bytes (MZ) to find out if it's a real pdf or an executable?

    • @ianthehunter3532
      @ianthehunter3532 9 месяцев назад +2

      @@fffUUUUUU or boomers

    • @manticore4952
      @manticore4952 9 месяцев назад

      Extensions are not a reliable way of determining, the first two bytes is reliable but attackers can also embed files further down or call them externally. A more reliable way is to look at the system calls the file makes.

    • @mstech-gamingandmore1827
      @mstech-gamingandmore1827 9 месяцев назад

      @@manticore4952 I mean, if we are checking if a file contains ANY executable code at all, then sure, yeah. They could remove the magic number or obfuscate it in any way they like. But we aren't talking about that.
      We are talking about whether a file is safe to open or not. And you know what? 9/10 if it isn't an executable it's safe to open. If you are certain that the real extension is .pdf, then it is perfectly safe to open (unless a new exploit arose, but I doubt that).

  • @Baerchenization
    @Baerchenization 9 месяцев назад +6

    There is another free tool called common sense. If you need to break out the forensics to determine that a 700 MB file is not an A4 page business proposition that would be 24 KB, oh well ....

  • @sutsuj6437
    @sutsuj6437 9 месяцев назад +26

    This makes me wonder if you could train an AI on these visualisations to detect these kinds of hiding strategies. So like a very basic classification conv net.

    • @realmimak
      @realmimak 9 месяцев назад +7

      you could, but the model could as well be used to develop an obfuscation layer to make malware's visualization look legit

    • @malwaretestingfan
      @malwaretestingfan 9 месяцев назад +7

      There's a paper on this method ("Binary File’s Visualization and Entropy Features Analysis Combined with Multiple Deep Learning Networks for Malware Classification") by Guo et al. which consists in training a CNN against samples of malware both visualized using this method (as you proposed) and with their entropy sequence visualized in grayscale, with a 99% accuracy and with a capability to "group" easily malware from the same families, indeed very effective.

    • @aleks_ivanov
      @aleks_ivanov 9 месяцев назад +1

      @@malwaretestingfan Are there any antivirus software that detects malware with this method, or was this done only for research purposes?

    • @malwaretestingfan
      @malwaretestingfan 9 месяцев назад

      Research, but I suppose most AV companies use AI metholodology on the cloud bundled together with their product.@@aleks_ivanov

  • @BloodyMobile
    @BloodyMobile 9 месяцев назад +3

    Are there ANY real cases where a 600 MB PDF is NOT fake?
    Unless you're abusing it as a "zip" for BMPs, how would you get a "real" PDF that large?

    • @1p2k-223
      @1p2k-223 9 месяцев назад +1

      You could scan images.. there was a 750 page book 📚 that was 500MB or so, but scanned as a colour image

  • @Dahlah.FightMe
    @Dahlah.FightMe 9 месяцев назад +2

    Nice Sir :D

  • @noviccen388
    @noviccen388 9 месяцев назад +2

    4:09 I think the malware creator is a little bit dumb.
    They should have added random non ascii binaries to the rest of the file instead of blank padding
    Random binaries that does nothing like assigning values to memory or just loops or functions that does nothing but can fill up the rest of the space.

  • @leandrolaporta2196
    @leandrolaporta2196 9 месяцев назад

    awesome tool, is there any offline version of this? (portable would be even better)

  • @nex7053
    @nex7053 9 месяцев назад

    I am using binwalk with recursive search.

  • @YourBoyRaze
    @YourBoyRaze 9 месяцев назад +1

    Amazing

  • @Martin-ot7xj
    @Martin-ot7xj 6 месяцев назад

    Hi there. please make a tutorial video about "Tron Script " to remove Virus from windows computer. thankyou

  • @duplicake4054
    @duplicake4054 9 месяцев назад +3

    Just use data from a legit file instead of 0s to make it look like a real file

  • @wfthkttn
    @wfthkttn 9 месяцев назад +1

    Next time they will chuck winrar duplicates instead of zero spacing so it looks differently :/

  • @ManishGupta-gv4kk
    @ManishGupta-gv4kk 9 месяцев назад

    we r looking for more antivirus tests

  • @FuzeTheWholeTeam
    @FuzeTheWholeTeam 9 месяцев назад +1

    very nice

  • @tigreonice2339
    @tigreonice2339 9 месяцев назад

    Could you try in famous pdf webs and analyze files?

  • @false_positive
    @false_positive 9 месяцев назад +3

    bookmarked the tool.

  • @riperroxd7664
    @riperroxd7664 8 месяцев назад

    So the more blackness there is the more suspicious the file is?

  • @Kostea92
    @Kostea92 9 месяцев назад

    why not to copy paste same malware code for 650 mb to make it look legit in the whole file instead of empty bits. Is this possible?

  • @myclips-vw7hl
    @myclips-vw7hl 9 месяцев назад

    I got hacked by a trojan in windows 10 pc, it is a rootkit, because it infected the bootable usb, it seems, can it be cleaned by cloud download of windows 10?

    • @1p2k-223
      @1p2k-223 9 месяцев назад +1

      Possibly, though get a gparted USB and wipe the drive first (after backing up files to OneDrive, etc)

  • @alfblack2
    @alfblack2 9 месяцев назад +2

    nice tool. with there is also an offline version.

  • @laughingvampire7555
    @laughingvampire7555 9 месяцев назад

    so, they can pad it with pdf files

  • @arko3822
    @arko3822 6 месяцев назад

    it hangs on large rar files

  • @nemtudom5074
    @nemtudom5074 8 месяцев назад

    Wouldnt encryption just garble it into random nonsense visually?

  • @omuleanu
    @omuleanu 9 месяцев назад +1

    what happens when you open the bad pdf ? is chrome (pdf reader) vulnerable ?

    • @1p2k-223
      @1p2k-223 9 месяцев назад +1

      It will error out ... As it is an exe or scr file in disguise

    • @omuleanu
      @omuleanu 9 месяцев назад

      @1p2k-223 yes, but it won't execute, so the system won't get infected

  • @greensheen8759
    @greensheen8759 9 месяцев назад

    whoa binvis would be great for reverse engineering

  • @Crazy--Clown
    @Crazy--Clown 9 месяцев назад

    Your voice sounds a bit different

  • @RickMyBalls
    @RickMyBalls 9 месяцев назад +1

    'how any file looks like'? English your 2nd language?

  • @cihansenatak1090
    @cihansenatak1090 9 месяцев назад

    Last year with this method tried hack famous Turkish youtuber .

  • @stealthzi7465
    @stealthzi7465 9 месяцев назад

    couldnt they just get around this by putting the rest of it as a shakespeare play??

  • @mandamiddle0278
    @mandamiddle0278 7 месяцев назад

    i have 9 years mod experience on twitch are you interested ? but i cant do this as a hobby

  • @BayuHendra-qe7kg
    @BayuHendra-qe7kg 9 месяцев назад

    Permision me only gablesyou🎉🎉