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
    16-04-2023 03:44

General

  • Target

    file.exe

  • Size

    348KB

  • MD5

    ab34b13392e607a878a108d6705e3907

  • SHA1

    f3af29d68d7c99b594bb2b9de122824eae3ed343

  • SHA256

    e5988d6453c4830066089250a0a014265e6275e2b8598dee940b56b34410cbe6

  • SHA512

    43bc4575fe434ac83a2070ad5faf5b516bdaff2e20230ff6fb193f46bf876b0b7d107a89299353c7754b90ccaa4e4418ade2344258227694bee05e08458e5ebc

  • SSDEEP

    6144:z46ChoCA3cTwoUNwMXGi7BbCu1B8hy0Hbe4:z4LhltTwoUN7XBohtHq4

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:4672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uurqjlwk\
      2⤵
        PID:2044
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aynvoezv.exe" C:\Windows\SysWOW64\uurqjlwk\
        2⤵
          PID:3484
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uurqjlwk binPath= "C:\Windows\SysWOW64\uurqjlwk\aynvoezv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uurqjlwk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4448
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uurqjlwk
          2⤵
          • Launches sc.exe
          PID:4536
        • 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:3444
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4672 -s 1164
          2⤵
          • Program crash
          PID:2752
      • C:\Windows\SysWOW64\uurqjlwk\aynvoezv.exe
        C:\Windows\SysWOW64\uurqjlwk\aynvoezv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2932
        • 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:1156
          • 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:4648
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2932 -s 512
          2⤵
          • Program crash
          PID:1876
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4672 -ip 4672
        1⤵
          PID:3936
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2932 -ip 2932
          1⤵
            PID:3548

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.0MB

            MD5

            88ef572ba44781d5af5fcaa27164a897

            SHA1

            bf2e9ab4e2769e99592f7fbb31f051ff7a199a7d

            SHA256

            f97620969d28ec69a9b4f910b06621fa1adbae2b66e5cdaeb91af899f2e15cac

            SHA512

            bf9b3358ef5eabe1961fd5bca80716059a14a88f4b853c6c69e56db884fbe7c6645903d385bb1ec643968d30397297d35d92552c0218ece6ad839d098bfea269

          • C:\Windows\SysWOW64\uurqjlwk\aynvoezv.exe

            Filesize

            14.0MB

            MD5

            88ef572ba44781d5af5fcaa27164a897

            SHA1

            bf2e9ab4e2769e99592f7fbb31f051ff7a199a7d

            SHA256

            f97620969d28ec69a9b4f910b06621fa1adbae2b66e5cdaeb91af899f2e15cac

            SHA512

            bf9b3358ef5eabe1961fd5bca80716059a14a88f4b853c6c69e56db884fbe7c6645903d385bb1ec643968d30397297d35d92552c0218ece6ad839d098bfea269

          • memory/1156-175-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-151-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

            Filesize

            84KB

          • memory/1156-173-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-146-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

            Filesize

            84KB

          • memory/1156-147-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

            Filesize

            84KB

          • memory/1156-163-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-149-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

            Filesize

            84KB

          • memory/1156-174-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

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

            Filesize

            2.1MB

          • memory/1156-155-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/1156-156-0x00000000021D0000-0x00000000021D6000-memory.dmp

            Filesize

            24KB

          • memory/1156-159-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-187-0x0000000002FD0000-0x0000000002FD7000-memory.dmp

            Filesize

            28KB

          • memory/1156-166-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-165-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-168-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-169-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-170-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-172-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-171-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-162-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-164-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-143-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

            Filesize

            84KB

          • memory/1156-179-0x00000000021F0000-0x00000000021F5000-memory.dmp

            Filesize

            20KB

          • memory/1156-182-0x00000000021F0000-0x00000000021F5000-memory.dmp

            Filesize

            20KB

          • memory/1156-183-0x0000000007A40000-0x0000000007E4B000-memory.dmp

            Filesize

            4.0MB

          • memory/1156-178-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-177-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-176-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-167-0x00000000021E0000-0x00000000021F0000-memory.dmp

            Filesize

            64KB

          • memory/1156-186-0x0000000007A40000-0x0000000007E4B000-memory.dmp

            Filesize

            4.0MB

          • memory/2932-148-0x0000000000400000-0x00000000007FC000-memory.dmp

            Filesize

            4.0MB

          • memory/4648-191-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-196-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-197-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-198-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-200-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-199-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-201-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4648-202-0x00000000003E0000-0x00000000004D1000-memory.dmp

            Filesize

            964KB

          • memory/4672-141-0x0000000000400000-0x00000000007FC000-memory.dmp

            Filesize

            4.0MB

          • memory/4672-138-0x0000000000980000-0x0000000000993000-memory.dmp

            Filesize

            76KB