Analysis

  • max time kernel
    150s
  • 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
    27-11-2024 21:56

General

  • Target

    a9cc0300922517f9e2a23a8906a0f608_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    a9cc0300922517f9e2a23a8906a0f608

  • SHA1

    bf14eeff59d959a745c06d43aa372e7b9fe9edaf

  • SHA256

    ece3c96e6d9ff76cda55ebb17804eb5cb0a3928fca63f720cf2b51f94272717b

  • SHA512

    fb952776ac12916c9e2cdd92d70d0c11c467e5fe3693be001c6b715b8c17a21df4631ebd84f108adaed0980efe55bdc971048e540fa1871fe820a97512b157b4

  • SSDEEP

    12288:Kj8IJUh3rNPQTN2/bMBrow6NGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGq:KDJqrFb0on

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\a9cc0300922517f9e2a23a8906a0f608_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a9cc0300922517f9e2a23a8906a0f608_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\igpiyeeh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhdjuewc.exe" C:\Windows\SysWOW64\igpiyeeh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create igpiyeeh binPath= "C:\Windows\SysWOW64\igpiyeeh\nhdjuewc.exe /d\"C:\Users\Admin\AppData\Local\Temp\a9cc0300922517f9e2a23a8906a0f608_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description igpiyeeh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start igpiyeeh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1208
    • 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:3584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3292 -s 748
      2⤵
      • Program crash
      PID:2072
  • C:\Windows\SysWOW64\igpiyeeh\nhdjuewc.exe
    C:\Windows\SysWOW64\igpiyeeh\nhdjuewc.exe /d"C:\Users\Admin\AppData\Local\Temp\a9cc0300922517f9e2a23a8906a0f608_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2572
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2572 -s 512
      2⤵
      • Program crash
      PID:4848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3292 -ip 3292
    1⤵
      PID:212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2572 -ip 2572
      1⤵
        PID:1192

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        1b39cec4fa8b1f78dc41f2c4470adb80

        SHA1

        87c9732cf0f5f320e0d3061b87d503e097bef526

        SHA256

        c97f8d78f4938d069b1be757b71d6e12d186bec57f5e4eb3aa22c49b9a36e510

        SHA512

        b432d1e1a632b52f64962607b9b071cad6c2145002e68f57227d21fd3c48455d265a77c2174499ab78883f3b8535749619de120197d6e090221ff02812f364b8

      • memory/1924-14-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/1924-17-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/1924-16-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

      • memory/2572-19-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3292-9-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/3292-1-0x0000000000650000-0x0000000000750000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3292-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB