How to Extract Plaintext Wi-Fi Passwords (with Rust)

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ค. 2024
  • jh.live/keeper || Keeper Security offers a privileged access management solution to deliver enterprise grade protection all in one unified platform -- keep your users, your data, and your environment secure with Keeper! jh.live/keeper
    Special thanks to colleagues @MEhrn00 and @Nordgaren for all their help in preparing this video 🙏
    Free Cybersecurity Education and Ethical Hacking with John Hammond
    🔥TH-cam ALGORITHM ➡ Like, Comment, & Subscribe!
    🙏SUPPORT THE CHANNEL ➡ jh.live/patreon
    🤝 SPONSOR THE CHANNEL ➡ jh.live/sponsor
    🌎FOLLOW ME EVERYWHERE ➡ jh.live/discord ↔ jh.live/twitter ↔ jh.live/linkedin ↔ jh.live/instagram ↔ jh.live/tiktok
    💥 SEND ME MALWARE ➡ jh.live/malware

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

  • @kushagrasaxena5202
    @kushagrasaxena5202 5 หลายเดือนก่อน +21

    1:30 missed opportunity to say "I am little RUSTY"

  • @byk1lla
    @byk1lla 5 หลายเดือนก่อน +5

    this man is my favorite cyber sec channel i love his contents

    • @saintebruneaux1788
      @saintebruneaux1788 5 หลายเดือนก่อน +2

      Yup! Him, David Bombal, and NetworkChuck as well 👍🏽

    • @stopper0203
      @stopper0203 5 หลายเดือนก่อน +1

      Cyberspatial was a good one too - but I think he stopped making videos

    • @saintebruneaux1788
      @saintebruneaux1788 5 หลายเดือนก่อน

      @@stopper0203 Should I check it out though he may not be up to date with his content?

  • @xAbdulRhmanX
    @xAbdulRhmanX 5 หลายเดือนก่อน +4

    Hi John, I enjoy all of your videos. But I want to add something here, the WiFi passwords are encrypted in Windows using DPAPI. So, only the user who connected to the WiFi can see the password. For example, if on the same system user A connected to the WiFi "test" the user B can't read the password, it only can read the SSID. DPAPI is used a lot on Windows and other apps too, for example Chrome uses it to store your credentials in an encrypted way but that is not very secure as any one who has a session to your user can decrypt these credentials without specifying any decryption password

  • @urtootall
    @urtootall 4 หลายเดือนก่อน +3

    I somehow love those videos, but the programming flies right over my head, every time xD

    • @jepunband6280
      @jepunband6280 4 หลายเดือนก่อน +1

      or just open up command prompt and run a simple command to view the saved passwords.

  • @viktorpupovic9565
    @viktorpupovic9565 5 หลายเดือนก่อน

    Djude this is awesome , thanks for teaching us bro. 💪😃🖖

  • @rodricbr
    @rodricbr 5 หลายเดือนก่อน +26

    It would be cool if the code for the project was included in your github or somewhere in the description!

    • @bobmarley8334
      @bobmarley8334 5 หลายเดือนก่อน +3

      I think they like doing that. Self pleasure, I don't know. This happens in a lot of channels.

  • @rtzgf67games7
    @rtzgf67games7 5 หลายเดือนก่อน +9

    Are you allocating memory for the pointers you pass into windows functions?

    • @nordgaren2358
      @nordgaren2358 5 หลายเดือนก่อน +5

      No, They are null pointers. The function expects a pointer to a pointer, so he is making a null ptr, with std::ptr::null_mut(), and passing a mutable reference to that pointer to the function. Windows then allocates memory and writes the allocated address to the pointer reference that was passed it. It's why we have to call the WlanFreeMemory function on those pointers. Because the Wlan library is what is allocating the memory, not the Rust program.

    • @rtzgf67games7
      @rtzgf67games7 5 หลายเดือนก่อน +1

      @@nordgaren2358 Aha so the function allocates the memory needed. Thanks!

  • @Elon_Mapc
    @Elon_Mapc 5 หลายเดือนก่อน +117

    I thought rust is a game

    • @NICE10433
      @NICE10433 5 หลายเดือนก่อน +26

      We raid here, but we raid the computer.

    • @Alfred-Neuman
      @Alfred-Neuman 5 หลายเดือนก่อน +23

      If Rust was made with Rust, Rust would be good, because Rust is good...

    • @waterlord6969
      @waterlord6969 5 หลายเดือนก่อน

      ​@@Alfred-Neuman😬🥴😵

    • @0123Jas
      @0123Jas 5 หลายเดือนก่อน +2

      Funniest comment I saw all day 🤣 😂

    • @rodricbr
      @rodricbr 5 หลายเดือนก่อน +1

      @@Alfred-Neumanlol, good one

  • @rccowboys
    @rccowboys 4 หลายเดือนก่อน

    You got your own way of typing. It withs for you, but it's weird to watch.. in a good way though. Great video

  • @yaboy7120
    @yaboy7120 5 หลายเดือนก่อน

    I recently started a new IT job with limited documentation and essentially no IT dept, so I had to use the line in the beginning to get the password for future device onboardings.

  • @riigel
    @riigel 5 หลายเดือนก่อน +17

    rust is indeed hardcore 😅
    more rust!!

  • @micochu9000
    @micochu9000 5 หลายเดือนก่อน

    I have also like this but it was built in batch script, using netsh command and export as XML

  • @Mezzosd
    @Mezzosd 5 หลายเดือนก่อน +1

    how to extract password from sqlite3 files saved in the application

  • @CookieMonster-fc7jz
    @CookieMonster-fc7jz 5 หลายเดือนก่อน

    Good video - thanks for the share

  • @Karam99443
    @Karam99443 4 หลายเดือนก่อน

    You helped me to scaring my neighbors😂😂😂😂😂

  • @MIRLOX_mirilox
    @MIRLOX_mirilox 5 หลายเดือนก่อน

    Thank you brother am from marocco

  • @virgilggx
    @virgilggx 5 หลายเดือนก่อน

    Does not work on Windows 11. I enter "Failed to get auth for this profile".

  • @Luix
    @Luix 5 หลายเดือนก่อน

    so the api doc is in C++

  • @EnochOkikiJesus
    @EnochOkikiJesus 5 หลายเดือนก่อน

    Hammond's the CodeKeeper 🥵🥵

  • @DividesByZer0
    @DividesByZer0 5 หลายเดือนก่อน +12

    But what about EDR, IDS/IPS? I have a hard time believing techniques like this will work against an enterprise solution like crowdstrike. It's cool I guess.

    • @_JohnHammond
      @_JohnHammond  5 หลายเดือนก่อน +7

      I unfortunately don't have a CrowdStrike sandbox to test personally, but I reached out to someone in the Discord who had and they tried it -- no alerts with CrowdStrike Falcon sensor running, from what they shared. SmartScreen would naturally pop up since it is currently an unsigned binary, though.

    • @zanez7953
      @zanez7953 5 หลายเดือนก่อน +1

      @@_JohnHammond Thank you for verifying your claims, I love you very much

    • @exithe
      @exithe 5 หลายเดือนก่อน +2

      I work for one of these companies and you would be surprised how many things don't get flagged, you got to keep in mind that they are trying to create alerts for one size fits all by default. Companies want actionable alerts so wayyyy too much gets left on the wayside because it creates work to tune lol... honest truth.

  • @nicolodaddato8238
    @nicolodaddato8238 5 หลายเดือนก่อน +3

    i love your video , but for the next time could you move your camera away from the code

  • @snudget
    @snudget 5 หลายเดือนก่อน +1

    Sorry, didn't work on my linux machine

  • @VG-or1nu
    @VG-or1nu 5 หลายเดือนก่อน +4

    I love educational content ❤

  • @hrajrhakobjan5258
    @hrajrhakobjan5258 5 หลายเดือนก่อน

    EDR injection can be bypassed

  • @user-td4pf6rr2t
    @user-td4pf6rr2t 5 หลายเดือนก่อน

    I think john jump shipped and turned team GUI.- Loads happens between fingers and the display ive always heard.

  • @Redditard
    @Redditard 4 หลายเดือนก่อน +2

    Can't you just also, Settings > WiFi > "Network Name" > View Wi-Fi security key? 0:27

  • @timecop1983Two
    @timecop1983Two 5 หลายเดือนก่อน +1

    I have a question? How do you research tools and techniques?

    • @nordgaren2358
      @nordgaren2358 5 หลายเดือนก่อน

      Google. GitHub. Training material like Maldev Academy. Joining communities related to the tools you are trying to make and asking questions.
      Existing tools on GitHub are extremely helpful. Working code is always some of the best documentation.
      In this case, you could even learn how to make this tool just by looking at the Microsoft documentation!

    • @user-he4ef9br7z
      @user-he4ef9br7z 5 หลายเดือนก่อน

      Read CVEs

  • @photonz_
    @photonz_ 5 หลายเดือนก่อน +2

    anyone know what keyboard john is using?

    • @vachaspathit9351
      @vachaspathit9351 5 หลายเดือนก่อน

      i think its 60 or 65% keyboard dont know about name maybe razer?

    • @nordgaren2358
      @nordgaren2358 5 หลายเดือนก่อน

      It's a custom keyboard, I believe. He talked about it on a stream about 3 weeks ago maybe 4?

  • @ReligionAndMaterialismDebunked
    @ReligionAndMaterialismDebunked 5 หลายเดือนก่อน

    Early crew. Shalom. :3

  • @AGASTRONICS
    @AGASTRONICS 5 หลายเดือนก่อน

    I guess I should be able to do this with Osquery since devices trust the program. 😅

  • @justinpinson8575
    @justinpinson8575 5 หลายเดือนก่อน

    what a legend!

  • @ReligionAndMaterialismDebunked
    @ReligionAndMaterialismDebunked 5 หลายเดือนก่อน

    Bravo!!

  • @MatinDevs
    @MatinDevs 5 หลายเดือนก่อน

    awesome ❤

  • @bxmusic9104
    @bxmusic9104 5 หลายเดือนก่อน

    Nice another Hacking video🤩

  • @gamereditor59ner22
    @gamereditor59ner22 5 หลายเดือนก่อน +1

    Interesting....🤔

  • @iqbal8991
    @iqbal8991 5 หลายเดือนก่อน

    Where password on new connection wifi?

  • @baba01hacker
    @baba01hacker 5 หลายเดือนก่อน

    W video bro 🎉

  • @locaboy336
    @locaboy336 5 หลายเดือนก่อน

    How to analyse a malware that have (img , doc , xsl ) extension

    • @AGASTRONICS
      @AGASTRONICS 5 หลายเดือนก่อน

      For images the first step I guess exif

    • @AGASTRONICS
      @AGASTRONICS 5 หลายเดือนก่อน

      For xsl this first step confirm if their are no white text on white background

    • @AGASTRONICS
      @AGASTRONICS 5 หลายเดือนก่อน +1

      For doc turn on ports scanning and set up trusted IP. Then double-click to open the file. Note: it may be tricky sometimes so check for changes in your registry

    • @locaboy336
      @locaboy336 5 หลายเดือนก่อน

      @@AGASTRONICS thanks a lot 🙂

    • @John-lg1vf
      @John-lg1vf 5 หลายเดือนก่อน +1

      @@locaboy336 that advice is awful btw, it's easy to see file, registry and network changes. Do a malware analysis course and you'll learn this at the beginner level.

  • @TheOneHong
    @TheOneHong 5 หลายเดือนก่อน

    how about wpa2 enterprise? (username, pw)

  • @fadiallo1
    @fadiallo1 5 หลายเดือนก่อน

    Hello My Friend.

  • @iblackfeathers
    @iblackfeathers 5 หลายเดือนก่อน +3

    thumbnail made it look like it's specifically attacking iphones for wifi passwords.

  • @themgt07
    @themgt07 5 หลายเดือนก่อน

    Love From India ❤

  • @jackcarroll2071
    @jackcarroll2071 5 หลายเดือนก่อน +1

    Hey John what's the best way to get more involved in ethical hacking? Started cybersecurity few months ago.

    • @ggsap
      @ggsap 5 หลายเดือนก่อน +2

      do you really think you are in any way different from the 100s of the same generic annoying questions he gets like yours

    • @Alfred-Neuman
      @Alfred-Neuman 5 หลายเดือนก่อน

      @@ggsap
      I need to know how to ethically hack Fortnite V-Bucks?
      Asking for a friend...
      😂

    • @Y0GAAAA
      @Y0GAAAA 5 หลายเดือนก่อน

      ​@@ggsap shut up \^_^/

    • @jackcarroll2071
      @jackcarroll2071 5 หลายเดือนก่อน

      did I say I was any different chill tf out. It never hurts to ask a question. I was looking through comments on his other videos for an answer to a similiar question and hadnt seen it asked. Worse thing that could happen is no response big fuckin deal. you out here wasting energy over being negative rather than answering a simple question to someone who is seeking knowledge most likely in a position you once were in previously. If being a prick on the internet gets you off or something have it 😉@@ggsap

  • @vachaspathit9351
    @vachaspathit9351 5 หลายเดือนก่อน

    what is the editor name

    • @julfoi2139
      @julfoi2139 5 หลายเดือนก่อน +1

      Its RustRover from Jetbrains

    • @vachaspathit9351
      @vachaspathit9351 5 หลายเดือนก่อน

      @@julfoi2139 ohh thanks a lot !

  • @abbasmahmoud360
    @abbasmahmoud360 5 หลายเดือนก่อน

    Years ago

  • @FELDCORP
    @FELDCORP 3 หลายเดือนก่อน

    The windows crate is awfully documented and I hate my life each time I open it.

  • @ThisIsJustADrillBit
    @ThisIsJustADrillBit 5 หลายเดือนก่อน

    First! ❤
    Oooo so rust isnt a game? Hahaha

  • @mrDiynot
    @mrDiynot 5 หลายเดือนก่อน

    You not giving us code🙂

  • @TarasShabatin
    @TarasShabatin 5 หลายเดือนก่อน

    I thought that a person who is "new" in Rust should struggle while writing a code...😅

  • @barneyclarke7051
    @barneyclarke7051 5 หลายเดือนก่อน

    Why rust? C# IDEs have linter for win32 api

    • @_JohnHammond
      @_JohnHammond  5 หลายเดือนก่อน +1

      Just less likely for an AV to flag on a Rust compiled binary-- you can't as easily do as much introspection and analysis that you would be able to do on a C# exe

  • @zanidd
    @zanidd 5 หลายเดือนก่อน +1

    like if you're vibing to the beat in the intro

  • @uuu12343
    @uuu12343 5 หลายเดือนก่อน

    I use Rust, btw
    The new "I use Arch btw"

  • @user-du4ly6cj5h
    @user-du4ly6cj5h 5 หลายเดือนก่อน

    Hy how are you

  • @JTsek
    @JTsek 5 หลายเดือนก่อน +1

    16:44 - 18:22 I think there was an editing error

    • @_JohnHammond
      @_JohnHammond  5 หลายเดือนก่อน +1

      You are right -- thank you!! Fixing now. :)

  • @ardwetha
    @ardwetha 5 หลายเดือนก่อน +5

    The entire Windows system should have a CVE. Change my mind.

  • @maulanakiki
    @maulanakiki 5 หลายเดือนก่อน

    Mr Can we hack but only use a mobile phone?

  • @dydarjadmin
    @dydarjadmin 5 หลายเดือนก่อน

    Неплохо,но слишком просто

  • @IlliaZhdanov
    @IlliaZhdanov 4 หลายเดือนก่อน

    quick tip: Press alt+enter or whtvr the keybind is to auto import all the stuff. Please stop manually doing this, it triggers me. Just Alt+Enter and all will be fine

  • @bobbyrandomguy1489
    @bobbyrandomguy1489 5 หลายเดือนก่อน +6

    "cyber security professional" "uses tiktok"

    • @safehome-jdev1417
      @safehome-jdev1417 4 หลายเดือนก่อน +1

      “Types with middle finger”

  • @chaoskong2987
    @chaoskong2987 5 หลายเดือนก่อน

    Title is a bit misleading isn’t it?

    • @_JohnHammond
      @_JohnHammond  5 หลายเดือนก่อน

      what would you like the title to be instead

    • @chaoskong2987
      @chaoskong2987 5 หลายเดือนก่อน

      @@_JohnHammond Using the Win32 API to grab ClearText passwords. Love the videos btw

  • @iamwitchergeraltofrivia9670
    @iamwitchergeraltofrivia9670 5 หลายเดือนก่อน

    Hahahhahahhahahahahhahahahahah you cannot show at me wlan

  • @hosaenameen303
    @hosaenameen303 5 หลายเดือนก่อน

    ةذج

  • @marekmaxpabianice
    @marekmaxpabianice 5 หลายเดือนก่อน +2

    1.2 mln sub and you claim Windows STORES passwords in clear text? Revealing sth in clear text and storing in clear text is not the same...

  • @luzclarke6333
    @luzclarke6333 5 หลายเดือนก่อน

    Use macros #[

  • @trytoo5167
    @trytoo5167 5 หลายเดือนก่อน

    wtf didnt know this existed. Makes inputting a wifi password on behalf of the user pointless.

    • @cjreek
      @cjreek 5 หลายเดือนก่อน +1

      This only works if the user has already entered the password for the wifi connection once and windows saved it.