Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/01/2023, 16:11

General

  • Target
    file.exe
  • Size 264KB
  • Sample230108-tmx2nahd9y
  • SHA256 ad7e3fe6ec5bde1607526db5fdf6706beeff4b6e268137fa2da23f8d5231b40d
  • 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:4720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjoohyat\
      2⤵
        PID:4632
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rgurkqmp.exe" C:\Windows\SysWOW64\bjoohyat\
        2⤵
          PID:4232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bjoohyat binPath= "C:\Windows\SysWOW64\bjoohyat\rgurkqmp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3488
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bjoohyat "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1192
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bjoohyat
          2⤵
          • Launches sc.exe
          PID:1616
        • 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:1264
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4720 -s 1036
          2⤵
          • Program crash
          PID:2316
      • C:\Windows\SysWOW64\bjoohyat\rgurkqmp.exe
        C:\Windows\SysWOW64\bjoohyat\rgurkqmp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2324
        • 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:344
          • 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:5084
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2324 -s 520
          2⤵
          • Program crash
          PID:4864
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4720 -ip 4720
        1⤵
          PID:4564
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 516 -p 2324 -ip 2324
          1⤵
            PID:208

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                rgurkqmp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\rgurkqmp.exe
                • Size 10.8MB
                • SHA256 829642e927db019ac7e31be86048f3db84797e4af1f24f4595a31a13208fea77
                • MD5 SHA1 SHA512 SSDEEP

                rgurkqmp.exe

                • Path C:\Windows\SysWOW64\bjoohyat\rgurkqmp.exe
                • Size 10.8MB
                • SHA256 829642e927db019ac7e31be86048f3db84797e4af1f24f4595a31a13208fea77
                • MD5 SHA1 SHA512 SSDEEP

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

                memory/344-161-0x00000000023D0000-0x00000000023D5000-memory.dmp

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

                memory/344-150-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/344-158-0x0000000002380000-0x0000000002390000-memory.dmp

                memory/344-155-0x0000000002370000-0x0000000002376000-memory.dmp

                memory/344-151-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/344-167-0x00000000023E0000-0x00000000023E7000-memory.dmp

                memory/344-145-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/2324-149-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/2324-148-0x0000000002DF9000-0x0000000002E09000-memory.dmp

                memory/4720-143-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/4720-137-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/4720-134-0x00000000047D0000-0x00000000047E3000-memory.dmp

                memory/4720-133-0x0000000002F2D000-0x0000000002F3D000-memory.dmp

                memory/5084-171-0x00000000006A0000-0x0000000000791000-memory.dmp

                memory/5084-176-0x00000000006A0000-0x0000000000791000-memory.dmp