Analysis

  • max time kernel
    145s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

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

General

  • Target

    a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe

  • Size

    227KB

  • MD5

    1010b86bd744c31ecef5f5aeae5ca6df

  • SHA1

    79dbaab22a85e8a0c3124d39423da1ca24c358e8

  • SHA256

    a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de

  • SHA512

    6823068623029c10aa0d833be8422b6d93663832d24298bd9811f7700bbc56dc5463fd75f12273e2168bac6784a16e735cc86cf0de8841e83c1befc75bdfd02d

  • SSDEEP

    3072:BG/VLLNVnlMoDjq0sg0lpb15L76ZhBUrIeGskK+KgPcf53whT5A/hTu:8Lh9ljdOlPB6tUrIK+zPcRaCpT

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
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe
    "C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\toqwrlei\
      2⤵
        PID:2500
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rybwvppj.exe" C:\Windows\SysWOW64\toqwrlei\
        2⤵
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create toqwrlei binPath= "C:\Windows\SysWOW64\toqwrlei\rybwvppj.exe /d\"C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description toqwrlei "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start toqwrlei
          2⤵
          • Launches sc.exe
          PID:2616
        • 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:1980
      • C:\Windows\SysWOW64\toqwrlei\rybwvppj.exe
        C:\Windows\SysWOW64\toqwrlei\rybwvppj.exe /d"C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2752
        • 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:2672

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        3b38fd93cb02ff81d55d37f58e51f996

        SHA1

        1db8b9e714559b60d0e2e6eb48ac82d39f67a501

        SHA256

        679f881b6d259d8fa4f326a85edf32d1b198e9f490a66e0457c83008495a2781

        SHA512

        152a0e788de363b8317e35674479d8aaaeebca9164bc38406df4af3e54d3546a67831a8dfa728dac18af8ba97aecb8ebe085c563818e8c203f4b0d2b7b2d6ef2

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

        Filesize

        64KB

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

        Filesize

        24KB

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

        Filesize

        64KB

      • memory/2672-9-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2672-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2672-63-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2672-13-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        64KB

      • memory/2672-59-0x00000000001D0000-0x00000000001D7000-memory.dmp

        Filesize

        28KB

      • memory/2672-58-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/2672-55-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/2672-54-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

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

        Filesize

        64KB

      • memory/2672-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2672-22-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2672-24-0x0000000001AC0000-0x0000000001CCF000-memory.dmp

        Filesize

        2.1MB

      • memory/2672-27-0x0000000001AC0000-0x0000000001CCF000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        64KB

      • memory/2672-31-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/2672-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2672-51-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/2672-50-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/2672-49-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/2752-17-0x0000000000400000-0x0000000002B11000-memory.dmp

        Filesize

        39.1MB

      • memory/2752-8-0x0000000000270000-0x0000000000370000-memory.dmp

        Filesize

        1024KB

      • memory/2752-19-0x0000000000400000-0x0000000002B11000-memory.dmp

        Filesize

        39.1MB

      • memory/2752-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        76KB

      • memory/2868-1-0x0000000002F60000-0x0000000003060000-memory.dmp

        Filesize

        1024KB

      • memory/2868-4-0x0000000000400000-0x0000000002B11000-memory.dmp

        Filesize

        39.1MB

      • memory/2868-18-0x0000000002F60000-0x0000000003060000-memory.dmp

        Filesize

        1024KB

      • memory/2868-14-0x0000000000400000-0x0000000002B11000-memory.dmp

        Filesize

        39.1MB