Analysis

  • max time kernel
    147s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-10-2024 07:04

General

  • Target

    0e7f9b3a9f76503087e94c2b5539df41_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    0e7f9b3a9f76503087e94c2b5539df41

  • SHA1

    325486efe485fe1506d69692d75697eb968932c7

  • SHA256

    4c6b4d2e35397d2ab57443bbd96fda25bdfb5bf932e37dd669b794c0b4222331

  • SHA512

    90eaf93a59d0c368658f9fadb48a9feb1c73cba0ce823b3a9cb0d986fd5ea2e73db82ed8b7cf2e95d15a941e4444d82b8a2f49b5a26fed4813c0beeda6638b7c

  • SSDEEP

    393216:5rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr:

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.

  • 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\0e7f9b3a9f76503087e94c2b5539df41_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0e7f9b3a9f76503087e94c2b5539df41_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jkdzsygx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2456
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aynztpaq.exe" C:\Windows\SysWOW64\jkdzsygx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jkdzsygx binPath= "C:\Windows\SysWOW64\jkdzsygx\aynztpaq.exe /d\"C:\Users\Admin\AppData\Local\Temp\0e7f9b3a9f76503087e94c2b5539df41_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jkdzsygx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jkdzsygx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1552
    • 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:2340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2524 -s 1040
      2⤵
      • Program crash
      PID:4516
  • C:\Windows\SysWOW64\jkdzsygx\aynztpaq.exe
    C:\Windows\SysWOW64\jkdzsygx\aynztpaq.exe /d"C:\Users\Admin\AppData\Local\Temp\0e7f9b3a9f76503087e94c2b5539df41_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2148 -s 512
      2⤵
      • Program crash
      PID:2664
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2524 -ip 2524
    1⤵
      PID:2064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2148 -ip 2148
      1⤵
        PID:4828

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        ddfbe85b243d02ab606926c0c3b07ada

        SHA1

        3017b855c9f8b8b1a7eb8e51da2e7c03f149d337

        SHA256

        5d5288d2f0b2f45e9ef69b9494a70997ab08ed287e7dc7d67445df202152d3e9

        SHA512

        d3cd86631f5db3944ed088df7fac3e2d789362b3c619c60557d268cee19c96f5011a85564270fd1f7ff6380cfab02bec7d86c9c9ebed895dedc4177df75da875

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

      • memory/2152-14-0x0000000000820000-0x0000000000835000-memory.dmp

        Filesize

        84KB

      • memory/2152-16-0x0000000000820000-0x0000000000835000-memory.dmp

        Filesize

        84KB

      • memory/2152-17-0x0000000000820000-0x0000000000835000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        340KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2524-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB