Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/12/2022, 07:59

General

  • Target
    file.exe
  • Size 214KB
  • Sample221218-jvdymsba72
  • SHA256 a676f256cf40f020b5a34d73f20ca499ddd9f67cdaa73a4e28556f7140b836b6
  • 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.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 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:3376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fjgkbsax\
      2⤵
        PID:4440
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wzittppm.exe" C:\Windows\SysWOW64\fjgkbsax\
        2⤵
          PID:4872
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fjgkbsax binPath= "C:\Windows\SysWOW64\fjgkbsax\wzittppm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fjgkbsax "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fjgkbsax
          2⤵
          • Launches sc.exe
          PID:3132
        • 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:1276
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3376 -s 1040
          2⤵
          • Program crash
          PID:2364
      • C:\Windows\SysWOW64\fjgkbsax\wzittppm.exe
        C:\Windows\SysWOW64\fjgkbsax\wzittppm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4820
        • 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:2180
          • 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:1456
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4820 -s 528
          2⤵
          • Program crash
          PID:2992
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3376 -ip 3376
        1⤵
          PID:4896
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4820 -ip 4820
          1⤵
            PID:2224

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                wzittppm.exe

                • Path C:\Users\Admin\AppData\Local\Temp\wzittppm.exe
                • Size 13.3MB
                • SHA256 2b6b4210886507d92a3f487d66bddc5cefcbb22f74ea94506969bc472a4891eb
                • MD5 SHA1 SHA512 SSDEEP

                wzittppm.exe

                • Path C:\Windows\SysWOW64\fjgkbsax\wzittppm.exe
                • Size 13.3MB
                • SHA256 2b6b4210886507d92a3f487d66bddc5cefcbb22f74ea94506969bc472a4891eb
                • MD5 SHA1 SHA512 SSDEEP

                memory/1456-177-0x0000000000CF0000-0x0000000000DE1000-memory.dmp

                memory/1456-172-0x0000000000CF0000-0x0000000000DE1000-memory.dmp

                memory/2180-159-0x00000000025B0000-0x00000000025C0000-memory.dmp

                memory/2180-152-0x0000000001230000-0x0000000001245000-memory.dmp

                memory/2180-168-0x00000000025F0000-0x00000000025F7000-memory.dmp

                memory/2180-165-0x0000000008440000-0x000000000884B000-memory.dmp

                memory/2180-162-0x00000000025E0000-0x00000000025E5000-memory.dmp

                memory/2180-156-0x00000000025A0000-0x00000000025A6000-memory.dmp

                memory/2180-146-0x0000000001230000-0x0000000001245000-memory.dmp

                memory/2180-153-0x0000000002E00000-0x000000000300F000-memory.dmp

                memory/2180-151-0x0000000001230000-0x0000000001245000-memory.dmp

                memory/3376-144-0x0000000000400000-0x0000000000460000-memory.dmp

                memory/3376-143-0x00000000007A3000-0x00000000007B4000-memory.dmp

                memory/3376-135-0x0000000000400000-0x0000000000460000-memory.dmp

                memory/3376-134-0x0000000000600000-0x0000000000613000-memory.dmp

                memory/3376-133-0x00000000007A3000-0x00000000007B4000-memory.dmp

                memory/4820-150-0x0000000000400000-0x0000000000460000-memory.dmp

                memory/4820-149-0x00000000006BE000-0x00000000006CE000-memory.dmp