Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2023 22:01

General

  • Target

    file.exe

  • Size

    351KB

  • MD5

    ef79d6bacf2589c7826c45c2c759ef97

  • SHA1

    8568e58f607d82e955575bca5fe9c5a81e95affa

  • SHA256

    544dea0e331e8457342d189dd590f1b87413239d33f428873f9d5787cd28add6

  • SHA512

    afe0c8c9bc9ed00cceb6bbef8fbd5ba1a9433ffed43f9779220641cb654b2c93d9b08e4cbaf8bdfb48a58a74f3233c8d98cb4ad173baaf578e64670fde6564fb

  • SSDEEP

    6144:NHA+7C2MsWeqBLTKhC8jsofrVd8qgy8Iak82:NHl7FMfeqBL18XTVqpy

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:2864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jnnvuhxd\
      2⤵
        PID:800
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fmtwlzsc.exe" C:\Windows\SysWOW64\jnnvuhxd\
        2⤵
          PID:740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jnnvuhxd binPath= "C:\Windows\SysWOW64\jnnvuhxd\fmtwlzsc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2240
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jnnvuhxd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jnnvuhxd
          2⤵
          • Launches sc.exe
          PID:2216
        • 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:652
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2864 -s 1224
          2⤵
          • Program crash
          PID:1680
      • C:\Windows\SysWOW64\jnnvuhxd\fmtwlzsc.exe
        C:\Windows\SysWOW64\jnnvuhxd\fmtwlzsc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:224
        • 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:3976
          • 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:3564
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 512
          2⤵
          • Program crash
          PID:1972
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2864 -ip 2864
        1⤵
          PID:2764
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 188 -p 224 -ip 224
          1⤵
            PID:4044

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.4MB

            MD5

            15ee369cd4a4ab34894bc83d8f755bae

            SHA1

            26cf59b6db5945f4a5bd44d2654a0279a7222ffa

            SHA256

            1c047217e4d0d41792d37243b611cfc38bed64e630e58562f440d5a5f0d1b5a6

            SHA512

            9bc77f6cc8c31a9938b626a40687a65839bdd7c4b01828b2d29be8f3f8cf04b22a9cd2689453fe57d7f924eddec22e751892839528783b49fdd3c1f8c7719488

          • C:\Windows\SysWOW64\jnnvuhxd\fmtwlzsc.exe

            Filesize

            13.4MB

            MD5

            15ee369cd4a4ab34894bc83d8f755bae

            SHA1

            26cf59b6db5945f4a5bd44d2654a0279a7222ffa

            SHA256

            1c047217e4d0d41792d37243b611cfc38bed64e630e58562f440d5a5f0d1b5a6

            SHA512

            9bc77f6cc8c31a9938b626a40687a65839bdd7c4b01828b2d29be8f3f8cf04b22a9cd2689453fe57d7f924eddec22e751892839528783b49fdd3c1f8c7719488

          • memory/224-145-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/2864-135-0x0000000002540000-0x0000000002553000-memory.dmp

            Filesize

            76KB

          • memory/2864-138-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/3564-197-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-198-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-199-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-196-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-195-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-194-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-193-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3564-188-0x0000000000C00000-0x0000000000CF1000-memory.dmp

            Filesize

            964KB

          • memory/3976-167-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-173-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-160-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-161-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-162-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-163-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-164-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-165-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-166-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-156-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-168-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-169-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-170-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-171-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-172-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-159-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-174-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-175-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

            Filesize

            64KB

          • memory/3976-176-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            Filesize

            20KB

          • memory/3976-179-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            Filesize

            20KB

          • memory/3976-180-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3976-183-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3976-184-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

            Filesize

            28KB

          • memory/3976-153-0x0000000001DA0000-0x0000000001DA6000-memory.dmp

            Filesize

            24KB

          • memory/3976-152-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/3976-149-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/3976-148-0x0000000000A30000-0x0000000000A45000-memory.dmp

            Filesize

            84KB

          • memory/3976-146-0x0000000000A30000-0x0000000000A45000-memory.dmp

            Filesize

            84KB

          • memory/3976-144-0x0000000000A30000-0x0000000000A45000-memory.dmp

            Filesize

            84KB

          • memory/3976-143-0x0000000000A30000-0x0000000000A45000-memory.dmp

            Filesize

            84KB

          • memory/3976-140-0x0000000000A30000-0x0000000000A45000-memory.dmp

            Filesize

            84KB