Detecting Qakbot with SYSMON
This post is the detection of Qakbot with SYSMON[1]. This is sample was obtained from malware-traffic-analysis.net[2].
Qakbot uses MITRE ATT&CK T1064 (Scripting) [3] specifically the binary wscript.exe calling a VBS script. There for to detect this behavior I looked for any SYSMON events id 1 (process creation) that command line called wscript.exe.
I then attempted to look for additional processes that parent process ID matched the process ID of the above SYSMON event id 1 (process creation). There were no matches.
I then looked for SYSMON event 3 (network connections) that process matched the process ID of the Qakbot process. VBS script then attempted to connect to several public IPs, which are the output of the PowerShell below. Unfortunately this sample does not appear to successfully down and additional payload.
Qakbot uses MITRE ATT&CK T1064 (Scripting) [3] specifically the binary wscript.exe calling a VBS script. There for to detect this behavior I looked for any SYSMON events id 1 (process creation) that command line called wscript.exe.
- Command line calling wscript.exe
- Command line calling VBS file
I then attempted to look for additional processes that parent process ID matched the process ID of the above SYSMON event id 1 (process creation). There were no matches.
I then looked for SYSMON event 3 (network connections) that process matched the process ID of the Qakbot process. VBS script then attempted to connect to several public IPs, which are the output of the PowerShell below. Unfortunately this sample does not appear to successfully down and additional payload.
- Match process ID of SYMON event id 3 (network connections) to the process ID of wscript.exe process from SYSMON event id 1 (process creation)
- Output destination IP
- Destination IP that matches process ID

Comments
Post a Comment