Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 13:14

General

  • Target

    b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9.exe

  • Size

    281KB

  • MD5

    45c66a2034297abfc6b5543dfbac04f2

  • SHA1

    21aea98d43c6d0aa86b8ee1777cc51cfae5a634f

  • SHA256

    b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9

  • SHA512

    a341910130e4a040f02405c553556851cddf6ac2396f7e0d38aa0c7a97894aa9dece5cb9a7ce323bb50f221cfbc27d29641a4ccdc4843af09f9f54a14e6c19ce

  • SSDEEP

    3072:auyDaJPZdL7cHeyf3XJ+rs+MlhxMMKe4uquK9RbPf65xfzW5ffXq3B1k48cV1JD2:auyWJDLwHzf8412Mebd36/fkfAB1pJd

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 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • 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 6 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9.exe
    "C:\Users\Admin\AppData\Local\Temp\b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwfjcaya\
      2⤵
        PID:2552
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mygdjwca.exe" C:\Windows\SysWOW64\gwfjcaya\
        2⤵
          PID:2616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gwfjcaya binPath= "C:\Windows\SysWOW64\gwfjcaya\mygdjwca.exe /d\"C:\Users\Admin\AppData\Local\Temp\b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gwfjcaya "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:328
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gwfjcaya
          2⤵
          • Launches sc.exe
          PID:2648
        • 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:1740
      • C:\Windows\SysWOW64\gwfjcaya\mygdjwca.exe
        C:\Windows\SysWOW64\gwfjcaya\mygdjwca.exe /d"C:\Users\Admin\AppData\Local\Temp\b09798c07fc468fb557b044326305a10d5b4a7b19c0d6adb88f794990c3634b9.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2736
        • 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:2484

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        c30fe7a7b7a76c43f04b3cec259164f0

        SHA1

        b649f57915c4ee121d037cc8f25a6d952b52589c

        SHA256

        421f2e6e0725a09bfd96e47db4a3f452493f80f6421994bbcf70de06560e400b

        SHA512

        8fecf79a078809fcf72c85cead08166735744cfeb9dfeca6984308a6022c84ca6e362517aa76420da67083230399379a66718b11dd6955630f08fd00550ce39c

      • memory/1600-1-0x0000000000980000-0x0000000000A80000-memory.dmp

        Filesize

        1024KB

      • memory/1600-3-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1600-4-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/1600-8-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/2484-49-0x00000000001D0000-0x00000000001D5000-memory.dmp

        Filesize

        20KB

      • memory/2484-34-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/2484-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2484-22-0x0000000001980000-0x0000000001B8F000-memory.dmp

        Filesize

        2.1MB

      • memory/2484-25-0x0000000001980000-0x0000000001B8F000-memory.dmp

        Filesize

        2.1MB

      • memory/2484-26-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/2484-29-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-38-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-37-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-36-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-35-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-57-0x0000000000220000-0x0000000000227000-memory.dmp

        Filesize

        28KB

      • memory/2484-33-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-39-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-42-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-41-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-47-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-48-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-46-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-56-0x0000000005920000-0x0000000005D2B000-memory.dmp

        Filesize

        4.0MB

      • memory/2484-52-0x00000000001D0000-0x00000000001D5000-memory.dmp

        Filesize

        20KB

      • memory/2484-45-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-44-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-43-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-40-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-32-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2484-53-0x0000000005920000-0x0000000005D2B000-memory.dmp

        Filesize

        4.0MB

      • memory/2736-9-0x00000000009B0000-0x0000000000AB0000-memory.dmp

        Filesize

        1024KB

      • memory/2736-10-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/2736-15-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB