Analysis

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

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

General

  • Target

    3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f.exe

  • Size

    11.4MB

  • MD5

    9976381d1866b0994d0aaf96d002cb8b

  • SHA1

    e4d9df609a9011ccf1bf01b04677cfdf07e7407e

  • SHA256

    3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f

  • SHA512

    d6c26012dc4cfc0353cc85c09ba9b31c398ba36193df63f0d5231d758429faef03b6403fe41748c901860bded1a83f07d40412149ecb2935346384fb1e8ff716

  • SSDEEP

    3072:kyBNbfF6eAnc2Tzx4QL0YNmHhBZ03eYqqOkkYe0jNC4vj5MLIFBX/BX/BX/BX/BX:3rnAnXTz6Qwf87qqrk16M4o

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f.exe
    "C:\Users\Admin\AppData\Local\Temp\3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gngvgofe\
      2⤵
        PID:2948
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mggyblpb.exe" C:\Windows\SysWOW64\gngvgofe\
        2⤵
          PID:3024
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gngvgofe binPath= "C:\Windows\SysWOW64\gngvgofe\mggyblpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gngvgofe "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2476
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gngvgofe
          2⤵
          • Launches sc.exe
          PID:2356
        • 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:2600
      • C:\Windows\SysWOW64\gngvgofe\mggyblpb.exe
        C:\Windows\SysWOW64\gngvgofe\mggyblpb.exe /d"C:\Users\Admin\AppData\Local\Temp\3f417ded6a57a6a15a5417c7c360ae0089130af33cc1cc0a8d135321860b034f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2828
        • 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:2368

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        f87a6d1de746c4195c9a786816ab01fd

        SHA1

        bcc9a6039a5e2b76a7f1a6debc03cb2f84b5f77f

        SHA256

        1a03b6d41bf21c6c9065aefd6aaddaa4a126bc3b1ba4fe97f5daa343e0e0544a

        SHA512

        58948acbe13d0d6e1217ca980c9cfacc1bdbec13d8cc55588feef87f0be9046aec3f38e6a140a18a6be8151a16531b5e2bc8ab5312453ad76f0e03fffbf690c1

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

        Filesize

        1024KB

      • memory/1544-2-0x0000000000250000-0x0000000000263000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1544-7-0x0000000000250000-0x0000000000263000-memory.dmp

        Filesize

        76KB

      • memory/1544-8-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1544-6-0x0000000000400000-0x00000000007B6000-memory.dmp

        Filesize

        3.7MB

      • memory/2368-50-0x0000000000180000-0x0000000000185000-memory.dmp

        Filesize

        20KB

      • memory/2368-42-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2368-54-0x0000000005410000-0x000000000581B000-memory.dmp

        Filesize

        4.0MB

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

        Filesize

        84KB

      • memory/2368-20-0x0000000001840000-0x0000000001A4F000-memory.dmp

        Filesize

        2.1MB

      • memory/2368-32-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-23-0x0000000001840000-0x0000000001A4F000-memory.dmp

        Filesize

        2.1MB

      • memory/2368-45-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-47-0x0000000000180000-0x0000000000185000-memory.dmp

        Filesize

        20KB

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

        Filesize

        84KB

      • memory/2368-46-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-44-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-43-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/2368-41-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-40-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-39-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-38-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-37-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-36-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-35-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-34-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-33-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-31-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-30-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-27-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2368-24-0x0000000000120000-0x0000000000126000-memory.dmp

        Filesize

        24KB

      • memory/2368-51-0x0000000005410000-0x000000000581B000-memory.dmp

        Filesize

        4.0MB

      • memory/2368-55-0x00000000001C0000-0x00000000001C7000-memory.dmp

        Filesize

        28KB

      • memory/2828-16-0x0000000000400000-0x00000000007B6000-memory.dmp

        Filesize

        3.7MB