Hackers Hide with Clever Alternate Data Streams

Поділитися
Вставка
  • Опубліковано 1 кві 2024
  • jh.live/crowdsec || Get curated threat intelligence powered by the crowd, and contribute to better cybersecurity defense with CrowdSec: jh.live/crowdsec
    Learn Cybersecurity - Name Your Price Training with John Hammond: nameyourpricetraining.com
    📧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
    🔥UA-cam ALGORITHM ➡ Like, Comment, & Subscribe!

КОМЕНТАРІ • 95

  • @oussemabenayech2345
    @oussemabenayech2345 Місяць тому +59

    everyone is freaked out about the xz backdoor *
    jhon hammond :

    • @UnfiItered
      @UnfiItered Місяць тому +1

      Because XZ util hack isn't replicatable anymore. The project has been taken down. Unless someone who has the malicious files were to send John all the files needed, can't replicate.

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

      I was expecting John to cover it too, I guess he's working on it to find things to show us, the whole thing is still being investigated

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

      John has hidden XZ in an ADS just for fun. lol

    • @user-iz9vq5rj1o
      @user-iz9vq5rj1o Місяць тому

      ​ت

  • @pranavbanerjee8625
    @pranavbanerjee8625 Місяць тому +17

    34:32 "was i wrong all along? am i crazy?!".... this is as real as it gets lmao

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

      Stump the chump. lol

  • @BPL-Whipster
    @BPL-Whipster Місяць тому +4

    A lot of people used to hide truecrypt volumes in alternate data streams back in the day. Great for exfil, unless the customer had a halfway decent DLP solution

  • @simbad3311
    @simbad3311 Місяць тому +1

    Good content John....keep it goin mate.

  • @neutrino2211_
    @neutrino2211_ Місяць тому +32

    We like the rambling John

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

    Awesome video John, keep up the good work (:

  • @Notagamer347
    @Notagamer347 Місяць тому +10

    10 minute crew

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

    Thanks for the content John its perfect for students

  • @aryanhooshi
    @aryanhooshi Місяць тому +2

    Amazing vid, keep it up

  • @luckyloo2228
    @luckyloo2228 Місяць тому +8

    A lot of love letters will be written like this

  • @muizzsiddique
    @muizzsiddique Місяць тому +9

    6:30 It is pwsh but you don't have the externally downloaded Powershell, just the one that comes bundled with Windows.

    • @ranitsarkhel652
      @ranitsarkhel652 23 дні тому

      After using pwsh you will still get the externally downloaded powershell or the so called TERMINAL. Just have a look on the initial prompt. If it shows the version of the powershell then It is externally downloaded

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

    great contrib bro! I love to get new insights for stuff like this, I was never aware of that this is possible to be honest.

  • @arandomguy9474
    @arandomguy9474 Місяць тому +3

    john, hope you see this. demonstration on xz when?

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

    7:00 another way is via a symbolic link. Interestingly this can confuse programs that try to obtain their own executable path via Windows APIs, which could lead to additional vulnerabilities - for example, a program that tries to execute itself with arguments can be added as an ADS to an unrelated program executable, and it might launch that unrelated program with those arguments.

  • @socksman669
    @socksman669 Місяць тому +2

    A few months ago I tried to create a project around locating ADS…I should go back to that.

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

      Cool bro it be something interesting, you should. I only know python id imagine its c++ im curious on how there detected as well. I was thinking about making a simple script that uses this for data exfill.

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

    That's a recall that some of these commands seem to truncate the input, there was some of these where I had to put a buffer on the front of The command because the front characters of the command were clipped for some reason. Like 14 characters would be missing. Lots of weird stuff in here

  • @logikaibukfenc4599
    @logikaibukfenc4599 Місяць тому +2

    @20:55 : you forgot 'wmic process call create" worked in cmd not in PS.

  • @darknode4791
    @darknode4791 Місяць тому +1

    Wouldn't AMSI detect it if it were any malicious script in a suspiciously newly created datastream?

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

    Awesome trick !!!! Could you explain why the ADS on C:\ never shows up ? (Maybe you did but I didn't get it ^^)

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

    Where does the actual data get written when adding a file in ADS mode? Presumably not at the end of the file since the file size doesn't change.
    Also if copying an ADS file from the hard drive to an SDcard, does it take the hidden file with it?

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

    So, if someone has something hidden in an alternate stream of the C:\ file system object, then how do you get rid of it without wiping the drive. Also, is it possible to see the alternate stream if C:\ is mounted as a folder, perhaps on another drive?

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

    I can only say that you can find out if a file has something hidden in it's ADS BECAUSE it is a "function" ONLY for the NTFS file system, so you can realize if something is in there if you just try to copy the file to a fat32 file system and windows will complain that this file is going to loose it's properties...!! This means a lot about the file ....it is very suspicious .... but you cannot see the streams only to guess that something is wrong with this file...and do farther investigation on it. Otherwise if it doesn't show at lot and you are not suspicious you will never know.!!! With the above action you can be more suspicious and obviously will know something very strange is going on with this file...

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

    Until 2013 macOS had the same thing, known as "named forks". This is not just "resource forks" which everybody knows about. APFS seems not to support them but on HFS+ they may merely be deprecated. I haven't been able to access them though through any command or tool, even writing my own code, going back to Mountain Lion. I suspect the OS has blocked some of the ways to access them. Hard to research since hardly anybody knows about them.

  • @kabaduck
    @kabaduck Місяць тому +2

    It's been a while since I played with this stuff, I do remember that sometimes I had to put double slashes between words in the command for it to work for whatever reason; I also found that sometimes I had to load it into a variable in the shell and then pass the variable to the command

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

    Can we hide something even when we factor reset the computer and the folder is still there? @john

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

    Please John include the github repos and article links you included in the vid i want to check them out.

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

    17:04 lowercase file path (c:\users\etc)?

  • @natoreus
    @natoreus Місяць тому +2

    Hey John, have you seen david bombal's recent video on reverse shell demo? It's very similar to this video.

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

    well… crap. now i need to double check and probably tune a bunch of detections 😅

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

    Not sure because all this is above my pay grade, but did you forget to unhide your calc so then after, when you hid it again the second time, you actually wouldn't have hidden it because it wasn't there to hide, thus you weren't able to find it.

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

    0:10 so you don't have to rename it to Homework too?

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

    You should also do your research on DNS data bouncing. Data exfiltrating has never been easier

  • @ThisIsJustADrillBit
    @ThisIsJustADrillBit Місяць тому +2

    JOHN HAMMOND FOR PRESIDENT ❤

    • @itzhexen0
      @itzhexen0 Місяць тому +3

      No, he talks to much and tells everyone everything for no reason. He would be a terrible president.

    • @someoneunknown6894
      @someoneunknown6894 Місяць тому +1

      ​@@itzhexen0 😂

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

      A comment in all caps should never be taken seriously. And I doubt he anything for no reason. You just might not like them. 😏

  • @atsegboritsetimeyin4934
    @atsegboritsetimeyin4934 Місяць тому +1

    Please help me out please i flash my phone i lost everything I'm trying to login my email address but i forget the password and I'm not sure i added a contact to the email address please help me out

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

    Bet if you were using actual forensic tools like Autopsy - you'd find it

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

      While hidden, it's still stored somewhere in the file system, so a search with a hex editor of the disk should be able to find it.

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

    Please make video about XZ fiasco.

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

    if you copy the same file that has the secret stream to another computer would that stream stay in there ?

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

      Depends how you copy. Via windows network operation probably (didn't check). SMB maybe. Zip+Unzip no. Copy to an USB (yes but only if ntfs-file system on USB device).
      It always depends on the program, and it always must go from ntfs to ntfs.

  • @cyber_space09
    @cyber_space09 Місяць тому +2

    That's great news right 🤠😁⚡

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

    0:17 Hidden system files?

  • @professional.hacker.
    @professional.hacker. 12 днів тому

    File extension spoofing nice

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

    Bro epic content i think its super cool as well that your able to hide it completly from the user.
    Do you know a way that you can be able to reveal its presence on system?
    It be cool to see this used in a tool for a reverse shell or something like stealthy data exflitration.
    Your able to get command execution but if your sys admin you can do whatever anyways but its a good place to hide any secondary backdoor maybe like i said .
    Thanks hambone!

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

    I don’t need a password to get inside your computer. I just need a telnet, network or serial connection & find out what VPN it is.
    Once I’m inside the host name system, I can configure anything I want there…. According to how bad you pissed me off.

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

    way to design a bad file system. it's not even open source.

  • @user-xr2dx4xm5b
    @user-xr2dx4xm5b Місяць тому +1

    yoh

  • @SamGib
    @SamGib Місяць тому +1

    Xz?

  • @Zerkbern
    @Zerkbern Місяць тому +40

    My goodness you were loud

    • @1hw3
      @1hw3 Місяць тому +8

      he was normal for me, although i have headphones really low in class lol

    • @GratuityMedia
      @GratuityMedia Місяць тому +3

      right on target under stats for nerds 😅

    • @JohnTitor-fw8jr
      @JohnTitor-fw8jr Місяць тому +16

      He was using the extra loudness to hide an audio stream that hacks your Alexa devices with radio frequencies

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

      🤣

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

      🤣 definitely woke me up after the last video I watched

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

    second

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

    first

  • @deeal5336
    @deeal5336 Місяць тому +9

    This video did not have to be almost 40 min

    • @BigFunnyGiant
      @BigFunnyGiant Місяць тому +8

      You didn’t have to watch it.

    • @deeal5336
      @deeal5336 Місяць тому +3

      @@BigFunnyGiant thanks for letting me know boss

    • @socksman669
      @socksman669 Місяць тому +1

      Yeah it is nice to see John is human and is still learning but this makes it seem like he just rushed to make a video and didn’t know what he was talking about (which isn’t the case obviously). There were too many errors that got annoying.

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

      I, personally, think it's useful to see how others troubleshoot. Don't like it? UA-cam has fast forward.

    • @deeal5336
      @deeal5336 Місяць тому +2

      @@DeadDad1 another wise guy

  • @samha1513
    @samha1513 Місяць тому +1

    Nice but could be shorter video length

  • @Dane-dv1ik
    @Dane-dv1ik Місяць тому +1

    Sounds very interesting at first, but on close inspection this is called steganography. There are software that can do this in a more sophisticated way. This method is archaic. Not impressed 👎

    • @sebmandal
      @sebmandal Місяць тому +3

      It's educational. Everyone knows this is steganography, but for a beginner, it can teach the underlying logic of hiding data. It's not supposed to be groundbreaking, it's supposed to teach.

    • @BillAnt
      @BillAnt Місяць тому +1

      Stenography hides data in images or sound files, this one is built into the file system without the need of any helper apps... big difference.

  • @offsecguy
    @offsecguy Місяць тому +1

    Technique defeated - C:\>
    md\x&dir\x/r/a

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

    first