Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-01-2025 16:03

General

  • Target

    JaffaCakes118_5b720f313daee0403bb2584910f0eea6.exe

  • Size

    11.4MB

  • MD5

    5b720f313daee0403bb2584910f0eea6

  • SHA1

    16c1148e04eb92bcc6e4469c883979f52fa95241

  • SHA256

    a9a291b7f9911e58c9f650f2bd37589abcb3bef5c2ff650702cca54f5bee7434

  • SHA512

    da27f80d5d66bd8fc99ea0edc097875a074a6f4499319ac05f0cd03de1c85d859b5411cd8fcf40c191221008c6eb70efc7c51ab506047d176d09629044e7f794

  • SSDEEP

    98304:e+ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZH:e

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_5b720f313daee0403bb2584910f0eea6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b720f313daee0403bb2584910f0eea6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwaiews\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ejfxvyk.exe" C:\Windows\SysWOW64\lwaiews\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwaiews binPath= "C:\Windows\SysWOW64\lwaiews\ejfxvyk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b720f313daee0403bb2584910f0eea6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwaiews "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lwaiews
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2344
    • 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:3496
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 920 -s 652
      2⤵
      • Program crash
      PID:2836
  • C:\Windows\SysWOW64\lwaiews\ejfxvyk.exe
    C:\Windows\SysWOW64\lwaiews\ejfxvyk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b720f313daee0403bb2584910f0eea6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3236
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3236 -s 532
      2⤵
      • Program crash
      PID:372
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 920 -ip 920
    1⤵
      PID:3968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3236 -ip 3236
      1⤵
        PID:232

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        c3f23b89faaf91124adac79fe4efb1ad

        SHA1

        20e7a238d98376da22037a6451a02025ffedba88

        SHA256

        ebe042276bdc0bb501d3c7e94b9b8861c4e7d3f5f9373347ae362933f058e744

        SHA512

        19d243709caa54ac37741ee60c610772c0b5856ca082dc79a51ea0534e04f6452af3b5f4448b55a29340e189c5db741368689cc642678b96d3d63792560b8631

      • memory/632-14-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/632-17-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/632-16-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        288KB

      • memory/920-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        288KB

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

        Filesize

        288KB

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

        Filesize

        288KB

      • memory/3236-18-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB