Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 05:14

General

  • Target

    JaffaCakes118_c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3.exe

  • Size

    306KB

  • MD5

    1d30a5438b113d6d62bee2d8bfc32f38

  • SHA1

    bb31fba8bffd977b24d0435a8b64c9a990069358

  • SHA256

    c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3

  • SHA512

    eb056fcf5f23a1e08719b910361615313b5f35eef7b579a2862b534edf617d2b60f676c98e17200ea3ef9c619b5815d4a5346c13316dff394b70528d1d0c0352

  • SSDEEP

    6144:9bjv5PFwxvAeFDJa98J9+UWMoE+aJamHFraqT41:xv5PFwxvxF39+4oBaX0qT4

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\JaffaCakes118_c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\azhrfudr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\adwecemw.exe" C:\Windows\SysWOW64\azhrfudr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create azhrfudr binPath= "C:\Windows\SysWOW64\azhrfudr\adwecemw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description azhrfudr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start azhrfudr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:32
    • 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:4776
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4980 -s 1036
      2⤵
      • Program crash
      PID:3440
  • C:\Windows\SysWOW64\azhrfudr\adwecemw.exe
    C:\Windows\SysWOW64\azhrfudr\adwecemw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4870e799d9e991f54e556edb68a33fe3b134084ca1964be1f82f008627587c3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3332
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3332 -s 516
      2⤵
      • Program crash
      PID:4204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4980 -ip 4980
    1⤵
      PID:2668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3332 -ip 3332
      1⤵
        PID:4716

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        2479c70b96516b3d9596ca15f10799c1

        SHA1

        90e4787e265b629ed39b96e116c172ff01b7e93a

        SHA256

        59175b7e0bf65ef78909e0731619c5a705428a0e8ef27306a3dc817f7ead91f0

        SHA512

        91a5b13fc9b2968524a33c854600809d305d5728361e9cf68ed7ae99c8d9801bdee11077bbcbd57114f5fcba154192f401d2120ed9e4b6274b0008ca56ddb279

      • memory/3332-15-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB

      • memory/4168-11-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/4168-13-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/4168-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/4980-1-0x0000000002BD0000-0x0000000002CD0000-memory.dmp

        Filesize

        1024KB

      • memory/4980-2-0x0000000002BA0000-0x0000000002BB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4980-9-0x0000000002BA0000-0x0000000002BB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4980-8-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB