Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-06-2024 02:17

General

  • Target

    a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9.exe

  • Size

    310KB

  • MD5

    b2de784471ee083a4a7e2d6f3057e00c

  • SHA1

    03e5e0fd35a1eba05ddb6d0c4f4a9d8c8d4c67a3

  • SHA256

    a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9

  • SHA512

    5aa37e1305403375b475df3abb5cb60aa6ae4e2f5f07b4d45828c67ef7591e931b7155e135d4898dc982404042dfaa7adb02f9fd12a8336b9cd30955f08125fb

  • SSDEEP

    3072:iPlmU+ROj7FN7oY9hjFJBqqKjOyTpZHNBmN+tTJfNr+1QbSoymwTTuB:iPX+RAxoYzMF5TpZtBmwG0SdTy

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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 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).

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9.exe
    "C:\Users\Admin\AppData\Local\Temp\a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kiivjrcy\
      2⤵
        PID:3228
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xvfgiehn.exe" C:\Windows\SysWOW64\kiivjrcy\
        2⤵
          PID:1972
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kiivjrcy binPath= "C:\Windows\SysWOW64\kiivjrcy\xvfgiehn.exe /d\"C:\Users\Admin\AppData\Local\Temp\a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kiivjrcy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3256
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kiivjrcy
          2⤵
          • Launches sc.exe
          PID:1504
        • 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:2056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2548 -s 1312
          2⤵
          • Program crash
          PID:644
      • C:\Windows\SysWOW64\kiivjrcy\xvfgiehn.exe
        C:\Windows\SysWOW64\kiivjrcy\xvfgiehn.exe /d"C:\Users\Admin\AppData\Local\Temp\a58c26dd8d015d4e3b081b09c3b21f1cff71e42abe545d90872c2eef003d51c9.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1804
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3864
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1804 -s 508
          2⤵
          • Program crash
          PID:4916
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2548 -ip 2548
        1⤵
          PID:3880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1804 -ip 1804
          1⤵
            PID:3972
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1328 --field-trial-handle=3060,i,1774866140584649235,8085848018931772189,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4540

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              11.6MB

              MD5

              80e046232ebeacce5d057400ae807016

              SHA1

              e596c55993cecff6d31e1b937659f5a78ba43ce5

              SHA256

              620a107247e02c100556d5f816601f4d2f796f976124f3b8c85bd7df2fd20751

              SHA512

              99409e9f79c90859f46964734d39dc1cd37b926ce4d177f89cd92dee19ed34d776af13a7bba7c9c3bba2a45f9dfc931abfb91929d5f9b12b6037328815cd32b0

            • memory/1804-15-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/1804-13-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/1804-14-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/1804-20-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/2548-4-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/2548-9-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/2548-10-0x00000000005C0000-0x00000000005D3000-memory.dmp

              Filesize

              76KB

            • memory/2548-11-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/2548-7-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/2548-3-0x0000000000400000-0x000000000045E000-memory.dmp

              Filesize

              376KB

            • memory/2548-2-0x00000000005C0000-0x00000000005D3000-memory.dmp

              Filesize

              76KB

            • memory/2548-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

              Filesize

              1024KB

            • memory/3864-37-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-58-0x00000000027E0000-0x00000000027E7000-memory.dmp

              Filesize

              28KB

            • memory/3864-21-0x00000000006C0000-0x00000000006D5000-memory.dmp

              Filesize

              84KB

            • memory/3864-23-0x0000000002400000-0x000000000260F000-memory.dmp

              Filesize

              2.1MB

            • memory/3864-26-0x0000000002400000-0x000000000260F000-memory.dmp

              Filesize

              2.1MB

            • memory/3864-30-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-27-0x0000000001B60000-0x0000000001B66000-memory.dmp

              Filesize

              24KB

            • memory/3864-16-0x00000000006C0000-0x00000000006D5000-memory.dmp

              Filesize

              84KB

            • memory/3864-49-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-48-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-47-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-53-0x00000000027D0000-0x00000000027D5000-memory.dmp

              Filesize

              20KB

            • memory/3864-57-0x0000000007280000-0x000000000768B000-memory.dmp

              Filesize

              4.0MB

            • memory/3864-54-0x0000000007280000-0x000000000768B000-memory.dmp

              Filesize

              4.0MB

            • memory/3864-50-0x00000000027D0000-0x00000000027D5000-memory.dmp

              Filesize

              20KB

            • memory/3864-18-0x00000000006C0000-0x00000000006D5000-memory.dmp

              Filesize

              84KB

            • memory/3864-46-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-45-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-44-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-43-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-42-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-41-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-40-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-39-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-38-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-36-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-35-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-34-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB

            • memory/3864-33-0x0000000001B70000-0x0000000001B80000-memory.dmp

              Filesize

              64KB