Analysis of PIKABOT INFECTION WITH COBALT STRIKE

Thank You 

 The malware in this analysis came from MALWARE-TRAFFIC-ANALYSIS.NET (https://www.malware-traffic-analysis.net/2023/10/03/index.html).

 Analysis

 The initial infection came from an email attachment containing a shortcut file that was a double file.


 The command line argument for the shortcut file was an officiated CURL command that downloaded the payload.

Below is yara rule to detect link files that call cmd.exe. (Note: rule needs to run on yara 4.4.0 or greater.)

 rule link_file_calling_cmd
{
    strings:
        $s0 = "cmd.exe" nocase
    condition:
        $s0 and lnk.is_lnk
}

Below is the EXIF information for the payload.

 


The payload sets persistence by creating the Windows registry “HKCU\Sofware\Microsoft\podogyniu” and string value (Birdman).

 The string value is base64 encoded PowerShell script that attempts to connect to a list of IP addresses. 

 


 The PowerShell in the registry is called by a scheduled task that is created by the payload.


 

 

What's Next?

The next step in the analysis will be to create Sigma rule!

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