VBS SYSMON Dectection

Scripting MITRE ATT&CK T1064:

This is neither an in-depth nor a static analysis of the malware; just the SYSMON attributes for detection. For more information of SYSMON please post “Sysmon: Gaining Visibility Into Your Enterprise”.

Adversaries may use scripts to aid in operations and perform multiple actions that would otherwise be manual. Scripting is useful for speeding up operational tasks and reducing the time required to gain access to critical resources. Some scripting languages may be used to bypass process monitoring mechanisms by directly interacting with the operating system at an API level instead of calling other programs. Common scripting languages for Windows include VBScript and PowerShell but could also be in the form of command-line batch scripts[1].

The malware sample was provided by malware-traffic-analysis.net[2].

Detection with SYSMON:

1.  Event equals "1"
2. CommandLine contains "WScript.exe"
3. CommandLine contains "C:\Users"
4. CommandLine contains VBS scripts

1.   Event equals "1"
2-3. CommandLine with powershell.exe and base64 text
4. ParentCommandLine same as above. 



1.  Event equals "1"
2. ParentCommandLine contains powershell
3.CommandLine contains "schtask.exe" and VBS script


  

1. Event equals "3"
2. Image contains "powershell.exe" 
3. DestionationIP is to internet


Bibliography:

  1. ^ MITRE (2017-05-31). "Scripting ". https://attack.mitre.org/techniques/T1064/
  2. ^ malware-traffic-analysis.net (2020-04-02). https://www.malware-traffic-analysis.net/2020/04/02/index.html


Comments

Popular posts from this blog

Mapping CIS Critical Controls to Gartner Markets

Malware Can Hide But It Must Run

PCAP Doesn't Lie Part 2