Analysis

  • max time kernel
    234s
  • max time network
    277s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230221-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-05-2023 21:12

General

  • Target

    097bc3c7d6f6f50a503fdb7a56e22a34.exe

  • Size

    312KB

  • MD5

    097bc3c7d6f6f50a503fdb7a56e22a34

  • SHA1

    bc801204c76b73ee9e66a9a7bdffd856965604e0

  • SHA256

    25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef

  • SHA512

    7dedbefbe0a0af1d1541374a1a8916eb45d6037c15b8ae36ed28c4dfc0a9d22f5062b584b856b8d32cf5d675f1a718b31b029dc5abcea4c40d8925ae42f05eea

  • SSDEEP

    3072:6AX8ODio3+FCLQbFK+OCQ/KbqAjxBn7UJIdg6hO3Vd+eVRg/5wcw3P3XqT:vPDl5L0FKBDKbzBYd6upvG

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\097bc3c7d6f6f50a503fdb7a56e22a34.exe
    "C:\Users\Admin\AppData\Local\Temp\097bc3c7d6f6f50a503fdb7a56e22a34.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jubxzywc\
      2⤵
        PID:404
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kzrydbgy.exe" C:\Windows\SysWOW64\jubxzywc\
        2⤵
          PID:2692
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jubxzywc binPath= "C:\Windows\SysWOW64\jubxzywc\kzrydbgy.exe /d\"C:\Users\Admin\AppData\Local\Temp\097bc3c7d6f6f50a503fdb7a56e22a34.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jubxzywc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jubxzywc
          2⤵
          • Launches sc.exe
          PID:4920
        • 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:5000
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3332 -s 1040
          2⤵
          • Program crash
          PID:1764
      • C:\Windows\SysWOW64\jubxzywc\kzrydbgy.exe
        C:\Windows\SysWOW64\jubxzywc\kzrydbgy.exe /d"C:\Users\Admin\AppData\Local\Temp\097bc3c7d6f6f50a503fdb7a56e22a34.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4844
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:652
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4844 -s 516
          2⤵
          • Program crash
          PID:1852
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3332 -ip 3332
        1⤵
          PID:3068
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4844 -ip 4844
          1⤵
            PID:1832

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.7MB

            MD5

            637a82fbb9932b9f21ba291e34f7b40a

            SHA1

            01c49179f3382cf4f96c2e9e16e8fa669b6dc6fc

            SHA256

            70e05eaf4f9275cbd2b8a8720754beef860b8666fb0f464c8210e759d119ae3f

            SHA512

            5e4a15f6fd549d4602f27f23033fa866a494bca089cb8b08cd2e731e7e261bcf80dfb3d1c6c7b7001d5aa805a10a87e1fda50a141e52d252c426390722342347

          • C:\Windows\SysWOW64\jubxzywc\kzrydbgy.exe

            Filesize

            10.7MB

            MD5

            637a82fbb9932b9f21ba291e34f7b40a

            SHA1

            01c49179f3382cf4f96c2e9e16e8fa669b6dc6fc

            SHA256

            70e05eaf4f9275cbd2b8a8720754beef860b8666fb0f464c8210e759d119ae3f

            SHA512

            5e4a15f6fd549d4602f27f23033fa866a494bca089cb8b08cd2e731e7e261bcf80dfb3d1c6c7b7001d5aa805a10a87e1fda50a141e52d252c426390722342347

          • memory/652-149-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/652-145-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/652-150-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/652-152-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/652-153-0x0000000000480000-0x0000000000495000-memory.dmp

            Filesize

            84KB

          • memory/3332-138-0x0000000000400000-0x00000000006E9000-memory.dmp

            Filesize

            2.9MB

          • memory/3332-135-0x0000000000760000-0x0000000000773000-memory.dmp

            Filesize

            76KB

          • memory/3332-142-0x0000000000400000-0x00000000006E9000-memory.dmp

            Filesize

            2.9MB

          • memory/3332-143-0x0000000000760000-0x0000000000773000-memory.dmp

            Filesize

            76KB

          • memory/3332-134-0x0000000000400000-0x00000000006E9000-memory.dmp

            Filesize

            2.9MB

          • memory/4844-144-0x0000000000400000-0x00000000006E9000-memory.dmp

            Filesize

            2.9MB

          • memory/4844-151-0x0000000000400000-0x00000000006E9000-memory.dmp

            Filesize

            2.9MB