Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2023 14:19

General

  • Target

    file.exe

  • Size

    213KB

  • MD5

    d2094e5b150e93824c03c5de2a70a6f3

  • SHA1

    aec0ad2bba9c795f70a192f67a48b049ebfc1b4a

  • SHA256

    781d970efbd869d9f9d6133d4c5fd95e886be5d865be20520c4c9b646292a114

  • SHA512

    49094072b9f3a1e21b0c8d234ce1585a77c627567beba58c4ce3816546eeab634e702d33795b52b29576d6b7feb0a9ee422304bd41110987169568ab37386e60

  • SSDEEP

    6144:NB4zZU424TLgM23XjrgmETzpU3LvUUUv7iM:7cZY4TUM23TqV7

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:2412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pwcotmdl\
      2⤵
        PID:3052
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vyvofhbr.exe" C:\Windows\SysWOW64\pwcotmdl\
        2⤵
          PID:1952
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pwcotmdl binPath= "C:\Windows\SysWOW64\pwcotmdl\vyvofhbr.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pwcotmdl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4420
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pwcotmdl
          2⤵
          • Launches sc.exe
          PID:704
        • 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:1988
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2412 -s 1220
          2⤵
          • Program crash
          PID:3324
      • C:\Windows\SysWOW64\pwcotmdl\vyvofhbr.exe
        C:\Windows\SysWOW64\pwcotmdl\vyvofhbr.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:540
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 540 -s 532
          2⤵
          • Program crash
          PID:4732
        • 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:936
          • 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:2984
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2412 -ip 2412
        1⤵
          PID:484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 564 -p 540 -ip 540
          1⤵
            PID:4056

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.9MB

            MD5

            83fd42102a2f9b8168131f30067222d9

            SHA1

            e741c769416e46b40679b2adcbdd2dcaafea4d1b

            SHA256

            1f2239edea389edecbc3f0657645d0aeaf49fb6a71efb3e68a3b2612619fd1cc

            SHA512

            c52038043cfe40ba3fe9f0ae856e33b14cc74781485cced67090f0d76168ba99e79171b8a83704b527621e531b9a9d61d76fae6e9042cef2f77a7bb91ecfc4ab

          • C:\Windows\SysWOW64\pwcotmdl\vyvofhbr.exe

            Filesize

            14.9MB

            MD5

            83fd42102a2f9b8168131f30067222d9

            SHA1

            e741c769416e46b40679b2adcbdd2dcaafea4d1b

            SHA256

            1f2239edea389edecbc3f0657645d0aeaf49fb6a71efb3e68a3b2612619fd1cc

            SHA512

            c52038043cfe40ba3fe9f0ae856e33b14cc74781485cced67090f0d76168ba99e79171b8a83704b527621e531b9a9d61d76fae6e9042cef2f77a7bb91ecfc4ab

          • memory/540-144-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/936-184-0x00000000021E0000-0x00000000021E7000-memory.dmp

            Filesize

            28KB

          • memory/936-149-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/936-140-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/936-183-0x0000000008040000-0x000000000844B000-memory.dmp

            Filesize

            4.0MB

          • memory/936-159-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-160-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-148-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/936-172-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-152-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/936-153-0x0000000000FF0000-0x0000000000FF6000-memory.dmp

            Filesize

            24KB

          • memory/936-156-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-169-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-168-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-179-0x00000000021D0000-0x00000000021D5000-memory.dmp

            Filesize

            20KB

          • memory/936-180-0x0000000008040000-0x000000000844B000-memory.dmp

            Filesize

            4.0MB

          • memory/936-176-0x00000000021D0000-0x00000000021D5000-memory.dmp

            Filesize

            20KB

          • memory/936-175-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-174-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-173-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-161-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-145-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/936-143-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/936-146-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/936-171-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-170-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-167-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-166-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-165-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-162-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-164-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/936-163-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/2412-135-0x0000000000740000-0x0000000000753000-memory.dmp

            Filesize

            76KB

          • memory/2412-139-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/2984-194-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-196-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-198-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-197-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-199-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-195-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-193-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB

          • memory/2984-188-0x0000000000C50000-0x0000000000D41000-memory.dmp

            Filesize

            964KB