Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 16:03

General

  • Target

    JaffaCakes118_26dc30509b939d95f3e7ff81bd9c02cd.exe

  • Size

    13.1MB

  • MD5

    26dc30509b939d95f3e7ff81bd9c02cd

  • SHA1

    95503eafd7e3bbe829ba4f9cff6863c620e1ac27

  • SHA256

    bc08635f68d183add0e1c746f47d07815a903aac07c3334131cfc808f85b8bd9

  • SHA512

    24a7543199b06358b296e4c0bedb3365c3e29ac054aa3ba7c0a22e49079fa6d672e2dfc25ca8024a06526f16a4515bbc1e8798d715a3416ab4809f9f8a487fb4

  • SSDEEP

    3072:rBM7AAAPsPmgSn/HzaHWgwwQjHF0kKUyodrMpNLbdr05b7pNeoAhTGl9NZ9k222H:C7h1HSn/WHnQjphwNXdr0gU9z

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\JaffaCakes118_26dc30509b939d95f3e7ff81bd9c02cd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26dc30509b939d95f3e7ff81bd9c02cd.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ywhcocgu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\icyepzrx.exe" C:\Windows\SysWOW64\ywhcocgu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ywhcocgu binPath= "C:\Windows\SysWOW64\ywhcocgu\icyepzrx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26dc30509b939d95f3e7ff81bd9c02cd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ywhcocgu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ywhcocgu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1624
    • 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:2816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2444 -s 1276
      2⤵
      • Program crash
      PID:1740
  • C:\Windows\SysWOW64\ywhcocgu\icyepzrx.exe
    C:\Windows\SysWOW64\ywhcocgu\icyepzrx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26dc30509b939d95f3e7ff81bd9c02cd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2620
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2620 -s 536
      2⤵
      • Program crash
      PID:4032
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2444 -ip 2444
    1⤵
      PID:3548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2620 -ip 2620
      1⤵
        PID:3080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        2becc43f366e5024489706b3b85bab9b

        SHA1

        cbe2e6b8a7c8a19c69176ac86c1c21a17ddf5783

        SHA256

        87bec689dee7a7e33758b940cdefab4909b9a180384363b5c5567c4b6619e3c0

        SHA512

        4cf94ae546b8cb16404ef41b29b425c45a83d5ded3e94bf297ba185895dff301c6836b0deb4e025fc937a01d50c5d6068be0c56c44648a43f2384fd1d1ed0716

      • memory/2444-8-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/2444-1-0x0000000000990000-0x0000000000A90000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2444-9-0x00000000008F0000-0x0000000000903000-memory.dmp

        Filesize

        76KB

      • memory/2444-2-0x00000000008F0000-0x0000000000903000-memory.dmp

        Filesize

        76KB

      • memory/2620-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2620-12-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2620-14-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2620-19-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/3020-13-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/3020-16-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/3020-17-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB