Analysis

  • max time kernel
    163s
  • max time network
    168s
  • 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 18:16

General

  • Target

    file.exe

  • Size

    275KB

  • MD5

    5ba507f12eb9410bc6b6e6f6405fad9c

  • SHA1

    05a44ad00b12db2758dec40cd287e541988c9493

  • SHA256

    8c1ed5f19fc64f6ddce49308b51d2e5ad445145558c4a67954ba4ea617c134f0

  • SHA512

    989bbc1c9f61dee17e35cc5d16bba667a54d1b974ed45c517575102a635edf967fe1ca4c4581eae9b42a88d11cf5eb9fd073a1a2bd782afe8891e0d3124a1e5d

  • SSDEEP

    3072:KB7tgGIXoBno64T/giFbDrQxoKI1R9JPnC50vBJ0nPr:Eg0o6AdDGor1/xrvBAr

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 1 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:4960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vfzqxcfn\
      2⤵
        PID:2568
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhpmsflj.exe" C:\Windows\SysWOW64\vfzqxcfn\
        2⤵
          PID:4596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vfzqxcfn binPath= "C:\Windows\SysWOW64\vfzqxcfn\vhpmsflj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1088
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vfzqxcfn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4828
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vfzqxcfn
          2⤵
          • Launches sc.exe
          PID:3424
        • 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:4536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4960 -s 1036
          2⤵
          • Program crash
          PID:1612
      • C:\Windows\SysWOW64\vfzqxcfn\vhpmsflj.exe
        C:\Windows\SysWOW64\vfzqxcfn\vhpmsflj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4132
        • 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:4240
          • 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:3568
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 400 -p 4960 -ip 4960
        1⤵
          PID:3132

        Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          11.5MB

          MD5

          a6925efe12b2ca53668b86eec40c5bdf

          SHA1

          045b292c2d7c8fde54f3d1fa9908df8a17f95338

          SHA256

          ebb02fb61b1c6be1ddf4b630e1fcc2d322cf0894703fbdc97928a3d3240e6f4f

          SHA512

          aa09b6d81f45bd088df9343b36d21cffa1e42176007ac4adc14251859370506a9b2188db43e6d9a425013fa6d64e82ce4837b43fd1288f10214913be2da8aaa9

        • C:\Windows\SysWOW64\vfzqxcfn\vhpmsflj.exe

          Filesize

          11.5MB

          MD5

          a6925efe12b2ca53668b86eec40c5bdf

          SHA1

          045b292c2d7c8fde54f3d1fa9908df8a17f95338

          SHA256

          ebb02fb61b1c6be1ddf4b630e1fcc2d322cf0894703fbdc97928a3d3240e6f4f

          SHA512

          aa09b6d81f45bd088df9343b36d21cffa1e42176007ac4adc14251859370506a9b2188db43e6d9a425013fa6d64e82ce4837b43fd1288f10214913be2da8aaa9

        • memory/3568-188-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-197-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-199-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-198-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-196-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-195-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-194-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/3568-193-0x00000000004B0000-0x00000000005A1000-memory.dmp

          Filesize

          964KB

        • memory/4132-142-0x0000000000400000-0x00000000004B3000-memory.dmp

          Filesize

          716KB

        • memory/4240-167-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-174-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-156-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-159-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-160-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-161-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-162-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-163-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-164-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-165-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-166-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-139-0x00000000009D0000-0x00000000009E5000-memory.dmp

          Filesize

          84KB

        • memory/4240-168-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-169-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-170-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-171-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-173-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-153-0x0000000001F40000-0x0000000001F46000-memory.dmp

          Filesize

          24KB

        • memory/4240-172-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-175-0x0000000001F50000-0x0000000001F60000-memory.dmp

          Filesize

          64KB

        • memory/4240-176-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

          Filesize

          20KB

        • memory/4240-179-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

          Filesize

          20KB

        • memory/4240-180-0x0000000007780000-0x0000000007B8B000-memory.dmp

          Filesize

          4.0MB

        • memory/4240-183-0x0000000007780000-0x0000000007B8B000-memory.dmp

          Filesize

          4.0MB

        • memory/4240-184-0x0000000001FF0000-0x0000000001FF7000-memory.dmp

          Filesize

          28KB

        • memory/4240-152-0x0000000002800000-0x0000000002A0F000-memory.dmp

          Filesize

          2.1MB

        • memory/4240-149-0x0000000002800000-0x0000000002A0F000-memory.dmp

          Filesize

          2.1MB

        • memory/4240-148-0x00000000009D0000-0x00000000009E5000-memory.dmp

          Filesize

          84KB

        • memory/4240-146-0x00000000009D0000-0x00000000009E5000-memory.dmp

          Filesize

          84KB

        • memory/4240-145-0x00000000009D0000-0x00000000009E5000-memory.dmp

          Filesize

          84KB

        • memory/4240-144-0x00000000009D0000-0x00000000009E5000-memory.dmp

          Filesize

          84KB

        • memory/4960-143-0x0000000000400000-0x00000000004B3000-memory.dmp

          Filesize

          716KB

        • memory/4960-135-0x0000000000530000-0x0000000000543000-memory.dmp

          Filesize

          76KB