0xMo / TestThreatHunting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:HTML 100.0%