Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-08-2024 09:52

General

  • Target

    a6502d7e3a37ab4678e7146020cf7c12_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    a6502d7e3a37ab4678e7146020cf7c12

  • SHA1

    798ba72a4fd5ccf2994bb7824afeed719a1dd1f7

  • SHA256

    150e8e8c9dd4a66d7ee2fbb001f946d6c1f6675bfacc324e9aaf3c1b8e65c662

  • SHA512

    65b224a8c6669a7dab9b46f3892efd104f018a091e9a90336c45b0b3f51fc6924017a594c022a24c7dcbea2ffc9cbd00f393e92abeb2dd8ab3f08e86d5d4cbd0

  • SSDEEP

    196608:RrhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhB:hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhH

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\a6502d7e3a37ab4678e7146020cf7c12_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a6502d7e3a37ab4678e7146020cf7c12_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pfianpuc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wiuccnck.exe" C:\Windows\SysWOW64\pfianpuc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pfianpuc binPath= "C:\Windows\SysWOW64\pfianpuc\wiuccnck.exe /d\"C:\Users\Admin\AppData\Local\Temp\a6502d7e3a37ab4678e7146020cf7c12_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pfianpuc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pfianpuc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • 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:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3304 -s 1184
      2⤵
      • Program crash
      PID:4896
  • C:\Windows\SysWOW64\pfianpuc\wiuccnck.exe
    C:\Windows\SysWOW64\pfianpuc\wiuccnck.exe /d"C:\Users\Admin\AppData\Local\Temp\a6502d7e3a37ab4678e7146020cf7c12_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2548
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2548 -s 560
      2⤵
      • Program crash
      PID:1252
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3304 -ip 3304
    1⤵
      PID:3000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2548 -ip 2548
      1⤵
        PID:1272

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        6e5bb555858d86ef8ee0383d53a1fa75

        SHA1

        ab9b4ba28f1f7f9c2e2d7eb6aa1331e55c6d43c8

        SHA256

        1748117d8d160a902d3f35e9c7ad80e86d9fd3da1a17dd575f3f26a134330f99

        SHA512

        ebacadc37de3bd3be07be4a118888a81bc1aab2d8b03d434642bac596bb34d87bfd20f2920362295ba6d3cb6fef5e69d5b6b93f80d6683c922bcf26302b42864

      • memory/2388-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/2388-17-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/2388-16-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/2548-13-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/2548-12-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/2548-11-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/2548-18-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

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

        Filesize

        84KB

      • memory/3304-8-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/3304-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB