Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-11-2024 22:15

General

  • Target

    adbd70490450994bf9c1055a86213eaa_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    adbd70490450994bf9c1055a86213eaa

  • SHA1

    232eb1058e2bca78dc7fddd7218329b4a5e7638c

  • SHA256

    740fe2c8e4dd0b8d589b35781d97b36d73e919742553910eab419f314bbd2650

  • SHA512

    107e9c49de8eddb0681d81b9bedd82aa79e3a940e7929a40aa6473d7225fcaeaf48e82f9bcff50c3d95adb6d6d9216a17d7274f49bbf7d708e932cbcb8221526

  • SSDEEP

    12288:TvSzTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTpTt:2z

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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.

  • Deletes itself 1 IoCs
  • 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\adbd70490450994bf9c1055a86213eaa_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\adbd70490450994bf9c1055a86213eaa_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pofxkqsn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vtiuokvl.exe" C:\Windows\SysWOW64\pofxkqsn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pofxkqsn binPath= "C:\Windows\SysWOW64\pofxkqsn\vtiuokvl.exe /d\"C:\Users\Admin\AppData\Local\Temp\adbd70490450994bf9c1055a86213eaa_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pofxkqsn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pofxkqsn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4172
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2524 -s 1236
      2⤵
      • Program crash
      PID:4728
  • C:\Windows\SysWOW64\pofxkqsn\vtiuokvl.exe
    C:\Windows\SysWOW64\pofxkqsn\vtiuokvl.exe /d"C:\Users\Admin\AppData\Local\Temp\adbd70490450994bf9c1055a86213eaa_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4908
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4908 -s 512
      2⤵
      • Program crash
      PID:812
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2524 -ip 2524
    1⤵
      PID:1956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4908 -ip 4908
      1⤵
        PID:1028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        663cf3b9fc476c47ff9fc1c154749721

        SHA1

        0ff9126154f5458b2c9e2e319d200d32f0278eec

        SHA256

        fca2ca17a48c8f84328af42027710430472c6144ec1ea052abbb47ba51441b01

        SHA512

        9500ae2defe1d1d8fd9f89d595a3abe1fbbf084f48f89bcd473c6c03db854035ca48168e2f18b441f87bb2213a94434b256a3f695aeb80c6b1f589da2885f938

      • memory/2524-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2524-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/2524-8-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/2524-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2524-1-0x0000000000760000-0x0000000000860000-memory.dmp

        Filesize

        1024KB

      • memory/4908-11-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4908-13-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4908-12-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4908-18-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4932-14-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/4932-16-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/4932-17-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB