Analysis

  • max time kernel
    150s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    12-10-2023 12:10

General

  • Target

    file.exe

  • Size

    263KB

  • MD5

    4ebce96bc30f2e908aeceb841493059f

  • SHA1

    843e4e7b409d795ae93018a84cd223c844f7fa61

  • SHA256

    917bd9659af008782d039354a7e4404d075d444ba7c54f50bcb3c7cbe79c63f4

  • SHA512

    2b68299fbc20a01b51a9770aef637f15e9ea4420a0f2acbfdd377c241f0df3a7dd0cd2e2a5fd5e1067763ea606d47ce3a7db8f67e136b4e37598d68ce107f127

  • SSDEEP

    6144:6hbnS4HJdQtvKQ0u40sGlJgNkipt6pas:UbS4pdQtvKt5XEKKiT

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Modifies data under HKEY_USERS 5 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\btfodbgv\
      2⤵
        PID:2440
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pbresrjn.exe" C:\Windows\SysWOW64\btfodbgv\
        2⤵
          PID:2800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create btfodbgv binPath= "C:\Windows\SysWOW64\btfodbgv\pbresrjn.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description btfodbgv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start btfodbgv
          2⤵
          • Launches sc.exe
          PID:2772
        • 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:2552
      • C:\Windows\SysWOW64\btfodbgv\pbresrjn.exe
        C:\Windows\SysWOW64\btfodbgv\pbresrjn.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2620
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2488

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        8afd2e70658fb2429a036e4b8f8b3c98

        SHA1

        f55fa3f90a74d1df01e773161a87e1bacb3006ec

        SHA256

        f5f652c467f8628b5e2282f0716c330ebd0630fa13ccccf2879424443f0dc1d5

        SHA512

        68d3ee087ef4eb292dfbf218ee7b36825cd1a106b1953ebbec12085f52964289b805a79b0a104beea2751719c56c6a36cebf68d3673b07a5f98766eb8cbe67f2

      • C:\Windows\SysWOW64\btfodbgv\pbresrjn.exe

        Filesize

        14.4MB

        MD5

        8afd2e70658fb2429a036e4b8f8b3c98

        SHA1

        f55fa3f90a74d1df01e773161a87e1bacb3006ec

        SHA256

        f5f652c467f8628b5e2282f0716c330ebd0630fa13ccccf2879424443f0dc1d5

        SHA512

        68d3ee087ef4eb292dfbf218ee7b36825cd1a106b1953ebbec12085f52964289b805a79b0a104beea2751719c56c6a36cebf68d3673b07a5f98766eb8cbe67f2

      • memory/2000-12-0x0000000000400000-0x0000000000710000-memory.dmp

        Filesize

        3.1MB

      • memory/2000-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2000-3-0x0000000000400000-0x0000000000710000-memory.dmp

        Filesize

        3.1MB

      • memory/2000-1-0x00000000008C0000-0x00000000009C0000-memory.dmp

        Filesize

        1024KB

      • memory/2488-34-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-36-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-59-0x00000000001F0000-0x00000000001F7000-memory.dmp

        Filesize

        28KB

      • memory/2488-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2488-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2488-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2488-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2488-58-0x00000000058E0000-0x0000000005CEB000-memory.dmp

        Filesize

        4.0MB

      • memory/2488-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2488-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2488-24-0x0000000001CE0000-0x0000000001EEF000-memory.dmp

        Filesize

        2.1MB

      • memory/2488-27-0x0000000001CE0000-0x0000000001EEF000-memory.dmp

        Filesize

        2.1MB

      • memory/2488-28-0x0000000000120000-0x0000000000126000-memory.dmp

        Filesize

        24KB

      • memory/2488-31-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-55-0x00000000058E0000-0x0000000005CEB000-memory.dmp

        Filesize

        4.0MB

      • memory/2488-35-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-37-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-54-0x00000000001E0000-0x00000000001E5000-memory.dmp

        Filesize

        20KB

      • memory/2488-38-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-39-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-40-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-41-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-42-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-43-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-45-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-44-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-46-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-47-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-48-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-49-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-50-0x00000000001D0000-0x00000000001E0000-memory.dmp

        Filesize

        64KB

      • memory/2488-51-0x00000000001E0000-0x00000000001E5000-memory.dmp

        Filesize

        20KB

      • memory/2620-10-0x0000000000400000-0x0000000000710000-memory.dmp

        Filesize

        3.1MB

      • memory/2620-9-0x00000000002E0000-0x00000000002F3000-memory.dmp

        Filesize

        76KB

      • memory/2620-18-0x0000000000400000-0x0000000000710000-memory.dmp

        Filesize

        3.1MB

      • memory/2620-8-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB