Analysis

  • max time kernel
    143s
  • max time network
    125s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 13:33

General

  • Target

    bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5.exe

  • Size

    239KB

  • MD5

    a520a1746783fd618b1f805ce48b313f

  • SHA1

    d66c729c5d5b49c0e02f8f692425a6d4743f58cf

  • SHA256

    bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5

  • SHA512

    04e948f7e1df4856d65e30abfcca3a9ff7417f3e572df32b98d268bd982f87d97fc0a4a955ebe6e75de13d1d0e22132269e4c74124927385010feb00bd34066e

  • SSDEEP

    6144:IfULzEiwjQjbSnDuWi+Ygh5pUTQYJkge:hXEiwjhn4gh5Wtkv

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5.exe
    "C:\Users\Admin\AppData\Local\Temp\bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tbujntyn\
      2⤵
        PID:2836
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vcjmbpis.exe" C:\Windows\SysWOW64\tbujntyn\
        2⤵
          PID:2108
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tbujntyn binPath= "C:\Windows\SysWOW64\tbujntyn\vcjmbpis.exe /d\"C:\Users\Admin\AppData\Local\Temp\bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tbujntyn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tbujntyn
          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:2444
      • C:\Windows\SysWOW64\tbujntyn\vcjmbpis.exe
        C:\Windows\SysWOW64\tbujntyn\vcjmbpis.exe /d"C:\Users\Admin\AppData\Local\Temp\bc822ed934731c6843e138a7b5a0f643b6852ee233b0fb861040bd95111d09f5.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2600
        • 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:2528

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      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\vcjmbpis.exe
        Filesize

        14.8MB

        MD5

        e939a9307719d6b6fcf1d21d4e4d835b

        SHA1

        3658f10339731a04a43b1f47ca14bef19080f865

        SHA256

        f6b54d367c231e2608f776e4c72509754c2a4c31ed6a1c7937c90b9dea591939

        SHA512

        46d55d798b50fddc83f9662e007be72e00fa06d300e97032097342fe2c3515f24ffc374d56d6fd12a76f5f445d3ce059bffd1b1360a443e1fb0a29347bed39c0

      • memory/2012-1-0x00000000009D0000-0x0000000000AD0000-memory.dmp
        Filesize

        1024KB

      • memory/2012-2-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/2012-4-0x0000000000400000-0x000000000085D000-memory.dmp
        Filesize

        4.4MB

      • memory/2012-8-0x0000000000400000-0x000000000085D000-memory.dmp
        Filesize

        4.4MB

      • memory/2012-9-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

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

        84KB

      • memory/2528-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

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

        84KB

      • memory/2528-19-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2528-20-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2528-22-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2600-15-0x0000000000960000-0x0000000000A60000-memory.dmp
        Filesize

        1024KB

      • memory/2600-16-0x0000000000400000-0x000000000085D000-memory.dmp
        Filesize

        4.4MB