Git Product home page Git Product logo

testthreathunting's Introduction

TestThreatHunting

Using mshta.exe to preform scripts inline or from a URL

Test the following:

Files

What is SCT file extension

Component Object Model (COM) is a software component of windows as they store the scripts of software products installed on the user machine. This script includes (VBScript, JavaScript, or JScript, etc.), this unmanaged codes are stored in .SCT format.

What is HTA file extension

HTML Application (HTA) files have the file extension hta.HTA's are standalone applications that execute using the same models and technologies of Internet Explorer, but outside of the browser.

List of files

  • MaliciousHTA.hta:

    • This files contains a HTML code with VBScript saved in HTA file that will run a calculator.
  • JS_URL.hta:

    • contains an HTML code with JavaScript that will run a script from a URL.
  • m.hta:

    • This files contains a HTML code with VBScript saved in HTA file that will run a calculator.
  • test1.hta:

    • An HTML code conatins VBScript save in HTA file that will run a calculator sing the Wscript.Shell.
  • test2.hta:

    • An HTML code conatins VBScript save in HTA file that will run a PowerShell command to download a text file.
  • Hello.sct:

    • This files contains a HTML code with a JScript saved in SCT file that was trying to run a command in the cmd to print "hello". (wasnt successful)
  • PS1.sct:

    • Contains a XML code with JScript that will run calculator. (working)
  • PS2.sct:

    • Contains a XML code with JScript that will run PowerShell.
  • hello1.sct:

    • Contains a XML code with JScript that I was trying to print hello in the cmd terminal but didnt work.
  • payload.sct:

    • Contains a XML code with JScript that will run a PowerShell command to download a text file.
  • test.sct:

    • Contains a XML code with JScript that will run a PowerShell with nameing "myps.exe". This is specifically designed for test purposes.

testthreathunting's People

Contributors

0xmo 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.