Analysis

  • max time kernel
    149s
  • 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
    21-12-2024 22:24

General

  • Target

    JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe

  • Size

    243KB

  • MD5

    0fba569148e3b4758882dca911ad7fa8

  • SHA1

    09c8755dfe3f733d5deaafe60ad92b47907f7d9c

  • SHA256

    82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721

  • SHA512

    4af517ba9d0b30fe49bbcc69adc71357f2c19b48870366a97f8c1a19627ecc811233cac98395a16694cbc2409f1e85d921e14775507a42c36d491013faca681b

  • SSDEEP

    6144:DQZQphhKlXyYNadG6717PUJN5xmCos7SmQ751CetXH:sZDXyYNaT7cHLosSlh

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_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\efecrhpa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xniuoaew.exe" C:\Windows\SysWOW64\efecrhpa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create efecrhpa binPath= "C:\Windows\SysWOW64\efecrhpa\xniuoaew.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description efecrhpa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start efecrhpa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:380
    • 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:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2128 -s 1220
      2⤵
      • Program crash
      PID:3268
  • C:\Windows\SysWOW64\efecrhpa\xniuoaew.exe
    C:\Windows\SysWOW64\efecrhpa\xniuoaew.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82e5672e4354e66588d70ab01d6323a07e88e3acab3fbf89b3866982a50f3721.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4936 -s 512
      2⤵
      • Program crash
      PID:3456
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2128 -ip 2128
    1⤵
      PID:4392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4936 -ip 4936
      1⤵
        PID:3608

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        5ed62e7155892cfdf673c01cc5853d09

        SHA1

        acea89fb16aee399155887093cff1f1b35180203

        SHA256

        ad2a67d5770970affd6dc2631af964039da0324b3a15d3239043680aee479038

        SHA512

        0c86b632bbc62ba124d97ce7d126cf32885cf81da38e1e6539396c89e2b36015c320eca21f7461f31c8106b514bf5eb51730395f72ac47ba0ce310ec53378119

      • memory/2128-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/2128-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2128-9-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

      • memory/2128-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

      • memory/4632-14-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4632-16-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4632-17-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4936-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4936-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4936-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4936-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB