• pixxelkick@lemmy.world
    link
    fedilink
    English
    arrow-up
    83
    ·
    3 months ago

    The tl;dr:

    1. Prompt inject a malicious instruction in a word document that instructs the AI to copy this instruction to other documents as part of the payload.

    2. Dumb user downloads and opens the document with copilot enabled, abd ignores the large suspicious white blank page that totally doesnt look like a hidden giant injection attack.

    3. Thats it pretty much it.

    Copilot will get injection attacked because the prompt is super huge and at the end of the document, so its prior instructions start to fuzzy out.

    Then it’ll go “okey doke” and start copying the prompt injection attack payload to a bunch of other documents.

    The fix is stupid simple… copilot should just be prompting the user for permission if it ever edits a file other than the one that is open. Im surprised that isnt already the case…?

    It certainly is already the case for copilot in vscode.

    • whaleross@lemmy.world
      link
      fedilink
      English
      arrow-up
      44
      ·
      3 months ago

      Back in ancient times when I was a system administrator we got a heads up that there be a new breed of Outlook worm coming soon to our timezone.

      So we mailed the entire office that if you get mail that looks like this or that, do not open it, do not interact but delete it on sight.

      Most of the office was all right, except pretty much entire sales and marketing departments including the bosses. Most of them had noOo idea what could have happened but one of them explained that they saw the warning but they were curious to see what the virus looks like.

      People. What a bunch of bastards.

      • Kaligalis@lemmy.world
        link
        fedilink
        English
        arrow-up
        15
        ·
        3 months ago

        Sales and marketing don’t count. Critical thinking doesn’t sell. So you won’t find critical thinkers in those departments.
        From a security standpoint, those departments are to be considered hostile. But you can lock down the PCs there as much as possible to reduce the offline time because computer-illiterate employees don’t care about being able to install stuff or change settings.

    • it_depends_man@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      edit-2
      3 months ago

      copilot should just be prompting the user for permission if it ever edits a file other than the one that is open. Im surprised that isnt already the case…?

      That can’t be done or they would be burying the “agentic AI” thing that has been the goal and marketing thing for the last years.

      Independent actions by copilot on behalf of the user without the users knowledge is the entire point.

    • turmacar@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 months ago

      The number of people that click through to disable that prompt might surprise you.

      Hell at least half of AI influences are trying to just run models blind with full file permissions.

      • pixxelkick@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Nah, not surprised at all, I work with developers who run stuff in yolo mode raw dogging copilot directly on their work laptops every day.

        Madness.

        I keep that stuff boxed up inside of a docker container, sandbox’d, so possible vectors of damage are kept to a minimum.

  • RamRabbit@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    ·
    3 months ago

    the only way to block it is to get AI to differentiate instructions from data, which is impossible today

    Input sanitation, basically security 101. And it can’t currently do it…

    • Reisen@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      18
      ·
      3 months ago

      if the instruction is messy fuzzy human language to a system that was not coded instruction by instruction but got generated and trained then there never is a way to differentiate instructions from data if i’m not mistaken

      • Kaligalis@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        We know that some humans can be trained to do that just fine. Humans are natural neuronal networks. That implies, neuronal networks can in principle do it. We just don’t have any human-capability artificial neuronal networks yet.
        LLMs might never get there. But humans aren’t LLMs. If we ever manage to properly model a human brain, that probably will be able to do that task with human-level accuracy (which actually is pretty good if you only look at professionals of the filed).
        Hopefully, it doesn’t actually need a human brain for the task - because modeling that might still be a century off.

    • T156@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      3 months ago

      It’s a text completion model/glorified Markov chain. Of course it can’t input sanitise, it was never meant to do this to begin with.

      The tool calling integrations that let it do more are basically making it add a markdown code block in JSON format into the user message, where the middleware intercepts it.

      The input and “instructions” are the same thing from its perspective. There’s nothing special that differentiates the two. The user input text, so it will output text, following the most likely sequence from its training.

    • Kaligalis@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months ago

      The article is about AI worms. And the thumb is what an AI image generator thought, AI worms could look like.

  • Log in | Sign up@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    3 months ago

    "To address this class of risk, we use a defense-in-depth strategy with safeguards that block malicious instructions at multiple points and help keep tasks aligned with users’ requests,” Microsoft said.

    Keep talks aligned with users’ requests?!? We’re doomed!

    “We encourage customers to install the latest updates, use multiple layers of security protection, treat content from unknown sources with caution, and review AI-generated content before using or sharing it.”

    No, no you don’t, you encourage customers to spend more to give copilot access to all of SharePoint and all of Exchange, so they can replace human competency, human expertise and long standing employees with copilot until they’re dependent on your ever-pricier subscription and you can raise prices until you recover your vast and incomprehensible LLM losses from your customers.

    “Separating instructions from data may be part of the solution, but I think the distinction between data and instructions is not always clear in real-world workflows. For example, a user may ask an agent to arrange a business trip, requiring the agent to retrieve an email specifying the approved itinerary and a document containing the booking procedure,” Måløy [vulnerability researcher and discloser] said.

    Or you could hire a PA, who wouldn’t spread the already live copilot worm.

    A bunch of security experts note that distinguishing between instructions and data is a solved problem with SQL injection attacks, but completely unsolved in LLMs:

    “None of them are rewarding that work commercially right now, so treat that as a multi-year research problem, not something a CISO should wait on.”

    Is this a minor technical issue or a major problem? It’s a major problem.

    Mike Wilkes, enterprise CISO at Aikido Security, said it would be difficult to overstate the potential problems from this situation.

      • Log in | Sign up@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        Well, I like yours too, but don’t remind my wife of that. She’s just not a fan of me flirting with other men.

            • Homosexual sapiens@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 months ago

              Okay, I was amused before but now this has gone back to the usual frustration. Do you really not see how that reply hints at your assumption that everyone you speak to on the internet is a man?

              • Log in | Sign up@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                3 months ago

                Yes, it did, and that’s what I suspected, but I saw other possible interpretations and ironically, I didn’t want to assume. Sorry for being annoying. I only meant any of this for fun and didn’t mean to offend or frustrate you.

                I was hoping your reply would be something like “am woman” in which case I was planning to tell you that in real life it feels like a majority of the women that I thought were really really cool but who I didn’t feel inclined towards romantically turned out to be uninterested in my entire gender romantically, so I was going to assume that you are also really cool even though my maths teacher was very insistent that correlation does not imply causation.

                I assert that your “I have good news for your wife, then!” answer fits with my correlation.

                If your reply was “you’re really rubbish at flirting” I was planning on responding with “everybody wins”.

                I was hoping to come up with something amusingly self deprecating if it was along the lines of “I’m specifically not interested in you”, but I hadn’t got as far as thinking through that answer, hoping it wasn’t that.

                As you can see I’m not all that great at this social interaction thing. Genuinely sorry to have annoyed you.

      • megopie@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        3 months ago

        I mean, I see it all the time in like, military history books. But like, not in casual conversation or company statements.

      • phlegmy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I’ve seen it used fairly often in cybersecurity communities, even before llm’s existed.

        But I’ve never heard anyone write it either.
        Maybe if more people used chalkboards…

  • HugeNerd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    3 months ago

    What on Earth do people DO with computers that requires this level of complexity?

    It just seems like computers could have stopped in 1989 and I struggle to see what the difference would be.

  • isleepinahammock@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    Whelp, glad I switched recently to LibreOffice. Had been using an old license of Office from my old university. But that expired and Word ultimately refused to function without it. And I’m certainly not paying money, let alone a subscription, for an AI-infested slop factory.

  • Agent641@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Every time I notice that the internet seems super slow for no apparent reason, I get real suspicious that it has begun