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
    16-12-2024 01:03

General

  • Target

    f6920b77443255c092bbf9df3f1d4451_JaffaCakes118.exe

  • Size

    12.4MB

  • MD5

    f6920b77443255c092bbf9df3f1d4451

  • SHA1

    670f15293c4a9ad62a043f0506a9cf4cadc67090

  • SHA256

    ab7c17380f2715ab57dc012b1ce4a7e72364cf218623fe7a3075fd6fbffc3666

  • SHA512

    974b99cfde0eec0c71564db6fcd7d3ace305ac90bc1f1b9f9082afcbd848cd58e9f5c62e3246de0951bc2320742a7837fa21d11b9accde357609341f33387aaf

  • SSDEEP

    393216:d888888888888888888888888888888888888888888888888888888888888883:

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\f6920b77443255c092bbf9df3f1d4451_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f6920b77443255c092bbf9df3f1d4451_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mhgiahfj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nuxvwwma.exe" C:\Windows\SysWOW64\mhgiahfj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mhgiahfj binPath= "C:\Windows\SysWOW64\mhgiahfj\nuxvwwma.exe /d\"C:\Users\Admin\AppData\Local\Temp\f6920b77443255c092bbf9df3f1d4451_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mhgiahfj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mhgiahfj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3956
    • 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:540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4836 -s 572
      2⤵
      • Program crash
      PID:3616
  • C:\Windows\SysWOW64\mhgiahfj\nuxvwwma.exe
    C:\Windows\SysWOW64\mhgiahfj\nuxvwwma.exe /d"C:\Users\Admin\AppData\Local\Temp\f6920b77443255c092bbf9df3f1d4451_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4696 -s 532
      2⤵
      • Program crash
      PID:3276
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4836 -ip 4836
    1⤵
      PID:3936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4696 -ip 4696
      1⤵
        PID:2756

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        921b96fd6f64131ef197640b0f7798e4

        SHA1

        fcdd1965afbba0a5cfe29065bd65c861de3ffd7b

        SHA256

        d552241a93e6aa4b64329ddc3150cd94b507c8fa76e0be8543d1716da8e18086

        SHA512

        3775eac0981450a670e12fc3df1e9fbfbca41e7b030914f5afb29367607384355c1bea51e345b10a3644f7e1a55c0a7f8baf53bcc39f89821180998c620baa8b

      • memory/2104-14-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/2104-17-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/2104-16-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/4696-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4696-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4696-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4696-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4836-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4836-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4836-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4836-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB