Giter VIP home page Giter VIP logo

Comments (8)

Tylous avatar Tylous commented on September 3, 2024 1

Okay, I did some testing and it looks like there is some sort of issue with it pulling a large file over via mshta. I am going to do some more testing to address this but it might require a different template for mshta.

from scarecrow.

Tylous avatar Tylous commented on September 3, 2024 1

Sorry for the delay it looks like when the file is being pulled remotely the COM object "ADODB.Stream" times out due to some slowness (probably because mshta uses Internet Explorer Com objects to download content) and loading the base64 encoded payload into memory to then convert. By changing the serialized format and omitting the use of ADODB.Stream it worked.

I am glad it worked for you and thank you very much I appreciate the feedback.

from scarecrow.

Tylous avatar Tylous commented on September 3, 2024

So before I can assit, I need to ask you have two different loaders select in both your examples. I only ask because one is excel which would change the situation. Can you please confirm.

from scarecrow.

zyk11 avatar zyk11 commented on September 3, 2024

Can you please clarify your question?

I tried both methods (excel and control) separetely, and the exhibited behaviour is the same, i.e. the HTA file only executes if it is already located locally.

I analysed what's happening in Process Explorer and noticed that control.exe and rundll32.exe do not spawn when calling the file from a remote URL (for control loader).

from scarecrow.

Tylous avatar Tylous commented on September 3, 2024

Update: I have a working PoC. I am not 100% what it was by it was related to the rebuilding of the .cpl file on disk. I am gonna do some more testing but I should have an update in a day to address this.

from scarecrow.

zyk11 avatar zyk11 commented on September 3, 2024

Awesome. Would love to hear more about the root cause.

from scarecrow.

Tylous avatar Tylous commented on September 3, 2024

Code pushed in 2.1. Please try it out.

from scarecrow.

zyk11 avatar zyk11 commented on September 3, 2024

Just tested it out using the Control loader and HTA delivery, and it worked perfectly when calling it with mshta.exe .
May I ask what the issue was with the original code and how did you fix it?

Thanks a lot! This framework is underrated :)

from scarecrow.

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.