Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-11-2024 10:08

General

  • Target

    b08871025feb002765a540f39b640fee_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    b08871025feb002765a540f39b640fee

  • SHA1

    5d4c8973edab4863d5b70f9e01ac49099997476b

  • SHA256

    0fd540d43aaddcc641ea611c1622ea479425fbdaf9e37c7d2bd50a2e4379ed0d

  • SHA512

    d2293d5964b8181c03b107692ddb51b197ab74aeb84fe0f8fc299db7a1aa99193f920ec997108ccc6dfe05e725fd6dfc864d344b716cdc10a64da72410507629

  • SSDEEP

    49152:rGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe:

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\b08871025feb002765a540f39b640fee_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pcezyyoj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybucacku.exe" C:\Windows\SysWOW64\pcezyyoj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pcezyyoj binPath= "C:\Windows\SysWOW64\pcezyyoj\ybucacku.exe /d\"C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pcezyyoj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pcezyyoj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2696
    • 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:3956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3832 -s 1160
      2⤵
      • Program crash
      PID:880
  • C:\Windows\SysWOW64\pcezyyoj\ybucacku.exe
    C:\Windows\SysWOW64\pcezyyoj\ybucacku.exe /d"C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1940 -s 552
      2⤵
      • Program crash
      PID:3668
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3832 -ip 3832
    1⤵
      PID:2400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 1940 -ip 1940
      1⤵
        PID:3044

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        c7bdf480043b67537cf5d49e41055f34

        SHA1

        4472c3a544372539f66e3e425b039a54bb59c9d3

        SHA256

        7c900c0a8a3178a5bf4cf533ee1d0a4960814101f9067ae75ea90ca6961e0e9a

        SHA512

        92cd118dc06fbc2d9fa1ebc3ff7269c4732dc8dd5ccd4a7c069ab563aef128d7d7b2a18168a797601aa09e67e5de6f143e62f0182fa5ba37ad1c0b1a528fc833

      • memory/1464-14-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1464-17-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1464-16-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

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

        Filesize

        288KB

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

        Filesize

        288KB

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

        Filesize

        288KB

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

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/3832-9-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1024KB

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

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/3832-2-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB