Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-10-2024 19:40

General

  • Target

    7081bc2241e8d4803e2f17e06243d773_JaffaCakes118.exe

  • Size

    14.5MB

  • MD5

    7081bc2241e8d4803e2f17e06243d773

  • SHA1

    81cef7c3ccbd978bdbad839d2ea6b10c719d8972

  • SHA256

    8eff3edae4ee6eca6489b3381a069390f5ed14c433029cfb0f629e6462d0b904

  • SHA512

    67863e8e8c87f3821a6fc6c69df66c2b0069ea0210fe2970814b7a508f111b8bb243669b9e09b49ab8193cdff03e9107b4dcfe753f1c951b124523dd56ec3a45

  • SSDEEP

    24576:beI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNI1lTNIH:

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\7081bc2241e8d4803e2f17e06243d773_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7081bc2241e8d4803e2f17e06243d773_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\emwkuis\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uscaaqzp.exe" C:\Windows\SysWOW64\emwkuis\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create emwkuis binPath= "C:\Windows\SysWOW64\emwkuis\uscaaqzp.exe /d\"C:\Users\Admin\AppData\Local\Temp\7081bc2241e8d4803e2f17e06243d773_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description emwkuis "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start emwkuis
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3588
    • 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:512
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4420 -s 1028
      2⤵
      • Program crash
      PID:4660
  • C:\Windows\SysWOW64\emwkuis\uscaaqzp.exe
    C:\Windows\SysWOW64\emwkuis\uscaaqzp.exe /d"C:\Users\Admin\AppData\Local\Temp\7081bc2241e8d4803e2f17e06243d773_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4548
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4548 -s 512
      2⤵
      • Program crash
      PID:4476
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4420 -ip 4420
    1⤵
      PID:1844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4548 -ip 4548
      1⤵
        PID:3732

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        4e679820afa71d35b67e11e050d25d5e

        SHA1

        aa9102ea0d2dafcc2711cdb77fd8c6992c3956c9

        SHA256

        08e9a1312de22eb37cd8303d66ef3f3bab097b1aef34afdc2e7b2492d47e5704

        SHA512

        735ce4d1b54eaf53586a987419a2ed54caa045d90d127c55ce86398bdceaee4c56329fb006a5fced863e4c22853f550dfc4a108eb7978492ef332550196beb57

      • memory/1392-16-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/1392-14-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4420-2-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/4420-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/4420-9-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/4420-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB

      • memory/4548-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4548-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4548-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4548-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB