These Files Don't Show Their Extension

Sdílet
Vložit
  • čas přidán 7. 05. 2024
  • jh.live/snyk || Try Snyk for free and find vulnerabilities in your code and applications! ➡ jh.live/snyk
    Learn Cybersecurity - Name Your Price Training with John Hammond: nameyourpricetraining.com
    Read The Hacker Mindset by Garret Gee: jh.live/hackermindset
    WATCH MORE:
    Dark Web & Cybercrime Investigations: • Tracking Cybercrime on...
    📧JOIN MY NEWSLETTER ➡ jh.live/email
    🙏SUPPORT THE CHANNEL ➡ jh.live/patreon
    🤝 SPONSOR THE CHANNEL ➡ jh.live/sponsor
    🌎FOLLOW ME EVERYWHERE ➡ jh.live/twitter ↔ jh.live/linkedin ↔ jh.live/discord ↔ jh.live/instagram ↔ jh.live/tiktok
    💥 SEND ME MALWARE ➡ jh.live/malware
    🔥CZcams ALGORITHM ➡ Like, Comment, & Subscribe!

Komentáře • 102

  • @martink.7497
    @martink.7497 Před 25 dny +37

    Fun fact with the compression algorithms. [32:21]
    Depending on the type and input, some can result indeed bigger instead of smaller.
    Imagine a simple example with text content "AAAAAA" where you compress it and the result is "6A".
    As you can see, it is smaller, right - but what if the content will be "ABC"?
    The result will be "1A1B1C" resulting twice as big, instead of smaller.
    That is also the reason why there are multiple compression algorithms and where one can shine, the other fails and otherwise.

    • @teamredstudio7012
      @teamredstudio7012 Před 25 dny +3

      I believe one of the reasons it's larger often for very small files is the metadata. I experienced this phenomenon while writing my own compression algorithm one day. The metadata might not go smaller than a certain size and this size depends on the file metadata structure. For example, a plaintext file might only contain 5 UTF-8 characters and be 5 bytes, but when archived, the archive contains the modification date, creation date, file path and the compressed data so it will always be larger than the input 5 bytes. It also depends on the entropy of the input file, the compression algorithm doesn't make all files smaller, only low entropy files are shrunk, high entropy files are actually compressed larger than their input because there is only a finite amount of possible byte combinations.

    • @U20E0
      @U20E0 Před 25 dny +1

      Any lossless compression algorithm must on average of all possible inputs compress by a factor less than or equal to 1 ( so, either not at all or increase the size )
      Otherwise you'd be storing more than 1 bit of information in each bit of the file

    • @olnnn
      @olnnn Před 25 dny +1

      @@teamredstudio7012 Compression algorithms will usually fall back to leaving a block of data uncompressed if it ends up being larger when compressed but it will still result in some small overhead in the datastream or file format compared to the original file since it has to actually store some metadata about compression method and size etc

    • @teamredstudio7012
      @teamredstudio7012 Před 25 dny

      @@olnnn That is correct, I even implemented that in my own algorithm, where if the compressed chunk including the header for this chunk is larger than the uncompressed data the original data is just copied.

    • @BillAnt
      @BillAnt Před 23 dny +1

      Oh man I was hoping for the NTAuthority\System will be able to edit/delete, but now I can't wait for the TrustedInstaller video. John Hammond to the rescue, that should be juicy. :D

  • @peekachugaming3231
    @peekachugaming3231 Před 25 dny +5

    You can create .url files simply by creating a normal .lnk file over the GUI and simply paste in a URL. It will create a Internet-Shortcut (.url)-File - Steam does use those for theyre game shortcuts for example.
    Also you can refresh any explorer.exe content or your desktop with F5.

  • @whtiequillBj
    @whtiequillBj Před 25 dny +14

    @28:37, actually game shortcuts made by Steam are .url files not .lnk.

  • @teamredstudio7012
    @teamredstudio7012 Před 25 dny +9

    Knowing where they are stored now, I might just make a little powershell script that scans the registry for all files with hidden extensions to make sure there aren't any extra.

    • @BillAnt
      @BillAnt Před 23 dny +2

      Also delete the NeverShowExt keys from all instances. ;)

    • @Bizzybugproductions
      @Bizzybugproductions Před 23 dny

      ​@@BillAnt can you help me understand this statement?

    • @BillAnt
      @BillAnt Před 23 dny

      @@Bizzybugproductions - Watch the full video to understand it.

    • @teamredstudio7012
      @teamredstudio7012 Před 17 dny

      btw, if you want the script, I posted it in a second comment.

  • @pinkerdroit
    @pinkerdroit Před 25 dny +7

    Cheers! Thank you for covering this. 😃👍💛

  • @DanGood122
    @DanGood122 Před 25 dny +6

    FYI, you can right click the desktop to refresh it and the changes will take effect.

    • @peekachugaming3231
      @peekachugaming3231 Před 25 dny +1

      Actually can press F5 to refresh on the desktop/explorer.

    • @BillAnt
      @BillAnt Před 23 dny +1

      A simple desktop refresh via F5 or right click will not show the extensions via the removal of the NeverShowExt key. He ran a script which contains "taskkill /F /IM explorer.exe" and "start explorer.exe".

  • @Eskimostyle
    @Eskimostyle Před 24 dny +2

    What main operating system do you use @John? Is it like bare metal ubuntu and all the security stuff you do is on VM's or some other kind of setup? Thank you in advance!

  • @raymondcarlson7836
    @raymondcarlson7836 Před 22 dny +2

    The Moles (Minecraft hacker guys) used the .pif trick in a campaign against Minehut. They used .pif to trick users into running a stealer under the guise of it being a captcha image.

  • @Datalata
    @Datalata Před 24 dny

    Super interesting as always!

  • @ThatGuySnagz
    @ThatGuySnagz Před 25 dny +1

    Hey John, what keyboard do you use?

  • @msh6610
    @msh6610 Před 25 dny +3

    Allmost fell for a lnk file inside an archive that looked like a folder few years ago.. It wanted todo some powershell stuff from an url... Pretty sniky :s

  • @VaibhavShewale
    @VaibhavShewale Před 24 dny +1

    ooh man this are some awesome extension

  • @logiciananimal
    @logiciananimal Před 25 dny +1

    Calculator has a protocol handler? Wild. I had looked at protocol handlers briefly based on one of JH (or maybe it was LiveOverflow)'s stuff and seemingly missed that one! (I remember writing code to enumerate all the registered ones.)

  • @numankarahan5447
    @numankarahan5447 Před 23 dny

    Do you suggest upgrading from windows 10 to 11?

  • @Lampe2020
    @Lampe2020 Před 23 dny +1

    Isn't there a NirSoft tool that allows you to run any executable or command as any user with basically any settings you can imagine?

  • @jmr
    @jmr Před 25 dny

    I vaguely remember something about setting the hot key but I don't believe it was saved in the file.

  • @Y0GAAAA
    @Y0GAAAA Před 23 dny

    Very nice video, we want the following 👽

  • @svinxt
    @svinxt Před 20 dny

    Where do you get your Virtual Machines from?

  • @Neuer_Alias_erstellen
    @Neuer_Alias_erstellen Před 25 dny +2

    cool shirt

  • @270jonp
    @270jonp Před 25 dny

    quality video.

  • @zegs32
    @zegs32 Před 25 dny +3

    Man you teach me a lot!

  • @kipchickensout
    @kipchickensout Před 22 dny

    We have software which works with MAPI or SMTP depending on the config so I guess it's actually used

  • @Xeno881
    @Xeno881 Před 21 dnem

    I want learn Format String Vulnerability in pwn to get shell,can you teach me?

  • @elderdragon7856
    @elderdragon7856 Před 25 dny

    4:53 not working when I do this. It is still showing the ending

  • @Ruhgtfo
    @Ruhgtfo Před 24 dny

    Memories bring back memories bring back YO😂

  • @CityNaturePig
    @CityNaturePig Před 23 dny

    15:20 Your Desktop, Documents and some other folders on the side are already such libraries in Win11. Maybe you cannot add a library to a library. Or Win11 is just being weird.

  • @luketurner314
    @luketurner314 Před 24 dny

    For anyone wondering how John is 'typing' emoji in Windows: windows/super-key + . (period/full stop)

  • @codyaimes4354
    @codyaimes4354 Před 23 dny

    Lol. I spent a few hours last weekend doing something similar.

  • @666KoXz666
    @666KoXz666 Před 24 dny +1

    total commander shows every extention

  • @KyleRice
    @KyleRice Před 25 dny

    How did John Get the Checkmarks

    • @sunla
      @sunla Před 25 dny

      The emojis? You can pull that up on Windows with a key

    • @DanGood122
      @DanGood122 Před 25 dny

      Ctrl + : for emoji menu within Windows

    • @KyleRice
      @KyleRice Před 25 dny

      Thanks for the info

  • @granitium
    @granitium Před 23 dny

    I think search-ms failed because you typed 'johnh' instead of 'john'

  • @dj_chateau
    @dj_chateau Před 25 dny +1

    Completely vanilla; opens Sublime. 😂

  • @MrKrezol
    @MrKrezol Před 25 dny

    .url icon worked in Internet explorer

  • @edwardkostreski6733
    @edwardkostreski6733 Před 25 dny

    That .mapi sounds like a pandoras box 😂

  • @jabelltulsa
    @jabelltulsa Před 25 dny

    Dude ... pif files .... I know them. I'm so old.

  • @paulbond8244
    @paulbond8244 Před 25 dny

    🔥🔥🔥

  • @LeoMakesStupidThings
    @LeoMakesStupidThings Před 20 dny

    That's why I use Linux

  • @BigFunnyGiant
    @BigFunnyGiant Před 24 dny

    Windows still can have PIF files? What?

  • @RonnieRedd
    @RonnieRedd Před 25 dny +6

    Don't use windows

    • @new_simsons
      @new_simsons Před 24 dny +1

      Cry about it

    • @BigFunnyGiant
      @BigFunnyGiant Před 24 dny

      Some people really don’t have a choice. They have to for certain software or for work.

    • @JohnSmith-jc7dk
      @JohnSmith-jc7dk Před 23 dny

      Linux GUI is very buggy

  • @Knoweverything308
    @Knoweverything308 Před 25 dny

    First comment from Kenya always inspired.

  • @sophisticatedserpent1512
    @sophisticatedserpent1512 Před 22 dny +1

    chat jibbity 🤣

  • @gaatjenietsaan88
    @gaatjenietsaan88 Před 25 dny

    I got hacked by a sketch software pls help me

  • @user-el5uu9vb9o
    @user-el5uu9vb9o Před 25 dny +80

    This is why you use Linux.

    • @ilovebobrov88
      @ilovebobrov88 Před 25 dny +17

      GNU/Linux🤓🤓 😤😤☝☝🤬🤬🤬👹👹

    • @muizzsiddique
      @muizzsiddique Před 25 dny +20

      Ah yes, the Operting System that stores plain text files, binary executables, and literally anything else, all in a file with no file extension.

    • @CartoonSlug
      @CartoonSlug Před 25 dny +3

      ​@@muizzsiddique Oh ok ill just use windows

    • @benebene9525
      @benebene9525 Před 25 dny +22

      ​@@muizzsiddiqueYou do realize that nobody is stopping you from using extensions anyway? The point is that linux doesnt lie to the user about filenames

    • @wild_elliot
      @wild_elliot Před 25 dny

      ​​Everything has it's own pros and cons​@@muizzsiddique

  • @geekygymrat
    @geekygymrat Před 25 dny

    No views?! Never been so early on a video.

  • @Ormaaj
    @Ormaaj Před 17 dny

    Is there really no way to show the .lnk? A problem is that they look exactly like symlinks except that the "link target" field is empty, which you can't always see, so that's kind of annoying.

  • @haxxor7606
    @haxxor7606 Před 25 dny

    This guy does not do segways.
    Like this segway to our sponsor...

    • @U20E0
      @U20E0 Před 25 dny

      Segue

    • @DaVinceE27
      @DaVinceE27 Před 23 dny

      Nope, but this guy segways...
      Like he is on a roll.

  • @user-bs8mj4hu2u
    @user-bs8mj4hu2u Před 25 dny

    one of pest in my life

  • @adrian16ftw31
    @adrian16ftw31 Před 25 dny

    oh okey new thing for me to use ...

  • @ThisIsJustADrillBit
    @ThisIsJustADrillBit Před 25 dny

    FIRST ❤
    Also you're the man 🔥 🤘

  • @soft_compound
    @soft_compound Před 25 dny

    mate how am i so early

  • @nlegendgaming8324
    @nlegendgaming8324 Před 25 dny

    First

  • @AltaBross
    @AltaBross Před 25 dny +2

    Big fan sir i watched you every video they are awesome how can i contact you online or chat with you i have some cybersecurtiy or security related question from which platform i can ask you that questions?