Hacking Electron Applications

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

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

  • @PwnFunction
    @PwnFunction  5 ปีที่แล้ว +144

    This video is kinda old, a lot have changed since then. Many things don't apply to today's reality so I'll be doing an updated video in the near future, stay tuned.
    Starting from Electron 5.0+, `nodeIntegration` is disabled by default.
    github.com/electron/electron/blob/master/docs/api/breaking-changes.md#new-browserwindow-webpreferences-

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

      I started watching your channel and i wanted to ask you what color pallet you were using.

    • @destroyer-tz2mk
      @destroyer-tz2mk 3 ปีที่แล้ว +2

      Hi there! That link doesn't work, look into this link for more information www.electronjs.org/blog/electron-5-0#security-improvements

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

      Would be good if there is also a restrictive CSP active

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

      And I manually enable nodeIntergration in all my Electron apps lol

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

      still waiting

  • @LiveOverflow
    @LiveOverflow 5 ปีที่แล้ว +385

    Nice!!! First video I see from you. And your drawing style is already better than mine :P
    Good job :)

    • @birb9254
      @birb9254 5 ปีที่แล้ว +6

      Hey fabian can you please continue your web hacking series plss

    • @pedrohenriquecardoso1076
      @pedrohenriquecardoso1076 5 ปีที่แล้ว +13

      His videos really look like yours, that's one of the things that caught my attention haha

    • @PwnFunction
      @PwnFunction  5 ปีที่แล้ว +26

      Thank you!

    • @masonfuller9823
      @masonfuller9823 5 ปีที่แล้ว

      Does he use the same drawing pad as you?

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

      I feel like that makes your videos good

  • @_JohnHammond
    @_JohnHammond 5 ปีที่แล้ว +100

    YEEEAAAAHHHH!!!

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

      I love your channel's Easter eggs in his videos haha

    • @sonyreview2270
      @sonyreview2270 5 ปีที่แล้ว

      concatenate your knowledge with @PwnFunction

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

    Whoa this is quality content! Thank you so much!!!

  • @lennystudios3.14
    @lennystudios3.14 3 ปีที่แล้ว +1

    This is epic
    After watching your newer videos I decided to watch some of these and I was not disappointed.
    Amazing that you were still this good at making videos 3 years ago
    Correction: 2 yrs I can’t count

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

    Coming from liveoverflow's video, that drawing is awesome

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

    dude... you blow my mind. this is awesome....

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

    Protip: most Electron applications comes with default devtools shortcut

  • @vltraheaven7943
    @vltraheaven7943 5 ปีที่แล้ว

    I love this channel. The brain dumps are top notch.

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

    Great video! A quick note in case it helps, there is a bumping sound on the left channel of the audio on your videos and is more noticeable wearing headphones. Depending on the source of the sound, a pop filter or shock absorbing mount for your mic would make your video as pleasing to listen to as it is to watch. 😊

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

      Thanks! hopefully it won't be an issue from the next videos.

    • @NekoOverflow
      @NekoOverflow 4 ปีที่แล้ว

      @@PwnFunction I'm looking forward to them!

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

    these videos look so aesthetic

  • @abdilahrf
    @abdilahrf 5 ปีที่แล้ว +14

    Can you share the electron app and the raw payload so all of us could try the step by step practically ?
    Thanks for the good video (Y)

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

    Soo much to learn from you , Hats off Dude

  • @MrJestervoodoo
    @MrJestervoodoo 4 ปีที่แล้ว

    Great work guys. Simple put.

  • @sakyb7
    @sakyb7 5 ปีที่แล้ว

    Crazy.... You guyz are awesome.. loved it..
    ❤️ From 🇮🇳

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

    this is amaaazing do more please . also doing course on youtube would be cool

  • @Mooshroom42
    @Mooshroom42 5 ปีที่แล้ว

    Your videos are very good, keep it like that!

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

    really enjoy your videos :) may I ask what you use for the graphical parts of your videos? looks really cool

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

    Wonderful! Great content! :-)

  • @roguesecurity
    @roguesecurity 5 ปีที่แล้ว +5

    Great video!!! Thanks for sharing. +1 like and subscriber

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

    This is why Discord Desktop is stupid

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

    Nice i learnt something todayy
    Had to happen some day.

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

    Nice vid man

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

    awesome video! which software do you use for drawing lol

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

      he said he uses Adobe Animate 2021 in a reply to a comment under one of the binary exploitation videos

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

    bro dammm that was just perferccttttt

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

    "It was basically an API?" sure looks a lot like OpenID Connect to mee :D

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

    Loved it ❤

  • @vamidicreations
    @vamidicreations 4 ปีที่แล้ว

    Hi nice video, but I am still a bit confused. what if you have a desktop application only? Is it still advised turning it off? because if you turn it on you can use the desktop API stuff. Also if you don't keep user personal stuff in the localstorage you should be fine right? also if your app is not a server then you are also set to go right?

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

      In short, enforce that you can't get simple XSS with content security policy and you can be pretty safe with node integration, but secure electron apps are still tricky, prefer defense in depth and try to stick to defaults.
      The current recommendation is use the IPC modules to get the main process to do everything interesting, but they are a bit fiddly, and you're still on the hook for the exposed IPC protocol to not allow bad stuff, eg no read-file request!

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

    I love this channel

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

    This channels got me paranoid man

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

    Sir please make more vedios like this 🙏🙏

  • @FantasM
    @FantasM 5 ปีที่แล้ว

    Wow great job !!

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

    btw discord and element has their developer tols enaled btw

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

      almost all have devtools on lmao

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

      Nah, they disabled it. It works on ptb and canary tho

  • @aarav3890
    @aarav3890 5 ปีที่แล้ว

    Really well done!

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

    I guess I'm a little confused as to how we're able to validate anything you're saying if you won't even tell us the name of the platform involved. I could make a few videos where I find security holes in a fabricated web app too.

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

    I love it!

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

    I knew this was gonna be discord from the title

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

    Name a best alternative secure like javafx which I am aware. Which I also aware decompiled easy or use Obfuscate. I need a secure non reverse engineerable application. Can anybody give good advice

  • @OussamaAmri
    @OussamaAmri 5 ปีที่แล้ว

    Nice job :) great !

  • @narendrajayram1317
    @narendrajayram1317 5 ปีที่แล้ว

    Nice video. Can you share the final message that you sent it in the last? I did not understand how to bind client/access tokens, UID, GUID and RCE payload together?

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

    So, people had the *BRILLIANT* idea to shove a dedicated browser (Chromium, no less) running a web-app with system-level hooks and extensibility, alongside the forceful system integration known as NodeJS (doing things we shouldn't be doing since the turn of the century, woo) into the general userspace and call it a proper program, all while patching none of the existing vulnerabilities out nor addressing the issue of *running a dedicated Chrome install with system hooks and permissions layered with NodeJS* and calling it """efficient""", god forbid performant.
    Fast-forward two to three years, and I want to put my head through a brick wall. Not only are pseudo-apps (my own little term for them, since they forcibly try to be something they're not) disturbingly commonplace, but people think that they're a valid gateway for the cross-compatibility angle that people seem to be focused on at the moment. Putting aside the fact that the world's web infrastructure is sadly immature and even prehistoric in certain areas, disregarding the fact that you're combining some of the most broken, forcibly-mutated, and ultimately vulnerable software into something that it isn't, and deploying it into an ecosystem where it doesn't belong, it's just utterly lazy and convoluted. Rather than focusing all of that energy and experimentation on developing legitimate cross-platform libraries and systems, people prefer to make a bloated web-app and have it run using a web browser specifically installed for that one program, then lazily craft C# hooks for pulling system resources and actions into the mix.
    Sorry for the rant, but goddamn, I'm tired of this craze. It's wrong, it's lazy and yet convoluted, and it's the incorrect approach. Evolution of systems begins by expansion and extrapolation, not by brute-forcing what's comfortable to many people (JS) into areas that shouldn't be involved (desktop development, systems-level I/O, etc.).

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

      Electron is way safer now then it used to be, and the so called "pseudo-apps" are very popular, Slack, VSCode, Postman, Skype and Discord, are built using electron, it's easy to make an unsafe app, but that's the thing, a good developer knows about the bad and builts accordingly.
      Your whole rant is weak and you should research a little about where JS is involved because believe it or not, JS is used for the frontend of the Dragon Crew Interface and it's used widely in embedded.
      Are there safer choices? Definitely. Are there faster choices? Of course there are. The reason why javascript is used everywhere is because it's fast, secure enough that only a beginner would expose it's app to high vulnerabilities and it's good a big community, the biggest I would say.
      So inform yourself sir.

    • @user-he4ef9br7z
      @user-he4ef9br7z 3 ปีที่แล้ว

      But how are soydevs going to impress their mommies if they need to learn everything from the ground up to make their little apps? They need frameworks to build bloated websites which take an eternity to load and they need to build slow apps with lots of cute buttons. Are you suggesting people actually LEARN the os apis and use some C to make things secure and fast? Luddite!

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

      @@user-he4ef9br7z I'm saying that you could very well re-invent the wheel, but you most probably are not going to and if you are then yes you're going do it your way but by the time your wheel is rolling, everyone else is way ahead of you.

    • @user-he4ef9br7z
      @user-he4ef9br7z 3 ปีที่แล้ว

      @@rodpadev Doing it your way used to be what programming was about. If you don't need to learn much to build stuff and just use a framework built by a mega large corporation, in turn making things slow, memory intensive and less secure, it might be time to question whether you're more of a consumer than a creator. Sure, some cooking website startup can afford to download a bloated framework, but in places where what you write actually matters, like embedded, robotics, space exploration, military, cryptography, let's just say you ain't gonna be using typescript. It's not about reinventing the wheel, it's about making the product vs using a product.

  • @puravida012
    @puravida012 5 ปีที่แล้ว

    Good content but the public prefer no 0 days with out information, is better fresh patches cases but with the details

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

    That was a bit unspecific, is there a writeup?

  • @VincentDegrave
    @VincentDegrave 4 ปีที่แล้ว

    Nice! Thanks

  • @TruongVu-s7w
    @TruongVu-s7w 3 ปีที่แล้ว

    You can use 7zip to decompress the asar file

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

    heyyy u guys awesome ...

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

    You are lit bro

  • @zentreax
    @zentreax 5 ปีที่แล้ว

    What OS are you using?

    • @zentreax
      @zentreax 5 ปีที่แล้ว

      @k4b00m yes but what distro? 😂

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

      Windows at the moment, but I'll be getting a mac soon.

  • @hemantsahu4757
    @hemantsahu4757 4 ปีที่แล้ว

    Can I make hackerrank type platform in my own website using this?

  • @renify_
    @renify_ 4 ปีที่แล้ว

    2020 still watching

  • @roopakparashar8278
    @roopakparashar8278 4 ปีที่แล้ว

    You are a great tutor
    I wonder how do you know so much I have just started in hacking and I feel so over this if I don't find a vulnerability, so can you tell me how you started

  • @YumekuiNeru
    @YumekuiNeru 2 ปีที่แล้ว

    found it a littlebit dishonest to say that it works "just by visiting a message in the browser" when it actually is the application running in the background that is the issue.

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

    what app you used to create this video

  • @harshjaiswal1245
    @harshjaiswal1245 5 ปีที่แล้ว

    Nice one guys ;)

  • @jimcolabuchanan6579
    @jimcolabuchanan6579 5 ปีที่แล้ว

    Very good video.

  • @codewarrior4458
    @codewarrior4458 2 ปีที่แล้ว

    so how can one avoid this??

  • @hadyelzayady
    @hadyelzayady 5 ปีที่แล้ว

    Great video but I will appreciate if you upload the used resources (exploit and volun app)

    • @PwnFunction
      @PwnFunction  5 ปีที่แล้ว

      I'll keep that in mind for the next video.

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

    Let's destroy notion and discord.

  • @ujjavalsinghvlog7545
    @ujjavalsinghvlog7545 5 ปีที่แล้ว

    +__+ Awesome Video make more

  • @osamazaid25
    @osamazaid25 4 ปีที่แล้ว

    nice

  • @syn3rman65
    @syn3rman65 5 ปีที่แล้ว

    Yaaasss

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

    "decomiple"

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

    wow.. thanks microsoft : )

  • @samnkh2269
    @samnkh2269 4 ปีที่แล้ว

    is it just me or is the audio fk*d up? so painful listening to it..

    • @samnkh2269
      @samnkh2269 4 ปีที่แล้ว

      like the mic has a broken wire or something

    • @russianyoutube
      @russianyoutube 2 ปีที่แล้ว

      True

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

    Anyone Tauri gang?

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

    I SAID THIS TO MY FRIEND BEFORE =) HAHA

  • @ulissemini5492
    @ulissemini5492 5 ปีที่แล้ว

    i always knew electron apps were not to be trusted!

  • @RAGHAVENDRASINGH17
    @RAGHAVENDRASINGH17 5 ปีที่แล้ว

    Need more detail

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

      Yeah. Like what service this even is targeting, in what other ways it was broken that led to this, and how those items were eventually fixed.

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

    betterdiscord is cooler

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

    Anddddd this video is useless now by just don't (nodeIntegration: false) & use new feature called contextBridge in Electron ........ PEACE SON!!

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

    This is literally worthless. Stop spreading misinformation.

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

      It’s not.

    • @russianyoutube
      @russianyoutube 2 ปีที่แล้ว

      You seem to not know what you are saying.

    • @lucass8119
      @lucass8119 2 ปีที่แล้ว

      If you're going to say something is "misinformation", you have to explain WHY its misinformation. Otherwise we will assume that, at best, you don't know what you're talking about. Or, at worst, you are intentionally deceitful.