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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

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

  • @Philafxs
    @Philafxs ปีที่แล้ว +86

    "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 ปีที่แล้ว +5

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

    • @pcsecuritychannel
      @pcsecuritychannel  ปีที่แล้ว +43

      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 ปีที่แล้ว

      AI can be helpful with it

    • @ianthehunter3532
      @ianthehunter3532 ปีที่แล้ว

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

    • @TomerGamerTV
      @TomerGamerTV ปีที่แล้ว

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

  • @wolf1438
    @wolf1438 ปีที่แล้ว +19

    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 ปีที่แล้ว

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

  • @Baerchenization
    @Baerchenization ปีที่แล้ว +7

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

  • @rekire___
    @rekire___ ปีที่แล้ว +123

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

    • @ad1340yt
      @ad1340yt ปีที่แล้ว +10

      umm actually the best antivirus is kaspersky

    • @klebleonard
      @klebleonard ปีที่แล้ว

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

    • @Philafxs
      @Philafxs ปีที่แล้ว

      @@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 ปีที่แล้ว

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

    • @Asderman
      @Asderman ปีที่แล้ว

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

  • @AlyssaMcNeil
    @AlyssaMcNeil ปีที่แล้ว +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_ ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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_ ปีที่แล้ว

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

    • @AlyssaMcNeil
      @AlyssaMcNeil ปีที่แล้ว +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.

  • @andyspark5192
    @andyspark5192 ปีที่แล้ว +9

    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

      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 ปีที่แล้ว

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

  • @mstech-gamingandmore1827
    @mstech-gamingandmore1827 ปีที่แล้ว +5

    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 ปีที่แล้ว +2

      @@nneeerrrd or boomers

    • @manticore4952
      @manticore4952 ปีที่แล้ว

      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 ปีที่แล้ว

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

  • @maddyaurora
    @maddyaurora ปีที่แล้ว +3

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

  • @mattgsm
    @mattgsm ปีที่แล้ว +3

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

  • @Blitterbug
    @Blitterbug ปีที่แล้ว +9

    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.

  • @CODE_ROOM
    @CODE_ROOM ปีที่แล้ว +4

    Very good tutorial ❤

  • @BloodyMobile
    @BloodyMobile ปีที่แล้ว +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?

    • @Aera223
      @Aera223 ปีที่แล้ว +1

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

  • @novianindy887
    @novianindy887 ปีที่แล้ว +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.

  • @sutsuj6437
    @sutsuj6437 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +1

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

    • @malwaretestingfan
      @malwaretestingfan ปีที่แล้ว

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

  • @duplicake4054
    @duplicake4054 ปีที่แล้ว +3

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

  • @DeBergeracs-s1n
    @DeBergeracs-s1n ปีที่แล้ว +4

    ❤ good advice.

  • @oggeeygring0194
    @oggeeygring0194 ปีที่แล้ว +1

    Great watch

  • @girl4632
    @girl4632 ปีที่แล้ว +1

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

  • @3TDEV01
    @3TDEV01 ปีที่แล้ว

    Amazing, thank you Leo. 👍

  • @Aptery
    @Aptery ปีที่แล้ว

    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.

  • @wfthkttn
    @wfthkttn ปีที่แล้ว +1

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

  • @thepro08
    @thepro08 ปีที่แล้ว +1

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

  • @alfblack2
    @alfblack2 ปีที่แล้ว +2

    nice tool. with there is also an offline version.

  • @ManishGupta-gv4kk
    @ManishGupta-gv4kk ปีที่แล้ว

    we r looking for more antivirus tests

  • @false_positive
    @false_positive ปีที่แล้ว +3

    bookmarked the tool.

  • @glendubie
    @glendubie ปีที่แล้ว

    Great tutorial, Thanks.

  • @edmunns8825
    @edmunns8825 ปีที่แล้ว

    That is a brilliant idea!

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว +1

    Really nice👍!

  • @nex7053
    @nex7053 ปีที่แล้ว

    I am using binwalk with recursive search.

  • @Dahlah.FightMe
    @Dahlah.FightMe ปีที่แล้ว +2

    Nice Sir :D

  • @Epic-so3ek
    @Epic-so3ek 4 หลายเดือนก่อน

    Who tf would send a phishing email to "the pc security channel"

  • @Martin-ot7xj
    @Martin-ot7xj ปีที่แล้ว

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

  • @FuzeTheWholeTeam
    @FuzeTheWholeTeam ปีที่แล้ว +1

    very nice

  • @myclips-vw7hl
    @myclips-vw7hl ปีที่แล้ว +1

    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?

    • @Aera223
      @Aera223 ปีที่แล้ว +1

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

  • @leandrolaporta2196
    @leandrolaporta2196 ปีที่แล้ว

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

  • @sayonara3805
    @sayonara3805 ปีที่แล้ว

    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?

  • @riperroxd7664
    @riperroxd7664 ปีที่แล้ว

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

  • @The_Quiz_Hut
    @The_Quiz_Hut ปีที่แล้ว +1

    Amazing

  • @tigreonice2339
    @tigreonice2339 ปีที่แล้ว

    Could you try in famous pdf webs and analyze files?

  • @nemtudom5074
    @nemtudom5074 ปีที่แล้ว

    Wouldnt encryption just garble it into random nonsense visually?

  • @laughingvampire7555
    @laughingvampire7555 ปีที่แล้ว

    so, they can pad it with pdf files

  • @arko3822
    @arko3822 ปีที่แล้ว

    it hangs on large rar files

  • @Kostea92
    @Kostea92 ปีที่แล้ว

    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?

  • @greensheen8759
    @greensheen8759 ปีที่แล้ว

    whoa binvis would be great for reverse engineering

  • @omuleanu
    @omuleanu ปีที่แล้ว +1

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

    • @Aera223
      @Aera223 ปีที่แล้ว +1

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

    • @omuleanu
      @omuleanu ปีที่แล้ว

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

  • @cihansenatak1090
    @cihansenatak1090 ปีที่แล้ว

    Last year with this method tried hack famous Turkish youtuber .

  • @Crazy--Clown
    @Crazy--Clown ปีที่แล้ว

    Your voice sounds a bit different

  • @stealthzi7465
    @stealthzi7465 ปีที่แล้ว

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

  • @mandamiddle0278
    @mandamiddle0278 ปีที่แล้ว

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

  • @BayuHendra-qe7kg
    @BayuHendra-qe7kg ปีที่แล้ว

    Permision me only gablesyou🎉🎉