Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/01/2023, 01:53

General

  • Target
    file.exe
  • Size 268KB
  • Sample230111-cayzraab99
  • SHA256 f9cd99fff57712833e64a4db5f3db3341dbf480f53bc2cd81fb5470eecc08ea8
  • 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 3 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:1800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkfiwti\
      2⤵
        PID:3524
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\grnsjcod.exe" C:\Windows\SysWOW64\hkfiwti\
        2⤵
          PID:4928
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hkfiwti binPath= "C:\Windows\SysWOW64\hkfiwti\grnsjcod.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hkfiwti "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hkfiwti
          2⤵
          • Launches sc.exe
          PID:3716
        • 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:4540
      • C:\Windows\SysWOW64\hkfiwti\grnsjcod.exe
        C:\Windows\SysWOW64\hkfiwti\grnsjcod.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4312
        • 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:1004
          • 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:3360
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4312 -s 664
          2⤵
          • Program crash
          PID:1888
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4312 -s 908
          2⤵
          • Program crash
          PID:3244
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4312 -s 932
          2⤵
          • Program crash
          PID:3432
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4312 -ip 4312
        1⤵
          PID:2092
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4312 -ip 4312
          1⤵
            PID:2796
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4312 -ip 4312
            1⤵
              PID:3096

            Network

                  MITRE ATT&CK Enterprise v6

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  grnsjcod.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\grnsjcod.exe
                  • Size 11.9MB
                  • SHA256 39de1fd90ef1a93b3934523639391e279902e9a9100c3ed356dd9a535a88a659
                  • MD5 SHA1 SHA512 SSDEEP

                  grnsjcod.exe

                  • Path C:\Windows\SysWOW64\hkfiwti\grnsjcod.exe
                  • Size 11.9MB
                  • SHA256 39de1fd90ef1a93b3934523639391e279902e9a9100c3ed356dd9a535a88a659
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/1004-145-0x0000000000E80000-0x0000000000E95000-memory.dmp

                  memory/1004-167-0x0000000002FF0000-0x0000000002FF7000-memory.dmp

                  memory/1004-164-0x0000000007A00000-0x0000000007E0B000-memory.dmp

                  memory/1004-161-0x0000000002FE0000-0x0000000002FE5000-memory.dmp

                  memory/1004-158-0x0000000002D10000-0x0000000002D20000-memory.dmp

                  memory/1004-155-0x00000000021F0000-0x00000000021F6000-memory.dmp

                  memory/1004-152-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                  memory/1004-151-0x0000000000E80000-0x0000000000E95000-memory.dmp

                  memory/1004-149-0x0000000000E80000-0x0000000000E95000-memory.dmp

                  memory/1800-133-0x0000000002EBD000-0x0000000002ECE000-memory.dmp

                  memory/1800-135-0x0000000000400000-0x0000000002BAB000-memory.dmp

                  memory/1800-134-0x0000000002CF0000-0x0000000002D03000-memory.dmp

                  memory/1800-143-0x0000000000400000-0x0000000002BAB000-memory.dmp

                  memory/3360-171-0x0000000000800000-0x00000000008F1000-memory.dmp

                  memory/3360-176-0x0000000000800000-0x00000000008F1000-memory.dmp

                  memory/4312-150-0x0000000000400000-0x0000000002BAB000-memory.dmp

                  memory/4312-148-0x0000000002D48000-0x0000000002D59000-memory.dmp