Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-12-2024 08:57

General

  • Target

    e5a1f80633af2e489a335603dcdce8a1_JaffaCakes118.exe

  • Size

    12.9MB

  • MD5

    e5a1f80633af2e489a335603dcdce8a1

  • SHA1

    17ee8592e4a2a79b135af7b285a0d12261e0dcb8

  • SHA256

    df8d530ece00c2099eca123d50c6854ae0fc11fc69756e3fc6b7940e6c9583c4

  • SHA512

    3444afa24abba60b3b0d1e7efca97a0008c90ca7b65a5f97d70dacb1c7d912b5c7086637332b8bfb7a485e3c25048c5b618cb650a5d0724a8186fb3775aa7ef0

  • SSDEEP

    49152:c2mNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN:p

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\e5a1f80633af2e489a335603dcdce8a1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e5a1f80633af2e489a335603dcdce8a1_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4756
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkuwzhjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xatbzbjt.exe" C:\Windows\SysWOW64\hkuwzhjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hkuwzhjf binPath= "C:\Windows\SysWOW64\hkuwzhjf\xatbzbjt.exe /d\"C:\Users\Admin\AppData\Local\Temp\e5a1f80633af2e489a335603dcdce8a1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hkuwzhjf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hkuwzhjf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2272
    • 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:3520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4756 -s 1172
      2⤵
      • Program crash
      PID:4700
  • C:\Windows\SysWOW64\hkuwzhjf\xatbzbjt.exe
    C:\Windows\SysWOW64\hkuwzhjf\xatbzbjt.exe /d"C:\Users\Admin\AppData\Local\Temp\e5a1f80633af2e489a335603dcdce8a1_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2008
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 512
      2⤵
      • Program crash
      PID:1464
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4756 -ip 4756
    1⤵
      PID:664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2008 -ip 2008
      1⤵
        PID:2176

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        b0934159019bf303aa6b0de4db9a2727

        SHA1

        6d54f17021668dc5dce826c7ef77eb3782d140d1

        SHA256

        347b760f5ce478358512ef79cf7be46a7e9c2f6157e9693f4a2e4cba3cbc0165

        SHA512

        ea344cbf8d6b482ee8307d2b69daeb4573e4e244038bf62c32dd18074e1e16eabbb02780cca1d9ba3af26ab32a4be32e18ea320b4b4bc3b7d52898512dbcbef0

      • memory/2008-16-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/2008-19-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/2008-14-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/2008-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3708-15-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/3708-12-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/3708-17-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/4756-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4756-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4756-10-0x0000000000A20000-0x0000000000A33000-memory.dmp

        Filesize

        76KB

      • memory/4756-9-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4756-2-0x0000000000A20000-0x0000000000A33000-memory.dmp

        Filesize

        76KB