Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-10-2023 06:57

General

  • Target

    file.exe

  • Size

    294KB

  • MD5

    44b65e6b1c5c97f08604d6386e073755

  • SHA1

    ef3a38c06da42adf5855c9ca04afc3a264189abb

  • SHA256

    6414aa1f08ec3168c6c2630d3ebd5d9a184c0520bfa3c8018d23e74ee088021c

  • SHA512

    bd397b6eafdecfa6e72bb990757650566512a4c7eb12d75479fa9ef7a481542be9ccb57f538f0ed4d2e4fe77444c3aa99043b0b78663d8c740f6736ec8d84e60

  • SSDEEP

    6144:U5ZKe+CEiMKqR3p5X0WVKwn01r7ufeQRM:UzB+CEfv3p5XtVKpCmQ

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) 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 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).

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 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:1812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qgzyyuyk\
      2⤵
        PID:4348
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\htbyerxv.exe" C:\Windows\SysWOW64\qgzyyuyk\
        2⤵
          PID:792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qgzyyuyk binPath= "C:\Windows\SysWOW64\qgzyyuyk\htbyerxv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qgzyyuyk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qgzyyuyk
          2⤵
          • Launches sc.exe
          PID:3128
        • 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:3976
      • C:\Windows\SysWOW64\qgzyyuyk\htbyerxv.exe
        C:\Windows\SysWOW64\qgzyyuyk\htbyerxv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:412
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3820

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        1ada06449ee97a8318bfe6bf26515ad2

        SHA1

        d346823b952c53974eaf085be804ef08dced6521

        SHA256

        7e7447ab5c043b947c8cf22b55fba98fe7d841071d9bcb2ed0521f4a50125fcd

        SHA512

        a00fc5ff3aad0d9dc02e5c38ab51e2480d9feeb6da2f28b83bba8c4f99a8ceb9917e52d54497cc1378304d036d179056cb307f3c0f59fb0da768538bebbaf52b

      • C:\Windows\SysWOW64\qgzyyuyk\htbyerxv.exe

        Filesize

        11.3MB

        MD5

        1ada06449ee97a8318bfe6bf26515ad2

        SHA1

        d346823b952c53974eaf085be804ef08dced6521

        SHA256

        7e7447ab5c043b947c8cf22b55fba98fe7d841071d9bcb2ed0521f4a50125fcd

        SHA512

        a00fc5ff3aad0d9dc02e5c38ab51e2480d9feeb6da2f28b83bba8c4f99a8ceb9917e52d54497cc1378304d036d179056cb307f3c0f59fb0da768538bebbaf52b

      • memory/412-15-0x0000000000400000-0x0000000002287000-memory.dmp

        Filesize

        30.5MB

      • memory/412-12-0x0000000002670000-0x0000000002770000-memory.dmp

        Filesize

        1024KB

      • memory/412-18-0x0000000000400000-0x0000000002287000-memory.dmp

        Filesize

        30.5MB

      • memory/1812-2-0x0000000003FD0000-0x0000000003FE3000-memory.dmp

        Filesize

        76KB

      • memory/1812-4-0x0000000000400000-0x0000000002287000-memory.dmp

        Filesize

        30.5MB

      • memory/1812-7-0x0000000000400000-0x0000000002287000-memory.dmp

        Filesize

        30.5MB

      • memory/1812-9-0x0000000002320000-0x0000000002420000-memory.dmp

        Filesize

        1024KB

      • memory/1812-10-0x0000000003FD0000-0x0000000003FE3000-memory.dmp

        Filesize

        76KB

      • memory/1812-1-0x0000000002320000-0x0000000002420000-memory.dmp

        Filesize

        1024KB

      • memory/3820-33-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-40-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-17-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/3820-20-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/3820-22-0x0000000002C00000-0x0000000002E0F000-memory.dmp

        Filesize

        2.1MB

      • memory/3820-25-0x0000000002C00000-0x0000000002E0F000-memory.dmp

        Filesize

        2.1MB

      • memory/3820-26-0x0000000002310000-0x0000000002316000-memory.dmp

        Filesize

        24KB

      • memory/3820-29-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-32-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-13-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/3820-34-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-35-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-36-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-37-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-38-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-19-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/3820-39-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-41-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-42-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-43-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-44-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-46-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-45-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-47-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-48-0x0000000002320000-0x0000000002330000-memory.dmp

        Filesize

        64KB

      • memory/3820-49-0x00000000023F0000-0x00000000023F5000-memory.dmp

        Filesize

        20KB

      • memory/3820-52-0x00000000023F0000-0x00000000023F5000-memory.dmp

        Filesize

        20KB

      • memory/3820-53-0x0000000007B40000-0x0000000007F4B000-memory.dmp

        Filesize

        4.0MB

      • memory/3820-57-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/3820-56-0x0000000007B40000-0x0000000007F4B000-memory.dmp

        Filesize

        4.0MB

      • memory/3820-58-0x00000000031D0000-0x00000000031D7000-memory.dmp

        Filesize

        28KB