• 0 Posts
  • 85 Comments
Joined 2 years ago
cake
Cake day: July 26th, 2023

help-circle

  • TheKMAP@lemmynsfw.comtoComic Strips@lemmy.worldDevils Panties 08/20/2025
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    4 months ago

    Every time you wake up you have a full tank of fuel. Get an electrician to hook up another dryer plug and you can charge relatively quickly. EVs are only scary if you use more than a tank a day. Tesla fixed that with the supercharger network and has even opened it to other manufacturers. You grab a snack and take a shit and you’re ready for the next leg of the road trip.




  • Do you know what a memory stack and assembly are?

    If you want code that does assembly operations A, B, and then C, you might be able to accomplish it by scanning loaded memory (or its corresponding binary) for bits that, when translated into assembly, do:

    A

    D

    return

    This set of three instructions is a gadget. In practice, it’s a location in memory.

    And then you find another gadget.

    B

    C

    return

    Then, if you don’t care about D, or D does something irrelevant that won’t screw up what you’re trying to do, or won’t crash the program, you can replace the stack with the addresses of gadgets one and two. When gadget one returns, the stack is popped and then gadget two executes.

    Since the computer did ADBC and D was irrelevant, the system executed your ABC malware and now you win.

    Is finding gadgets that execute actual malware hard? Surprisingly not!