Giter Site home page Giter Site logo

Comments (3)

Rurik avatar Rurik commented on September 6, 2024

Thanks for the compliment!

Currently DOCs are disabled due to various calling problems that can occur. It would assume that you have a DOC viewer already associated with the filename. Plus, in almost all cases, you would have to manually enable Macros or do other manual operations after launching the file. In that case, it's easiest to just copy the file in and do nothing else.

Once copied in, you can then interact with the VM, manually run the DOC, ensure it detonates, then wait out the timer (or cancel it).

However, if there's examples where "running" a DOC file, or other non-PE files, would automatically cause malicious activity to occur then I can look at adding that functionality.

from noriben.

malwarehuntingisfun avatar malwarehuntingisfun commented on September 6, 2024

I have been analyzing malicious office files (e.g. doc, rtf, xls, xlsx, etc.) on a Win 7 sandbox that has Noriben on it. I start noriben.py first, and then I open the malicious document. Procmon captures all the good stuff for an analyst (e.g. PowerShell commands, dropped files, etc.).

Statistically, malicious office files dominate the scene because of the use of using windows scripting files embedded into the macros (wmic, PowerShell, mshta, etc.)

To avoid manually "enabling" macros on an office file Microsoft allows macros to run without user interaction (see the link below).

https://support.office.com/en-us/article/enable-or-disable-macros-in-office-files-12b036fd-d140-4e74-b45e-16fed1a7e5c6

from noriben.

Rurik avatar Rurik commented on September 6, 2024

I was able to find a way to do this, but it's not great.

By testing for an executable run, and monitoring for an error, it then switches to "start", which lets Windows open a file with its associated program. If this fails or not, Noriben will continue running. I've tested it with Word documents, and unknown files (system pop-up to choose an app appears).

Output looks like:
[CreateProcess] python.exe:3252 > "%WinDir%\system32\cmd.exe /c start 4.docx" [Child PID: 1276]

Pushing this up now

from noriben.

Related Issues (20)

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.