Analysis

  • max time kernel
    149s
  • 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 13:35

General

  • Target

    30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672.exe

  • Size

    240KB

  • MD5

    5c1b720ec28a3d4af24a19003fb56f50

  • SHA1

    fa8c1236c3e7bc4d002be0abf5523659bf4c9af8

  • SHA256

    30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672

  • SHA512

    178e4b5633b1c4d455555b394940d6b240dc4da22e621e6c91035870f3e275b25881ea712fc7b73a4e73d9d9376045834fb00b3d03454616d877ecd3cd91790c

  • SSDEEP

    3072:JQT/QLtwugcvGMI9+x7alYjt8T/NOOZ/M5l/evBr+jL+0geRp:JE/QLXgSh7aSjtGZ/M5lP3ge

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\30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672.exe
    "C:\Users\Admin\AppData\Local\Temp\30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aegnrcv\
      2⤵
        PID:2616
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgcrmeck.exe" C:\Windows\SysWOW64\aegnrcv\
        2⤵
          PID:2664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create aegnrcv binPath= "C:\Windows\SysWOW64\aegnrcv\qgcrmeck.exe /d\"C:\Users\Admin\AppData\Local\Temp\30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2264
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description aegnrcv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2256
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start aegnrcv
          2⤵
          • Launches sc.exe
          PID:2524
        • 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:2404
      • C:\Windows\SysWOW64\aegnrcv\qgcrmeck.exe
        C:\Windows\SysWOW64\aegnrcv\qgcrmeck.exe /d"C:\Users\Admin\AppData\Local\Temp\30205eaf6f581036262bfc099dfc5cc5d0e4d771dca3d1c4cf3dada59d097672.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2336
        • 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:1076

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        b221aad9ee4397feaec2d5d06e4a8bb8

        SHA1

        0d9495941b635a424d9ab15b032d05aedfb72550

        SHA256

        a982773ad7d61c9ab4ad6217a1c4863a24fbefaa15a322f0648aba0f32ed716b

        SHA512

        8ca665a90c2fe75cb3827aa47e53c38e9e4c1f1f0c8d42247a7c63d4c107afd297b8e35300ac6091335148a103dfcace83b7cbecb23ba413cf9355185d2ca75f

      • memory/1076-46-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1076-49-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1076-59-0x00000000002A0000-0x00000000002A7000-memory.dmp

        Filesize

        28KB

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

        Filesize

        64KB

      • memory/1076-55-0x0000000005970000-0x0000000005D7B000-memory.dmp

        Filesize

        4.0MB

      • memory/1076-54-0x0000000000150000-0x0000000000155000-memory.dmp

        Filesize

        20KB

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

        Filesize

        84KB

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

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/1076-51-0x0000000000150000-0x0000000000155000-memory.dmp

        Filesize

        20KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1076-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        64KB

      • memory/1076-27-0x00000000019A0000-0x0000000001BAF000-memory.dmp

        Filesize

        2.1MB

      • memory/1076-28-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/1076-58-0x0000000005970000-0x0000000005D7B000-memory.dmp

        Filesize

        4.0MB

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

        Filesize

        64KB

      • memory/1076-24-0x00000000019A0000-0x0000000001BAF000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/1076-50-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1076-47-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1076-48-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1988-1-0x0000000000920000-0x0000000000A20000-memory.dmp

        Filesize

        1024KB

      • memory/1988-4-0x0000000000400000-0x000000000085D000-memory.dmp

        Filesize

        4.4MB

      • memory/1988-9-0x0000000000400000-0x000000000085D000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        76KB

      • memory/2336-18-0x0000000000400000-0x000000000085D000-memory.dmp

        Filesize

        4.4MB

      • memory/2336-12-0x0000000000400000-0x000000000085D000-memory.dmp

        Filesize

        4.4MB

      • memory/2336-10-0x0000000000990000-0x0000000000A90000-memory.dmp

        Filesize

        1024KB