Analysis

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

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    22-05-2024 14:32

General

  • Target

    b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f.exe

  • Size

    178KB

  • MD5

    a6c7dd82eace106350d20d93956360e6

  • SHA1

    19c5ea0607b527e4c2b08a39583db38f503933e0

  • SHA256

    b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f

  • SHA512

    6e3d950e1a16103710985e9e0993f26ece5f7d67eadbd711941e826117d0d884624ddf166d3a70e25453518bb2f7d9a9c2dede25f6785dcb24d6031ba29c419e

  • SSDEEP

    1536:DAc76NGJEzLoCPMkXzxIGzA9aRmNjo/Phcnr6xMtxUtoIlESP5tA9bDQqpN+X:D7kXzxIGzA9aUo/PhcnVHUtoe5K9

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\b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f.exe
    "C:\Users\Admin\AppData\Local\Temp\b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gygqphuz\
      2⤵
        PID:1660
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgzkktuu.exe" C:\Windows\SysWOW64\gygqphuz\
        2⤵
          PID:1608
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gygqphuz binPath= "C:\Windows\SysWOW64\gygqphuz\dgzkktuu.exe /d\"C:\Users\Admin\AppData\Local\Temp\b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2320
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gygqphuz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gygqphuz
          2⤵
          • Launches sc.exe
          PID:2644
        • 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:2716
      • C:\Windows\SysWOW64\gygqphuz\dgzkktuu.exe
        C:\Windows\SysWOW64\gygqphuz\dgzkktuu.exe /d"C:\Users\Admin\AppData\Local\Temp\b7ab94357342f73380569c9b23bc81741e1784b8a7cfdfe8df680000a1f3da1f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2672
        • 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:2804

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Execution

      System Services

      1
      T1569

      Service Execution

      1
      T1569.002

      Persistence

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Impair Defenses

      2
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\dgzkktuu.exe
        Filesize

        14.5MB

        MD5

        a516729b70a1a588bfcf223ab5965cbf

        SHA1

        e3d5e185a7f90ae7d30b397371cf93e671413bed

        SHA256

        f05fd41d92b3221507331c4e8754d4b8a80218e70bdf44a161a68d1be22dfa59

        SHA512

        87c0f3d7e40058851824454fd2eb0fe727f8e08b28f229f6711a9ab67d2fcc40fd1bbc37d8fc6d548dc746ae8334f798b2d8b35e32dfd9739d92bb2f07dadee3

      • memory/1688-8-0x0000000000400000-0x0000000002349000-memory.dmp
        Filesize

        31.3MB

      • memory/1688-3-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1688-2-0x0000000002460000-0x0000000002560000-memory.dmp
        Filesize

        1024KB

      • memory/1688-9-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/1688-4-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/2672-16-0x0000000000400000-0x0000000002349000-memory.dmp
        Filesize

        31.3MB

      • memory/2804-40-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-36-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2804-13-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2804-17-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2804-22-0x00000000018D0000-0x0000000001ADF000-memory.dmp
        Filesize

        2.1MB

      • memory/2804-45-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-44-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-43-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-42-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-41-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-15-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2804-39-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-38-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-37-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-10-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2804-35-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-34-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-33-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-32-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-31-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-30-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-29-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-26-0x00000000000F0000-0x0000000000100000-memory.dmp
        Filesize

        64KB

      • memory/2804-23-0x00000000000A0000-0x00000000000A6000-memory.dmp
        Filesize

        24KB

      • memory/2804-19-0x00000000018D0000-0x0000000001ADF000-memory.dmp
        Filesize

        2.1MB

      • memory/2804-54-0x00000000002D0000-0x00000000002D7000-memory.dmp
        Filesize

        28KB

      • memory/2804-53-0x0000000005490000-0x000000000589B000-memory.dmp
        Filesize

        4.0MB

      • memory/2804-50-0x0000000005490000-0x000000000589B000-memory.dmp
        Filesize

        4.0MB

      • memory/2804-49-0x0000000000110000-0x0000000000115000-memory.dmp
        Filesize

        20KB

      • memory/2804-46-0x0000000000110000-0x0000000000115000-memory.dmp
        Filesize

        20KB