Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    06-05-2024 01:08

General

  • Target

    1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe

  • Size

    326KB

  • MD5

    35f519000ad078d242c0bce097c59b31

  • SHA1

    41a3c859c36a4240a51e6ce17ab269e8d2728eb0

  • SHA256

    1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2

  • SHA512

    260f2efe4757c518f96269ba3a3fd5b5c603fa6a52d9c0d976222158609911004ce48df4e75298c11de67ea29d91969f217986e4c0f1b83bb2f5d2a43a772997

  • SSDEEP

    3072:KLTZ5XJKQsp6NU4tqwCyc40r+oeHpmCR54kDSWegJSVE+Er20L4fdoiKuIov5QId:KbCt44p40rqHPbDb86r2LiNovrb/a

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) 2 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\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe
    "C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zfvcokxw\
      2⤵
        PID:2256
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahgtbbjn.exe" C:\Windows\SysWOW64\zfvcokxw\
        2⤵
          PID:2704
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zfvcokxw binPath= "C:\Windows\SysWOW64\zfvcokxw\ahgtbbjn.exe /d\"C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zfvcokxw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zfvcokxw
          2⤵
          • Launches sc.exe
          PID:2568
        • 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:2476
      • C:\Windows\SysWOW64\zfvcokxw\ahgtbbjn.exe
        C:\Windows\SysWOW64\zfvcokxw\ahgtbbjn.exe /d"C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2596
        • 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:2752

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        5ed5327701ad5b888053f27564e7ff38

        SHA1

        4e33477eff108c4ac5c008837b0c329576289e2a

        SHA256

        e9bbc8bceffeaeba4ae2d2a33a008e66eb97cd7cdfbddb2611c5fd631c8fa643

        SHA512

        d8a30c12b612fab5e7a0242e9376fe634e39cace850d8747fe3c3281015f3c1843b721435039f3dbcfc900a030102fe95f9a68ae46807a0f9621f22bd620c48f

      • memory/1336-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1336-1-0x0000000001AD0000-0x0000000001BD0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/1336-14-0x0000000000400000-0x0000000001A1B000-memory.dmp

        Filesize

        22.1MB

      • memory/1336-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2596-12-0x0000000000400000-0x0000000001A1B000-memory.dmp

        Filesize

        22.1MB

      • memory/2752-33-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-43-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/2752-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2752-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2752-19-0x0000000001960000-0x0000000001B6F000-memory.dmp

        Filesize

        2.1MB

      • memory/2752-22-0x0000000001960000-0x0000000001B6F000-memory.dmp

        Filesize

        2.1MB

      • memory/2752-23-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/2752-26-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-29-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-46-0x00000000001B0000-0x00000000001B5000-memory.dmp

        Filesize

        20KB

      • memory/2752-8-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2752-49-0x00000000001B0000-0x00000000001B5000-memory.dmp

        Filesize

        20KB

      • memory/2752-45-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-44-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2752-50-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/2752-42-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-41-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-40-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-39-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-38-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-37-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-36-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-35-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-34-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-32-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-31-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-30-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2752-53-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/2752-54-0x00000000002B0000-0x00000000002B7000-memory.dmp

        Filesize

        28KB