Git Product home page Git Product logo

Comments (8)

RayofLightz avatar RayofLightz commented on August 28, 2024

What do you mean, like a payload that calls back to mshta.exe or a stagger that uses mshta.exe to get the agent on to the system?

from silenttrinity.

RealHarshThakur avatar RealHarshThakur commented on August 28, 2024

Stager to get the agent.

from silenttrinity.

RayofLightz avatar RayofLightz commented on August 28, 2024

So in one of the scripts you can use ActiveXObject to call cmd and call code. It is not the most clean solution but maybe you could grab and execute a msbuild stagger using a hta.

from silenttrinity.

RealHarshThakur avatar RealHarshThakur commented on August 28, 2024

Can you specify which script you're talking about?

from silenttrinity.

RealHarshThakur avatar RealHarshThakur commented on August 28, 2024

Using ActiveXObject , do you mean by creating wscript.shell object ?
Won't that require the site to be in Trusted sites?

from silenttrinity.

RayofLightz avatar RayofLightz commented on August 28, 2024

You are talking about an hta correct. Htas are html applications. They live on local disk and are run inside of an stripped down IE window. The code that gets run is using ActiveXObject. The scripting languages can be either visualbasic or javascript. The issues is that ActiveXObject is limited to COM objects. Using wscript.shell is the only way I can think of being able to create a stagger. Even though it would basically fall back onto another staging method. Unless there is a COM object that can be used to compile c# ?

from silenttrinity.

RealHarshThakur avatar RealHarshThakur commented on August 28, 2024

I think this could be done: when the malicious executable runs, it could get the shell and run "mshta 'url of the hta'" .

from silenttrinity.

byt3bl33d3r avatar byt3bl33d3r commented on August 28, 2024

this is already on my to do list :)

from silenttrinity.

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.